aboutsummaryrefslogtreecommitdiff
path: root/manifests/snakeoil.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/snakeoil.pp')
-rw-r--r--manifests/snakeoil.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/snakeoil.pp b/manifests/snakeoil.pp
new file mode 100644
index 0000000..cd2c7fd
--- /dev/null
+++ b/manifests/snakeoil.pp
@@ -0,0 +1,9 @@
+class ssl::snakeoil {
+ include ssl::packages
+
+ exec { 'ssl-generate-snakeoil':
+ command => '/usr/sbin/make-ssl-cert generate-default-snakeoil',
+ creates => '/etc/ssl/certs/ssl-cert-snakeoil.pem',
+ require => Package['ssl-cert'],
+ }
+}