]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/sip.pp
Merge branch 'master' of ssh://handel.debian.org/~/dsa-puppet
[dsa-puppet.git] / modules / roles / manifests / sip.pp
index ed7aefca2b2559e2cd44d193ca41d694c032bdc5..b2700307ce055864477a5d12eb808f5a637ce1f6 100644 (file)
@@ -1,6 +1,24 @@
 class roles::sip {
+       include concat::setup
+
        ssl::service { 'www.debian.org':
+               # TODO notify concat
        }
+
+       # TODO concatate in the ssl module?
+       concat { '/etc/ssl/debian/certs/www.debian.org-chained.crt':
+       }
+       concat::fragment { '/etc/ssl/debian/certs/www.debian.org.crt':
+               target      => '/etc/ssl/debian/certs/www.debian.org-chained.crt',
+               source      => 'file:///etc/ssl/debian/certs/www.debian.org.crt',
+               order       => 00,
+       }
+       concat::fragment { '/etc/ssl/debian/certs/www.debian.org.crt-chain':
+               target      => '/etc/ssl/debian/certs/www.debian.org-chained.crt',
+               source      => 'file:///etc/ssl/debian/certs/www.debian.org.crt-chain',
+               order       => 99,
+       }
+
        @ferm::rule { 'dsa-sip-ws-ip4':
                domain      => 'ip',
                description => 'SIP connections (WebSocket; for WebRTC)',