5
disable_ec2_metadata: true
9
chpasswd: { expire: false }
12
{% for key in common.ssh_auth_keys %}
16
# set the locale to a given locale
17
# default: en_US.UTF-8
20
timezone: {{ common.timezone }}
22
hostname: {{ common.hostname }}
23
fqdn: {{ common.fqdn }}
26
# add entries to rsyslog configuration
28
- filename: 10-log2master.conf
30
$template LogToMaster, "<%PRI%>1 %$NOW%T%TIMESTAMP:8:$%Z %HOSTNAME% %APP-NAME% %PROCID% %MSGID% -%msg%\n"
31
*.* @{{ common.master_ip }};LogToMaster
34
# that module's missing in 0.6.3, but existent for >= 0.7.3
38
url: {{ common.master_url }}
39
path: /etc/nailgun-agent/config.yaml
41
path: /etc/nailgun_systemtype
45
main_collective: mcollective
46
collectives: mcollective
47
libdir: /usr/share/mcollective/plugins
48
logfile: /var/log/mcollective.log
54
plugin.psk: {{ mcollective.pskey }}
55
identity: {{ mcollective.identity }}
56
{% if mcollective.connector == 'stomp' %}
58
plugin.stomp.host: {{ mcollective.host }}
59
plugin.stomp.port: {{ mcollective.port|default(61613) }}
60
plugin.stomp.user: {{ mcollective.user }}
61
plugin.stomp.password: {{ mcollective.password }}
64
plugin.rabbitmq.vhost: {{ mcollective.vhost }}
65
plugin.rabbitmq.pool.size: 1
66
plugin.rabbitmq.pool.1.host: {{ mcollective.host }}
67
plugin.rabbitmq.pool.1.port: {{ mcollective.port|default(61613) }}
68
plugin.rabbitmq.pool.1.user: {{ mcollective.user }}
69
plugin.rabbitmq.pool.1.password: {{ mcollective.password }}
70
plugin.rabbitmq.heartbeat_interval: 30
73
plugin.yaml: /etc/mcollective/facts.yaml
78
logdir: /var/log/puppet
79
rundir: /var/run/puppet
82
prerun_command: /bin/true
83
postrun_command: /bin/true
85
classfile: $vardir/classes.txt
86
localconfig: $vardir/localconfig
87
server: {{ puppet.master }}
92
{% if puppet.enable != 1 %}
93
- /usr/sbin/invoke-rc.d puppet stop
94
- /usr/sbin/update-rc.d -f puppet remove
96
{% if mcollective.enable != 1 %}
97
- /usr/sbin/invoke-rc.d mcollective stop
98
- echo manual > /etc/init/mcollective.override
100
- rm -f /etc/init/mcollective.override
102
- iptables -t filter -F INPUT
103
- iptables -t filter -F FORWARD
105
final_message: "YAY! The system is finally up, after $UPTIME seconds"