adding some 'features' in net-ops

This commit is contained in:
Maria Haider 2025-04-28 11:52:20 +02:00
parent 4824649b66
commit 21dc1dbc71
Signed by: mariah
GPG key ID: 6EF520A1829E8B1D

View file

@ -4,51 +4,26 @@ Exec {
path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
}
# include some of this stuff for additional features
#include cosmos::tools
#include cosmos::motd
#include cosmos::ntp
#include cosmos::rngtools
#include cosmos::preseed
#include ufw
#include apt
#include cosmos
# you need a default node
node default {
}
# edit and uncomment to manage ssh root keys in a simple way
class common {
#class { 'cosmos::access':
# keys => [
# "ssh-rsa ..."
# ]
#}
include apt
include sunet::tools
include sunet::motd
include sunet::rsyslog
# example config for the nameserver class which is matched in cosmos-rules.yaml
#class nameserver {
# package {'bind9':
# ensure => latest
# }
# service {'bind9':
# ensure => running
# }
# ufw::allow { "allow-dns-udp":
# ip => 'any',
# port => 53,
# proto => "udp"
# }
# ufw::allow { "allow-dns-tcp":
# ip => 'any',
# port => 53,
# proto => "tcp"
# }
#}
package {'ssl-cert':
ensure => present
}
package { 'needrestart':
ensure => installed
}
}
# infra ca rp class
class infra_ca_rp {