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

View file

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