Rene wrote: > In our environment, we have a non standard /etc/skel directory. The > content of that directory is managed via puppet. How do I guarantee, > that the content of that directory is on the system before a user is > created. Do I need a require attribute on every user creation > statement in every puppet module we have? Does someone know an > easier way?
You could use a resource default to add that requirement to user resources: User { require => File['/etc/skel'] } -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ After one look at this planet any visitor from outer space would say "I want to see the manager." -- William S. Burroughs
pgppGJ5xtIt81.pgp
Description: PGP signature