Has anyone given any thought to using DNS for node information rather than LDAP? You see, I already have all my nodes defined... in BIND ;-). Perhaps something like: foo IN A 10.178.10.1 IN TXT "puppetclass=<class_name>" IN TXT "puppetclass=<class_name>" . . . Ad nauseam -- Russell A. Jackson <raj at csub.edu> Network Analyst California State University, Bakersfield QOTD: "It''s been Monday all week today."
On Aug 28, 2007, at 12:32 AM, Russell Jackson wrote:> Has anyone given any thought to using DNS for node information > rather than LDAP? You see, > I already have all my nodes defined... in BIND ;-).You can pretty easily write an external node tool to pull this information out of DNS, and in the next release you''ll be able to write a small ruby plugin to do it a bit easier. -- If a dog jumps onto your lap it is because he is fond of you; but if a cat does the same thing it is because your lap is warmer. -- Alfred North Whitehead --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Luke Kanies wrote:> On Aug 28, 2007, at 12:32 AM, Russell Jackson wrote: > >> Has anyone given any thought to using DNS for node information >> rather than LDAP? You see, >> I already have all my nodes defined... in BIND ;-). > > You can pretty easily write an external node tool to pull this > information out of DNS, and in the next release you''ll be able to > write a small ruby plugin to do it a bit easier. >My understanding is that you have to be using ldap nodes for things like puppetrun --class dhcp to work. Does it work now for node {} definitions as well? -- Russell A. Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield I suppose that in a few hours I will sober up. That''s such a sad thought. I think I''ll have a few more drinks to prepare myself. _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Aug 29, 2007, at 2:40 PM, Russell Jackson wrote:> My understanding is that you have to be using ldap nodes for things > like puppetrun --class > dhcp to work. Does it work now for node {} definitions as well?Ah; sorry, no. I didn''t realize that''s what you meant. I''ll keep that in mind in the refactoring I''m working on, since it should include the ''find all hosts in this class'' ability. -- He is indebted to his memory for his jests and to his imagination for his facts. --Richard Brinsley Sheridan --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com