Skip to content

Commit

Permalink
Merge pull request #319 from krischblack/patch-1
Browse files Browse the repository at this point in the history
fix _securityprovider call in user.pp
  • Loading branch information
jyaworski committed Aug 24, 2016
2 parents f5859ff + 46f178e commit 39b9c8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/user.pp
Expand Up @@ -122,7 +122,7 @@
}
}
# Preserve old behavior
elsif $securityprovider == 'ssl' {
elsif $_securityprovider == 'ssl' {
file { $private_path:
ensure => 'file',
source => $_ssl_server_private,
Expand All @@ -133,7 +133,7 @@
}
}

if $securityprovider == 'ssl' {
if $_securityprovider == 'ssl' {
$cert_path = "${homedir_real}/.mcollective.d/credentials/certs/${callerid}.pem"
if $certificate {
file { $cert_path:
Expand Down Expand Up @@ -186,7 +186,7 @@
}
}

if $securityprovider == 'sshkey' {
if $_securityprovider == 'sshkey' {
$public_path = "${homedir_real}/.mcollective.d/credentials/public_keys/${callerid}.pem"
if $public_key {
file { $public_path:
Expand Down

0 comments on commit 39b9c8e

Please sign in to comment.