Skip to content
Snippets Groups Projects
Commit 4c10f6a1 authored by Hans Persson's avatar Hans Persson
Browse files

puppet-lint: Use braces for variables in double-quoted strings.

parent e7ecc55f
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ class arc::cache ...@@ -54,7 +54,7 @@ class arc::cache
cron { cron {
'cache-clean': 'cache-clean':
command => "/usr/libexec/arc/cache-clean -m90 -M95 -D INFO /export/cache >> $arc::logdir::logdir/cache-clean.log 2>&1", command => "/usr/libexec/arc/cache-clean -m90 -M95 -D INFO /export/cache >> ${arc}::logdir::logdir/cache-clean.log 2>&1",
user => 'root', user => 'root',
month => '*', monthday => '*', weekday => '*', month => '*', monthday => '*', weekday => '*',
hour => '*', minute => '*/5'; hour => '*', minute => '*/5';
......
...@@ -52,8 +52,8 @@ define arc::devkeys($key, $ensure='enabled', $homepath='/home') ...@@ -52,8 +52,8 @@ define arc::devkeys($key, $ensure='enabled', $homepath='/home')
} }
} }
$sshdir = "$homepath/$title/.ssh" $sshdir = "${homepath}/${title}/.ssh"
$sshauthfile = "$sshdir/authorized_keys" $sshauthfile = "${sshdir}/authorized_keys"
file { file {
$sshdir: $sshdir:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment