Skip to content

Commit

Permalink
Merge pull request #99 from jangrewe/patch-1
Browse files Browse the repository at this point in the history
fix 'Undefined variable "::rvm_version"'
  • Loading branch information
carlossg committed Sep 23, 2015
2 parents 149d001 + ce11732 commit 314d3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/system.pp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}

# the fact won't work until rvm is installed before puppet starts
if !empty($::rvm_version) {
if getvar('::rvm_version') and !empty($::rvm_version) {
if ($version != undef) and ($version != present) and ($version != $::rvm_version) {

if defined(Class['rvm::gnupg_key']) {
Expand Down

0 comments on commit 314d3dd

Please sign in to comment.