diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-19 18:27:47 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-19 18:27:47 -0300 |
commit | a027766fa9780b732df0c1e97aaff0414e3862fb (patch) | |
tree | e796a4e18b139ef0bd3ed7c716c862503bf9a2f4 | |
parent | 002ce89db3bcce3c28ae3ddc0e4a153dbd23697d (diff) | |
download | puppet-inetd-a027766fa9780b732df0c1e97aaff0414e3862fb.tar.gz puppet-inetd-a027766fa9780b732df0c1e97aaff0414e3862fb.tar.bz2 |
Use 'inetd' as namevar
-rw-r--r-- | manifests/init.pp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 0159c64..016da91 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,14 +1,18 @@ class inetd { - package { "openbsd-inetd": ensure => installed, } + package { 'inetd': + name => 'openbsd-inetd', + ensure => installed, + } # inetd service - service { "openbsd-inetd": + service { 'inetd': + name => 'openbsd-inetd', enable => true, ensure => running, hasrestart => true, hasstatus => false, pattern => "/usr/sbin/inetd", - require => Package["openbsd-inetd"], + require => Package['inetd'], } # inetd config file @@ -17,6 +21,6 @@ class inetd { group => "root", mode => 0644, ensure => present, - notify => Service["openbsd-inetd"], + notify => Service['inetd'], } } |