Stephen Wood
2013-11-23 00:35:26 UTC
I'm attempting to add this repo<http://hwraid.le-vert.net/wiki/DebianPackages>,
but the installation is failing because the gpg key is not adding and the
install refuses to use --force-yes.
My sls file looks like this:
{% set release = grains['oscodename'] %}
stalstack_repo:
pkgrepo.managed:
- humanname: Megaraid Controller Packages
- name: deb http://hwraid.le-vert.net/ubuntu {{ release }} main
- file: /etc/apt/sources.list.d/megaraidcli.list
- gpgcheck: 1
- gpgkey: salt://modules/megaraidcli/gpg.key
lsi_raid_packages:
pkg.latest:
- pkgs:
- megacli
- megaclisas-status
- megactl
- megaide-spyd
- megamgr
- megaraid-status
I've verified that I have the correct version of gpg.key, but it doesn't
work. I need to add the key manually first with cmd.run:
add_lsi_gpg_key:
cmd.run:
- name: wget -O -
http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key
add -
Any ideas if I'm just doing this wrong?
but the installation is failing because the gpg key is not adding and the
install refuses to use --force-yes.
My sls file looks like this:
{% set release = grains['oscodename'] %}
stalstack_repo:
pkgrepo.managed:
- humanname: Megaraid Controller Packages
- name: deb http://hwraid.le-vert.net/ubuntu {{ release }} main
- file: /etc/apt/sources.list.d/megaraidcli.list
- gpgcheck: 1
- gpgkey: salt://modules/megaraidcli/gpg.key
lsi_raid_packages:
pkg.latest:
- pkgs:
- megacli
- megaclisas-status
- megactl
- megaide-spyd
- megamgr
- megaraid-status
I've verified that I have the correct version of gpg.key, but it doesn't
work. I need to add the key manually first with cmd.run:
add_lsi_gpg_key:
cmd.run:
- name: wget -O -
http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key
add -
Any ideas if I'm just doing this wrong?
--
Stephen Wood
www.heystephenwood.com
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stephen Wood
www.heystephenwood.com
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.