Puppet Class: vsphere_vm_hardening
- Defined in:
- manifests/init.pp
Overview
17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/init.pp', line 17
class vsphere_vm_hardening (
$virtualmachines = ['/datacenter/vm/folder/subfolder/vm1.puppet.com', '/datacenter/vm/folder/subfolder2/vm2.puppet.com'],
$hardening_config = { 'isolation.tools.copy.disable' => 'true' , 'isolation.tools.paste.disable' => 'true' },
){
validate_hash($hardening_config)
$virtualmachines.each |String $vm| {
vsphere_vm { "${vm}":
extra_config => $hardening_config,
}
}
}
|