Skip to content

Commit

Permalink
Merge pull request garethr#24 from jaxxstorm/fix_tests
Browse files Browse the repository at this point in the history
Fixing Puppet 4 tests
  • Loading branch information
garethr committed Mar 19, 2016
2 parents fd87221 + c2db646 commit 23fb75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$key_signature = undef
$package_name = 'erlang'

if $::operatingsystemrelease =~ /^5/ {
if $::operatingsystemrelease and $::operatingsystemrelease =~ /^5/ {
$local_repo_location = '/etc/yum.repos.d/epel-erlang.repo'
$remote_repo_location = 'https://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo'
} else {
Expand Down

0 comments on commit 23fb75b

Please sign in to comment.