Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

bind $version in rubyinstall definition #3

Merged
merged 1 commit into from

2 participants

@jiacona

I am using puppet 3.0.1 and $version was not getting bound to anything. This fixes the issue by explicitly binding $version to $title in the definition

@lucaspiller
Owner

Thanks!

@lucaspiller lucaspiller merged commit 816f9d2 into lucaspiller:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  manifests/init.pp
View
2  manifests/init.pp
@@ -2,7 +2,7 @@
rubyinstall { "$version": }
}
-define rubyinstall {
+define rubyinstall($version = $title) {
package {
"build-essential":
ensure => present;
Something went wrong with that request. Please try again.