Search Discussions
-
How can i execute a shell script and assign the output of the shell script to a variable inside my salt scripts ? Iam using salt minion and need to get output of a bash script to a salt variable -- ...
Melvil JA
Oct 25, 2015 at 2:20 pm
Nov 30, 2015 at 5:15 pm -
Hi, in the docs about spm (https://docs.saltstack.com/en/latest/topics/spm/index.html) "spm" is described as a command line tool that gets installed with salt (at least that's how I read it - there ...
Oliver Bestwalter
Oct 21, 2015 at 8:23 am
Oct 23, 2015 at 12:10 pm -
Hello guys, I've been trying to serialize a pillar with multi-line values into a yaml file and for whatever reason salt is adding an extra line break in to the serialized string. I tried with both ...
Tiadobatima
Oct 27, 2015 at 7:45 pm
Nov 12, 2015 at 10:46 pm -
Hey Folks, Molten = Salt + React https://github.com/martinhoefling/molten This is the first release of Molten, a Salt WebUI making use of the React JS framework. The UI solely uses the REST API and ...
Martin Höfling
Oct 2, 2015 at 10:06 pm
Oct 12, 2015 at 9:32 am -
In general using salt on ubuntu has not been a good experience. timeouts all the time because of memory leak in zero mq, almost unusable. need to kill/restart salt-master after two commands at most ...
Rob Dinoff
Oct 28, 2015 at 4:19 pm
Dec 1, 2015 at 2:19 am -
Hi I am automating loggly file monitoring with saltstack [0]. The loggly configure script is stuck indefinitely. Following is the loggly.sls # loggly.sls download_configure_linux: cmd.run: - name ...
Kracekumar Ramaraj
Oct 28, 2015 at 3:48 pm
Nov 3, 2015 at 6:02 pm -
Hi people! I'm trying to create map.jinja to math ipv4 by subnet and assign server variable related to subnet. Here is map.jinja: {% set zabbix_agent = salt['grains.filter_by']({ '10.0.1*': { ...
Anton A
Oct 31, 2015 at 10:08 pm
Nov 2, 2015 at 5:55 pm -
Hello, I'm trying to patch a security exploit on our server farm, and am running into issues with certain older boxes. I want to append the patch to a file that exists ONLY if a certain other file ...
Joshua Brown
Oct 21, 2015 at 11:51 am
Oct 21, 2015 at 5:07 pm -
Hi, I have been trying to setup gitfs to retrieve via https, and hoped that someone can provide some pointers to help me fix it... The setup fails with 'Unexpected HTTP status code: 401' I have ...
Ross Black
Oct 13, 2015 at 10:04 am
Nov 12, 2015 at 9:19 am -
minion configuration says refreshing grains is an expensive task. # The grains_refresh_every setting allows for a minion to periodically check # its grains to see if they have changed and, if so, to ...
Jim M.
Oct 14, 2015 at 2:25 pm
Oct 27, 2015 at 9:12 pm -
Hi, I am working on states to manage my VMware tools installs for Linux VM's and currently think I have it working mostly. One thing I have a question about is how to chain onchanges events together ...
BKeep
Oct 11, 2015 at 11:42 pm
Oct 22, 2015 at 9:16 pm -
Hello, I'm trying to replicate a password, automatically generated on a minion using a custom module, into the salt master. I'm thinking using the password as an argument for the event, but this ...
Anthony Martinet
Oct 2, 2015 at 3:23 pm
Oct 9, 2015 at 2:38 pm -
Hi, I normally add something like: # {{ salt['pillar.get']('SALT_MANAGED') }} # Source: {{ source }} to the top of all salt managed files. (The SALT_MANAGED is a string set in my pillar) Is there ...
Kees Bos
Oct 28, 2015 at 8:21 am
Nov 2, 2015 at 3:44 pm -
Hi How can i run 2 salt-minions on the same server? The idea is to have a root minion for OPS and a sudo Minion for DEV. How can i achieve? Salt-minion1 = root (OPS) Salt-minion2 = sudo (DEV) cheers ...
Oliver Guggenbühl
Oct 23, 2015 at 6:13 am
Oct 23, 2015 at 4:29 pm -
Hi: I write a new state file called my_file.sls: file_install: file.managed: - name: /tmp/test - source: salt://test.config - mode: 755 I want reuse this file on the other project: I can include this ...
Kong hui
Oct 12, 2015 at 4:00 am
Oct 13, 2015 at 8:45 pm -
Using salt 2015.8.0 both master(ubuntu server 14.04) and minion(windows 7) i've try manage windows hosts. I try to set SomeData key with REG_BINARY value 0xF0 (one byte length) in windows registry ...
Nikolay Mishchenko
Oct 14, 2015 at 9:04 pm
Dec 5, 2015 at 10:15 pm -
Hi folks, did anyone installed and configured salt-minion on AIX? There's a guide or documentation about that? Thanks in advance. Daniel -- You received this message because you are subscribed to the ...
Daniel
Oct 28, 2015 at 3:33 pm
Nov 4, 2015 at 12:59 pm -
Hi, I am in a need where in particular situation I reject the minion keys After sometime I accept back the minion keys. But now when I try to execute some commands on the minion, it fails as minion ...
Shubhendu Tripathi
Oct 20, 2015 at 6:13 pm
Nov 4, 2015 at 2:57 am -
Can somebody verify this as a bug? It looks like that the last worker erroneously spawned another 5 workers!? Regards, Onno ### terminal output [root@test ~]# salt --version salt 2015.5.6 (Lithium) ...
Onno
Oct 29, 2015 at 11:50 am
Nov 3, 2015 at 6:33 pm -
I've switched my saltstack repository to https://repo.saltstack.com/yum/rhel6, which I assume is the correct version for running under AWS Linux. I then installed the following SaltStack packages ...
Mdeggers
Oct 7, 2015 at 12:40 am
Oct 30, 2015 at 6:38 pm -
Is it normal that seeing both salt-master processes and salt-minion processes running in the same server? I suppose only the master server will run the salt-master process and only the minion servers ...
Andy Hoho
Oct 28, 2015 at 6:54 pm
Oct 28, 2015 at 11:14 pm -
The most recent version of jinja2 for RHEL 6 is 2.2.1 which doesn't support the "mapping" test <http://jinja.pocoo.org/docs/dev/templates/#tests (which is used in many salt formulas) . Currently I ...
Hugh Crissman
Oct 22, 2015 at 3:14 pm
Oct 27, 2015 at 9:43 am -
4
[salt-users] using salt-call to fire off an event leading to a system update and subsequent reboot
I am trying to figure out the reactor system and create a way for a sync script to set off a chain of events After a cron run this would be embedded as the last item in a shell script salt-call ...BKeep
Oct 17, 2015 at 5:16 am
Oct 21, 2015 at 10:08 pm -
Hello. Currently we're trying to set up our CI / CD processes with Docker, Jenkins and SaltStack. Jenkins is watching the updates and calls Salt API in order to prepare, configure and deploy Docker ...
Vitaly Isaev
Oct 1, 2015 at 3:00 pm
Oct 20, 2015 at 9:15 am -
Hi, I wonder if there is a way to format output produced by state.highstate. I'd like to report the ID: rather than the Name: in the terse output. Given this state file root@dorado Salt# cat ...
Darren Kinley
Oct 14, 2015 at 12:37 am
Oct 16, 2015 at 10:29 pm -
Hi, I’m trying to write my own windows sls files for a software repo that we host internally. I have set up an http repo served over lighttpd. When doing a simple test using a web browser (on the ...
Chris Ord
Oct 11, 2015 at 11:39 pm
Oct 13, 2015 at 1:28 pm -
Hello, I've been scratching my head trying to figure out how to do this. I have a need to use the jobs.list_jobs and jobs.lookup_jid in a salt runner that I'm writing. If I use the RunnerClient, that ...
Luis Pollo
Oct 9, 2015 at 8:32 pm
Oct 9, 2015 at 9:38 pm -
Say I have a pillar that looks like this: verified: options: - option1key: option1value - option2key: option2value How do I access both the key and the value by name? I have something like this, but ...
Charles Burton
Oct 7, 2015 at 9:06 pm
Oct 9, 2015 at 1:40 pm -
The Fedora Salt packages used to get updated quite promptly... Now we don't even have 2015.5.6, much less 2015.8.1. This is especially worrisome given that 2015.5.6 is a security update. Any word on ...
Jeffrey Ollie
Oct 30, 2015 at 3:59 pm
Dec 1, 2015 at 12:36 am -
Hey everyone, This morning I upgraded my master to 2015.8.1 and noticed that in my logs I am getting a lot of the following errors. 2015-10-22 10:33:25,818 [salt.loader ][ERROR ] Failed to import ...
Blake Ferkingstad
Oct 22, 2015 at 3:37 pm
Nov 30, 2015 at 10:01 pm -
Is there a way to disable returns from events to be returned? I think the behaviour of default master cache + returner is overkilled for those who is using returner. -- You received this message ...
Daniel Jung
Oct 30, 2015 at 1:03 am
Nov 13, 2015 at 6:59 pm -
I'm using the logrotate module with salt-ssh. I want to make some modifications to it. So I cloned a fork of the repository and used setup.py to install 2015.8.1-79-g342144a. This seemed to work ok ...
Jeffery Tang
Oct 20, 2015 at 5:22 pm
Nov 13, 2015 at 6:52 pm -
Hello, As described in https://github.com/saltstack/salt/issues/26493 I am unable to use PIP with 2015.5.3, and when I upgrade to 2015.8.1, I am getting a different error. With 2015.5.3 I get a ...
Syed Ali
Oct 30, 2015 at 5:33 am
Nov 13, 2015 at 6:14 pm -
I'm using pillar dataI specify several mine_functions using pillar data; however, I'm dismayed to discover that those values aren't reported to the salt master even hours after the instance boots ...
Tim
Oct 27, 2015 at 3:06 pm
Nov 3, 2015 at 6:26 pm -
Background: I'd like to set some grains in one state and have them available to subsequent states. I'd prefer not to wait for high state to run again. I am using a masterless configuration, if that ...
Scott Edwards
Oct 26, 2015 at 8:43 pm
Nov 3, 2015 at 5:57 pm -
I tried to test out pillar but got this error: "Jinja variable 'blahblah' is undefined". Any idea??? Thanks. What I did: (1) created a install-vim.sls file under /srv/salt/ root@saltmaster:/srv/salt# ...
Andy Hoho
Oct 29, 2015 at 5:19 pm
Oct 30, 2015 at 4:08 pm -
Hi Salt Folks, I'm new to salt and I'm trying to use salt returners to fetch the output of my grains info to mysql database. For instance I want to get os level, hardware information and network ...
David Toledo
Oct 24, 2015 at 1:01 am
Oct 30, 2015 at 10:21 am -
All my machines are rhel based and I noticed after upgrading to 2015.8.1, highstate runs take much much longer. For example, on a rhel 6 machine before the upgrade the run took 7 seconds. Then I ...
Hugh Crissman
Oct 28, 2015 at 9:58 pm
Oct 29, 2015 at 7:42 pm -
Hi all, I was looking through the docs and code for salt cloud and Softlayer. I am probably missing it, but how can I restart a server using salt cloud? Regards, Mark -- You received this message ...
Mark van der Walle
Oct 20, 2015 at 1:11 pm
Oct 28, 2015 at 8:53 pm -
Currently is there anyway to have dockerng module working on mac osx tls enabled docker. I tried setting environment variable DOCKER_CERT_PATH: /Users/alpha/.docker/machine/machines/dev DOCKER_HOST ...
Adithep SriNarula
Oct 19, 2015 at 12:34 pm
Oct 23, 2015 at 3:17 pm -
It would be useful if the Salt RPMs from the Saltstack repo (for rhel6 at least) required python-zmq = 14.5, instead of the current simple require of python-zmq without a version spec. The version I ...
Ethan Erchinger
Oct 12, 2015 at 5:03 pm
Oct 21, 2015 at 8:46 pm -
Hi, I am using SaltStack with multiple environment definitions, and wanted to know if/how mine functions interact with environments. I am trying to use a single master that works with multiple ...
Ross Black
Oct 9, 2015 at 10:17 am
Oct 20, 2015 at 9:19 am -
Had a quick question - I was curious as to how you can actually get orchestrate to stop, mid run? I don't want the run to continue if a previous step failed. Here's a contrived example: cmd.run ...
Steve Hajducko
Oct 6, 2015 at 9:09 pm
Oct 16, 2015 at 12:04 am -
eg salt-call cp.push_dir /etc/sysconfig/network-scripts glob='ifcfg-*' does not work, but: salt-call cp.push_dir /etc/salt/minion.d glob='*.conf' does. Bug or feature? (It looks buggy to me, and it ...
Noah Birnel
Oct 5, 2015 at 10:38 pm
Oct 15, 2015 at 9:34 pm -
Hi, I am new to salt-cloud, and finally have it successfully provisioning Linux vm's, however the resulting vm's still have the template's hostname. Is there a recommended way of having salt-cloud ...
Schlag ify
Oct 12, 2015 at 5:22 pm
Oct 14, 2015 at 7:35 pm -
Hi all, We're deploying new minions using pxe-boot. I'm looking to get them salted. The best idea I have so far is to trigger a salt event when the dhcp server allocates the IP and then run ...
Andrew Hammond
Oct 9, 2015 at 1:40 am
Oct 9, 2015 at 6:35 pm -
Can somebody provide an actual working example similar to abstract mentioned in https://docs.saltstack.com/en/getstarted/config/requisites.html ? I am having a beast of a time seeing "require" work ...
Nathan Morris
Oct 2, 2015 at 3:21 am
Oct 8, 2015 at 8:32 pm -
Hello, I'm having a hard time implementing the following kwargs in the pkg state; update-packages: pkg.uptodate: - refresh: True *- fromrepo: updates* I want to enable only yum updates from the ...
Saltycdr
Oct 5, 2015 at 2:46 pm
Oct 8, 2015 at 9:01 am -
I need to be able to bypass file.recurse based on a pillar value but have been unable to get it to work. Anyone tried that? [Infor]<http://www.infor.com/ Greg Bell | Systems Administrator, Sr. | SaaS ...
Greg Bell
Oct 6, 2015 at 3:08 pm
Oct 6, 2015 at 4:09 pm -
Hi all, I have a python model file to do something and want to release to minion, then every pillar's sls file can rend it by the python model, How can I do it? Thanks! -- You received this message ...
Y he
Oct 26, 2015 at 2:30 am
Nov 4, 2015 at 1:51 am
Group Overview
group | salt-users |
discussions | 109 |
posts | 401 |
users | 133 |
133 users for October 2015
Archives
- June 2016 (156)
- May 2016 (371)
- April 2016 (283)
- March 2016 (376)
- February 2016 (386)
- January 2016 (329)
- December 2015 (352)
- November 2015 (356)
- October 2015 (401)
- September 2015 (382)
- August 2015 (414)
- July 2015 (428)
- June 2015 (329)
- May 2015 (467)
- April 2015 (564)
- March 2015 (602)
- February 2015 (506)
- January 2015 (503)
- December 2014 (512)
- November 2014 (627)
- October 2014 (590)
- September 2014 (485)
- August 2014 (574)
- July 2014 (526)
- June 2014 (32)