-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpromises.cf
67 lines (52 loc) · 1.84 KB
/
promises.cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
###############################################################################
#
# promises.cf - Basic Policy for Community
#
###############################################################################
body common control
{
bundlesequence => {
# Common bundles first for best practice
"def",
# Design Center
"cfsketch_run",
# Agent buddles from here
"main",
};
inputs => {
# Global common bundles
"def.cf",
# Control body for all agents
"controls/cf_agent.cf",
"controls/cf_execd.cf",
"controls/cf_monitord.cf",
"controls/cf_report.cf",
"controls/cf_runagent.cf",
"controls/cf_serverd.cf",
# COPBL/Custom libraries
"libraries/cfengine_stdlib.cf",
"libraries/classes_lib.cf",
# Design Center
# MARKER FOR CF-SKETCH INPUT INSERTION
"cf-sketch-runfile.cf",
# User services from here
"services/init_msg.cf",
"services/apache/apache_main.cf",
"services/apache/apache_install.cf",
"services/apache/apache_check_process.cf",
"services/hardwareinfo/hardwareinfo_cpu.cf",
};
version => "Community Promises.cf 3.4.0";
}
###############################################################################
bundle agent main
{
methods:
any::
"INIT MSG" usebundle => init_msg,
comment => "Just a pre-defined policy bundled with the package",
handle => "main_methods_any_init_msg";
# Manage Apache (Install and check that it is up)
"Apache Service" usebundle => apache_main;
}
###############################################################################