Displaying 1 result from an estimated 1 matches for "stagehosts".
2011 Feb 03
3
2.6.2 excluding an exported resource
...ddress but for foo.bar.com I would like to just have
the loopback host entry. 2.6.2 doesn''t allow multiple tags and if I
put in another entry for localhost there is a collision.
Is there any way to accomplish this in 2.6.2?
=========================================================
class stagehosts {
if $MY_CUSTOM_FACT =~ /BLAH-BLAH/ {
@@host { $fqdn:
target => ''/etc/hosts'',
ip => $ipaddress,
host_aliases => [$hostname],
tag => stagehosts,
}
Host <<|tag == ''stagehosts''|>>
}
}
--
You receive...