Argh. Everyone is doing this require dance because of the docs on definitions right?
http://docs.puppetlabs.com/guides/language_tutorial.html#definitions We had a chat about that on the list a while ago and realized that was horribly out of date, I'll try to get a patch in to fix it. On Tue, Aug 10, 2010 at 12:31 AM, Jason Koppe <[email protected]> wrote: > Thanks, that works as expected. > > On Sun, Aug 8, 2010 at 4:58 PM, Peter Meier <[email protected]> wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 08/07/2010 01:31 AM, Jason Koppe wrote: >> > I ended up getting this syntax to work: >> >> just minor note: >> >> >> > 4 $id, >> > 5 $runlevels = '123456', >> > 6 $action = 'respawn', >> > 7 $process >> > 8 ) { >> > 9 >> > 10 augeas {"inittab_$id": >> > 11 context => "/files/etc/inittab", >> > 12 force => "true", >> > 13 require => $require, >> >> you don't need to pass the require, the require to the define will >> automatically be passed to all it's containing resources. >> >> cheers pete >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.10 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAkxfKHcACgkQbwltcAfKi3/JcACfeTWMlELe1ZQ7MZeXCUP4LCZe >> iLcAn3yLUEvX3JcF4O5WDo8BJscm2TOE >> =4yz3 >> -----END PGP SIGNATURE----- >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > > > -- > Jason Koppe > [email protected] > Cell (210) 445-8242 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
