Skip to content

Commit

Permalink
Merge pull request #7 from softinn-eu/master
Browse files Browse the repository at this point in the history
Bug: Puppet creates empty key files when using Hiera and create_resources()
  • Loading branch information
jyaworski authored Aug 27, 2016
2 parents c25fbdf + ff02c68 commit 7d75ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/gpgkey.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

if ($content == '') and ($source == '') {
fail('Missing params: $content or $source must be specified')
} elsif $content {
} elsif $content != '' {
File[$path] {
content => $content
}
Expand Down

0 comments on commit 7d75ba4

Please sign in to comment.