summaryrefslogtreecommitdiff
path: root/cfengine
diff options
context:
space:
mode:
authorJulien Dessaux2017-08-04 15:07:24 +0000
committerJulien Dessaux2017-08-08 09:16:23 +0000
commiteae593f3d25ccae5cf138fc15d244ccc05a7a28d (patch)
tree9d7d056352dd48877320591e58531bb3063d1dde /cfengine
parentAdded hosts console and mysql01 (diff)
downloadmasterfiles-eae593f3d25ccae5cf138fc15d244ccc05a7a28d.tar.gz
masterfiles-eae593f3d25ccae5cf138fc15d244ccc05a7a28d.tar.bz2
masterfiles-eae593f3d25ccae5cf138fc15d244ccc05a7a28d.zip
Deploy freebsd check_mk agent
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)";
+}