From eae593f3d25ccae5cf138fc15d244ccc05a7a28d Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 4 Aug 2017 15:07:24 +0000 Subject: Deploy freebsd check_mk agent --- cfengine/core_policies.cf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cfengine') 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)"; +} -- cgit v1.2.3