Hi Francis,
On 08/29/2011 09:10 AM, Francis GALIEGUE wrote:
> Hello list,
> 
> We wish to use Puppet to manage our VMs but have some questions which
> we couldn't find the answer to.

Have you tried the learning puppet section?
http://docs.puppetlabs.com/learning/

> 
> First, we want to use push from the server, not pull from the clients:
> is that feasible?

Yes, that is possible.
The client has to run in listen mode.
On the master you use puppet kick <dns client name>
http://docs.puppetlabs.com/man/kick.html

> 
> Second, let's say we have a file tree, with a/b, a/c and b/d. If we
> remove a/c from the file server, is it possible, when updating the
> affected node(s), to remove a/c?

You either use a recursive file resource (which is not recommended due
to load) or you define whether a file resource is absent or present.

e.g.

file { "a/c":
        ensure => present,
        source => ...
}

file { "a/b":
        ensure => absent,
}

Also take a look on the documentation:
http://docs.puppetlabs.com/references/latest/type.html#file


> 
> Thanks in advance,

Kind regards,

Martin

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to