diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-30 19:21:44 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-30 19:21:44 +0000 |
commit | 8513ca9a96f33bee9b4382618263fdfde5b671a0 (patch) | |
tree | 09d4d08badbd7b210b30de652d572e8782be24a0 | |
parent | 50a01a7234c7c5ffe0f9c47392b2d6e27ab673ec (diff) | |
download | puppet-8513ca9a96f33bee9b4382618263fdfde5b671a0.tar puppet-8513ca9a96f33bee9b4382618263fdfde5b671a0.tar.gz puppet-8513ca9a96f33bee9b4382618263fdfde5b671a0.tar.bz2 puppet-8513ca9a96f33bee9b4382618263fdfde5b671a0.tar.xz puppet-8513ca9a96f33bee9b4382618263fdfde5b671a0.zip |
add requires so the exec do not fail with command not found
-rw-r--r-- | modules/openssl/manifests/init.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/openssl/manifests/init.pp b/modules/openssl/manifests/init.pp index 74875bc2..b358f530 100644 --- a/modules/openssl/manifests/init.pp +++ b/modules/openssl/manifests/init.pp @@ -11,7 +11,8 @@ class openssl { $pem_file = "$name.pem" exec { "openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $pem_file -out $pem_file -subj '/CN=$name.$domain'": cwd => "$directory", - creates => "$directory/$name.pem" + creates => "$directory/$name.pem", + require => Package['openssl'] } } } |