Skip to content

Commit

Permalink
Merge pull request #74 from hunner/fix_version
Browse files Browse the repository at this point in the history
check for eyaml_version being undef
  • Loading branch information
hunner committed Jul 24, 2015
2 parents 9fee1af + 07bb5d2 commit 0249779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/eyaml.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# that here
#XXX Pre-puppet 4.0.0 version (PUP-1073)
#BUG This can't actually update the gem version if already installed.
if $eyaml_version =~ /^\d+\.\d+\.\d+$/ {
if $eyaml_version and $eyaml_version =~ /^\d+\.\d+\.\d+$/ {
$gem_flag = "--version ${eyaml_version}"
} else {
$gem_flag = undef
Expand Down

0 comments on commit 0249779

Please sign in to comment.