-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sorry, never mind.
I missed the :params hash. Thanks, Trevor On 06/29/2010 12:30 PM, Luke Kanies wrote: > On Jun 29, 2010, at 8:43 AM, Trevor Vaughan wrote: > >> All, >> >> I'm trying to determine if it is possible to programmatically add an >> object to the active catalog from a function. >> >> I haven't quite wrapped my head around the scope of the function >> relationship with the main Puppet scope. >> >> A pointer on how the existing global catalog can be referred to within >> a function would be a helpful start. > > Yeah, it's pretty easy (although the catalog isn't global, it's > per-client). > > Look at my hash2resources branch: > > http://github.com/lak/puppet/tree/features/master/hash2resources > > It should have sufficient answers, but feel free to follow up if it > doesn't. > - -- Trevor Vaughan Vice President, Onyx Point, Inc. email: [email protected] phone: 410-541-ONYX (6699) pgp: 0x6C701E94 - -- This account not approved for unencrypted sensitive information -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJMKmIwAAoJECNCGV1OLcyp1XEH/RFsE2lKKACPDt5+9ll6A9Na cptGC8fGQKFMRrNh/mkp5spcokNVhhTLH0kz37cVRlVy7dCwksorC/HR0vW0Js6F CbPSo4Zg9hmxUpVjds5EbG0m40qfTtzkahLvm2FW4J2mHIri1EYMF+HFmc0eSKoi HWfrFEkzqmgkUqhdCpnXPprvZcD1COXmUHQf9BwCpHHlONrSPeAc1xZyQyTXQNEg FfjjLQGQAY7vF8RJnXuS9ZamtGm+oqXXsbk2ZP+KA6ASCFVsLOsSU9IhffmO6z3Y 9N7UZqlGjbdFHWsld8m0atDcELvyZ/s5JwV3siUK0KXm/TIQs4zN+VZ+ASzm6/4= =gRhP -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
<<attachment: tvaughan.vcf>>
