Project

General

Profile

« Previous | Next » 

Revision 1eb2f72e

Added by Alexis Mousset over 7 years ago

Fixes #9965: Set the right permissions on nodeslist.json

View differences:

techniques/system/distributePolicy/1.0/propagatePromises.st
"${g.rudder_base}/etc/nodeslist.json"
copy_from => local_cp("${this.promise_dirname}/nodeslist.json"),
perms => mog("640", "root", "rudder"),
comment => "Copying list of nodes under this policy server",
classes => if_else("nodeslist_copied", "could_not_copy_nodeslist");

Also available in: Unified diff