restored some files in cisoas
This commit is contained in:
parent
cf15eaeebd
commit
f81229a80e
1 changed files with 17 additions and 17 deletions
|
@ -36,28 +36,28 @@ class net::cisoassistant {
|
|||
# group => 'root',
|
||||
# content => file('net/cisoassistant/docker-compose.yml'),
|
||||
# }
|
||||
# file { '/opt/cisoas/ciso-assistant-community/enterprise/update-cisoas-enterprise.sh':
|
||||
# mode => '0744',
|
||||
# owner => 'root',
|
||||
# group => 'root',
|
||||
# content => file('net/cisoassistant/update-cisoas-enterprise.sh'),
|
||||
# }
|
||||
file { '/opt/cisoas/ciso-assistant-community/enterprise/update-cisoas-enterprise.sh':
|
||||
mode => '0744',
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
content => file('net/cisoassistant/update-cisoas-enterprise.sh'),
|
||||
}
|
||||
sunet::scriptherder::cronjob { 'Upgrade cisoassistant images':
|
||||
cmd => '/opt/cisoas/ciso-assistant-community/enterprise/update-cisoas-enterprise.sh',
|
||||
weekday => 'Saturday',
|
||||
ok_criteria => ['exit_status=0', 'max_age=10d'],
|
||||
}
|
||||
# file { '/opt/cisoas/ciso-assistant-community/enterprise/rotate-certs.sh':
|
||||
# mode => '0744',
|
||||
# owner => 'root',
|
||||
# group => 'root',
|
||||
# content => file('net/cisoassistant/rotate-certs.sh'),
|
||||
# }
|
||||
# sunet::scriptherder::cronjob { 'Rotate le certificates':
|
||||
# cmd => '/opt/cisoas/ciso-assistant-community/enterprise/rotate-certs.sh',
|
||||
# hour => '1',
|
||||
# ok_criteria => ['exit_status=0', 'max_age=48h'],
|
||||
# }
|
||||
file { '/opt/cisoas/ciso-assistant-community/enterprise/rotate-certs.sh':
|
||||
mode => '0744',
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
content => file('net/cisoassistant/rotate-certs.sh'),
|
||||
}
|
||||
sunet::scriptherder::cronjob { 'Rotate le certificates':
|
||||
cmd => '/opt/cisoas/ciso-assistant-community/enterprise/rotate-certs.sh',
|
||||
hour => '1',
|
||||
ok_criteria => ['exit_status=0', 'max_age=48h'],
|
||||
}
|
||||
# file { '/opt/cisoas/ciso-assistant-community/enterprise/Caddyfile':
|
||||
# mode => '0744',
|
||||
# owner => 'root',
|
||||
|
|
Loading…
Add table
Reference in a new issue