Commit 79293d16 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more puppet-lint cleanup

parent 4f753756
......@@ -28,7 +28,7 @@ define su_apache::conf(
fail("Unsupported apache::conf operating system ${::operatingsystem}")
}
if ($lsbdistcodename == 'wheezy') {
if ($::lsbdistcodename == 'wheezy') {
$parent = "/etc/apache2/${directory}"
$realname = "${parent}/${name}"
......@@ -62,7 +62,7 @@ define su_apache::conf(
$conf_id = "${name}.conf"
}
# Install the file.
file { "/etc/apache2/conf-available/$conf_id":
file { "/etc/apache2/conf-available/${conf_id}":
ensure => $ensure,
source => $source,
content => $content,
......@@ -73,7 +73,7 @@ define su_apache::conf(
command => "a2enconf ${conf_id}",
path => '/usr/bin:/usr/sbin',
refreshonly => true,
require => File["/etc/apache2/conf-available/$conf_id"],
require => File["/etc/apache2/conf-available/${conf_id}"],
notify => Exec['su_apache_reload'],
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment