/wget/curl/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
f928072f74
commit
14a112fcce
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue