frontend fre

This commit is contained in:
Erik Bergström 2018-05-03 10:26:33 +02:00
parent 262b705f8d
commit 641ce29733
3 changed files with 13 additions and 7 deletions

View file

@ -21,12 +21,13 @@ jmp.komreg.net:
autoupdate: autoupdate:
kvmfe-fre-3.komreg.net: kvmfe-fre-3.komreg.net:
eid::cloudimage: eid::kvm_vms:
fe-fre-3.komreg.net: vms:
mac: '52:54:20:01:00:01' fe-fre-3.komreg.net:
description: 'eid fre frontend' mac: '52:54:20:01:00:01'
cpus: '4' description: 'eid fre frontend'
memory: '4096' cpus: '4'
memory: '4096'
nic.komreg.net: nic.komreg.net:
sunet_iaas_cloud: sunet_iaas_cloud:

View file

@ -1,5 +1,5 @@
# Wrapper with eid common settings for sunet::cloudimage # Wrapper with eid common settings for sunet::cloudimage
class eid::cloudimage( define eid::cloudimage(
String $mac, String $mac,
String $cpus = '1', String $cpus = '1',
String $memory = '1024', String $memory = '1024',

View file

@ -0,0 +1,5 @@
class eid::kvm_vms(
Hash $vms
) {
create_resources('eid::cloudimage', $vms)
}