diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-05-08 22:58:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-05-08 22:58:38 -0300 |
commit | b83a46139cecbf9cdf8c6c8469f1b1e79556d4a2 (patch) | |
tree | 57fdc264de481828b4e35e862d97a74a5320c16a /manifests/init.pp | |
parent | d61bee554bbdbfda239209ac980165213dd88380 (diff) | |
download | puppet-reprepro-b83a46139cecbf9cdf8c6c8469f1b1e79556d4a2.tar.gz puppet-reprepro-b83a46139cecbf9cdf8c6c8469f1b1e79556d4a2.tar.bz2 |
Using cut instead of awk for gpg export
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 2 |
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"], |