diff --git a/ifstated/manifests/init.pp b/ifstated/manifests/init.pp new file mode 100644 index 0000000..8464e56 --- /dev/null +++ b/ifstated/manifests/init.pp @@ -0,0 +1,24 @@ + +# Install and configure ifstated. +# +class ifstated { + + file { "/etc/ifstated.conf": + ensure => present, + source => [ "puppet:///private/ifstated.conf", + "puppet:///files/firewall/ifstated.conf.${fqdn}", + "puppet:///files/firewall/ifstated.conf", ], + mode => 0644, + owner => root, + group => wheel, + notify => Service["ifstated"], + } + + service { "ifstated": + ensure => running, + enable => true, + binary => "/usr/sbin/ifstated", + start => "/usr/sbin/ifstated", + } + +}