/wget/curl/

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2014-02-05 21:12:22 +01:00
parent f928072f74
commit 14a112fcce
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ fi
case "$state_should" in
present)
uri="$(cat "$__object/parameter/uri")"
echo "wget -q \"$uri\" -O - | apt-key add -"
printf 'curl -s -L "%s" | apt-key add -\n' "$uri"
;;
absent)
cat << DONE

View File

@ -18,4 +18,4 @@
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
#
__package wget
__package curl