Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body common control
- {
- bundlesequence => { "mycopy" };
- inputs => { "/var/cfengine/inputs/libraries/cfengine_stdlib.cf" };
- inputs => {"/var/cfengine/inputs/lib/3.5/files.cf"};
- }
- bundle agent mycopy
- {
- vars:
- "files" slist => { "/root/file", "/root/file2", "/root/file3" };
- files:
- "$(files)"
- copy_from => secure_cp("$(files)", "200.187.79.205");
- }
- Error:
- [root@cfengine ~]# cf-agent -KI --file ./copia.cf
- 2013-12-11T17:29:08-0200 info: /mycopy/files/'$(files)': Can't stat '/root/file' in files.copyfrom promise
- 2013-12-11T17:29:08-0200 info: /mycopy/files/'$(files)': Can't stat '/root/file2' in files.copyfrom promise
- 2013-12-11T17:29:08-0200 info: /mycopy/files/'$(files)': Can't stat '/root/file3' in files.copyfrom promise
Advertisement
Add Comment
Please, Sign In to add comment