Fixing linting issues

This commit is contained in:
maju6406 2018-08-20 22:52:05 -07:00
parent 4da9b00e66
commit 97ba73f13d
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@ class profile::sample_website {
case $::kernel { case $::kernel {
'windows': { include profile::sample_website::windows } 'windows': { include profile::sample_website::windows }
'Linux': { include profile::sample_website::linux } 'Linux': { include profile::sample_website::linux }
default: { include profile::sample_website::linux }
} }
} }

View File

@ -8,7 +8,7 @@ class profile::sample_website::windows (
# configure iis # configure iis
iis::manage_app_pool {'sample_website': iis::manage_app_pool {'sample_website':
require => [ require => [
Windowsfeature[$iis_features], Windowsfeature[$profile::iis::iis_features],
Iis::Manage_site['Default Web Site'], Iis::Manage_site['Default Web Site'],
], ],
} }
@ -19,7 +19,7 @@ class profile::sample_website::windows (
ip_address => '*', ip_address => '*',
app_pool => 'sample_website', app_pool => 'sample_website',
require => [ require => [
Windowsfeature[$iis_features], Windowsfeature[$profile::iis::iis_features],
Iis::Manage_app_pool['sample_website'] Iis::Manage_app_pool['sample_website']
], ],
} }
@ -30,7 +30,7 @@ class profile::sample_website::windows (
action => 'Allow', action => 'Allow',
enabled => 'yes', enabled => 'yes',
protocol => 'TCP', protocol => 'TCP',
local_port => "${webserver_port}", local_port => $webserver_port,
display_name => 'HTTP Inbound', display_name => 'HTTP Inbound',
description => 'Inbound rule for HTTP Server', description => 'Inbound rule for HTTP Server',
} }