blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

Fixes problems in Ubuntu 11.10 (Oneiric) #32

Closed amuino closed 12 years ago

amuino commented 12 years ago

I was seeing this errors, which prevents installing RVM.

Ubuntu 11.10 comes with puppet 2.7.1 and the problem seems to be triggered by the recent changes to support stages (note: I'm running puppet from the command line, no puppet master used).

warning: Deprecation notice: must now include '$' in prototype on line 1 in file /etc/puppet/modules/rvm/manifests/system.pp warning: stage is a metaparam; this value will inherit to all contained resources Could not find stage main specified by Class[Rvm] at /etc/puppet/modules/rvm/manifests/system.pp:3 on node ip-10-50-63-22.eu-west-1.compute.internal

blt04 commented 12 years ago

Thanks for this pull request. Given the issues with my implementation of run stages on puppet 2.7.1, I've refactored the module a little. Please give the new code a try (replace include rvm::system with include rvm in your manifest files).