Forum: CFEngine Help
Subject: Unable to create a test file on a cat of servers.
Author: [email protected]
Link to topic: https://cfengine.com/forum/read.php?3,27131,27131#msg-27131
Hi all,
I'm a CFEngine newbee. I'm trying to setup a new class of servers called
TESTSERVERS in my existing cf env. I took the following steps:
1. Added the server list to the groups.cf file:
"TESTSERVERS" or => {
classify("svr1"),
classify("srv2"),
classify("srv3"),
classify("srv4"),
};
2. Created test servers cf file
#test service
bundle agent testservers
{
files:
TESTSERVERS::
"/tmp/sessions2/test"
comment => "create file",
perms => mog("0755","root","root"),
create => "true";
# gcvs3084::
#"/log/sessions1/." create => "true", perms =>
mog("0755","root","root");
#"/log/sessions1/." create => "true", perms =>
mog("0755","root","root");
}
3. Added them both to the promises.cf
body common control {
bundlesequence => {"testservers"};
and
inputs => { "service_testservers.cf"};
I get no syntax error but the file never get created on my servers . I'm not
sure why......
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine