From: Stephen Gran Date: Mon, 16 Apr 2012 13:07:10 +0000 (+0100) Subject: ferm is linux only X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=fe40608c1702d47e8ccd5da482ec59eef13ab107;p=mirror%2Fdsa-puppet.git ferm is linux only Signed-off-by: Stephen Gran --- diff --git a/modules/ferm/manifests/module.pp b/modules/ferm/manifests/module.pp index e11dd2827..249e7b357 100644 --- 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'] + } } }