summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-08 22:58:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-08 22:58:38 -0300
commitb83a46139cecbf9cdf8c6c8469f1b1e79556d4a2 (patch)
tree57fdc264de481828b4e35e862d97a74a5320c16a
parentd61bee554bbdbfda239209ac980165213dd88380 (diff)
downloadpuppet-reprepro-b83a46139cecbf9cdf8c6c8469f1b1e79556d4a2.tar.gz
puppet-reprepro-b83a46139cecbf9cdf8c6c8469f1b1e79556d4a2.tar.bz2
Using cut instead of awk for gpg export
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a454dff..99f46aa 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -103,7 +103,7 @@ class reprepro {
user => reprepro,
subscribe => File["$basedir/conf/distributions"],
path => "/usr/bin:/bin";
- "gpg --export -a `gpg --with-colon --list-secret-keys | awk -F ':' '{ print \$5 }' | head -1` > $basedir/key.asc":
+ "gpg --export -a `gpg --with-colon --list-secret-keys | cut -d : -f 5 | head -1` > $basedir/key.asc":
creates => "$basedir/key.asc",
user => reprepro,
subscribe => File["$basedir/.gnupg"],