view manifests/nodes.pp @ 56:2c1e222300f6 puppet-3.6

New IP address for test machine (Curse you, DHCP!)
author IBBoard <dev@ibboard.co.uk>
date Sun, 26 Jul 2015 17:50:51 +0100
parents a82c271fb26a
children c91296a71160
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 => '192.168.0.9',
		secondary_ip => '192.168.56.5',
		mailserver => 'mail.ibboard.co.uk',
		imapserver => 'imap.ibboard.co.uk',
		firewall_cmd => 'iptables',
	}
}