Hello,
I am running CFengine 2.2.3 on OpenSolaris b77. I have the following
directive defined:
directories:
web_servers.sunos_i86pc::
/var/services/httpd mode=755 owner=root group=root define=firstrun_web
copy:
web_servers.sunos_i86pc.firstrun_web::
/var/cfengine/copy/services/httpd/configs
dest=/var/services/httpd/etc
recurse=inf
owner=root group=root
server=${cfm_server}
The copy does *not* run when the directory '/var/services/httpd' is created
(from the 'directories' section), however, if I change the perms to 555 on
the commandline (via chmod) for example on the httpd directory, it will
define 'firstrun_web', and execute the shown copy stanza (from cfagent -vq).
>From section 4.1.4 of the online cfengine manual, it states:
"The creation of a path will fail if one of the links in the path is a plain
file or device node. *A list of classes may optionally be defined here if a
directory is created*."
This does not appear to happen.
To avoid having a lengthy email, let me know if there is anything I can
provide to further help with this issue. Much thanks in advance.
Best,
Eric
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine