diff options
author | Julien Dessaux | 2017-08-04 15:07:24 +0000 |
---|---|---|
committer | Julien Dessaux | 2017-08-08 09:16:23 +0000 |
commit | eae593f3d25ccae5cf138fc15d244ccc05a7a28d (patch) | |
tree | 9d7d056352dd48877320591e58531bb3063d1dde /cfengine | |
parent | Added hosts console and mysql01 (diff) | |
download | masterfiles-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.cf | 14 |
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)"; +} |