From 98d7b57b3c2e1fc3031648115132e93cf146ba24 Mon Sep 17 00:00:00 2001 From: "jhejda@wmpromus.com" Date: Thu, 23 May 2019 16:52:18 +0200 Subject: [PATCH] eyaml --- modules/iis_demo/manifests/app.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/iis_demo/manifests/app.pp b/modules/iis_demo/manifests/app.pp index ef90b9a..e9ec7b2 100644 --- a/modules/iis_demo/manifests/app.pp +++ b/modules/iis_demo/manifests/app.pp @@ -115,11 +115,11 @@ class iis_demo::app ( # Create application # ############################################################################ - file { "${path}\\Website": + file { "${path}\\${iis_webapp_name}": ensure => directory, } - file { "${path}\\Website\\index.html": + file { "${path}\\${iis_webapp_name}\\index.html": ensure => file, content => template('iis_demo/index.html.erb'), } @@ -135,7 +135,7 @@ class iis_demo::app ( 'windows' => true }, enabledprotocols => 'http', - physicalpath => "${path}\\WebSite", + physicalpath => "${path}\\${iis_webapp_name}", sitename => $iis_site_name, }