[Puppet Users] Dependency Ordering Confusion

2013-02-18 Thread Josh D
I have a module for windows nodes that is defined like: class ast_win { Class['ast_win::env'] ~> Class['ast_win::restart'] -> Class['ast_win'] ast_win::env contains a bunch of scripts that modify the environment on the host machine. Mostly the PATH variable, but also other variables (e.g. ht

Re: [Puppet Users] Dependency Ordering

2012-11-25 Thread Ryan Coleman
On Sat, Nov 24, 2012 at 11:17 AM, Smashed wrote: > class Foo { > > require A > > … some other stuff > > } > > > class A { > > include B > > include C > > include D > > } > > > When structured like this does this mean that A,B,C and D will all be > processed before Foo? > Short answer, yes. The n

Re: [Puppet Users] Dependency Ordering

2012-11-24 Thread Mark
Also say I have a node "webapp" that has a rails application that runs on nginx. Should I add nginx to the node "webapp" or as a required dependency in since my rails application module? node webapp { include nginx include railsapplication } OR node webapp { include rai

[Puppet Users] Dependency Ordering

2012-11-24 Thread Smashed
class Foo { require A … some other stuff } class A { include B include C include D } When structured like this does this mean that A,B,C and D will all be processed before Foo? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To vi