diff options
author | Micah Anderson <micah@riseup.net> | 2012-10-17 15:08:19 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-10-17 15:08:19 -0400 |
commit | a8b4676955163dc5e4148e6968bc991c390f0333 (patch) | |
tree | ab79f68d15103442f1bb7e2fdf434254a8f959f7 /manifests/install.pp | |
parent | 7d0ae40d42613aac09f16627edd93a4f46ce1582 (diff) |
lint module
Run puppet-lint on module, changes were minor, mostly just trailing spaces, and
a couple instances of boolean values being quoted.
Diffstat (limited to 'manifests/install.pp')
-rw-r--r-- | manifests/install.pp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/install.pp b/manifests/install.pp index 47ab022..fe7bb60 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -1,5 +1,5 @@ # Class bundler::install -# +# # Installs bundler Ruby gem manager # # == Parameters @@ -18,17 +18,17 @@ # include rvm # class bundler::install ( + $ruby_version, $ensure = 'present', $use_rvm = $bundler::params::use_rvm, - $ruby_version -) inherits bundler::params { + ) inherits bundler::params { - if $use_rvm == 'true' { + if $use_rvm == true { #Install bundler with correct RVM rvm_gem { 'bundler': ensure => $ensure, ruby_version => $ruby_version, - } + } } else { package { 'bundler': |