installs wrong package in cc_salt_minion.py
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| cloud-init |
Fix Released
|
Medium
|
Scott Moser | ||
| cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
| Precise |
Won't Fix
|
Medium
|
Unassigned | ||
Bug Description
The salt ppa uses the package name "salt-minion" while the handler tries to install the old package name "salt".
- cc_salt_minion.diff Edit (499 bytes, text/plain)
Submitted for review: https:/
Just wanted to bump this. For people who want to use salt with cloud-init, this is critical.
Agreed with akoumjian. Without this fix, salt is unusable with cloud-init.
Bumping this. Getting salt working in cloud-init is about to become more relevant as salt will be landing in 12.10.
Jeff,
FWIW, the source and target of your merge proposal were reversed. You had requested that lp:cloud-init be merged into lp:~jbaur/cloud-init/salt.
I've gone ahead and taken the necessary change and committed it to trunk.
--- cloudinit/
+++ cloudinit/
@@ -27,7 +27,7 @@
return
salt_cfg = cfg['salt_minion']
# Start by installing the salt package ...
- cc.install_
+ cc.install_
config_dir = '/etc/salt'
if not os.path.
As far as I can tell, this is fix-released in precise.
It must have regressed and the been fixed in quantal's lifetime.
Please re-open if that is incorrect and I will sru this.
Still getting this error when using EC2 Ubuntu 12.04 ami with the following cloud-init:
#cloud-config
apt_sources:
- source: "ppa:saltstack/
apt_update: true
packages:
- salt-minion
apt_upgrade: true
salt_minion:
conf:
master: master.
runcmd:
- service salt-minion start
if you want to get this SRU'd to precise (12.04) we have to follow StableReleasePr
https:/
We need a template added to this bug.
It actually seems like it might be best to *not* fix it in 12.04.
* You can easily add a 'salt' metapackage to the ppa which would fix it
* there is no 'salt' or salt-minion package in 12.04 its not explicitly *wrong* there.
* There isn't an easy way to make this change without breaking someone's 12.04 stuff that included a package named 'salt' in the archive.
Can you just change the archive?
The Precise Pangolin has reached end of life, so this bug will not be fixed for that release
Tracked in Github Issues as https:/