On Jun 26, 2010, at 12:32 AM, Thomas Bellman wrote:
> Jean-Baptiste Barth wrote:
>
>> I'd like to be able to deploy a skeleton directory through puppet, i.e.
>> puppet deploys it only if it does not exist.
> [...]
>> But I have 2 problems for the moment :
>> - if I don't set owner/group, it tak
Jean-Baptiste Barth wrote:
I'd like to be able to deploy a skeleton directory through puppet, i.e.
puppet deploys it only if it does not exist.
[...]
But I have 2 problems for the moment :
- if I don't set owner/group, it takes uid/gid on the puppetmaster,
which does not exist on the node ; i
2010/6/26 Patrick Mohr
> Do you mean you want the users to be able to change *all* the files? I
> just pushed the directory using an exec with a "creates". I think I used a
> combination of wget and tar.
>
Sounds like a good idea, maybe it will be much more simple in my case.
Anyway, see my ot
2010/6/25 Silviu Paragina
> Change the ownership of the files on the server (but this implies that the
> users exists on the server too). Second what puppet version? There were some
> bugs in older versions that made puppet hash all the files in a folder if
> the folder was maintained by puppet,
On Jun 25, 2010, at 2:00 AM, Jean-Baptiste Barth wrote:
> - I'd like puppet to let user change some files in the skeleton as they want,
> i.e. skip this directory if it just exists
>
> Do you have an idea about how I could do that ?
Do you mean you want the users to be able to change all the f
On 25.06.2010 12:00, Jean-Baptiste Barth wrote:
Hi,
I'd like to be able to deploy a skeleton directory through puppet,
i.e. puppet deploys it only if it does not exist.
I tried this :
file {"/path/to/this/directory":
source => "puppet:///files/path/to/the/skeleton",
ensure => directory,
Hi,
I'd like to be able to deploy a skeleton directory through puppet, i.e.
puppet deploys it only if it does not exist.
I tried this :
file {"/path/to/this/directory":
source => "puppet:///files/path/to/the/skeleton",
ensure => directory,
recurse => true,
owner => auser,
group => agrou