From bf944940ea5403b79bb6aa927c108ec3429082dc Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 8 Nov 2015 09:48:28 +0000 Subject: [PATCH] Add veyepar role --- hieradata/common.yaml | 2 ++ modules/roles/manifests/init.pp | 6 ++++++ .../files/servicecerts/veyepar.debian.org.crt | 19 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 modules/ssl/files/servicecerts/veyepar.debian.org.crt diff --git a/hieradata/common.yaml b/hieradata/common.yaml index a457b1d13..9d19f9100 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -163,3 +163,5 @@ roles: - lw03.debian.org gobby_debian_org: - gombert.debian.org + veyepar.debian.org: + - vittoria.debian.org diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 1e27bcd9c..aaada6438 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -270,4 +270,10 @@ class roles { if $::hostname in [lw01, lw02, lw03, lw04] { include snapshot } + + if has_role('veyepar.debian.org') { + ssl::service { 'veyepar.debian.org': + notify => Service['apache2'], + } + } } diff --git a/modules/ssl/files/servicecerts/veyepar.debian.org.crt b/modules/ssl/files/servicecerts/veyepar.debian.org.crt new file mode 100644 index 000000000..a26a1f56a --- /dev/null +++ b/modules/ssl/files/servicecerts/veyepar.debian.org.crt @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDDTCCAfWgAwIBAgIJAM46Mfyel0mRMA0GCSqGSIb3DQEBCwUAMB0xGzAZBgNV +BAMMEnZleWVwYXIuZGViaWFuLm9yZzAeFw0xNTExMDgwOTQ2MjFaFw0xNjExMDcw +OTQ2MjFaMB0xGzAZBgNVBAMMEnZleWVwYXIuZGViaWFuLm9yZzCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBANWIEHzzE1pMOeXlInGZGpxCglriaMdrSZD8 +DIgtIzrqJwvaAk7bkKNMvz1O9uKN0fMIKsBachsPlmmpbDwN/XlkK2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