projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6113877
)
ferm is linux only
author
Stephen Gran
<steve@lobefin.net>
Mon, 16 Apr 2012 13:07:10 +0000
(14:07 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Mon, 16 Apr 2012 13:07:10 +0000
(14:07 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/manifests/module.pp
patch
|
blob
|
history
diff --git
a/modules/ferm/manifests/module.pp
b/modules/ferm/manifests/module.pp
index
e11dd28
..
249e7b3
100644
(file)
--- a/
modules/ferm/manifests/module.pp
+++ b/
modules/ferm/manifests/module.pp
@@
-9,10
+9,12
@@
define ferm::module (
$module = $title
}
- file { "/etc/ferm/conf.d/load_${module}.conf":
- ensure => $ensure,
- content => template('ferm/load_module.erb'),
- require => Package['ferm'],
- notify => Service['ferm']
+ if $::kernel == 'Linux' {
+ file { "/etc/ferm/conf.d/load_${module}.conf":
+ ensure => $ensure,
+ content => template('ferm/load_module.erb'),
+ require => Package['ferm'],
+ notify => Service['ferm']
+ }
}
}