This commit is contained in:
jhejda@wmpromus.com 2019-05-23 12:15:30 +02:00
parent a013d4eec6
commit 779dd26688
3 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@ mod 'puppetlabs-translate', '1.1.0'
mod 'puppetlabs-sqlserver', '2.5.0'
mod 'puppetlabs-chocolatey', '3.3.0'
mod 'puppetlabs-dsc', '1.9.2'
mod 'puppetlabs-iis', '4.5.1'
mod 'puppetlabs-iis', '4.5.1'
# Modules from Git
# Examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples

View File

@ -14,6 +14,7 @@ class iis_demo::app (
String $iis_webapp_name = 'TestWebSite',
String $path = 'C:\\inetpub\\wwwroot\\Test',
String $logpath = 'C:\\inetpub\\logs\\Test',
String $message = '23/05/2019',
) {
include iis_demo::iis
@ -109,7 +110,7 @@ class iis_demo::app (
file { "${path}\\Website\\index.html":
ensure => file,
content => template('iis/index.html.erb'),
content => template('iis_demo/index.html.erb'),
}
iis_application { "${iis_site_name}\\${iis_webapp_name}":

View File

@ -6,6 +6,7 @@
</HEAD>
<BODY>
<H1>Hell World!</H1>
<P>This is very minimal "hello world" HTML document.</P>
<P>This is very minimal "hello world" HTML document.</P>
<P>Message: <%= @message -%></P>
</BODY>
</HTML>