Skip to content

Commit

Permalink
Fix some Puppet Lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Baur authored and baurmatt committed Sep 15, 2014
1 parent 24bf570 commit 2b3a9f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
case $::osfamily {
'debian': {
$docroot = '/var/www'
$pidfile = '${APACHE_PID_FILE}'
$pidfile = "\${APACHE_PID_FILE}"
$error_log = 'error.log'
$error_documents_path = '/usr/share/apache2/error'
$scriptalias = '/usr/lib/cgi-bin'
Expand Down
2 changes: 1 addition & 1 deletion manifests/mod.pp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}
}

file { "${_loadfile_name}":
file { $_loadfile_name:
ensure => file,
path => "${mod_dir}/${_loadfile_name}",
owner => 'root',
Expand Down
2 changes: 1 addition & 1 deletion manifests/mod/cgid.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Debian specifies it's cgid sock path, but RedHat uses the default value
# with no config file
$cgisock_path = $::osfamily ? {
'debian' => '${APACHE_RUN_DIR}/cgisock',
'debian' => "\${APACHE_RUN_DIR}/cgisock",
'freebsd' => 'cgisock',
default => undef,
}
Expand Down
2 changes: 1 addition & 1 deletion manifests/mod/dav_fs.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class apache::mod::dav_fs {
$dav_lock = $::osfamily ? {
'debian' => '${APACHE_LOCK_DIR}/DAVLock',
'debian' => "\${APACHE_LOCK_DIR}/DAVLock",
'freebsd' => '/usr/local/var/DavLock',
default => '/var/lib/dav/lockdb',
}
Expand Down
4 changes: 2 additions & 2 deletions manifests/mod/ssl.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$package_name = undef,
) {
$session_cache = $::osfamily ? {
'debian' => '${APACHE_RUN_DIR}/ssl_scache(512000)',
'debian' => "\${APACHE_RUN_DIR}/ssl_scache(512000)",
'redhat' => '/var/cache/mod_ssl/scache(512000)',
'freebsd' => '/var/run/ssl_scache(512000)',
}
Expand All @@ -18,7 +18,7 @@
} elsif $::operatingsystem == 'Ubuntu' and $::operatingsystemrelease == '10.04' {
$ssl_mutex = 'file:/var/run/apache2/ssl_mutex'
} else {
$ssl_mutex = 'file:${APACHE_RUN_DIR}/ssl_mutex'
$ssl_mutex = "file:\${APACHE_RUN_DIR}/ssl_mutex"
}
}
'redhat': {
Expand Down

0 comments on commit 2b3a9f0

Please sign in to comment.