>
> Might be something like this following;
>
> bundle agent test
> {
> files:
> "/root"
> create => "true",
> perms => m("700"),
> file_select => folder(".ssh"),
> depth_search => recurse("1");
>
> "/root/.ssh/authorized_keys"
> create => "true",
> perms => m("60
Hi everyone
I'm struggling with managing permissions of a directory - my aim is to ensure
/root/.ssh has mode 700, but without needing to recurse through it. With a
promise such as the following, cf-agent states
cf3 -> Promise to skip base directory /root/.ssh/.
body common control {
bundleseq
Will do, thanks very much for the pointers Mark. Good like with the
reorganisation!
Kind regards
Andrew
On Thu, Feb 04, 2010 at 03:21:09PM +0100, Mark Burgess wrote:
>
> Users and groups are handled through "methods" typically. Check out the
> solutions guide -
> - which we are in the process o
Indeed, the internal function is great and makes much more sense - I wasn't
aware there was one for packages (have only recently started using CFEngine
properyl, so still learning the ropes).
Is there a similar method for managing users and groups? I had come up
with the following (similar lines t
Ah, Many thanks Nakarin! That has done the trick! :-D
I'm using a similar recipe for managing users - I've found canonify to
be my friend. Once I've got it working they way I want I'll post it in
case it helps others.
On Thu, Feb 04, 2010 at 01:08:53PM +0100, Nakarin Phooripoom wrote:
> Why don'
Greetings all
I'm struggling with a cfengine recipe - my goal is to check an slist of RPMs to
see if they are installed, and install any missings ones. Alas, if at least one
of the RPMs is installed, the class check fails, and the missings RPMS are not
installed. If all of the RPMS are missing, th