diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-12-30 15:31:34 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-12-30 15:31:34 -0200 |
commit | 002ce89db3bcce3c28ae3ddc0e4a153dbd23697d (patch) | |
tree | d27a3e6553532a86ad0d12afedd769dad7780d47 /manifests | |
download | puppet-inetd-002ce89db3bcce3c28ae3ddc0e4a153dbd23697d.tar.gz puppet-inetd-002ce89db3bcce3c28ae3ddc0e4a153dbd23697d.tar.bz2 |
Initial import
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..0159c64 --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,22 @@ +class inetd { + package { "openbsd-inetd": ensure => installed, } + + # inetd service + service { "openbsd-inetd": + enable => true, + ensure => running, + hasrestart => true, + hasstatus => false, + pattern => "/usr/sbin/inetd", + require => Package["openbsd-inetd"], + } + + # inetd config file + file { "/etc/inetd.conf": + owner => "root", + group => "root", + mode => 0644, + ensure => present, + notify => Service["openbsd-inetd"], + } +} |