Puppet Class: kickstack::nameresolution
- Inherits:
- kickstack
- Defined in:
- manifests/nameresolution.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'manifests/nameresolution.pp', line 1
class kickstack::nameresolution inherits kickstack {
case $::kickstack::name_resolution {
'hosts': {
@@host { "$hostname":
ip => getvar("ipaddress_${::kickstack::nic_management}"),
comment => "Managed by Puppet",
tag => "hostname"
}
Host <<| tag == "hostname" |>> { }
}
}
}
|