I'm running Puppet 3.4.3 and was wondering is there a way to call the
defines below in the order they're written. The problem I'm having is
while using Opentable/IIS forge module, I want to delete the "Default Web
Site" which is running on port 80, then create a new site which runs on 80.
What happens is Puppet is running the second manage site "Manager"
which
creates it but fails to start the virtual host because it hasn't deleted
the "Default Web Site" yet and there's a port conflict.
iis::manage_app_pool { 'DefaultAppPool':
managed_runtime_version => 'v4.0',
}
iis::manage_site { 'Default Web Site':
ensure => absent,
site_path => '%SystemDrive%\inetpub\wwwroot',
app_pool => 'DefaultAppPool',
}
iis::manage_site { 'Manager':
site_path => 'c:\inetpub\wwwroot',
port => '80',
ip_address => '*',
app_pool => 'DefaultAppPool',
update_path => false,
}
Matt
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CAOTD2YSHk_WXKjWNwfuq0%2BtyS-hzREhbm7Xc9SxKgFpyY%3DbBCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.