Displaying 1 result from an estimated 1 matches for "iis_site".
2013 Feb 22
1
Variables within Manifests question
...his is possible
I''m using the puppet forge IIS module, and want to use variables within the
syntax dependent up ip address
for example:
colo_a = 1.1.1.0
colo_b = 2.2.2.0
if $network_local_area_connection = 1.1.1.0
add colo_a
elseif $network_local_area_connection = 2.2.2.0
add colo_b
iis_site {''mysite.co.uk'':
ensure => present,
bindings => [ ''http/*:80:www.mysite.co.uk'',
''http/*:80:mysite.co.uk'',
''http/*:80:*colo_?????*.mysite.co.uk'',
''http/*:80:*colo_?????*.mysite.co.uk'' ],...