Hi I''m in the process of wanting to use LDAP instead of node files and wondering about the limitations. In LDAP is it possible to: - Exporting resources - Virtual resources I understand defines are not possible Are these possible within LDAP? If so how? If not using do I have to do it via external node code? -L -- Larry Ludwig Empowering Media 1-866-792-0489 x600 Proactively Managed Xen VPSes http://www.hostcube.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Larry Ludwig schrieb:> Hi I''m in the process of wanting to use LDAP instead of node files and > wondering about the limitations. In LDAP is it possible to: > - Exporting resources > - Virtual resources > > I understand defines are not possible > > Are these possible within LDAP? If so how? If not using do I have to > do it via external node code?external nodes can only assign variables and include classes. You always can include a class specific to a node and add single resources there. For an example of that technique, see line 18 in http://git.black.co.at/?p=manifests;a=blob;f=manifests/site_hosting/davids.pp#l18 the class "davids_black_co_at" is included by infrastructure at line 71 in http://git.black.co.at/?p=module-hosting;a=blob;f=manifests/init.pp#l71 Regards, DavidS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Aug 7, 2008, at 7:45 PM, Larry Ludwig wrote:> > Hi I''m in the process of wanting to use LDAP instead of node files and > wondering about the limitations. In LDAP is it possible to: > - Exporting resources > - Virtual resources > > I understand defines are not possible > > Are these possible within LDAP? If so how? If not using do I have to > do it via external node code?Exported and virtual resources are orthogonal with external nodes -- they''ll work with any external node source at all. And defined resources are *certainly* possible with external nodes -- you just can''t put them in the external node source. -- I conclude that there are two ways of constructing a software design: One way is to make it so simple that there are ''obviously'' no deficiencies and the other way is to make it so complicated that there are no ''obvious'' deficiencies. -- C.A.R. Hoare, Turing Lecture "The Emperor''s Old Clothes" CACM February 1981, pp. 75-83. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---