summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-05 20:07:08 -0300
committermh <mh@immerda.ch>2012-06-05 20:07:08 -0300
commit09b77138a3cf505e82f1d5a8d20f794fe1db8434 (patch)
tree4be47d1fd07bc56b412c5ace110d5bd080375757 /manifests/base.pp
parentdbf5334ff24a3b94d52520a86c365c0227863a56 (diff)
downloadpuppet-lighttpd-09b77138a3cf505e82f1d5a8d20f794fe1db8434.tar.gz
puppet-lighttpd-09b77138a3cf505e82f1d5a8d20f794fe1db8434.tar.bz2
new style for 2.7
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 3880b2e..33acefd 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -6,14 +6,14 @@ class lighttpd::base {
service{lighttpd:
ensure => running,
enable => true,
- hasstatus => true,
+ hasstatus => true,
require => Package[lighttpd],
}
file{'/etc/lighttpd/lighttpd.conf':
- source => [ "puppet:///modules/site-lighttpd/${fqdn}/lighttpd.conf",
- "puppet:///modules/site-lighttpd/lighttpd.conf",
- "puppet:///modules/lighttpd/${operatingsystem}/lighttpd.conf",
+ source => [ "puppet:///modules/site_lighttpd/${::fqdn}/lighttpd.conf",
+ "puppet:///modules/site_lighttpd/lighttpd.conf",
+ "puppet:///modules/lighttpd/${::operatingsystem}/lighttpd.conf",
"puppet:///modules/lighttpd/lighttpd.conf" ],
require => Package['lighttpd'],
notify => Service['lighttpd'],