[Puppet Users] Re: Generating dhcp/pxe configuration from puppet

2012-04-20 Thread Christian Requena
orted_resources.html > > If you wanted to do this outside of Puppet then you could parse all of > your node's Facts cache (/var/lib/puppet/yaml/facts on my machine) but > that assumes all the information you need is in Facter. > > On 18/04/12 08:22, Christian Requena wrote: > &

[Puppet Users] Generating dhcp/pxe configuration from puppet

2012-04-18 Thread Christian Requena
Hello, I want to generate my infrastructure's dhcp/pxe config from puppet, but to go through the node definitions? Btw. we only use explicit definitions, no regexp. So everything is explicit. I thought about using Puppet::Parser...something ... any hints? Thanks for you help! Christian -- Y

[Puppet Users] Dynamically extending the group membership of a custom system user

2012-02-13 Thread Christian Requena
Hello, I need to expand the membership of a custom system user depending on the availability of some group on the target system i.e. user { "logger": name => "logger", ensure => "present", groups => ["adm", "wheel", "this _group_ if it exists"], shell => "/bin/bash";