This commit is contained in:
maju6406 2018-09-18 01:14:59 -04:00
commit 84d4b41dd2
5 changed files with 18 additions and 9 deletions

View File

@ -34,7 +34,7 @@ mod 'puppetlabs-bolt_shim', '0.1.1'
mod 'puppetlabs-reboot', '2.0.0' mod 'puppetlabs-reboot', '2.0.0'
mod 'puppet-iis', '2.0.2' mod 'puppet-iis', '2.0.2'
mod 'puppet-windows_firewall', '1.0.3' mod 'puppet-windows_firewall', '2.0.1'
mod 'puppet-windowsfeature', '2.0.0' mod 'puppet-windowsfeature', '2.0.0'
mod 'puppet-hiera', '2.1.2' mod 'puppet-hiera', '2.1.2'
mod 'puppet-archive', '3.2.0' mod 'puppet-archive', '3.2.0'

View File

@ -11,6 +11,11 @@ class profile::sample_website::linux (
port => $webserver_port, port => $webserver_port,
docroot => $doc_root, docroot => $doc_root,
require => File[$doc_root], require => File[$doc_root],
options => ['-Indexes'],
error_documents => [
{ 'error_code' => '404', 'document' => '/404.html' },
{ 'error_code' => '403', 'document' => '/403.html' }
]
} }
firewalld_port { 'Open port for web': firewalld_port { 'Open port for web':

View File

@ -27,8 +27,8 @@ class profile::sample_website::windows (
windows_firewall::exception { 'IIS': windows_firewall::exception { 'IIS':
ensure => present, ensure => present,
direction => 'in', direction => 'in',
action => 'Allow', action => 'allow',
enabled => 'yes', enabled => true,
protocol => 'TCP', protocol => 'TCP',
local_port => $webserver_port, local_port => $webserver_port,
display_name => 'HTTP Inbound', display_name => 'HTTP Inbound',

View File

@ -16,10 +16,10 @@ class profile::windows_baseline {
windows_firewall::exception { 'TSErule': windows_firewall::exception { 'TSErule':
ensure => present, ensure => present,
direction => 'in', direction => 'in',
action => 'Allow', action => 'allow',
enabled => 'yes', enabled => true,
protocol => 'TCP', protocol => 'TCP',
local_port => '8080', local_port => 8080,
display_name => 'TSE PUPPET DEMO', display_name => 'TSE PUPPET DEMO',
description => 'Inbound rule example for demo purposes', description => 'Inbound rule example for demo purposes',
} }

View File

@ -0,0 +1,4 @@
# @summary This role installs a baseline of packages on Windows machines according to HIPAA guidelines
class role::windows_base_hipaa {
include profile::baseline_hipaa
}