Questions tagged [salt-cloud]

A suite of tools used to create and deploy systems on many hosted cloud providers

Provision systems on cloud hosts / hypervisors and immediately bring them under management. Built on top of , salt-cloud can interface with a variety of cloud providers and hypervisors across the market.

While Salt-Cloud is built into the Salt Master, it can also be installed on stand alone Salt Minions.

54 questions
0
votes
1 answer

How to deploy custom rpms on to salt-minion?

I'm working on salt-stack for setting up multiple machines, I wanted to ask how can we deploy rpms(placed at a custom location in master) on to the minions? I already have an idea of how can we install packages using top.sls file and name of the…
0
votes
2 answers

Saltstack cloud.map with Bash variables

I'm trying to provision a Windows virtual machine in VMWare using Salt Cloud wrapped in a bash script so that I can parameterise it but I'm having a problem with the escaping of the map_data. my command is: #!/bin/bash salt salt-cloud cloud.map_run…
Bilbo Bongo
  • 13
  • 1
  • 3
0
votes
1 answer

Transfer value from master to minion (after reactor's triggered from minion)

Could you help me (tell the example) with my task: At the minion during highstate I want to execute a state (get some IP) at Saltstack's master. Then return this result to the minion and create a grain with this value. I've tried a lot of options,…
fireman777
  • 134
  • 1
  • 15
0
votes
1 answer

how to define cmd.run to execute on a specify minion in a state file

I'm a newbie to saltstack, want to find the public hostname of an instance and assign it to a variable and need that hostname in a conf file. sudo salt minion-name cmd.run 'curl http://169.25.19.24/latest/meta-data/public-hostname' above cmd…
Sanjay M. P.
  • 919
  • 1
  • 16
  • 33
0
votes
1 answer

How to get existing ec2 instance volume size using saltstack

I want to create a similar (hardware level) ec2 insatnce of an existing ec2 instance using saltstack. Tried salt'boto_ec2.get_all_volumes' but unable to get the return type as volume objects. since it is mentioned as return_objs (bool) -…
0
votes
0 answers

How to associate ec2 instance profile with ec2 instance in saltstack

We want to setup association between the existing ec2 instance profile with ec2 instance using saltstack.
0
votes
1 answer

How to get FQDN of salt-minion on which salt is to be run

I am trying to salt librenms. When replacing the original librenms config file, I want the ServerName to be FQDN instead of Ip address. network.get_fqdn returns IP address as well. {%- from "librenms/map.jinja" import librenms with context…
0
votes
1 answer

How can I "sprinkle" my minions with custom grains when deploying salt-minion using Saltify (salt-cloud)?

I've gotten saltify to work on a fresh minion. I am able to specify a profile for the minion as well. However, I don't know how to assign custom grains to my minion during this process. Here's my set up. In /etc/salt/cloud.profiles.d/saltify.conf…
harperville
  • 6,921
  • 8
  • 28
  • 36
0
votes
1 answer

Saltstack windows minion did not return [No response]

I have been debugging alot and finally posting here- Could you please help here ? I Have Hyper V box with Ubuntu 16 , and Salt Master & Minion on it up. Now on my base physical machine(Win 10) i installed Salt Minion and registered to Master by…
0
votes
1 answer

salt master minion communication error in aws instances

I have installed salt-master and minion on aws ec2 instances and configured cloud in the below formatenter image description here and i came up with the error like permission denied(publickey) can any one suggest me a better solution
0
votes
1 answer

Python salt cloudclient is not logging anything

I am trying to create new nodes using the CloudClient in saltstack python API. Nodes are created successfully but I don't see any logging happening. Below is the code which I am using. from salt.cloud import CloudClient cloud_client = CloudClient()…
mahesh
  • 119
  • 10
0
votes
1 answer

Using salt-cloud with oVirt

I have a small cloud, configured and set up with SaltStack. The instances are running on Xen right now. I would like to use oVirt instead, with automatic provisioning of virtual machines (via salt-cloud, I guess). Apparently, there is no formula for…
Kai Hatje
  • 431
  • 6
  • 17
0
votes
1 answer

Salt states using tags from salt-cloud in AWS

I have some salt states that are applied to some specific minions using the minion id. Now I am moving to a cloud provider, and need to apply this states based on tags that salt-cloud can set. IE. I have an instance runnning in AWS (not provision by…
bvcelari
  • 61
  • 5
0
votes
1 answer

Issue in provisioning instances using Salt stack

I am trying to provision an instance in AWS using saltstack. I have salt version salt 2016.11.1 (Carbon) and my configuration is as follows cloud.providers.d ec2-us-west-2-public: minion: master: 35.165.44.29 id: AKIAI3XH2SIF4P37AZZA key:…
sam123
  • 11
  • 3
0
votes
1 answer

Provision instances using multiple cloud profiles via Salt-Cloud Python API

Hope you are all well! I'm automating the deployment of a MongoDB replica set in AWS EC2 through the Salt-Stack Salt-Cloud python API. I'd like to use a single script to provision the…