Initial version of ifstated module.
This commit is contained in:
parent
702e8924ce
commit
14fc327b7a
1 changed files with 24 additions and 0 deletions
24
ifstated/manifests/init.pp
Normal file
24
ifstated/manifests/init.pp
Normal file
|
@ -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",
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue