From fe40608c1702d47e8ccd5da482ec59eef13ab107 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 16 Apr 2012 14:07:10 +0100 Subject: [PATCH] ferm is linux only Signed-off-by: Stephen Gran --- modules/ferm/manifests/module.pp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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'] + } } } -- 2.20.1