Merge branch 'master' of https://github.com/maju6406/control-repo
This commit is contained in:
commit
84d4b41dd2
@ -34,7 +34,7 @@ mod 'puppetlabs-bolt_shim', '0.1.1'
|
||||
mod 'puppetlabs-reboot', '2.0.0'
|
||||
|
||||
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-hiera', '2.1.2'
|
||||
mod 'puppet-archive', '3.2.0'
|
||||
|
@ -8,9 +8,14 @@ class profile::sample_website::linux (
|
||||
|
||||
# configure apache
|
||||
apache::vhost { $::fqdn:
|
||||
port => $webserver_port,
|
||||
docroot => $doc_root,
|
||||
require => File[$doc_root],
|
||||
port => $webserver_port,
|
||||
docroot => $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':
|
||||
|
@ -27,8 +27,8 @@ class profile::sample_website::windows (
|
||||
windows_firewall::exception { 'IIS':
|
||||
ensure => present,
|
||||
direction => 'in',
|
||||
action => 'Allow',
|
||||
enabled => 'yes',
|
||||
action => 'allow',
|
||||
enabled => true,
|
||||
protocol => 'TCP',
|
||||
local_port => $webserver_port,
|
||||
display_name => 'HTTP Inbound',
|
||||
|
@ -16,10 +16,10 @@ class profile::windows_baseline {
|
||||
windows_firewall::exception { 'TSErule':
|
||||
ensure => present,
|
||||
direction => 'in',
|
||||
action => 'Allow',
|
||||
enabled => 'yes',
|
||||
action => 'allow',
|
||||
enabled => true,
|
||||
protocol => 'TCP',
|
||||
local_port => '8080',
|
||||
local_port => 8080,
|
||||
display_name => 'TSE PUPPET DEMO',
|
||||
description => 'Inbound rule example for demo purposes',
|
||||
}
|
||||
|
4
site/role/manifests/windows_base_hipaa.pp
Normal file
4
site/role/manifests/windows_base_hipaa.pp
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user