-
Notifications
You must be signed in to change notification settings - Fork 0
/
flacm.conf
104 lines (82 loc) · 2.77 KB
/
flacm.conf
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# FLACM YAML config file.
#
# Values are added with "key: value", values that are commented out are
# the defaults that FLACM uses
#
# $URL: $
#
# Last modification:: $Date: 2008-03-19 15:59:04 -0700 (Wed, 19 Mar 2008) $
# Last editor:: $Author: cmcintyre $
###
#
# Directory specifications. Where FLACM lives
#
###
# The flacm installation prefix
prefix_dir: /opt/flacm
# FLACM Binary directory. If not defined defaults to <prefix>/bin
bin_dir: /opt/flacm/bin
# FLACM Library installation. If not defined defaults to <prefix>/lib
lib_dir: /opt/flacm/lib
# FLACM state directory. If not define defaults to <prefix>/var
state_dir: /var/flacm
# FLACM log directory. If not defined defaults to <prefix>/log
log_dir: /var/flacm/log
###
#
# Data specifications. Where FLACM's data lives
#
###
# The FLACM data source
data_source: rsync://flacm/flacm
# Where the YAML roles live
roles_source: rsync://flacm/flacm/ROLES/roles.yaml
###
#
# Timing issues. How often to reboot, retry, etc.
#
###
# How often to re-run through the configuration (in seconds)
retry: 600
# How often to 'reboot', that is exit flacm and allow init-flacm to restart
# the whole boot-strapping process. This time is in HOURS
reboot: 24
# The file that tells flacm to reboot. If not defined, defaults to
# <state_dir>/.reboot
#reboot_file: /var/flacm/.reboot
# The file that tells flacm to stop doing configuration management. This state
# lasts as long as the file exists. If not defined it defaults to
# <state_dir>/.ignore
#ignore_file: /var/flacm/.ignore
###
#
# Logging. Log file names and the like
#
###
# Where to log non-error conditions and output from system commands that aren't
# properly quieted. If not defined it defaults to <log_dir>/flacm.log
#debug_log: /var/flacm/log/stdout.log
# Where to log error conditions. If not defined it defaults to
# <log_dir>/flacm_error.log
#error_log: /var/flacm/log/stderr.log
###
#
# Behaviour. FLACM behavior that can be tweaked to better fit your environment
#
###
# Whether or not to run once and then exit. FLACM supports a daemon mode when
# run in conjunction with init, but it can be run from cron too. If you want
# to control the run time of FLACM from cron, set this to true. If you want
# to use cron to occasionally try to restart FLACM (in the event that it dies
# or you want to use init to run the boot-strapping process then set this
# to false
run_once: false
# Whether or not .part files should be treated as whole files if their source
# file doesn't exist. If true then /etc/foo.part will become /etc/foo even if
# /etc/foo didn't initially exist
part_as_whole: true
# Whether or not to use the FQDN instead of the short host name when doing
# lookups from the roles source.
use_fqdn: false
# Debug level where 0 is no debugging and 3 is very verbose
debug: 0