summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-28Dont use curly braces in resource referenceHEADmastervarac
Puppet future parser will complain otherwise.
2012-11-29passing install_method => '' to chose the default package provider was a bitMicah Anderson
opaque in manifests, so allow for 'package' to be passed, which makes it more clear how it is being done
2012-11-20add some backwards compatibilityMicah Anderson
update documentation/comments to reflect reality
2012-11-20fix $install_method to work properlyMicah Anderson
unfortunately, if one attempts to set the $install_method to an empty string, puppet complains that you are interning an empty string. If you set it to undef, then the parameterized default will get chosen. To fix this, I replaced the $bundler::params::install_method default class parameter value with 'rvm' (the value that $bundler::params::install_method defaulted to) and then setup a test to determine if the $install_method was set to undef, if so, then we set a second variable ($provider_method) to undef and use that.
2012-11-20replace $use_rvm with $install_method to enable more flexible installationMicah Anderson
possibilities The $use_rvm variable was limited to either using rvm or not, so we replace that with $install_method, defaulting to the previous usage If you set $use_rvm it to not use rvm, then the module would just use the gem. This made it so you couldn't install bundler via a package. So the $install_method was added which enabled you to alter how the non-rvm installation was provided. Unfortunately, it was a mistake to have both $use_rvm and $install_method because $use_rvm is 'true' by default, so if you tried to set an install_method, then it wouldn't work because it would just use the rvm method. So in order to install via something other than rvm or gem, you would need to do both use_rvm => false; install_method => <whatever>. Just having the install_method parameter is much cleaner, because it is generic, doesn't require multiple settings when not installing via rvm or gem, and it defaults to what the module was doing before (using rvm by default).
2012-11-13update README.md to provide information about different install_method ↵Micah Anderson
possibilities
2012-10-17note in README that Debian is also supportedMicah Anderson
2012-10-17enable other bundler installation possibilitiesMicah Anderson
The way bundler was installed was either via the rvm method, or through gems. This change provides a parameter $install_method that allows for the non-rvm puppet package resource installation method to be passed a different provider than gem, if desired (eg. for package installation)
2012-10-17lint moduleMicah Anderson
Run puppet-lint on module, changes were minor, mostly just trailing spaces, and a couple instances of boolean values being quoted.
2012-09-12fixed bug when running bundler from user other than rootEvan Stachowiak
2012-08-28load ruby_version from bundler class instead of bundler::paramsEvan Stachowiak
2012-08-28added ensure variable to install.ppEvan Stachowiak
2012-08-27removed default ruby versionEvan Stachowiak
2012-08-27added license fileEvan Stachowiak
2012-07-10updated READMEEvan Stachowiak
2012-07-10initial commitEvan Stachowiak