David Lutterkort wrote:
On Thu, 2010-02-18 at 18:33 -0500, Joe McDonagh wrote:
I created a ticket about a pam type nearly a year ago and hopefully I can have a working type with the parsedfile provider sometime within the next week (I should have a real-live day off Friday). I did do some planning for type features while on a plane ride but ended up falling asleep... so that's as far as I am right now. I'll post to the list once I have something that resembles a working pam type.

Have you thought about doing this based on Augeas rather than
ParsedFile ? Depending on what exactly you want your type to do, you
might even be able to write it as a 'define' in puppet, rather than
having to drop to Ruby. If the logic in your type is complex enough,
though, and you have to write it in Ruby, you can still use Augeas to
access, query and modify the pam entries.

David


I have not thought about using augeas because last time I tried to build it for our standard OS (Ubuntu 8.04) IIRC it needed a newer version of glibc.

--
Joe McDonagh
AIM: YoosingYoonickz
IRC: joe-mac on freenode
L'ennui est contre-révolutionnaire

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to