My 2cents, Why not use the stdlib that puppet provides. It contains the following stage presets,
class stdlib::stages { stage { 'setup': before => Stage['main'] } stage { 'runtime': require => Stage['main'] } -> stage { 'setup_infra': } -> stage { 'deploy_infra': } -> stage { 'setup_app': } -> stage { 'deploy_app': } -> stage { 'deploy': } } I'm going to start using this going forward. On Wednesday, 20 October 2010 12:48:47 UTC+2, David Schmitt wrote: > > On 10/18/2010 6:14 PM, Hunter Haugen wrote: > > so you could do this: > > > > class orden { > > stage { [ 'repos', 'os', 'gLite', 'post' ]: } > > Stage['repos'] -> Stage['os'] -> Stage['main'] -> Stage['gLite'] -> > > Stage['post'] > > } > > A style question: wouldn't it be preferable to write it like this: > > class orden { > stage { 'repos': } -> stage { 'os': } -> stage { 'main': } -> stage > { 'gLite': } -> stage { 'post': } > } > > > Best Regards, David > -- > dasz.at OG Tel: +43 (0)664 2602670 Web: http://dasz.at > Klosterneuburg UID: ATU64260999 > > FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/N8wgSj8I07AJ. To post to this group, send email to puppet-users@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.