Garett already gave you a good answer for the code as you presented it. But,
On Monday, February 9, 2015 at 10:33:32 AM UTC-6, Salty Old Cowdawg wrote: class scripts::myscript { > @file{'my neat script': > path=>"/path/to/the/script", > source=>"puppet:///modules/scripts/myscript.pl" > } > realize File['my neat script'] > } > > I have to ask what your intention is in having class scripts::myscript declare a virtual File resource, and then immediately realize it. That's semantically equivalent to a concrete declaration, only more complicated, so I have to think that you have some wrong expectation about the effect. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f7f1e85d-53a9-435c-9cd9-afc18b09f0b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.