-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, I get the example, but how do you get something to register when that item has a 'type' property itself?
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) iQEcBAEBAgAGBQJMKl7xAAoJECNCGV1OLcypLG0H/2BBVPrxUPUd07TM0R5ZE0yQ l78T6NxDw6Rl57ftnrTcLVn1fR8Azqw0XduiMiLOOMjABSBVQMQJ7X7hemXltBFd 78R7Hr0rxQtG6ihmxU6Q2avjYiTCvJBAhqC/rSURW5oN8DLSXlarNJ/EXHiNxw8g ZpjRDCcAGq6XErxZd4Tlscj8eDiUtKfXHiG8j0nf+8T34jA7zF4UmwdfuR6MFN7G uwk2FYbJp4ZRenbUROPo7litaVJjUWcatqPoEXQv76skqS06JVqh+2t9/9VGMvDs W+2yVjGXfo63l+RZgg3MWDzkwdBx8t02v3WjwMLnX+ZGfMa+ZNnXQzUHx59ZcaM= =uJM9 -----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>>
