X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fferm%2Fmanifests%2Finit.pp;h=249d6b7479a3f4714fa678ad280a9bb70c3618ce;hb=a47c22e58d6502bb314e9fca3814fae1cadc62e5;hp=4157049d9154b37ba8afa41df352f83d44b05fce;hpb=a1a623c8c95076d6d2c13c0d8ed81860eae626ee;p=mirror%2Fdsa-puppet.git diff --git a/modules/ferm/manifests/init.pp b/modules/ferm/manifests/init.pp index 4157049d9..249d6b747 100644 --- a/modules/ferm/manifests/init.pp +++ b/modules/ferm/manifests/init.pp @@ -11,7 +11,7 @@ class ferm { } # realize (i.e. enable) all @ferm::rule virtual resources - Rule <| |> + Ferm::Rule <| |> package { ferm: ensure => installed } @@ -21,6 +21,7 @@ class ferm { purge => true, force => true, recurse => true, + source => "puppet:///files/empty/", require => Package["ferm"]; "/etc/ferm/conf.d": ensure => directory, @@ -36,7 +37,7 @@ class ferm { mode => 0400, notify => Exec["ferm restart"]; "/etc/ferm/conf.d/defs.conf": - source => "puppet:///ferm/defs.conf", + content => template("ferm/defs.conf.erb"), require => Package["ferm"], mode => 0400, notify => Exec["ferm restart"];