Hi,
I am trying to set ACLs using exec resource in Puppet DSL as follows:
...
...
define :set_acl_userdir do
username = @name
user_dirname = dir + username
user_dirname_default = user_dirname + '_default'
exec user_dirname_default, :command => '/usr/bin/setfacl -d -m
m:username:rwx user_
On Mon, Oct 17, 2011 at 6:17 PM, Nan Liu wrote:
> On Mon, Oct 17, 2011 at 3:03 PM, neubyr wrote:
>> Hi,
>>
>> I am trying to set ACLs using exec resource in Puppet DSL as follows:
>>
>>
>> ...
>> ...
>> define :set_acl_userdir do
>
On Tue, Oct 18, 2011 at 8:09 AM, jcbollinger wrote:
>
>
> On Oct 17, 5:03 pm, neubyr wrote:
>> Hi,
>>
>> I am trying to set ACLs using exec resource in Puppet DSL as follows:
>
>
> No, you're not. You are trying to set ACLs by using an Exec resour
I am trying to understand Puppet's Ruby DSL. I have tried it in
server-less mode using 'puppet apply' and it worked fine. But I am not
sure how to organize it in the server. It is a simple manifest file
without any modules and classes in it. Should it go in the regular
manifests directory (which al
actice for keeping both styles together? Also, does Ruby
DSL get converted into Puppet DSL before execution?
>
> On Tue, Nov 01, 2011 at 09:46:56AM -0500, neubyr wrote:
>> I am trying to understand Puppet's Ruby DSL. I have tried it in
>> server-less mode using 'puppet a
on the
> master.
>
> The client just gets a fixed compiled catalog it applies, nothing else.
>
> ~pete
>
>
Thanks for explaining it in detail Peter. The Ruby DSL manifest
includes some binary executable operations, but they are in Puppet
context (using Puppet's exec t
e => true,
purge => true,
source => "puppet:///puppetfiles/newtestdir";
}
}
--
thanks,
neubyr.
--
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
That explains how resource ordering works. Is it the same way with require
statement? For example, if apache or mysql class fails on the node, would
wordpress class run be attempted?
On Sun, Jan 5, 2014 at 8:50 AM, Jose Luis Ledesma <
joseluis.lede...@gmail.com> wrote:
> Right! I wrote it from