salt-master salt-cloud not acting idempotent #34687
Labels
Bug
broken, incorrect, or confusing behavior
P3
Priority 3
RIoT
Relates to integration with cloud providers, hypervisors, API-based services, etc.
Salt-Cloud
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
stale
Milestone
http://stackoverflow.com/questions/38390216/salt-master-salt-cloud-not-acting-idempotent
I am trying to test salt-cloud saltify to deploy/install salt-minions on target machines.
I created three vagrant machines and names them master, minion-01and minion-02.
all the machines were same like this;
then on master I followed this http://repo.saltstack.com/#ubuntu to install salt-master(manually of course).
then in master I added these three files.
in /etc/salt/cloud.providers:
in /etc/salt/cloud.profiles.d:
/etc/salt/saltify-map
then on minion I ran
salt-cloud -m /etc/salt/saltify-map
It was very slow but It ran without errors. keys of both minion-01 and minion-02 was accepted by salt master.I could do this:
and this;
Now when I again executed this salt-cloud -m /etc/salt/saltify-map salt-master re-ran the whole execution and then I had this;
and this;
In short salt-cloud is not acting idempotent.
What am I doing wrong ?
The second problem is, though on the first run salt-cloud -m /etc/salt/saltify-map installs and accepts key of minion-01 and minion-02 on salt-master, but the minion machines have all these things installed along with salt-minion
How do I make sure that only salt-minion gets installed.
Thanks.
PS:
The text was updated successfully, but these errors were encountered: