This commit is contained in:
jhejda@wmpromus.com 2019-05-23 16:52:18 +02:00
parent e1e7e963da
commit 98d7b57b3c

View File

@ -115,11 +115,11 @@ class iis_demo::app (
# Create application # # Create application #
############################################################################ ############################################################################
file { "${path}\\Website": file { "${path}\\${iis_webapp_name}":
ensure => directory, ensure => directory,
} }
file { "${path}\\Website\\index.html": file { "${path}\\${iis_webapp_name}\\index.html":
ensure => file, ensure => file,
content => template('iis_demo/index.html.erb'), content => template('iis_demo/index.html.erb'),
} }
@ -135,7 +135,7 @@ class iis_demo::app (
'windows' => true 'windows' => true
}, },
enabledprotocols => 'http', enabledprotocols => 'http',
physicalpath => "${path}\\WebSite", physicalpath => "${path}\\${iis_webapp_name}",
sitename => $iis_site_name, sitename => $iis_site_name,
} }