annotate manifests/nodes.pp @ 47:a82c271fb26a puppet-3.6

Use other IP range so that we can contact it (rather than NAT, which prevents us testing in-bound connections, which is the point of a server!)
author IBBoard <dev@ibboard.co.uk>
date Sat, 25 Jul 2015 11:48:42 +0100
parents a1960fb961c5
children 2c1e222300f6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 node 'cloud.ibboard.co.uk' {
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 class { 'ibboardvpsnode':
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 primary_ip => '207.210.203.162',
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 secondary_ip => '143.95.92.165',
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 mailserver => 'mail.ibboard.co.uk',
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 imapserver => 'imap.ibboard.co.uk',
35
1bb941522ebf Handle differences in firewalling between ASO (using APF) and most other hosts (using iptables)
IBBoard <dev@ibboard.co.uk>
parents: 29
diff changeset
8 firewall_cmd => 'apf',
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 }
38
a1960fb961c5 Move APF refresh command to node template, as it won't work on boxes without it!
IBBoard <dev@ibboard.co.uk>
parents: 35
diff changeset
10 cron { 'apf-refresh':
a1960fb961c5 Move APF refresh command to node template, as it won't work on boxes without it!
IBBoard <dev@ibboard.co.uk>
parents: 35
diff changeset
11 command => '/etc/apf/apf --refresh >> /dev/null 2>&1 &',
a1960fb961c5 Move APF refresh command to node template, as it won't work on boxes without it!
IBBoard <dev@ibboard.co.uk>
parents: 35
diff changeset
12 hour => '*/6',
a1960fb961c5 Move APF refresh command to node template, as it won't work on boxes without it!
IBBoard <dev@ibboard.co.uk>
parents: 35
diff changeset
13 minute => '45'
a1960fb961c5 Move APF refresh command to node template, as it won't work on boxes without it!
IBBoard <dev@ibboard.co.uk>
parents: 35
diff changeset
14 }
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 }
29
41df236f3fb0 Add trial node config for new site (IPs for test VM)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
16
41df236f3fb0 Add trial node config for new site (IPs for test VM)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
17 node 'clouduk.ibboard.co.uk' {
41df236f3fb0 Add trial node config for new site (IPs for test VM)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
18 class { 'ibboardvpsnode':
47
a82c271fb26a Use other IP range so that we can contact it (rather than NAT, which prevents us testing in-bound connections, which is the point of a server!)
IBBoard <dev@ibboard.co.uk>
parents: 38
diff changeset
19 primary_ip => '192.168.0.9',
29
41df236f3fb0 Add trial node config for new site (IPs for test VM)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
20 secondary_ip => '192.168.56.4',
41df236f3fb0 Add trial node config for new site (IPs for test VM)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
21 mailserver => 'mail.ibboard.co.uk',
41df236f3fb0 Add trial node config for new site (IPs for test VM)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
22 imapserver => 'imap.ibboard.co.uk',
35
1bb941522ebf Handle differences in firewalling between ASO (using APF) and most other hosts (using iptables)
IBBoard <dev@ibboard.co.uk>
parents: 29
diff changeset
23 firewall_cmd => 'iptables',
29
41df236f3fb0 Add trial node config for new site (IPs for test VM)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
24 }
41df236f3fb0 Add trial node config for new site (IPs for test VM)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
25 }