summaryrefslogtreecommitdiff
path: root/cfengine/core_policies.cf
blob: 8dee24aa02c63298d1da5d3f338304749a0c5b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
bundle common core_policies
{
    vars:
        any::
            "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)";
}