Hello all again
just another quick question,
we have some machines in different colo''s on different subnets,
colo a - 1.1.1.0/24
colo b - 2.2.2.0/24
If for example I was using a module from puppet forge for IIS, could I use
variables within my manifest syntax to reference different colo''s for
example
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'' ],
}
Hope this makes sense just unsure how to achieve this ???
Regards
Jim
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.