Fixes problems in Ubuntu 11.10 (Oneiric) #32

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@amuino

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

@amuino amuino Fix problems installing in Ubuntu Oneiric 11.10:
  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
3f9b5bf
@blt04 blt04 added a commit that referenced this pull request Feb 6, 2012
@blt04 Fix issues with run stages, install rvm by default
A few issues were popping up with regarding run stages (refs #29, refs #32).
Rvm will now be installed using its own run stage when you `include rvm`
in your manifest file.  You no longer need to include `rvm::system`,
as it will be included by default.
a882c3a
@blt04
Owner

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).

@blt04 blt04 closed this Feb 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment