summaryrefslogtreecommitdiff
path: root/cfengine
diff options
context:
space:
mode:
Diffstat (limited to 'cfengine')
-rw-r--r--cfengine/core_policies.cf14
1 files changed, 14 insertions, 0 deletions
diff --git a/cfengine/core_policies.cf b/cfengine/core_policies.cf
index b919b59..8dee24a 100644
--- a/cfengine/core_policies.cf
+++ b/cfengine/core_policies.cf
@@ -5,3 +5,17 @@ bundle common core_policies
"bundles" slist => { "cfengine_watchdog" };
"inputs" slist => { "cfengine/watchdog.cf" };
}
+
+body copy_from scp(from)
+{
+ any::
+ source => "$(from)";
+ compare => "digest";
+ encrypt => "true";
+ verify => "true";
+ copy_backup => "false";
+ purge => "true";
+ !policy_server::
+ servers => { "$(sys.policy_hub)" };
+ portnumber => "$(sys.policy_hub_port)";
+}