clean up kvm vms
This commit is contained in:
parent
d9393a8ca0
commit
81292466c2
3 changed files with 6 additions and 11 deletions
|
@ -8,9 +8,6 @@
|
||||||
domain: sunet.se
|
domain: sunet.se
|
||||||
sunet::rsyslog:
|
sunet::rsyslog:
|
||||||
|
|
||||||
'^kvm.+-.+-\d+\.komreg\.net$':
|
|
||||||
eid::kvmhost:
|
|
||||||
|
|
||||||
jmp.komreg.net:
|
jmp.komreg.net:
|
||||||
konsulter:
|
konsulter:
|
||||||
sunet_iaas_cloud:
|
sunet_iaas_cloud:
|
||||||
|
@ -21,7 +18,7 @@ jmp.komreg.net:
|
||||||
autoupdate:
|
autoupdate:
|
||||||
|
|
||||||
kvmfe-fre-3.komreg.net:
|
kvmfe-fre-3.komreg.net:
|
||||||
eid::kvm_vms:
|
eid::kvmhost:
|
||||||
vms:
|
vms:
|
||||||
fe-fre-3.komreg.net:
|
fe-fre-3.komreg.net:
|
||||||
mac: '52:54:20:01:00:01'
|
mac: '52:54:20:01:00:01'
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
class eid::kvm_vms(
|
|
||||||
Hash $vms
|
|
||||||
) {
|
|
||||||
create_resources('eid::cloudimage', $vms)
|
|
||||||
}
|
|
|
@ -1,6 +1,7 @@
|
||||||
class eid::kvmhost(
|
class eid::kvmhost(
|
||||||
$proxy_server = hiera('eid_proxy_server'),
|
String $proxy_server = hiera('eid_proxy_server'),
|
||||||
$no_proxy = hiera('eid_no_proxy'),
|
String $no_proxy = hiera('eid_no_proxy'),
|
||||||
|
Hash $vms = [],
|
||||||
) {
|
) {
|
||||||
file {
|
file {
|
||||||
'/etc/cosmos-manual-reboot':
|
'/etc/cosmos-manual-reboot':
|
||||||
|
@ -37,4 +38,6 @@ class eid::kvmhost(
|
||||||
line => '8021q',
|
line => '8021q',
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
create_resources('eduid::cloudimage', $vms)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue