summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-30 15:31:34 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-30 15:31:34 -0200
commit002ce89db3bcce3c28ae3ddc0e4a153dbd23697d (patch)
treed27a3e6553532a86ad0d12afedd769dad7780d47 /manifests
downloadpuppet-inetd-002ce89db3bcce3c28ae3ddc0e4a153dbd23697d.tar.gz
puppet-inetd-002ce89db3bcce3c28ae3ddc0e4a153dbd23697d.tar.bz2
Initial import
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp22
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"],
+ }
+}