eyaml
This commit is contained in:
parent
f480853a61
commit
049c336a4a
2
data/nodes/node.yaml
Normal file
2
data/nodes/node.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
iis_demo::app::service_account_username: user
|
2
data/secrets/node.yaml
Normal file
2
data/secrets/node.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
iis_demo::app::service_account_password: pass
|
@ -10,3 +10,9 @@ hierarchy:
|
||||
paths:
|
||||
- "nodes/%{trusted.certname}.yaml"
|
||||
- 'common.yaml'
|
||||
- name: "eYaml backend"
|
||||
lookup_key: eyaml_lookup_key
|
||||
path: "secrets/%{trusted.certname}.eyaml"
|
||||
options:
|
||||
pkcs7_private_key: /etc/puppetlabs/puppet/keys/private_key.pkcs7.pem
|
||||
pkcs7_public_key: /etc/puppetlabs/puppet/keys/public_key.pkcs7.pem
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
class iis_demo::app (
|
||||
String $app_pool_name = 'TestAppPool',
|
||||
String $service_account_password = undef,
|
||||
String $service_account_username = undef,
|
||||
String $service_account_password = lookup('iis_demo::app::service_account_password'),
|
||||
String $service_account_username = lookup('iis_demo::app::service_account_username'),
|
||||
String $iis_site_name = 'TestIisSite',
|
||||
String $iis_webapp_name = 'TestWebSite',
|
||||
String $path = 'C:\\inetpub\\wwwroot\\Test',
|
||||
@ -17,7 +17,7 @@ class iis_demo::app (
|
||||
String $message = '23/05/2019',
|
||||
) {
|
||||
|
||||
include iis_demo::iis_prereqs
|
||||
include iis_demo::iis
|
||||
|
||||
############################################################################
|
||||
# Create application pool and applicationpool #
|
||||
@ -63,7 +63,7 @@ class iis_demo::app (
|
||||
startup_time_limit => '00:01:30',
|
||||
state => 'started',
|
||||
user_name => $service_account_username,
|
||||
#require => Class['iis_demo::iis'],
|
||||
require => Class['iis_demo::iis'],
|
||||
}
|
||||
############################################################################
|
||||
# Create IIS sites #
|
||||
|
@ -10,7 +10,7 @@ class iis_demo::iis_prereqs (
|
||||
) {
|
||||
|
||||
include chocolatey
|
||||
#include iis_demo::iis
|
||||
include iis_demo::iis
|
||||
|
||||
dsc_windowsfeature { '.NET Framework 4.5':
|
||||
dsc_ensure => 'present',
|
||||
@ -131,8 +131,4 @@ class iis_demo::iis_prereqs (
|
||||
notify => Reboot['reboot_iis'],
|
||||
}
|
||||
|
||||
reboot { 'reboot_iis':
|
||||
when => refreshed,
|
||||
timeout => 15,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user