This commit is contained in:
jhejda@wmpromus.com 2019-05-23 16:47:16 +02:00
parent ea7cffadd7
commit e1e7e963da

View File

@ -73,7 +73,7 @@ class iis_demo::app (
ensure => directory,
}
if !defined(Iis_site[$iis_site_name]) {
#if !defined(Iis_site[$iis_site_name]) {
iis_site { $iis_site_name:
ensure => 'started',
applicationpool => $app_pool_name,
@ -103,7 +103,7 @@ class iis_demo::app (
physicalpath => $path,
preloadenabled => 'false',
}
}
#}
exec { "Start iis_site ${iis_site_name}":
command => "Start-Website ${iis_site_name}",