From abc0f259a2b6d85bcafeedab9480b97c3dfe8fcf Mon Sep 17 00:00:00 2001 From: Maria Haider Date: Wed, 20 Nov 2024 14:42:27 +0100 Subject: [PATCH] few changes 1. symlink for cosmos-site.pp 2. infra cert class for all the servers --- cosmos-site.pp | 1 + global/overlay/etc/puppet/cosmos-rules.yaml | 1 + global/overlay/etc/puppet/manifests/cosmos-site.pp | 5 +++++ 3 files changed, 7 insertions(+) create mode 120000 cosmos-site.pp diff --git a/cosmos-site.pp b/cosmos-site.pp new file mode 120000 index 0000000..20f0c11 --- /dev/null +++ b/cosmos-site.pp @@ -0,0 +1 @@ +global/overlay/etc/puppet/manifests/cosmos-site.pp \ No newline at end of file diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index f60bf93..db85cff 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -1,6 +1,7 @@ # Note that the matching is done with re.match() .*\.sunet\.se$: net: + infra_ca_rp: sunet::nagios::nrpe: checks: - nrpe_check_apt diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 1549a00..fa5de03 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -49,3 +49,8 @@ node default { # proto => "tcp" # } #} + +# infra ca rp class +class infra_ca_rp { + sunet::ici_ca::rp { 'infra': } +}