removing files not needed
This commit is contained in:
parent
fce3c283d5
commit
df53443d46
4 changed files with 2 additions and 32 deletions
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"iptables": false
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
cd /etc/dehydrated/certs/cisoas-sto4-prod-1.sunet.se
|
|
||||||
|
|
||||||
latest_csr=$(ls -t cert-*.csr | head -n 1)
|
|
||||||
latest_cert=$(ls -t cert-*.pem | head -n 1)
|
|
||||||
latest_key=$(ls -t privkey-*.pem | head -n 1)
|
|
||||||
|
|
||||||
ln -sf "$latest_csr" cert.csr
|
|
||||||
ln -sf "$latest_cert" cert.pem
|
|
||||||
ln -sf "$latest_key" key.pem
|
|
|
@ -24,12 +24,6 @@ class net::cisoassistant {
|
||||||
* => $params,
|
* => $params,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# file { '/etc/docker/daemon.json':
|
|
||||||
# mode => '0744',
|
|
||||||
# owner => 'root',
|
|
||||||
# group => 'root',
|
|
||||||
# content => file('net/cisoassistant/daemon.json'),
|
|
||||||
# }
|
|
||||||
# file { '/opt/cisoas/ciso-assistant-community/enterprise/docker-compose.yml':
|
# file { '/opt/cisoas/ciso-assistant-community/enterprise/docker-compose.yml':
|
||||||
# mode => '0744',
|
# mode => '0744',
|
||||||
# owner => 'root',
|
# owner => 'root',
|
||||||
|
@ -47,17 +41,6 @@ class net::cisoassistant {
|
||||||
weekday => 'Saturday',
|
weekday => 'Saturday',
|
||||||
ok_criteria => ['exit_status=0', 'max_age=10d'],
|
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/Caddyfile':
|
# file { '/opt/cisoas/ciso-assistant-community/enterprise/Caddyfile':
|
||||||
# mode => '0744',
|
# mode => '0744',
|
||||||
# owner => 'root',
|
# owner => 'root',
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
class net::open_1022 {
|
class net::open_1022 {
|
||||||
sunet::misc::ufw_allow { 'allow_ssh_1022':
|
sunet::misc::ufw_allow { 'allow_ssh_1022':
|
||||||
from => $mgmt_addresses,
|
from => ['130.242.125.68'],
|
||||||
port => '1022',
|
port => '1022',
|
||||||
|
proto => 'udp'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue