[Mageia-sysadm] [484] add requires so the exec do not fail with command not found
root at mageia.org
root at mageia.org
Tue Nov 30 20:21:44 CET 2010
Revision: 484
Author: misc
Date: 2010-11-30 20:21:44 +0100 (Tue, 30 Nov 2010)
Log Message:
-----------
add requires so the exec do not fail with command not found
Modified Paths:
--------------
puppet/modules/openssl/manifests/init.pp
Modified: puppet/modules/openssl/manifests/init.pp
===================================================================
--- puppet/modules/openssl/manifests/init.pp 2010-11-30 19:21:42 UTC (rev 483)
+++ puppet/modules/openssl/manifests/init.pp 2010-11-30 19:21:44 UTC (rev 484)
@@ -11,7 +11,8 @@
$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']
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101130/ba73bbf7/attachment-0001.html>
More information about the Mageia-sysadm
mailing list