summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-18 18:10:22 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-18 18:10:22 -0500
commit67bf95eda5ae1ae63a04dac4f54a84a7500c2063 (patch)
treefbdec447fe32095a4628f794215dcf6564bfde60 /modules/base
parentdabf1dba0dfe48a67ff551f065415fe8e17b3b10 (diff)
downloadpuppet-tozt-67bf95eda5ae1ae63a04dac4f54a84a7500c2063.tar.gz
puppet-tozt-67bf95eda5ae1ae63a04dac4f54a84a7500c2063.zip
fix variable reference
$persistent_data is a node scoped variable, not a top scoped variable, which confuses puppet-lint, i guess?
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/manifests/user.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/manifests/user.pp b/modules/base/manifests/user.pp
index 5c049d7..c97c636 100644
--- a/modules/base/manifests/user.pp
+++ b/modules/base/manifests/user.pp
@@ -48,7 +48,7 @@ define base::user(
}
if $user != 'root' {
- if $::persistent_data != undef {
+ if $persistent_data != undef { # lint:ignore:variable_scope
file {
"$persistent_data/cargo/${user}":
ensure => 'directory',