diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-02-07 10:20:16 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-02-07 10:20:16 +0000 |
commit | 343c5c6f95ab3eb56216bd5bfaa69c36693eb60b (patch) | |
tree | 9000ac661c171a8f3a1b93a9170b53aad27a3986 /modules/gnupg | |
parent | bad588ba44d1477dc5a958ea665b9978e026aa0f (diff) | |
download | puppet-343c5c6f95ab3eb56216bd5bfaa69c36693eb60b.tar puppet-343c5c6f95ab3eb56216bd5bfaa69c36693eb60b.tar.gz puppet-343c5c6f95ab3eb56216bd5bfaa69c36693eb60b.tar.bz2 puppet-343c5c6f95ab3eb56216bd5bfaa69c36693eb60b.tar.xz puppet-343c5c6f95ab3eb56216bd5bfaa69c36693eb60b.zip |
create batchdir
Diffstat (limited to 'modules/gnupg')
-rw-r--r-- | modules/gnupg/manifests/init.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gnupg/manifests/init.pp b/modules/gnupg/manifests/init.pp index b89699ff..2719f6ae 100644 --- a/modules/gnupg/manifests/init.pp +++ b/modules/gnupg/manifests/init.pp @@ -42,6 +42,11 @@ class gnupg { mode => 700, } + file { "$batchdir": + ensure => directory, + owner => $login, + } + exec { "/usr/local/bin/create_gnupg_keys.sh $batchdir/$name.batch $keydir $batchdir/$name.done": user => $login, creates => "$batchdir/$name.done", |