Skip to content
This repository

Fixes problems in Ubuntu 11.10 (Oneiric) #32

Closed
wants to merge 1 commit into from

2 participants

Abel Muiño Brandon Turner
Abel Muiño

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

Abel Muiño 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
Brandon Turner blt04 referenced this pull request from a commit February 06, 2012
Brandon Turner 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
Brandon Turner
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).

Brandon Turner blt04 closed this February 06, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 06, 2012
Abel Muiño 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
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  manifests/system.pp
4  manifests/system.pp
... ...
@@ -1,7 +1,7 @@
1  
-class rvm::system($version='latest', stage='rvm-install') {
  1
+class rvm::system($version='latest', $a_stage='rvm-install') {
2 2
 
3 3
   include rvm
4  
-  class {'rvm::dependencies': stage => $stage;}
  4
+  class {'rvm::dependencies': stage => $a_stage;}
5 5
 
6 6
   exec { 'system-rvm':
7 7
     path    => '/usr/bin:/usr/sbin:/bin',
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.