view manifests/nodes.pp @ 109:019968cfda31 puppet-3.6

Add dev machine entry with correct IPs (Until DHCP changes them)
author IBBoard <dev@ibboard.co.uk>
date Tue, 31 May 2016 22:00:56 +0100
parents c91296a71160
children 951cd2b66abd
line wrap: on
line source


node 'cloud.ibboard.co.uk' {
	class { 'ibboardvpsnode':
		primary_ip => '207.210.203.162',
		secondary_ip => '143.95.92.165',
		mailserver => 'mail.ibboard.co.uk',
		imapserver => 'imap.ibboard.co.uk',
		firewall_cmd => 'apf',
	}
	cron { 'apf-refresh':
		command => '/etc/apf/apf --refresh >> /dev/null 2>&1 &',
		hour => '*/6',
		minute => '45'
	}
}

node 'clouduk.ibboard.co.uk' {
	class { 'ibboardvpsnode':
		primary_ip => '213.229.111.243',
		secondary_ip => '213.229.111.243',
		mailserver => 'mail.ibboard.co.uk',
		imapserver => 'imap.ibboard.co.uk',
		firewall_cmd => 'iptables',
	}
}

node 'cloudtest.ibboard.co.uk' {
	class { 'ibboardvpsnode':
		primary_ip => '192.168.0.9',
		secondary_ip => '192.168.0.9',
		mailserver => 'mail.ibboard.co.uk',
		imapserver => 'imap.ibboard.co.uk',
		firewall_cmd => 'iptables',
	}
}