Hi all, I'm really interested in new metaparameter "stage".
I've been "studying" Ryan's example: http://www.personal.psu.edu/ryc108/blogs/puppetmaster/2010/10/automating-shibboleth-idp-builds-using-stages.html and I was able to define and use stages in my catalogue. But now I'd like to improve my knowledge of this parameter and I have some questions about it: 1.-) Stage vs require Class. May we say that stages are groups of class requires? So a simple/basic example: class A { require class B } class B{ require class C } Is like defining : Stage[pre] -> Stage[main] -> Stage[post] class { A: stage => pre } class { B: stage => main } class { C: stage => post } 2.-) Metaparameter use. In Ryan's example seems that "stage" is added to class when defining the node. But may I add "stage" directly when defining the class? if yes, how? (I have not been able to find the correct syntax... :-( ). Is this correct? class A { stage => pre file { ... } service { ... } } 3.-) Stage order. I had an "old syntax" order definiton which worked fine: class orden { - stage { 'repos': - before => Stage['main']; - 'os': - require => Stage['repos']; - 'basic': - require => Stage['os']; - 'gLite': - require => Stage['basic']; - 'post': - require => Stage['gLite']; - } but when applying new syntax: Stage[pre] -> Stage[main] -> Stage[post] class orden { Stage['repos'] -> Stage['os'] -> Stage['main'] -> Stage['gLite'] -> Stage['post'] } puppet complains: Could not find stage repos specified by Class[Sl5_computing_repos] ... am I forgetting something in my definiton? TIA, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.