aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/sshuser.pp
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-20 00:03:40 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-20 00:03:40 +0300
commit537a14a19d232672f15a41aa8b4e0423b2fb216e (patch)
tree01cdccef44da06300fbe57911966b78ee777afb3 /modules/buildsystem/manifests/sshuser.pp
parenta0621b95e1cdd3c87ff7eb8e25884d27f3938e4b (diff)
downloadpuppet-537a14a19d232672f15a41aa8b4e0423b2fb216e.tar
puppet-537a14a19d232672f15a41aa8b4e0423b2fb216e.tar.gz
puppet-537a14a19d232672f15a41aa8b4e0423b2fb216e.tar.bz2
puppet-537a14a19d232672f15a41aa8b4e0423b2fb216e.tar.xz
puppet-537a14a19d232672f15a41aa8b4e0423b2fb216e.zip
lint fixes for buildsystem
Diffstat (limited to 'modules/buildsystem/manifests/sshuser.pp')
-rw-r--r--modules/buildsystem/manifests/sshuser.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/sshuser.pp b/modules/buildsystem/manifests/sshuser.pp
index 0a1cd176..4dcf51d5 100644
--- a/modules/buildsystem/manifests/sshuser.pp
+++ b/modules/buildsystem/manifests/sshuser.pp
@@ -9,13 +9,13 @@ define buildsystem::sshuser($homedir, $comment, $groups = []) {
gid => $name,
groups => $groups,
shell => '/bin/bash',
- notify => Exec["unlock $name"],
+ notify => Exec["unlock ${name}"],
require => Group[$title],
}
# set password to * to unlock the account but forbid login through login
- exec { "unlock $name":
- command => "usermod -p '*' $name",
+ exec { "unlock ${name}":
+ command => "usermod -p '*' ${name}",
refreshonly => true,
}
@@ -26,7 +26,7 @@ define buildsystem::sshuser($homedir, $comment, $groups = []) {
require => User[$name],
}
- file { "$homedir/.ssh":
+ file { "${homedir}/.ssh":
ensure => directory,
mode => '0600',
owner => $name,