diff options
author | Micah Anderson <micah@riseup.net> | 2013-02-13 11:29:47 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-02-13 11:29:47 -0500 |
commit | 9878f1e0b68f5c68cdb8deeb795618ccbcf4c25e (patch) | |
tree | aff0ac0a349f341321f0a21ac8677e056bcfb45b /manifests/lighty.pp | |
parent | cc12ced0f3f62c975f9f711da67770ffb33d7ba7 (diff) |
lint current state of the modulelint
Diffstat (limited to 'manifests/lighty.pp')
-rw-r--r-- | manifests/lighty.pp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/manifests/lighty.pp b/manifests/lighty.pp index 4e34f5e..9a6a26b 100644 --- a/manifests/lighty.pp +++ b/manifests/lighty.pp @@ -1,11 +1,13 @@ class reprepro::lighty inherits lighttpd { include reprepro - file { "/etc/lighttpd/conf-available/20-reprepro.conf": - ensure => present, - content => "alias.url += ( \"/debian/\" => \"$reprepro::basedir/\" )\n"; - "/etc/lighttpd/conf-enabled/20-reprepro.conf": - ensure => "/etc/lighttpd/conf-available/20-reprepro.conf", + file { '/etc/lighttpd/conf-available/20-reprepro.conf': + ensure => present, + content => "alias.url += ( \"/debian/\" => \"${reprepro::basedir}/\" )\n"; + + '/etc/lighttpd/conf-enabled/20-reprepro.conf': + ensure => link, + target => '/etc/lighttpd/conf-available/20-reprepro.conf', require => File['/etc/lighttpd/conf-available/20-reprepro.conf'], - notify => Service['lighttpd']; + notify => Service['lighttpd']; } } |