disable metrics server and fix terraform (#4617)
* disable metrics server in centos7-flannel-addons job Change-Id: I1d87923547584896f64dda9ea8feb5581ad48cbe * Fix tf facility->facilities syntax Change-Id: I434bfe53f47e8e4a546890e0b62d24bde6e6d6a7 * Update Terraform CI for facilities * Fix undefined variable error
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
50751bb610
commit
d89ecb8308
@ -157,7 +157,7 @@ def packet_device(resource, tfvars=None):
|
||||
|
||||
attrs = {
|
||||
'id': raw_attrs['id'],
|
||||
'facility': raw_attrs['facility'],
|
||||
'facilities': parse_list(raw_attrs, 'facilities']),
|
||||
'hostname': raw_attrs['hostname'],
|
||||
'operating_system': raw_attrs['operating_system'],
|
||||
'locked': parse_bool(raw_attrs['locked']),
|
||||
@ -178,7 +178,7 @@ def packet_device(resource, tfvars=None):
|
||||
}
|
||||
|
||||
# add groups based on attrs
|
||||
groups.append('packet_facility=' + attrs['facility'])
|
||||
groups.append('packet_facilities=' + attrs['facilities'])
|
||||
groups.append('packet_operating_system=' + attrs['operating_system'])
|
||||
groups.append('packet_locked=%s' % attrs['locked'])
|
||||
groups.append('packet_state=' + attrs['state'])
|
||||
|
Reference in New Issue
Block a user