Now that I have my salt master squared away, I decided to try salt-cloud.
I have a base AMI that I built using the official CentOS 6 AMI and packer.
Here's what I see when I try to deploy an instance using salt-cloud:
[root@mymaster ~]# salt-cloud -p base_ec2_oregon_private salttest
[INFO ] salt-cloud starting
[INFO ] Creating Cloud VM salttest in us-west-2
[INFO ] Created node salttest
[INFO ] Salt node data. Private_ip: 10.31.2.114
[INFO ] Rendering deploy script: /usr/lib/python2.6/site-packages/salt/cloud/deploy/bootstrap-salt.sh
* INFO: /tmp/.saltcloud/deploy.sh -- Version 2014.02.19
* INFO: System Information:
* INFO: CPU: GenuineIntel
* INFO: CPU Arch: x86_64
* INFO: OS Name: Linux
* INFO: OS Version: 2.6.32-431.5.1.el6.x86_64
* INFO: Distribution: system 6
* INFO: Installing minion
* INFO: Found function config_salt
* INFO: Found function daemons_running
* ERROR: No dependencies installation function found. Exiting...
Error: There was a profile error: Executing the command '/tmp/.saltcloud/deploy.sh -c /tmp/.saltcloud' failed
Based on another post concerning this same error, I used yum to install redhat-lsb in the newly created AWS instance. I then reran the deploy.sh command above and it worked fine.
Before I go and bake redhat-lsb into my base AMI, I wanted to ask if that is the only way to get around this error.
redhat-lsb installs 58 dependencies which I would rather not install in my base AMI if I can avoid it.
Any advice?
FWIW, here is my version info:
[root@mymaster ~]# salt --versions-report
Salt: 2014.1.0
Python: 2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
Jinja2: 2.2.1
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: 2.0.1
PyYAML: 3.10
PyZMQ: 2.2.0.1
ZMQ: 3.2.4