Hi,

I have set up a module that realizes (groups of) users from a set of
virtual users, and this works well.

What I'd like to do now, is to build in some system where user files
are distributed as well, but with the following features:

- this should work for previously unspecified files and directories.
- users should be able to maintain their own 'master' files.
- existing files on nodes should remain untouched.

In practice if user "foobar" wants his .bashrc distributed, he logs
into the puppetmaster server, finds his personal 'master' directory
in /etc/puppet/modules/users/files/foobar (which I made sure is
writable for him), and copies his .bashrc into it. An hour later
it exists on all nodes where he has access to. This should also work
for .ssh/authorized_keys, bin/myscript, lib/fortunes/discworld and
any other files or directories he copies here, without the need to
specify them in advance. And if he changes a file in this personal
'master' directory, then the changes should propagate as well.

I tried this with file{ "/home/$user": ensure => directory, recursive =>
true, ... } but this also modifies ownership and permissions of already
existing files in /home/$user.

Is what I want possible at all in puppet? And if so, how should I proceed?


Robert Scheer

-- 
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