Xavier Beaudouin
2009-Feb-02 10:36 UTC
[Puppet Users] Question about Recipe LDAPClientNSSwitch ?
Hello,
I am trying to use the recipe
http://reductivelabs.com/trac/puppet/wiki/Recipes/LDAPClientNSSwitch, but I
am bloqued about special debian thing.
The extract is :
file { libnss-ldap-preseed:
path => "/var/cache/debconf/libnss-ldap.preseed",
owner => root, group => root, mode => 400,
source => "puppet://puppet/ldap/libnss-ldap.preseed"
}
I understand the preseed stuff in a d-i installation, but how do I set the
file libnss-ldap.preseed ?
Do I use debconf-get-selections and keep only lines about libnss-ldap ? or
is there any better way to get this file ?
Thanks for your advices.
/Xavier
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Mike Renfro
2009-Feb-02 16:41 UTC
[Puppet Users] Re: Question about Recipe LDAPClientNSSwitch ?
On 2/2/2009 4:36 AM, Xavier Beaudouin wrote:> Do I use debconf-get-selections and keep only lines about libnss-ldap ? or > is there any better way to get this file ?That''s what I''ve always done. Something like: debconf-get-selections | grep ''^libnss-ldap '' should work. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Xavier Beaudouin
2009-Feb-02 16:43 UTC
[Puppet Users] Re: Question about Recipe LDAPClientNSSwitch ?
Sorry about the noise I found how to get such files... debconf-get-selections | grep libnss-ldap > libnss-ldap.preseed /Xavier PS: maybe this can be updated on the wiki ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Paul Lathrop
2009-Feb-03 21:29 UTC
[Puppet Users] Re: Question about Recipe LDAPClientNSSwitch ?
Xavier, It *is* a wiki. That means you should feel free to make these kind of changes: "A wiki is a page or collection of Web pages designed to enable anyone who accesses it to contribute or modify content" (http://en.wikipedia.org/wiki/Wiki). The more community members who choose to do this, the better the wiki will be! Regards, Paul On Mon, Feb 2, 2009 at 8:43 AM, Xavier Beaudouin <xbeaudouin@gmail.com> wrote:> PS: maybe this can be updated on the wiki ?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---