aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/openssl/manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openssl/manifests/init.pp b/modules/openssl/manifests/init.pp
index b358f530..5399e969 100644
--- a/modules/openssl/manifests/init.pp
+++ b/modules/openssl/manifests/init.pp
@@ -9,7 +9,7 @@ class openssl {
include openssl::base
$pem_file = "$name.pem"
- exec { "openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $pem_file -out $pem_file -subj '/CN=$name.$domain'":
+ exec { "openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $pem_file -out $pem_file -subj '/CN=$name'":
cwd => "$directory",
creates => "$directory/$name.pem",
require => Package['openssl']