Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-10-13

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 edrocks joined #salt
00:04 nineteen joined #salt
00:13 nineteen joined #salt
00:15 debian112 joined #salt
00:19 Kevin joined #salt
00:23 nineteen joined #salt
00:24 abednarik joined #salt
00:26 misconfig joined #salt
00:26 Snick joined #salt
00:27 promorphus joined #salt
00:33 nineteen joined #salt
00:43 nineteen joined #salt
00:45 CampusD joined #salt
00:50 vegasq joined #salt
00:51 jwang joined #salt
00:52 jwang hey guys, I need to populate a file on one minion with a list of other salt-managed servers' hostnames if they match a certain grain. How can I do this?
00:53 hemebond jwang: Salt Mine.
00:53 jwang hemebond: thanks for the quick response -- I'll look into that
00:53 misconfig joined #salt
00:54 flowstate joined #salt
00:56 tiwula joined #salt
01:01 netcho joined #salt
01:02 subsignal joined #salt
01:03 amontalban joined #salt
01:03 amontalban joined #salt
01:05 nineteen joined #salt
01:06 Brijesh1 joined #salt
01:06 Brijesh1 left #salt
01:07 DammitJim joined #salt
01:07 catpigger joined #salt
01:10 promorphus joined #salt
01:10 DammitJim where else can I find the state output?
01:11 DammitJim when I run highstate for example?
01:12 PerilousApricot joined #salt
01:13 nineteen joined #salt
01:14 mdhas joined #salt
01:14 hemebond DammitJim: What do you mean?
01:14 hemebond All output is returned to you when you run a highstate.
01:14 CampusD DammitJim: doesn't the output get stored in the minion cache? /var/cache/salt
01:14 DammitJim you know when you run something like: sudo salt <servername> state.highstate --state-output=changes
01:14 DammitJim is there somewhere else this gets logged besides your terminal?
01:14 hemebond Somewhere else? I think the master gets a copy, no?
01:15 DammitJim /var/log/salt/master doesn't seem to have it
01:15 DammitJim that's probably something I would have had to enable in /etc/salt/master for logging?
01:16 hemebond Debug logging would log the return to that I think.
01:16 hemebond But it's not very nice.
01:16 hemebond Have you checked the minion as CampusD suggested?
01:17 DammitJim ... looking
01:18 CampusD if you wanted  all the output to one location like a DB, you could look at returners , https://docs.saltstack.com/en/latest/ref/returners/
01:20 DammitJim yeah, I am just having a hard time copying out of my terminal to paste it into a document
01:20 DammitJim so, I was trying to figure out if the output was on a file or something where I could copy it from
01:20 hemebond I don't think it's stored by default.
01:22 promorphus joined #salt
01:24 flowstate joined #salt
01:25 nineteen joined #salt
01:31 Snick hey all, having trouble trying to get pillar environments to behave like the salt state environments do
01:32 Snick I have a server on the other side of a salt syndic server that doesn't seem to be getting any pillar information whatsoever
01:33 Snick meanwhile, all the minions in the base environment are receiving the pillar data for environment B that I intend for the systems on the other side of the syndic server to receive
01:33 nineteen joined #salt
01:40 sebastian-w joined #salt
01:47 ilbot3 joined #salt
01:47 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.12, 2016.3.3 | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
01:53 nineteen joined #salt
02:00 DammitJim joined #salt
02:02 nineteen joined #salt
02:04 knamehost joined #salt
02:04 edrocks joined #salt
02:05 amcorreia joined #salt
02:13 nineteen joined #salt
02:20 thedukeness joined #salt
02:23 nineteen joined #salt
02:24 flowstate joined #salt
02:32 nineteen joined #salt
02:34 aberdine joined #salt
02:40 evle joined #salt
02:40 jwang where is salt mine data cached? How do I clear it?
02:41 jwang I have two identically configured nodes, and one of them just can't get salt mine data out for some reason
02:43 nineteen joined #salt
02:48 cliluw joined #salt
02:51 hemebond Snick: Did you paste your config or errors anywhere?
02:51 hemebond jwang: Salt Mine data is sent to the master periodically; once an hour I think.
02:52 nineteen joined #salt
03:00 jwang Weird. My mine.get call stops working when i'm exposing a grain value of 0, but it works for other numbers...
03:02 netcho joined #salt
03:03 nineteen joined #salt
03:06 sh123124213 joined #salt
03:06 amontalban joined #salt
03:06 amontalban joined #salt
03:08 mapu_ joined #salt
03:12 subsigna_ joined #salt
03:12 nineteen joined #salt
03:14 subsign__ joined #salt
03:22 subsignal joined #salt
03:22 subsigna_ joined #salt
03:22 nineteen joined #salt
03:25 flowstate joined #salt
03:28 Kevin joined #salt
03:36 nineteen joined #salt
03:42 nineteen joined #salt
03:53 nineteen joined #salt
03:56 samodid joined #salt
04:02 nineteen joined #salt
04:06 edrocks joined #salt
04:08 sh123124213 joined #salt
04:12 nineteen joined #salt
04:18 hemebond joined #salt
04:22 lumtnman joined #salt
04:23 Kevin joined #salt
04:23 DEger joined #salt
04:24 flowstate joined #salt
04:24 nineteen joined #salt
04:32 nineteen joined #salt
04:32 kname joined #salt
04:39 dps joined #salt
04:43 knamehost joined #salt
04:44 nineteen joined #salt
04:46 kname joined #salt
04:52 nineteen joined #salt
05:02 netcho joined #salt
05:03 nineteen joined #salt
05:08 amontalban joined #salt
05:08 amontalban joined #salt
05:12 nineteen joined #salt
05:17 rdas joined #salt
05:18 Brijesh2 joined #salt
05:19 Brijesh2 left #salt
05:20 cosming joined #salt
05:22 nineteen joined #salt
05:24 flowstate joined #salt
05:25 DEger joined #salt
05:27 knamehost joined #salt
05:28 felskrone joined #salt
05:31 XenophonF joined #salt
05:32 nineteen joined #salt
05:33 onlyanegg joined #salt
05:38 DEger joined #salt
05:39 sh123124213 joined #salt
05:40 jwang joined #salt
05:44 nineteen joined #salt
05:48 impi joined #salt
05:48 DEger joined #salt
05:53 nineteen joined #salt
05:53 Karthik427 joined #salt
05:53 Karthik427 Hi All
05:54 Karthik427 I am trying to automate elasticsearch deployments using saltstack
05:55 Karthik427 i am stuck at all place where i should update the all hostnames assigned to a particular role
05:55 Karthik427 i mean like if i have a role like elastic_prod
05:55 Karthik427 discovery.zen.ping.unicast.hosts: ["host1", "host2"]
05:56 Karthik427 in this parameter instead of host1 and host2 i need to have all hosts with that role
05:56 Karthik427 can anyone suggest me how to do this
05:58 DEger joined #salt
06:00 netcho joined #salt
06:01 Karthik427 Hello All
06:01 Karthik427 Can anyone help me pls
06:02 iggy mine
06:02 ivanjaros joined #salt
06:02 nineteen joined #salt
06:05 DarkKnightCZ joined #salt
06:05 Karthik427 Hi, Can u help me to achieve this
06:05 iggy the functionality you are looking for is called salt mine
06:06 iggy the documentation can explain it much better than I can
06:08 edrocks joined #salt
06:08 DEger joined #salt
06:09 Karthik427 {% from "elasticsearch/map.jinja" import elasticsearch with context %} {% set es_hosts = [] %} {% for id, addr in salt.mine.get('roles:elasticsearch', 'network.ip_addrs', expr_form='grain') %} {% do es_hosts.append(addr) %} {% endfor %}  configure_cluster_unicast:   file.replace:     - name: /data/elasticsearch/elasticsearch.yml     - pattern: '^discovery.zen.ping.unicast_hosts:.*?$'     - repl: 'discovery.zen.ping.unicast_hosts: {{
06:09 Karthik427 even i am using salt mines only
06:10 Karthik427 but i am getting a blank value
06:11 iggy do the mine module commands to see if you are getting data back
06:11 iggy probably you just don't have your minions sending the right data back
06:11 Kevin joined #salt
06:12 Bmw-x1 joined #salt
06:12 nineteen joined #salt
06:17 bocaneri joined #salt
06:18 DEger joined #salt
06:23 Karthik427 joined #salt
06:23 flowstate joined #salt
06:23 Karthik427 Hi All
06:23 nineteen joined #salt
06:23 Karthik427 root@saltmaster:/srv/salt/elasticsearch# salt '*' mine.get '*' network.ip_addrs saltmaster:     ---------- elkserver1:     ---------- root@saltmaster:/srv/salt/elasticsearch#
06:24 Karthik427 ID: configure_cluster_unicast     Function: file.replace         Name: /data/elasticsearch/elasticsearch.yml       Result: False      Comment: An exception occurred in this state: Traceback (most recent call last):                 File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1560, in call                   **cdata['kwargs'])                 File "/usr/lib/python2.7/dist-packages/salt/states/file.py", line 2472, in
06:28 Karthik427 Hi All
06:28 Karthik427 I am getting below error while executing high state
06:28 Karthik427 ---------           ID: configure_cluster_unicast     Function: file.replace         Name: /data/elasticsearch/elasticsearch.yml       Result: False      Comment: An exception occurred in this state: Traceback (most recent call last):                 File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1560, in call                   **cdata['kwargs'])                 File "/usr/lib/python2.7/dist-packages/salt/states/file.py",
06:28 Karthik427 Below is the corresponding state file for it
06:28 DEger joined #salt
06:28 Karthik427 {% from "elasticsearch/map.jinja" import elasticsearch with context %} {% set es_hosts = [] %} {% for id, addr in salt['mine.get']('roles:elasticsearch', 'network.ip_addrs', expr_form='grain') %} {% do es_hosts.append(addr) %} {% endfor %}  configure_cluster_unicast:   file.replace:     - name: /data/elasticsearch/elasticsearch.yml     - pattern: '^discovery.zen.ping.unicast_hosts:.*?$'     - repl: 'discovery.zen.ping.unicast_hosts: {
06:29 Karthik427 i am unable to figure where i am wrong
06:29 Karthik427 Can u people pls help me to fix it
06:30 nineteen joined #salt
06:30 iggy the salt command isn't returning any data, so your states are never going to run
06:30 iggy work on fixing the mine.get call first
06:31 sh123124213 joined #salt
06:37 nebuchadnezzar joined #salt
06:38 DEger joined #salt
06:42 nineteen joined #salt
06:46 Karthik427 Hi Iggy
06:46 Karthik427 i fixed it
06:46 Karthik427 now my state is running fine
06:46 Karthik427 but it has some issue
06:46 Karthik427 it is publisihing my inetrnal ip which i dont want
06:47 Karthik427 can u give me any idea how can i achieve it
06:47 Karthik427 mine_functions:   network.ip_addrs: eth0
06:47 Karthik427 this is my mine function
06:48 lovecraftian joined #salt
06:49 DEger joined #salt
06:51 nineteen joined #salt
06:56 m4rx joined #salt
06:59 DEger joined #salt
06:59 knikolov joined #salt
07:01 nineteen joined #salt
07:03 ilbot3 joined #salt
07:03 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.12, 2016.3.3 | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
07:10 amontalban joined #salt
07:10 amontalban joined #salt
07:10 samodid joined #salt
07:11 dariusjs joined #salt
07:12 ivanjaros joined #salt
07:12 DEger joined #salt
07:17 jhauser joined #salt
07:18 DEger joined #salt
07:21 nineteen joined #salt
07:23 flowstate joined #salt
07:25 samodid joined #salt
07:31 nineteen joined #salt
07:32 ronnix joined #salt
07:41 nineteen joined #salt
07:42 jhauser joined #salt
07:48 DEger joined #salt
07:51 nineteen joined #salt
07:57 mikecmpbll joined #salt
07:57 geomacy joined #salt
07:58 jacekplacek joined #salt
07:59 Kevin joined #salt
08:01 DEger joined #salt
08:03 keimlink joined #salt
08:04 nineteen joined #salt
08:06 nledez joined #salt
08:06 nledez joined #salt
08:06 kalessin joined #salt
08:08 DEger joined #salt
08:10 edrocks joined #salt
08:12 nineteen joined #salt
08:13 amontalban joined #salt
08:13 amontalban joined #salt
08:14 jacekplacek joined #salt
08:19 DEger joined #salt
08:20 Rumbles joined #salt
08:21 dylan joined #salt
08:21 dylan hi?
08:21 dylan anybody?
08:21 nineteen joined #salt
08:22 dariusjs joined #salt
08:22 flowstate joined #salt
08:24 s_kunk joined #salt
08:26 krymzon joined #salt
08:26 Rumbles joined #salt
08:26 xmj no one
08:26 manji :)
08:31 nineteen joined #salt
08:35 dylan orz
08:36 dylan 有人吗?
08:37 dylan 有问题请教
08:39 babilen dylan: Qing jian YingWen
08:40 babilen *jiang
08:40 manji ???;
08:41 nineteen joined #salt
08:46 babilen manji: He asked if there are people and mentioned that he has a problem
08:46 manji :D
08:47 dylan joined #salt
08:49 dylan when I run a job with compile Boost on one minion, I always got a log on the minion with "Minion received a SIGTERM. Exiting." ?is there any idea ?
08:52 SaltyVagrant joined #salt
08:53 nineteen joined #salt
08:53 dariusjs joined #salt
08:55 dylan joined #salt
09:01 nineteen joined #salt
09:01 averell joined #salt
09:11 nineteen joined #salt
09:15 DarkKnightCZ Hi, is it possible to set minion pillars programmatically somehow? I cannot use external pillars since they're not propagated to syndic masters
09:16 hemebond DarkKnightCZ: programmatically?
09:16 DarkKnightCZ hemebond: something like salt 'myserver' pillar.set '{JSON}'
09:24 sknebel joined #salt
09:26 stooj joined #salt
09:28 toabi joined #salt
09:28 mihait joined #salt
09:30 bVector joined #salt
09:31 nineteen joined #salt
09:32 imanc joined #salt
09:33 lkannan joined #salt
09:37 futuredale joined #salt
09:43 SteamWells joined #salt
09:44 simonmcc joined #salt
09:47 jp47itc joined #salt
10:02 writteno1 joined #salt
10:09 nledez joined #salt
10:09 kalessin joined #salt
10:09 Yoda-BZH joined #salt
10:09 impi joined #salt
10:09 monokrome joined #salt
10:09 Ouzo_12 joined #salt
10:09 theanalyst joined #salt
10:09 cmek joined #salt
10:09 vodik joined #salt
10:09 Hipikat joined #salt
10:09 Xevian joined #salt
10:09 invalidexception joined #salt
10:09 robinsmidsrod joined #salt
10:09 cswang joined #salt
10:09 zirpu joined #salt
10:09 TRManderson joined #salt
10:09 regretio joined #salt
10:09 mrueg joined #salt
10:09 alexlist joined #salt
10:09 dijit joined #salt
10:09 roock joined #salt
10:09 jcristau joined #salt
10:09 mschiff joined #salt
10:09 shanemhansen joined #salt
10:09 JPaul joined #salt
10:09 devster31 joined #salt
10:09 Twiglet joined #salt
10:09 Armadillo joined #salt
10:09 _W_ joined #salt
10:09 Kelsar joined #salt
10:09 Jarus joined #salt
10:09 hillna joined #salt
10:09 m0nky joined #salt
10:09 s0undt3ch joined #salt
10:09 arapaho joined #salt
10:09 jamesog joined #salt
10:09 gtmanfred joined #salt
10:09 hexa- joined #salt
10:09 skeezix-hf joined #salt
10:09 trent_ joined #salt
10:09 daveleigh joined #salt
10:09 FreeSpencer joined #salt
10:09 MajObviousman joined #salt
10:09 artemz joined #salt
10:09 Horgix joined #salt
10:09 jcockhren joined #salt
10:09 netzvieh joined #salt
10:09 Eugene joined #salt
10:09 Zaunei joined #salt
10:09 twiedenbein joined #salt
10:09 dimeshake joined #salt
10:09 devtea joined #salt
10:09 adongy joined #salt
10:09 Klas joined #salt
10:09 KingOfFools joined #salt
10:09 ujjain joined #salt
10:09 CeBe joined #salt
10:09 XenophonF joined #salt
10:09 Rumbles joined #salt
10:09 munhitsu_ joined #salt
10:09 ramblinpeck joined #salt
10:09 WKNiGHT joined #salt
10:09 Freek joined #salt
10:09 ToeSnacks joined #salt
10:09 PalTale joined #salt
10:09 arif-ali joined #salt
10:09 Edur joined #salt
10:09 fleaz joined #salt
10:09 Tuxick joined #salt
10:09 xmj joined #salt
10:09 klaas joined #salt
10:09 dandelo joined #salt
10:09 ksa_ joined #salt
10:09 Snick joined #salt
10:09 aberdine joined #salt
10:09 babilen joined #salt
10:09 MaZ- joined #salt
10:09 armin joined #salt
10:09 m4rx joined #salt
10:09 TyrfingMjolnir joined #salt
10:09 prg3 joined #salt
10:09 Ssquidly joined #salt
10:09 BlackMaria joined #salt
10:09 drags joined #salt
10:09 vadimck joined #salt
10:09 dustywusty joined #salt
10:09 Ahlee joined #salt
10:09 Ch3LL_ joined #salt
10:09 Gareth joined #salt
10:09 yesimon joined #salt
10:09 hop joined #salt
10:09 rburkholder joined #salt
10:09 ahammond joined #salt
10:09 tru_tru joined #salt
10:09 utahcon_ joined #salt
10:09 tvinson joined #salt
10:09 saltsa joined #salt
10:09 rodr1c joined #salt
10:09 karlthane joined #salt
10:09 muep_ joined #salt
10:09 Dev0n joined #salt
10:09 unusedPhD_ joined #salt
10:09 xMopxShell joined #salt
10:09 k_sze[work] joined #salt
10:09 nikogonzo joined #salt
10:09 lazybear joined #salt
10:09 capn-morgan joined #salt
10:09 stickmack joined #salt
10:09 sinh joined #salt
10:09 v0rtex joined #salt
10:09 oyvindmo joined #salt
10:09 daemonkeeper joined #salt
10:09 ]V[ joined #salt
10:09 SubOracle joined #salt
10:09 rhand joined #salt
10:09 sarlalian joined #salt
10:09 harkx joined #salt
10:09 giany joined #salt
10:09 tyler-baker joined #salt
10:09 cmarzullo joined #salt
10:09 DK2 joined #salt
10:09 phyburn joined #salt
10:09 etangle joined #salt
10:09 Shirkdog joined #salt
10:09 TooLmaN joined #salt
10:09 fhh joined #salt
10:09 dober joined #salt
10:09 LotR joined #salt
10:09 stopbyte joined #salt
10:09 robawt joined #salt
10:09 Roelt joined #salt
10:09 concernedcitizen joined #salt
10:09 aarontc joined #salt
10:09 inire joined #salt
10:09 jrklein joined #salt
10:09 Sarphram joined #salt
10:09 saltstackbot joined #salt
10:09 tiaz joined #salt
10:09 riftman joined #salt
10:09 joshin joined #salt
10:09 tongpu joined #salt
10:09 hax404 joined #salt
10:09 zifnab joined #salt
10:09 viq joined #salt
10:09 CheckYourSix joined #salt
10:09 Sketch joined #salt
10:09 nini_ joined #salt
10:09 tcolvin joined #salt
10:09 czchen joined #salt
10:09 andi- joined #salt
10:09 valkyr2e joined #salt
10:09 chutzpah joined #salt
10:09 adeschamps1 joined #salt
10:09 Laogeodritt joined #salt
10:09 t0m0 joined #salt
10:09 wangofett joined #salt
10:09 armonge joined #salt
10:09 Guest64615 joined #salt
10:09 coredumb joined #salt
10:09 bryguy joined #salt
10:09 MTecknology joined #salt
10:09 nihe joined #salt
10:09 stiefkind joined #salt
10:09 chitown joined #salt
10:09 beardo joined #salt
10:09 Micromus joined #salt
10:09 peters-tx joined #salt
10:09 frew joined #salt
10:09 Derailed joined #salt
10:09 alinuxninja joined #salt
10:09 chmod666org joined #salt
10:09 jhujhiti joined #salt
10:09 rmc3 joined #salt
10:09 rickflare joined #salt
10:09 kevc joined #salt
10:09 aalmenar joined #salt
10:09 alxchk joined #salt
10:09 keekz joined #salt
10:09 khorben joined #salt
10:09 honestly joined #salt
10:09 Hydrosine joined #salt
10:09 Kakwa_ joined #salt
10:09 rideh joined #salt
10:09 LordOfLA joined #salt
10:09 weylin joined #salt
10:09 ponyofdeath joined #salt
10:09 pcn joined #salt
10:09 lubyou joined #salt
10:09 fullstop joined #salt
10:09 AlexLau joined #salt
10:09 pcdummy joined #salt
10:09 descrepes joined #salt
10:09 scc joined #salt
10:09 Morrolan joined #salt
10:09 mirko joined #salt
10:09 ajolo joined #salt
10:09 hacks joined #salt
10:09 renoirb joined #salt
10:09 kiorky joined #salt
10:09 q1x joined #salt
10:09 tehsu joined #salt
10:09 bdrung_work joined #salt
10:09 alvinstarr joined #salt
10:09 LostSoul joined #salt
10:09 cb joined #salt
10:09 cdubmkvi joined #salt
10:09 bantone joined #salt
10:09 Valfor joined #salt
10:09 gpampara joined #salt
10:09 SWAT joined #salt
10:09 ashmckenzie joined #salt
10:09 jerrykan joined #salt
10:09 Rubin joined #salt
10:09 stotch joined #salt
10:09 scooby2 joined #salt
10:09 douardda joined #salt
10:09 borgstrom joined #salt
10:09 stupidnic joined #salt
10:09 ropes joined #salt
10:09 dwfreed joined #salt
10:09 dunz0r joined #salt
10:09 wryfi joined #salt
10:09 jason` joined #salt
10:09 muep__ joined #salt
10:09 Steelpan joined #salt
10:09 __alex joined #salt
10:09 the_lalelu joined #salt
10:09 GothAck joined #salt
10:09 blue joined #salt
10:09 Vaelatern joined #salt
10:09 Hazelesque joined #salt
10:09 phx joined #salt
10:09 eseyman joined #salt
10:09 LeProvokateur joined #salt
10:09 izrail joined #salt
10:09 adelcast joined #salt
10:09 qman__ joined #salt
10:09 mTeK joined #salt
10:09 asoc joined #salt
10:09 shadoxx joined #salt
10:09 sleblanc joined #salt
10:09 MikaT_ joined #salt
10:09 \ask joined #salt
10:09 JPT joined #salt
10:09 zer0def joined #salt
10:09 darvon joined #salt
10:09 eichiro joined #salt
10:09 davromaniak joined #salt
10:09 |aaron joined #salt
10:09 tristianc joined #salt
10:09 pppingme joined #salt
10:09 rawzone joined #salt
10:09 notnotpeter joined #salt
10:09 carmony joined #salt
10:09 bergei joined #salt
10:09 aitrus joined #salt
10:09 Qlawy joined #salt
10:09 Cidan joined #salt
10:09 swills_ joined #salt
10:09 colttt joined #salt
10:09 Jimlad_ joined #salt
10:09 mortis_ joined #salt
10:09 Kruge_ joined #salt
10:09 pprkut joined #salt
10:09 mk-fg joined #salt
10:09 emid_ joined #salt
10:09 NightMonkey joined #salt
10:09 RobertLaptop_ joined #salt
10:09 Ludo_ joined #salt
10:09 cebreidian joined #salt
10:09 sybix joined #salt
10:09 gmoro joined #salt
10:09 bryang joined #salt
10:09 wsayo joined #salt
10:09 rsys joined #salt
10:09 ccard joined #salt
10:09 pedja joined #salt
10:09 Deliant joined #salt
10:09 Bryson joined #salt
10:09 gadams joined #salt
10:09 notCalle joined #salt
10:09 bbradley joined #salt
10:09 baikal joined #salt
10:09 ntropy joined #salt
10:09 diegows joined #salt
10:09 akw joined #salt
10:09 kshlm joined #salt
10:09 jacksontj joined #salt
10:09 Garo__ joined #salt
10:09 elektrix joined #salt
10:09 egilh joined #salt
10:09 ange joined #salt
10:09 angvp joined #salt
10:09 davisj joined #salt
10:09 Zachary_DuBois joined #salt
10:09 rbjorklin joined #salt
10:09 RandyT joined #salt
10:09 patrek joined #salt
10:09 DaveQB joined #salt
10:09 sjorge joined #salt
10:09 wendall911 joined #salt
10:09 schro joined #salt
10:09 hoonetorg joined #salt
10:09 64MAAD5RF joined #salt
10:09 voileux joined #salt
10:09 SpX joined #salt
10:09 wm-bot4 joined #salt
10:09 mpanetta joined #salt
10:09 telx joined #salt
10:09 oida joined #salt
10:09 AirOnSkin joined #salt
10:09 mavhq joined #salt
10:09 oznah joined #salt
10:09 raspado joined #salt
10:09 noraatepernos joined #salt
10:09 lv_ joined #salt
10:09 Ashald joined #salt
10:09 west575_ joined #salt
10:09 Arendtse1 joined #salt
10:09 _KaszpiR__ joined #salt
10:09 wwalker joined #salt
10:09 armguy joined #salt
10:09 dnull[m] joined #salt
10:09 M-MadsRC joined #salt
10:09 freelock[m] joined #salt
10:09 saintaquinas[m] joined #salt
10:09 tercenya joined #salt
10:09 vegasq joined #salt
10:09 catpigger joined #salt
10:09 PerilousApricot joined #salt
10:09 sebastian-w joined #salt
10:09 hemebond joined #salt
10:09 dps joined #salt
10:09 rdas joined #salt
10:09 cosming joined #salt
10:09 bocaneri joined #salt
10:09 samodid joined #salt
10:09 jhauser joined #salt
10:09 mikecmpbll joined #salt
10:09 geomacy joined #salt
10:09 keimlink joined #salt
10:09 jacekplacek joined #salt
10:09 krymzon joined #salt
10:09 watersoul joined #salt
10:09 netcho joined #salt
10:09 simmel joined #salt
10:09 jessexoc joined #salt
10:09 dh joined #salt
10:09 jeblair joined #salt
10:09 eightyeight joined #salt
10:09 yidhra joined #salt
10:09 codehotter joined #salt
10:09 unusedPhD joined #salt
10:09 rome_390 joined #salt
10:09 wiqd joined #salt
10:09 bmcorser joined #salt
10:09 mattl joined #salt
10:09 monrad_ joined #salt
10:09 twodayslate joined #salt
10:09 shawnbutts joined #salt
10:09 s_kunk joined #salt
10:09 copelco joined #salt
10:09 CaptTofu joined #salt
10:09 phtes_ joined #salt
10:09 johtso joined #salt
10:09 jas02 joined #salt
10:09 fxhp joined #salt
10:09 nineteen joined #salt
10:09 oliv` joined #salt
10:09 voileux_ joined #salt
10:09 daks joined #salt
10:09 _aeris_ joined #salt
10:09 Lionel_Debroux_ joined #salt
10:09 felskrone joined #salt
10:10 KingJ joined #salt
10:10 whytewolf joined #salt
10:10 kuromagi joined #salt
10:10 Vye joined #salt
10:10 dlloyd joined #salt
10:10 nethershaw joined #salt
10:10 jav joined #salt
10:10 supermike_ joined #salt
10:11 Awesomecase joined #salt
10:15 futuredale joined #salt
10:17 ToeSnacks joined #salt
10:27 armin joined #salt
10:28 dataman joined #salt
10:28 beakerman joined #salt
10:28 knikolov joined #salt
10:28 Salt_noobie joined #salt
10:28 Edur joined #salt
10:28 fleaz joined #salt
10:28 Tuxick joined #salt
10:28 xmj joined #salt
10:28 klaas joined #salt
10:28 dandelo joined #salt
10:28 ksa_ joined #salt
10:28 Snick joined #salt
10:28 aberdine joined #salt
10:28 babilen joined #salt
10:28 MaZ- joined #salt
10:28 nineteen joined #salt
10:28 PalTale joined #salt
10:28 arif-ali joined #salt
10:28 TyrfingMjolnir joined #salt
10:28 prg3 joined #salt
10:28 Ssquidly joined #salt
10:28 BlackMaria joined #salt
10:28 drags joined #salt
10:28 vadimck joined #salt
10:28 dustywusty joined #salt
10:28 Ahlee joined #salt
10:28 Ch3LL_ joined #salt
10:28 Gareth joined #salt
10:28 yesimon joined #salt
10:28 hop joined #salt
10:28 rburkholder joined #salt
10:28 ahammond joined #salt
10:28 tru_tru joined #salt
10:28 utahcon_ joined #salt
10:28 tvinson joined #salt
10:28 saltsa joined #salt
10:28 rodr1c joined #salt
10:28 karlthane joined #salt
10:28 muep_ joined #salt
10:28 Dev0n joined #salt
10:28 unusedPhD_ joined #salt
10:28 xMopxShell joined #salt
10:28 k_sze[work] joined #salt
10:28 nikogonzo joined #salt
10:28 lazybear joined #salt
10:28 capn-morgan joined #salt
10:28 stickmack joined #salt
10:28 sinh joined #salt
10:28 v0rtex joined #salt
10:28 oyvindmo joined #salt
10:28 daemonkeeper joined #salt
10:28 ]V[ joined #salt
10:28 SubOracle joined #salt
10:28 rhand joined #salt
10:28 sarlalian joined #salt
10:28 harkx joined #salt
10:28 giany joined #salt
10:28 tyler-baker joined #salt
10:28 cmarzullo joined #salt
10:28 DK2 joined #salt
10:28 phyburn joined #salt
10:28 etangle joined #salt
10:28 Shirkdog joined #salt
10:28 TooLmaN joined #salt
10:28 fhh joined #salt
10:28 dober joined #salt
10:28 LotR joined #salt
10:28 stopbyte joined #salt
10:28 robawt joined #salt
10:28 Roelt joined #salt
10:28 concernedcitizen joined #salt
10:28 aarontc joined #salt
10:28 inire joined #salt
10:28 jrklein joined #salt
10:28 Sarphram joined #salt
10:28 saltstackbot joined #salt
10:28 tiaz joined #salt
10:28 riftman joined #salt
10:28 joshin joined #salt
10:28 tongpu joined #salt
10:28 hax404 joined #salt
10:28 zifnab joined #salt
10:28 viq joined #salt
10:28 CheckYourSix joined #salt
10:28 Sketch joined #salt
10:28 nini_ joined #salt
10:28 tcolvin joined #salt
10:28 czchen joined #salt
10:28 andi- joined #salt
10:28 valkyr2e joined #salt
10:28 chutzpah joined #salt
10:28 adeschamps1 joined #salt
10:28 Laogeodritt joined #salt
10:28 t0m0 joined #salt
10:28 wangofett joined #salt
10:28 armonge joined #salt
10:28 Guest64615 joined #salt
10:28 coredumb joined #salt
10:28 bryguy joined #salt
10:28 MTecknology joined #salt
10:28 nihe joined #salt
10:28 stiefkind joined #salt
10:28 chitown joined #salt
10:28 beardo joined #salt
10:28 Micromus joined #salt
10:28 peters-tx joined #salt
10:28 frew joined #salt
10:28 Derailed joined #salt
10:28 alinuxninja joined #salt
10:28 chmod666org joined #salt
10:28 jhujhiti joined #salt
10:28 rmc3 joined #salt
10:28 rickflare joined #salt
10:28 kevc joined #salt
10:28 aalmenar joined #salt
10:28 alxchk joined #salt
10:28 keekz joined #salt
10:28 khorben joined #salt
10:28 honestly joined #salt
10:28 Hydrosine joined #salt
10:28 Kakwa_ joined #salt
10:28 rideh joined #salt
10:28 LordOfLA joined #salt
10:28 weylin joined #salt
10:28 ponyofdeath joined #salt
10:28 pcn joined #salt
10:28 lubyou joined #salt
10:28 fullstop joined #salt
10:28 AlexLau joined #salt
10:28 pcdummy joined #salt
10:28 descrepes joined #salt
10:28 scc joined #salt
10:28 Morrolan joined #salt
10:28 mirko joined #salt
10:28 ajolo joined #salt
10:28 hacks joined #salt
10:28 renoirb joined #salt
10:28 kiorky joined #salt
10:28 q1x joined #salt
10:28 tehsu joined #salt
10:28 bdrung_work joined #salt
10:28 alvinstarr joined #salt
10:28 LostSoul joined #salt
10:28 cb joined #salt
10:28 cdubmkvi joined #salt
10:28 bantone joined #salt
10:28 Valfor joined #salt
10:28 gpampara joined #salt
10:28 SWAT joined #salt
10:28 ashmckenzie joined #salt
10:28 jerrykan joined #salt
10:28 Rubin joined #salt
10:28 stotch joined #salt
10:28 scooby2 joined #salt
10:28 douardda joined #salt
10:28 borgstrom joined #salt
10:28 stupidnic joined #salt
10:28 ropes joined #salt
10:28 dwfreed joined #salt
10:28 dunz0r joined #salt
10:28 wryfi joined #salt
10:28 jason` joined #salt
10:28 muep__ joined #salt
10:28 Steelpan joined #salt
10:28 __alex joined #salt
10:28 the_lalelu joined #salt
10:28 GothAck joined #salt
10:28 blue joined #salt
10:28 Vaelatern joined #salt
10:28 Hazelesque joined #salt
10:28 phx joined #salt
10:28 eseyman joined #salt
10:28 LeProvokateur joined #salt
10:28 izrail joined #salt
10:28 adelcast joined #salt
10:28 qman__ joined #salt
10:28 mTeK joined #salt
10:28 asoc joined #salt
10:28 shadoxx joined #salt
10:28 sleblanc joined #salt
10:28 MikaT_ joined #salt
10:28 \ask joined #salt
10:28 JPT joined #salt
10:28 zer0def joined #salt
10:28 darvon joined #salt
10:28 eichiro joined #salt
10:28 davromaniak joined #salt
10:28 |aaron joined #salt
10:28 tristianc joined #salt
10:28 pppingme joined #salt
10:28 rawzone joined #salt
10:28 notnotpeter joined #salt
10:28 carmony joined #salt
10:28 bergei joined #salt
10:28 aitrus joined #salt
10:28 Qlawy joined #salt
10:28 Cidan joined #salt
10:28 swills_ joined #salt
10:28 colttt joined #salt
10:28 Jimlad_ joined #salt
10:28 mortis_ joined #salt
10:28 Kruge_ joined #salt
10:28 pprkut joined #salt
10:28 mk-fg joined #salt
10:28 emid_ joined #salt
10:28 NightMonkey joined #salt
10:28 RobertLaptop_ joined #salt
10:28 Ludo_ joined #salt
10:28 cebreidian joined #salt
10:28 sybix joined #salt
10:28 gmoro joined #salt
10:28 bryang joined #salt
10:28 wsayo joined #salt
10:28 rsys joined #salt
10:28 ccard joined #salt
10:28 pedja joined #salt
10:28 Deliant joined #salt
10:28 Bryson joined #salt
10:28 gadams joined #salt
10:28 notCalle joined #salt
10:28 bbradley joined #salt
10:28 baikal joined #salt
10:28 ntropy joined #salt
10:28 diegows joined #salt
10:28 akw joined #salt
10:28 kshlm joined #salt
10:28 jacksontj joined #salt
10:28 Garo__ joined #salt
10:28 elektrix joined #salt
10:28 egilh joined #salt
10:28 ange joined #salt
10:28 angvp joined #salt
10:28 davisj joined #salt
10:28 Zachary_DuBois joined #salt
10:28 rbjorklin joined #salt
10:28 RandyT joined #salt
10:28 patrek joined #salt
10:28 DaveQB joined #salt
10:28 sjorge joined #salt
10:28 wendall911 joined #salt
10:28 schro joined #salt
10:28 hoonetorg joined #salt
10:28 64MAAD5RF joined #salt
10:28 voileux joined #salt
10:28 SpX joined #salt
10:28 wm-bot4 joined #salt
10:28 mpanetta joined #salt
10:28 telx joined #salt
10:28 oida joined #salt
10:28 AirOnSkin joined #salt
10:28 mavhq joined #salt
10:28 oznah joined #salt
10:28 raspado joined #salt
10:28 noraatepernos joined #salt
10:28 lv_ joined #salt
10:28 Ashald joined #salt
10:28 west575_ joined #salt
10:28 Arendtse1 joined #salt
10:28 _KaszpiR__ joined #salt
10:28 wwalker joined #salt
10:28 armguy joined #salt
10:28 dnull[m] joined #salt
10:28 M-MadsRC joined #salt
10:28 freelock[m] joined #salt
10:28 saintaquinas[m] joined #salt
10:28 tercenya joined #salt
10:28 vegasq joined #salt
10:28 catpigger joined #salt
10:28 PerilousApricot joined #salt
10:28 sebastian-w joined #salt
10:28 hemebond joined #salt
10:28 dps joined #salt
10:28 rdas joined #salt
10:28 cosming joined #salt
10:28 bocaneri joined #salt
10:28 samodid joined #salt
10:28 jhauser joined #salt
10:28 mikecmpbll joined #salt
10:28 geomacy joined #salt
10:28 keimlink joined #salt
10:28 jacekplacek joined #salt
10:28 krymzon joined #salt
10:28 watersoul joined #salt
10:28 netcho joined #salt
10:28 simmel joined #salt
10:28 jessexoc joined #salt
10:28 dh joined #salt
10:28 jeblair joined #salt
10:28 eightyeight joined #salt
10:28 yidhra joined #salt
10:28 codehotter joined #salt
10:28 unusedPhD joined #salt
10:28 rome_390 joined #salt
10:28 wiqd joined #salt
10:28 bmcorser joined #salt
10:28 mattl joined #salt
10:28 monrad_ joined #salt
10:28 twodayslate joined #salt
10:28 shawnbutts joined #salt
10:28 copelco joined #salt
10:28 CaptTofu joined #salt
10:28 phtes_ joined #salt
10:28 johtso joined #salt
10:28 fxhp joined #salt
10:28 monokrome joined #salt
10:28 7GHAAEZ6W joined #salt
10:28 flowstate joined #salt
10:28 m4rx joined #salt
10:28 supermike_ joined #salt
10:28 jav joined #salt
10:28 nethershaw joined #salt
10:28 dlloyd joined #salt
10:28 Vye joined #salt
10:28 kuromagi joined #salt
10:28 whytewolf joined #salt
10:28 KingJ joined #salt
10:28 Ouzo_12 joined #salt
10:28 theanalyst joined #salt
10:28 cmek joined #salt
10:28 vodik joined #salt
10:28 Hipikat joined #salt
10:28 Xevian joined #salt
10:28 invalidexception joined #salt
10:28 robinsmidsrod joined #salt
10:28 cswang joined #salt
10:28 zirpu joined #salt
10:28 TRManderson joined #salt
10:28 regretio joined #salt
10:28 mrueg joined #salt
10:28 alexlist joined #salt
10:28 dijit joined #salt
10:28 roock joined #salt
10:28 jcristau joined #salt
10:28 mschiff joined #salt
10:28 shanemhansen joined #salt
10:28 JPaul joined #salt
10:28 devster31 joined #salt
10:28 Twiglet joined #salt
10:28 Armadillo joined #salt
10:28 _W_ joined #salt
10:28 Kelsar joined #salt
10:28 Jarus joined #salt
10:28 hillna joined #salt
10:28 m0nky joined #salt
10:28 s0undt3ch joined #salt
10:28 arapaho joined #salt
10:28 jamesog joined #salt
10:28 gtmanfred joined #salt
10:28 hexa- joined #salt
10:28 skeezix-hf joined #salt
10:28 trent_ joined #salt
10:28 daveleigh joined #salt
10:28 FreeSpencer joined #salt
10:28 MajObviousman joined #salt
10:28 artemz joined #salt
10:28 Horgix joined #salt
10:28 jcockhren joined #salt
10:28 netzvieh joined #salt
10:28 Eugene joined #salt
10:28 Zaunei joined #salt
10:28 twiedenbein joined #salt
10:28 dimeshake joined #salt
10:28 devtea joined #salt
10:28 adongy joined #salt
10:28 Klas joined #salt
10:28 KingOfFools joined #salt
10:28 ujjain joined #salt
10:28 CeBe joined #salt
10:28 XenophonF joined #salt
10:28 Rumbles joined #salt
10:28 munhitsu_ joined #salt
10:28 ramblinpeck joined #salt
10:28 WKNiGHT joined #salt
10:28 Freek joined #salt
10:28 oliv` joined #salt
10:28 voileux_ joined #salt
10:28 daks joined #salt
10:28 _aeris_ joined #salt
10:28 Lionel_Debroux_ joined #salt
10:28 felskrone joined #salt
10:28 nledez joined #salt
10:28 kalessin joined #salt
10:28 Yoda-BZH joined #salt
10:28 impi joined #salt
10:28 APLU joined #salt
10:28 SaltyVagrant joined #salt
10:28 nebuchadnezzar joined #salt
10:28 pmcg joined #salt
10:28 dyasny_ joined #salt
10:28 gerhardq1x joined #salt
10:28 fannet joined #salt
10:28 theblazehen joined #salt
10:28 kbaikov joined #salt
10:28 Corey joined #salt
10:28 ecdhe joined #salt
10:28 Joe630 joined #salt
10:28 TOoSmOotH joined #salt
10:28 buxy joined #salt
10:28 georgemarshall joined #salt
10:28 sqwishy1 joined #salt
10:28 rem5 joined #salt
10:28 eMBee joined #salt
10:28 graffic joined #salt
10:28 komputes joined #salt
10:28 mrMute joined #salt
10:28 coldbrew- joined #salt
10:28 Rkp_ joined #salt
10:28 LiamMon joined #salt
10:28 Taytay joined #salt
10:28 Mattch joined #salt
10:28 duckfez joined #salt
10:28 om joined #salt
10:28 kidneb_ joined #salt
10:28 alias joined #salt
10:28 mjimeneznet joined #salt
10:28 smkelly joined #salt
10:28 darkalia joined #salt
10:28 jfindlay joined #salt
10:28 nshttpd joined #salt
10:28 mage_ joined #salt
10:28 tooth joined #salt
10:28 svg joined #salt
10:28 canci joined #salt
10:28 quarcu joined #salt
10:28 hamlesh joined #salt
10:28 iggy joined #salt
10:28 upb joined #salt
10:28 linovia joined #salt
10:28 OliverMT joined #salt
10:28 kutenai joined #salt
10:28 JamieH joined #salt
10:28 guerby joined #salt
10:28 djural joined #salt
10:28 doriftoshoes joined #salt
10:28 DarkKnightCZ joined #salt
10:28 Qwazerty joined #salt
10:28 ivanjaros joined #salt
10:28 lovecraftian joined #salt
10:28 debian112 joined #salt
10:28 mrBen2k2k2k joined #salt
10:28 ub1quit33 joined #salt
10:28 MeltedLux joined #salt
10:28 Mads[m] joined #salt
10:28 ThomasJ joined #salt
10:28 ajv joined #salt
10:28 evilrob_ joined #salt
10:28 esc\ joined #salt
10:28 c4rc4s_ joined #salt
10:28 ventris_ joined #salt
10:28 baffle joined #salt
10:28 cyraxjoe joined #salt
10:28 c4t3l_ joined #salt
10:28 tawm04 joined #salt
10:28 JohnnyRun joined #salt
10:28 izibi joined #salt
10:28 _workthrick joined #salt
10:28 antonw joined #salt
10:28 al joined #salt
10:28 basepi joined #salt
10:28 godlike joined #salt
10:28 Ryan_Lane joined #salt
10:28 samkottler_ joined #salt
10:28 cyteen joined #salt
10:28 n1x0n joined #salt
10:28 llua joined #salt
10:28 filippos joined #salt
10:28 cscf joined #salt
10:28 pocketprotector joined #salt
10:28 flebel joined #salt
10:28 lionel joined #salt
10:28 JoeJulian joined #salt
10:28 moy joined #salt
10:28 liviudm joined #salt
10:28 mikepea joined #salt
10:28 bbhoss joined #salt
10:28 drybjed joined #salt
10:28 alex_s_ joined #salt
10:28 asyncsrc_ joined #salt
10:28 iter joined #salt
10:28 pjs joined #salt
10:28 alrayyes joined #salt
10:28 sjohnsen joined #salt
10:28 majuscule joined #salt
10:28 GnuLxUsr joined #salt
10:28 systemdave joined #salt
10:28 UForgotten joined #salt
10:28 Reverend netsplit. lol
10:29 jab416171 joined #salt
10:29 babilen joined #salt
10:29 APLU joined #salt
10:32 dariusjs joined #salt
10:32 jerrcs joined #salt
10:32 CustosLimen joined #salt
10:33 cliluw joined #salt
10:33 lero joined #salt
10:33 ronnix joined #salt
10:33 voxxit joined #salt
10:33 nineteen joined #salt
10:34 J0hnSteel joined #salt
10:34 ekkelett joined #salt
10:34 demize joined #salt
10:35 wiqd joined #salt
10:35 bmcorser joined #salt
10:35 monrad_ joined #salt
10:35 twodayslate joined #salt
10:35 shawnbutts joined #salt
10:35 copelco joined #salt
10:35 phtes_ joined #salt
10:35 johtso joined #salt
10:35 Salt_noobie joined #salt
10:36 mihait joined #salt
10:36 imanc joined #salt
10:36 lkannan joined #salt
10:36 simonmcc joined #salt
10:36 futuredale joined #salt
10:38 Freek joined #salt
10:38 CaptTofu joined #salt
10:39 mattl joined #salt
10:40 Kelsar joined #salt
10:40 kutenai joined #salt
10:41 WKNiGHT joined #salt
10:41 bVector joined #salt
10:41 munhitsu_ joined #salt
10:41 nineteen joined #salt
10:41 jas02 joined #salt
10:42 jas02 hemebond: Yes, keys are in accepted state
10:42 SteamWells joined #salt
10:42 hemebond Any customisation to the configurations?
10:42 Rumbles joined #salt
10:43 jas02 hemebond: "This salt-master instance has accepted 2 minion keys.", both minion1,2.
10:44 ramblinpeck joined #salt
10:45 hemebond jas02: Delete the minion1 key from the master, restart the minion and re-accept the key.
10:47 nahkiss joined #salt
10:48 Salt_noobie use require/require_in or onchanges
10:48 Salt_noobie how to use it if I have to take repo from not master ?
10:49 hemebond Salt_noobie: Those parameters are used to configure dependencies between Salt states.
10:49 hemebond I'm not sure what you mean by "repo not from master"?
10:49 Salt_noobie oh... sure
10:50 Salt_noobie please skip it )
10:50 hemebond Man, I really wanna just close some of the really old issues.
10:51 ToeSnacks joined #salt
10:51 Awesomecase joined #salt
10:52 nineteen joined #salt
10:55 bbhoss joined #salt
10:56 jas02 hemebond: It works for minion1, but now is unavailable minion2. I'll try to remove both keys at the same time and add them again
11:00 jas02 hemebond: I am trying to add random_reauth_delay: 60 to the minion's config. We'll see
11:01 nineteen joined #salt
11:05 jas02 hemebond: Not working. There is always just one working minion at the time. Some limit on master?
11:08 hemebond jas02: You deleted both the minion keys from the master and then re-accepted each?
11:08 hemebond I wonder if your keys are identical or something.
11:08 hemebond I have to head off to bed,
11:08 hemebond I'm sure someone else will be able to help you out.
11:09 hemebond I would try deleting the minion keys on the minion too, to force it to recreate them.
11:09 hemebond gnight
11:09 hemebond left #salt
11:11 nineteen joined #salt
11:14 traph joined #salt
11:17 narfology joined #salt
11:18 narfology Is there a way to validate yaml with Jinja on a build server? I would like to force pull requests for my gitfs salt repos and ideally at least validate the syntax automatically
11:18 narfology similar to how we do it with codew
11:20 nickadam joined #salt
11:27 jacekplacek joined #salt
11:31 nineteen joined #salt
11:34 kbaikov joined #salt
11:36 amcorreia joined #salt
11:40 nineteen joined #salt
11:41 kbaikov joined #salt
11:44 Yoda-BZH joined #salt
11:45 DarkKnightCZ Hi, since the netsplit is okay now, is it possible to set minion pillars programmatically somehow (something simmilar for pillar.set)? I cannot use external pillars since they're not propagated to syndic masters. Thanks
11:45 tongpu joined #salt
11:45 m4rk0 joined #salt
11:46 m4rk0 Hello
11:46 m4rk0 I want to use SMTP returner in Salt, where should I put smtp parameters on salt master server :D
11:48 maxstack joined #salt
11:49 DarkKnightCZ m4rk0: probably /etc/salt/master
11:49 maxstack Hey, does anyone know how to use cmd.run_bg in an SLS file? I can run it as a module but when I try to use it in a SLS file i get "State 'cmd.run_bg' was not found in SLS 'bla.bla'Reason: 'cmd.run_bg' is not available."
11:49 maxstack but salt-call cmd.run_bg 'sleep 20' returns fine:   pid:         30705
11:50 DarkKnightCZ maxstack: cmd.run_bg is execution module, so you cannot use it directly from state, use https://docs.saltstack.com/en/latest/ref/states/all/salt.states.module.html
11:51 nineteen joined #salt
11:51 maxstack DarkKnightCZ: thanks for pointing me in the right direction, I'll read up on your link
11:51 DarkKnightCZ you're welcome
11:57 ze- joined #salt
11:57 nkuttler joined #salt
11:58 m4rk0 According to this https://docs.saltstack.com/en/latest/ref/returners/all/salt.returners.smtp_return.html I must add smtp conf to every minion??
12:00 armin joined #salt
12:01 nineteen joined #salt
12:07 flowstate joined #salt
12:08 DarkKnightCZ m4rk0: i haven't really tested the smtp returner, but in general you can either configure each minion or set it to master which can then use it
12:08 dariusjs joined #salt
12:10 m4rk0 DarkKnightCZ, i just tried salt master with debug loglevel and it doesn't react on "--return smtp" switch, then I configure smtp on minion and tried to run salt-call from minion and it works :/
12:11 DarkKnightCZ it's possible it won't work for master... what if you try to add to master config this line?
12:11 DarkKnightCZ event_return: smtp
12:11 nineteen joined #salt
12:12 s_kunk joined #salt
12:14 edrocks joined #salt
12:19 ronnix joined #salt
12:20 misconfig joined #salt
12:26 DEger joined #salt
12:31 nineteen joined #salt
12:31 ivanjaros3916 joined #salt
12:32 numkem joined #salt
12:33 amontalban joined #salt
12:34 edrocks joined #salt
12:41 alvinstarr joined #salt
12:41 nineteen joined #salt
12:43 mapu joined #salt
12:45 ivanjaros joined #salt
12:48 nicksloan joined #salt
12:50 nineteen joined #salt
12:58 gmy joined #salt
13:00 Brew joined #salt
13:01 gmy_ joined #salt
13:01 mage_ is it possible to include a whole sls under a specific key?
13:06 m4rk0 DarkKnightCZ, event_return doesn't help on master... is there any other way to send (daily) reports from salt master? :/
13:11 nineteen joined #salt
13:19 vegasq joined #salt
13:20 nineteen joined #salt
13:29 scoates joined #salt
13:31 nineteen joined #salt
13:35 dariusjs joined #salt
13:38 racooper joined #salt
13:39 wiqd joined #salt
13:39 saltstackbot joined #salt
13:40 tcolvin joined #salt
13:40 nini_ joined #salt
13:41 nineteen joined #salt
13:48 DarkKnightCZ m4rk0: sorry, no idea then... you could use other event_returner and collect it from that source to generate reports
13:50 nineteen joined #salt
13:51 ronnix_ joined #salt
13:53 hasues joined #salt
13:53 hasues left #salt
13:54 ProT-0-TypE joined #salt
13:56 GordonTX joined #salt
13:58 ws2k3 joined #salt
14:00 NotBobDole joined #salt
14:00 nineteen joined #salt
14:03 DarkKnightCZ any ideas how to set pillars programmatically (i.e. something like pillar.set)? Since pillars are not propagated from master syndic node, i would need to grant connection from all syndic masters to pillar datastore, which is not exactly secure
14:03 flowstate can anyone do a sanity check on an event/reactor issue I'm having?
14:04 gtmanfred DarkKnightCZ: if you send the information from the master of masters, that should be the only one that needs the pillars.  There is no pillar.set, but there are external pillars that you could store them in redis or postgres or something like that
14:05 flowstate I'm watching the event bus, and I see that my event data has a field "target". However, when I try to use that field in my reactor, I get "SaltRenderError: Jinja variable 'dict object' has no attribute 'target'"
14:05 Tanta joined #salt
14:05 gtmanfred flowstate: know that the whole data payload that comes through is the {{data}object, so if target is inside of "data" in the payload on the event stream, you need to do {{data['data']['target']}}
14:06 flowstate ohhhhhhh
14:06 flowstate knew it was a sanity-check issue
14:06 flowstate thanks!!!
14:06 gtmanfred we just updated the docs tomake that more clear
14:06 gtmanfred and they might not be deployed yet
14:06 gtmanfred no problem
14:08 flowstate um, this is scary... "AttributeError: 'ReactWrap' object has no attribute 'salt'"
14:10 aagbds joined #salt
14:10 flowstate nvm, I don't think I'm calling the state I want correctly.
14:10 nineteen joined #salt
14:11 flowstate No disrespect at all to the open team, but ... whoo these reactor docs are a bit confusing
14:11 flowstate massive topic to try and condense into a single wiki page though, totally understand
14:12 DarkKnightCZ gtmanfred: yup, i know i can use external pillars (doing that now)... the problem is with the master of masters being part of system in one network and syndic masters could be in different networks (with for example unidirectional access), if i wanted that external pillar source to be available from all syndic masters, i would need to grant access to the single database (not really possible here)... so i came with 2 different solutions, first one is t
14:13 snc joined #salt
14:13 dylan joined #salt
14:13 gtmanfred youre message cut off at `first one is to`
14:13 dylan hi
14:13 DarkKnightCZ heh, first one is to have some module that will set the pillars on the syndic master for the specific host (but since this doesn't exists, I would need to write that - not entirely an issue, but i would need to determine the exact master it's connected to + handle all that filesystem stuff), second would be to create some sort of trusted proxy application (will fetch pillars and act as external pillar source - least favourite option)
14:14 dylan After i restart iptables service on CentOS salt-minion, it disconnects itself from master
14:15 dylan salt version salt 2016.3.1-2319-g5a792ca
14:15 gtmanfred dylan: that sounds like an error in configuring iptables, that drops active connections when it comes up
14:15 gtmanfred i have seen that before, but I doubt it is a salt problem
14:16 bad_ip joined #salt
14:17 dylan any idea to fix that?
14:17 gtmanfred DarkKnightCZ: both seem reasonable, unfortunately I do not have any environments which use syndics to even run into this problem :/
14:18 DarkKnightCZ gtmanfred: yeeah, i will probably implement the first solution and test if it's working fine... thanks, got to go now
14:18 gtmanfred dylan: last time i checked, it had something to do with changing the default on INPUT to DROP, and when i started just making the last rule a DROP, instead of the default policy drop, it solved itself
14:19 gtmanfred DarkKnightCZ: would be great to see that in upstream salt if you get it working :)
14:20 nineteen joined #salt
14:21 cyborg-one joined #salt
14:29 netcho hy all, i have this reactor for auto-accepting my minions... i obviuosly did smth wrong...
14:29 netcho https://paste.debian.net/872568/
14:29 netcho do i have to enable anything else in master config?
14:29 netcho thez are nit in the same file ofc...
14:30 fxdgear joined #salt
14:30 nineteen joined #salt
14:31 netcho or maybe there is a better way of doing this
14:31 dylan gtmanfred:yes,it will reconnect after a few minutes.if i want to run next cmd for saltmaster as soon as possible, i have to manually restart the minion service
14:32 gtmanfred yup
14:33 gtmanfred netcho: that looks like it should work... what is the error?
14:34 netcho no error, i just does not accpet it...
14:34 netcho it
14:34 gtmanfred check salt-run state.event pretty=True, and make sure you see the event, also put the master log to debug and make sure that there isn't an error with rendering the template for some reason
14:36 dylan no better way to solve it?just waiting? :(
14:37 netcho gtmanfred: https://paste.debian.net/872610/
14:37 netcho pub key is trimmed
14:38 gtmanfred dylan: your only way to solve it would be to fiddle with how your iptables are applied, one of the rules you are applying killing the live salt connection to the master
14:38 netcho key is in Unaccepted Keys:
14:38 gtmanfred truncating the key shouldn't matter
14:38 gtmanfred cause wheel.accept just accepts the minion by name
14:39 netcho no i trimmed it for smaller paste
14:39 gtmanfred ahh
14:39 gtmanfred run salt-master with -l debug, and see if the master has any errors about the reactor file not rendering correctly
14:39 gtmanfred or some other error
14:40 raspado joined #salt
14:41 nineteen joined #salt
14:41 ivanjaros joined #salt
14:41 dendazen joined #salt
14:41 tiwula joined #salt
14:42 dylan gtmanfred:but after i restarted iptables server,iuser 'netstat -anlp |grep 4505' to check ,the connection is still alive,
14:42 raspado joined #salt
14:43 raspado joined #salt
14:43 lompik joined #salt
14:45 dylan gtmanfred: and i run test.ping from master ,get  Minion did not return. [Not connected],though the connection seems still alive
14:45 gtmanfred it is not actually connected, iptables is dropping all packets from connections older than when you made the change
14:46 gtmanfred so the minion just hasn't timed out yet
14:46 flowstate joined #salt
14:47 m4rk0 Anyone else know how to collect daily highstate reports from salt master? Returner only work on minion side :/
14:48 tercenya joined #salt
14:50 gtmanfred you can make the returner work on the master side too? use an external job cache
14:50 gtmanfred m4rk0: https://docs.saltstack.com/en/latest/topics/jobs/external_cache.html
14:50 nineteen joined #salt
14:50 gtmanfred check out the master side cache
14:50 keltim joined #salt
14:52 dylan gtmanfred:okay,thanks gtmanfred :)
14:52 m4rk0 gtmanfred, I tried returner on master it doesn't process returner switch, I tried same on minion and it works... https://docs.saltstack.com/en/latest/ref/returners/all/salt.returners.smtp_return.html also refers to use on salt minion
14:52 m4rk0 gtmanfred, thanx for link i'll check it out
14:55 cosming joined #salt
14:55 fusionx86 joined #salt
14:56 ekristen joined #salt
14:57 narfology Is there a way to validate yaml with Jinja on a build server? I would like to force pull requests for my gitfs salt repos and ideally at least validate the syntax automatically like we do with code...
14:58 gtmanfred narfology: state.show_low_sls will render whichever sls you specify into low state data so that you know if it at least renders the states correctly
15:03 nineteen joined #salt
15:04 eightyeight joined #salt
15:07 armin joined #salt
15:10 DEger joined #salt
15:10 nineteen joined #salt
15:12 Kevin joined #salt
15:16 BlackBishop joined #salt
15:16 BlackBishop can I have the base env mapped to multiple merged remote gits ( on various branches ) ?
15:17 cosming joined #salt
15:19 edrocks joined #salt
15:21 nineteen joined #salt
15:23 CampusD joined #salt
15:23 Rasathus joined #salt
15:23 netcho gtmanfred: question before was a part of bigger one...
15:24 netcho i am using aws autoscaling and trying to accept keys from sqs
15:24 netcho here is debug log
15:24 netcho https://paste.debian.net/872734/
15:24 gtmanfred netcho: have you seen this? https://github.com/saltstack-formulas/ec2-autoscale-reactor
15:25 mohae joined #salt
15:25 onlyanegg joined #salt
15:26 CampusD Hi All, question, I am trying to check if a grain exists and whether it's set to True, would this do it? {% if grains['some-grain']  is defined and ['some-grain'] == True %}
15:26 gtmanfred salt can bootstrap the autoscaled minions
15:26 netcho yea i did
15:27 foundatron joined #salt
15:27 gtmanfred CampusD: {%- if grains.some-grain is defined and grains.some-grain == True %}
15:27 gtmanfred i believe you have to do the dot notation of dictionaries to use the `is defined` stuff
15:27 mpanetta joined #salt
15:27 gtmanfred or you could just do
15:28 CampusD oh, I see
15:28 gtmanfred {%- if grains.get('some-grain') is True %}
15:28 gtmanfred since it is a dictionary
15:28 lompik joined #salt
15:28 netcho gtmanfred: for this my master needs to be public
15:29 CampusD thanks gtmanfred, I'll give it a try
15:29 gtmanfred netcho: it would just need to get out, you could also hook it up to the salt sqs engine, and use the same states
15:29 gtmanfred and not have any public connections allowed in
15:29 netcho ia m using sqs negine here
15:29 netcho engine
15:29 netcho can u glance my log from above?
15:30 nineteen joined #salt
15:30 gtmanfred CampusD: if you are looking at having more than one .get on grains, you can also do salt.grains.get('this:that:those') instaed of grains.get('this', {}).get('that', {}).get('those')
15:30 gtmanfred using the salt grains.get module instead of the grains dictionary
15:31 gtmanfred netcho: what is the runner module `autoscaling.minion_connected`
15:31 m4rx joined #salt
15:31 gtmanfred it looks like it is saying `The minion is NOT ready for acceptance.`
15:31 mpanetta joined #salt
15:31 gtmanfred and then returning None
15:33 netcho gtmanfred: https://github.com/JensRantil/saltstack-autoscaling
15:33 netcho i am using this
15:34 Electron^- joined #salt
15:34 gtmanfred I would ask that guy for help then, or just change the reactor to do a wheel.accept instead of runner.autoscaling.minion_connected
15:34 gtmanfred unfortunately i have no idea what is going on in that repository
15:34 beowuff joined #salt
15:34 netcho lemme try
15:35 netcho thanks
15:37 sp0097 joined #salt
15:39 netcho gtmanfred: wheel.key.accept worked :D
15:39 gtmanfred awesome
15:39 netcho yeah
15:39 Satyajit joined #salt
15:39 netcho thanks
15:39 gtmanfred no problem!
15:40 nineteen joined #salt
15:44 UtahDave joined #salt
15:45 mavhq joined #salt
15:48 CampusD gtmanfred, the first option you suggested worked perfectly for this case, thanks for the help!
15:48 gtmanfred no problem
15:50 nineteen joined #salt
15:50 flowstate joined #salt
15:58 fusionx8_ joined #salt
16:01 nineteen joined #salt
16:04 m4rk0 Hello, please can You help me with this error? [WARNING ] Returner unavailable: 'smtp.get_load'
16:05 Aikar joined #salt
16:06 Aikar what is wrong with this? salt-call ini.set_option /etc/marketing.maint.ini "{maint: {enabled: 1, start: 'Foo', end: 'Bar'}}"   - I touched the file first (which i dont understand why it doesnt make the file itself) but still says "ini file not found"
16:06 Kevin joined #salt
16:07 noraatepernos joined #salt
16:08 foundatron joined #salt
16:10 nineteen joined #salt
16:10 m4rk0 gtmanfred, are you alive? :D
16:10 UtahDave m4rk0: are you trying to use the smtp return as a job cache?  How do you have it configured?
16:11 lero joined #salt
16:12 NotBobDole joined #salt
16:13 m4rk0 UtahDave, gtmanfred referred me to https://docs.saltstack.com/en/latest/topics/jobs/external_cache.html and I used ext_job_cache: smtp
16:14 rherna joined #salt
16:14 UtahDave Yeah, you can't use the smtp returner as an external job cache.
16:14 UtahDave an external job cache requires an actual database for the master to be able to query and insert data, which the smtp returner can't do
16:15 m4rk0 damn... I just want to get (daily) report from salt master on my email
16:16 UtahDave Aikar: I'm getting the same behavior you're seeing. Looks like it might be a bug. Even the example from the docs isn't working for me.
16:16 noraatepernos_ joined #salt
16:17 m4rk0 UtahDave, I can use Slack for this? As it's mentioned on that link?
16:17 m4rk0 nope :) [WARNING ] Returner unavailable: 'slack.get_load'
16:19 gtmanfred m4rk0: it needs to be queryable, so check any of the database ones in the returners
16:19 gtmanfred or check for the get_load function in the code
16:19 UtahDave nope.  An external job cache has to be some kind of data store the master can query
16:19 Aikar ugh, i need to manage ini file by cli as its part of a maintenance mode (if that wasnt already obvious) and I need the start/end times to be passed into the script
16:19 gtmanfred m4rk0: then have a script that queryies over the job cache and send the email or slack update, and run that with the salt scheduler is how I would do it
16:19 UtahDave Aikar: yeah, I'm not sure what's going on there. I'm browsing the code, but I think we need to open up an issue.
16:20 nineteen joined #salt
16:20 UtahDave Aikar: would you mind opening an issue on that?
16:20 edrocks joined #salt
16:20 m4rk0 gtmanfred, UtahDave thanx for advices!
16:20 UtahDave m4rk0: I'd do what gtmanfred suggests. Either a script or a salt runner
16:21 gtmanfred :)
16:21 m4rk0 script it is! :D
16:22 Aikar salt-call cmd.run "echo -e \"[maint]\nenabled=1\nstart='Foo'\nend='Bar'\" > /etc/marketing.maint.ini"
16:22 Aikar guess ill have to go with this lol
16:22 noraatepernos joined #salt
16:24 UtahDave Aikar: :(
16:24 CeBe1 joined #salt
16:24 jacekplacek joined #salt
16:26 pipps joined #salt
16:27 Rasathus_ joined #salt
16:29 gtmanfred if the file exists with just [maint] in it, does the ini_manage work?
16:31 nineteen joined #salt
16:31 UtahDave gtmanfred: I just tested it.  ini.set_option fails saying the ini file doesn't exist no matter what you do.  Even using the exact cli example in the docs
16:33 gtmanfred weird
16:37 woodtablet joined #salt
16:38 Salander27 joined #salt
16:38 Rasathus joined #salt
16:40 nineteen joined #salt
16:40 Electron^- joined #salt
16:40 samodid joined #salt
16:46 daemonkeeper joined #salt
16:47 averell joined #salt
16:47 mortis joined #salt
16:48 giany joined #salt
16:51 nineteen joined #salt
16:51 baikal joined #salt
16:51 BlackMaria joined #salt
16:52 subsignal joined #salt
16:55 Edgan joined #salt
16:55 DaveQB joined #salt
17:01 capn-morgan joined #salt
17:01 Rasathus_ joined #salt
17:02 nineteen joined #salt
17:02 m4rk0 joined #salt
17:02 Rasathus joined #salt
17:06 mikecmpbll joined #salt
17:09 APLU joined #salt
17:09 nineteen joined #salt
17:13 lero joined #salt
17:17 flowstate joined #salt
17:19 nineteen joined #salt
17:20 knikolov joined #salt
17:23 subsignal joined #salt
17:23 Rasathus_ joined #salt
17:25 ccard_ joined #salt
17:28 cyteen joined #salt
17:30 nineteen joined #salt
17:40 nineteen joined #salt
17:44 toastedpenguin joined #salt
17:48 sp0097 left #salt
17:49 DarkKnightCZ joined #salt
17:50 nineteen joined #salt
17:51 vaelen joined #salt
17:54 Kevin joined #salt
17:59 cosming joined #salt
18:00 nineteen joined #salt
18:02 DarkKnightCZ joined #salt
18:10 keimlink joined #salt
18:11 nineteen joined #salt
18:12 Sketch hmm, is it possible to set a variable in a state and pass that to jinja used in file.managed?
18:15 Gareth Sketch: You can set a variable using jinja {% set variable="value' %} then pass variable along using {{ variable }}
18:15 Gareth Sketch: using the context option for file.managed.
18:16 subsignal joined #salt
18:16 Sketch aha, cool
18:17 Gareth first example here shows using context https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html
18:17 Sketch yeah, was just reading that (and in fact, i'm looking at using it for http.conf files for vhosts...)
18:19 nineteen joined #salt
18:24 haam3r joined #salt
18:25 DarkKnightCZ joined #salt
18:26 NotBobDole joined #salt
18:29 racooper Howdy. I'm looking at a situation where a file on a minion is updated by a local service, that then needs to be copied to other minions.  Are there any examples of this type of setup?  I would presume it would use beacons and reactors, but I haven't found a good example of this particular setup.
18:31 pipps joined #salt
18:33 PerilousApricot joined #salt
18:34 knikolov joined #salt
18:34 mikecmpbll joined #salt
18:35 pipps_ joined #salt
18:37 XenophonF can you use mine to read the contents of the file into a variable that gets deployed to other minions?
18:37 fusionx86 joined #salt
18:39 nineteen joined #salt
18:44 mapu joined #salt
18:46 DarkKnightCZ joined #salt
18:46 mikecmpbll joined #salt
18:47 racooper possibly...but one of the files I have to do this with is 38Mb, not sure if that would be an issue. let me look at mine docs.
18:49 Tanta racooper, have the machine that generates the config put it in a central location, like S3 or a file share, then use Salt to specify the path and checksum, and download
18:49 PerilousApricot joined #salt
18:50 Tanta other ideas: https://en.wikipedia.org/wiki/GlusterFS -- use a synchronizing shared mount point to contain the config
18:50 saltstackbot [WIKIPEDIA] GlusterFS | "GlusterFS is a scale-out network-attached storage file system. It has found applications including cloud computing, streaming media services, and content delivery networks. GlusterFS was developed originally by Gluster, Inc. and then by Red Hat, Inc., as a result of Red Hat acquiring Gluster in 2011..."
18:51 whytewolf could also config ssh between the hosts and push with scp
18:51 DarkKnightCZ In Syndic setup, is it possible to safely get information to which master node minion is connected? I know it's possible to obtain that info from grains, but it could be overridden by minion, so not safe at all. Thanks
18:51 whytewolf set up rsync server and use rsync to push
18:52 mavhq joined #salt
18:53 whytewolf DarkKnightCZ: see if https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.config.html#salt.modules.config.get helps get that info
18:53 racooper hrm. several interesting ideas to look at.
18:56 Tanta this is classic sysadmin problem solving
18:56 Tanta salt just makes it easier
18:59 nineteen joined #salt
19:01 DarkKnightCZ whytewolf: hmm, that is as insecure as obtaining grains in my option, if you have two minions and set record in /etc/hosts to 'masterip my-first-minion' then you get 'my-first-minion' via config.get master, although the master is different... so not exactly the safe way to do that
19:02 DarkKnightCZ it would also be satisfiable if it was possible to get details from each master if the minion is connected there (salt-key isn't possible due to syndic setup)
19:03 whytewolf grep netstat on the masters? till you find a minion that is connecting?
19:04 DarkKnightCZ well, i would leave grepping the output of salt-key (better than netstat since contains minion-id) as last option, if there isn't any better way
19:05 dps joined #salt
19:06 sjorge joined #salt
19:06 sjorge joined #salt
19:06 whytewolf i would think the stats in manage would be better. but every command i try for them is coming back as not implimented
19:09 Trauma joined #salt
19:12 nineteen joined #salt
19:13 knikolov joined #salt
19:13 PerilousApricot joined #salt
19:18 subsignal joined #salt
19:19 nineteen joined #salt
19:24 flowstate joined #salt
19:24 sinistrad joined #salt
19:25 lero joined #salt
19:29 jenastar joined #salt
19:29 nineteen joined #salt
19:31 m4rx joined #salt
19:31 sjorge joined #salt
19:31 sjorge joined #salt
19:32 pb_ joined #salt
19:33 khaije1 joined #salt
19:34 flowstate joined #salt
19:39 pipps joined #salt
19:39 nineteen joined #salt
19:42 Kevin joined #salt
19:44 m4rx joined #salt
19:46 noraatepernos joined #salt
19:46 DarkKnightCZ How to properly use runner modules via cherrypy API? curl -sSk http://localhost:8000/ -H 'Accept: application/x-yaml' -H 'X-Auth-Token: MYTOKEN' -d fun=manage.alived -d tgt='*' -d client=runner     return empty array, while 'salt-run manage.alived' returns bunch of minions
19:46 DarkKnightCZ aah
19:46 DarkKnightCZ doesn't work for syndics
19:47 DarkKnightCZ is it possible to invoke these methods on syndics from master of masters?
19:47 oida joined #salt
19:49 nineteen joined #salt
19:50 pipps joined #salt
19:51 mike25de joined #salt
19:51 * mike25de hi everyone
19:51 krymzon joined #salt
19:51 orionx joined #salt
19:53 hemebond joined #salt
19:53 pb_ joined #salt
19:56 oida joined #salt
19:56 pb_ Hey guys. quick question. I've scheduled a runner on a salt master, however I'm looking for a way to validate the runner is indeed scheduled to be executed. Is there a way to query scheduled runner executions, to validate my own in the list?
19:58 pb_ I can see it being executed via events, but I'm my use case here is how to validate a scheduled runner in a test framework. Possibly a way via CLI  to query what's scheduled?
19:59 nineteen joined #salt
20:00 pb_ I've looked through the documented runner modules, however I do not see one that interfaces with things scheduled on the master.
20:01 armin joined #salt
20:02 pipps joined #salt
20:05 UtahDave pb_: It doesn't seem like there is.  There is for a minion, though:  https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.schedule.html#salt.modules.schedule.list
20:06 pb_ I was afraid so. But thank you very much UtahDave for the clarification. I appreciate it
20:07 UtahDave you're welcome.  That seems like an oversight to me. I'd recommend adding an issue on the github tracker requesting it.
20:10 flowstate joined #salt
20:11 nineteen joined #salt
20:15 cyteen joined #salt
20:17 aditya joined #salt
20:17 hacks joined #salt
20:18 johtso joined #salt
20:18 aditya hello there - can someone tell me what API I can use to interact with a salt master remotely - instead of sshing to the machine which runs the salt-master and executing commands locally on it, I'd like a python api that I run on my dev box to connect remotely to the salt-master and make API calls to create/delete instances
20:18 aditya https://docs.saltstack.com/en/develop/ref/clients/index.html#sshclient
20:19 pb_ will do!
20:19 aditya that page i linked to isnt very clear https://docs.saltstack.com/en/develop/ref/clients/index.html#sshclient, seems I still need to ssh to the salt-master?
20:20 DarkKnightCZ aditya: you could use REST API https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html
20:20 nineteen joined #salt
20:22 pb_ joined #salt
20:23 m4rx_ joined #salt
20:24 aditya interesting, thanks DarkKnightCZ - that looks promising, I can definitely look into that, I just wanted to confirm that there's no boto like API, with this rest API I would have to make my own python requests library calls, correct?
20:25 DarkKnightCZ well, there is pepper (https://github.com/saltstack/pepper ), which acts as simple wrapper (you still need to know what you want to do via the API), but the basics are there
20:26 oida joined #salt
20:28 aditya ok cool - yup that looks promising too, thanks a lot, I think I have enough to get started; have a great day DarkKnightCZ :)
20:28 aditya c u
20:29 edrocks joined #salt
20:29 nineteen joined #salt
20:33 PerilousApricot joined #salt
20:36 mpanetta joined #salt
20:36 _JZ_ joined #salt
20:36 curio joined #salt
20:37 curio I'm trill trying to wrap my head around why my state is re-downloading the same ~220 meg file every salt run-- despite specifying - source_hash
20:38 curio anyone have any pointers here? it's salt 2016.3.1; file.managed with just name, source, source_hash specified
20:40 curio the file module seems pretty hairy :/
20:40 hemebond Downloading from the salt master?
20:41 curio no, http://
20:41 hemebond Oh...
20:41 hemebond Well how is it supposed to know if the file has changed?
20:41 curio because I'm supplying the source_hash, and there is already a cached version of the same file from the last run
20:42 hemebond Isn't that just to make sure the file downloaded is really the one you want?
20:42 nineteen joined #salt
20:43 curio well here: what I really want is to not have to redownload this file every run. If using source, source_hash of file.managed is not the way to go about that, what is?
20:44 hemebond Probably a version number in the filename/URL.
20:44 hemebond Hmm, but then how do you check that you already have that version....
20:44 curio I already have that
20:44 hemebond I think I used a cmd.run to wget the file.
20:44 hemebond Then I just check if I already have the file.
20:44 * curio sigh
20:45 whytewolf curio: download the file to your salt master and push with salt:// using http:// it will never know if the file is a new file with out downloading [source_hash is only for verification and security, not for versioning]
20:46 curio the behaviour I'd expect is that if I supply a source_hash, for a truely remote file (non-local and non-salt://), the minion will check the supplied checksum against the location in the local extern_file cache where it /would/ download the file.
20:47 ekristen joined #salt
20:47 curio but instead, it seems to be 'recaching' it every run
20:47 hemebond But how would it know it has the latest file?
20:47 hemebond The HTTP protocol needs to be enhanced with etags or something.
20:47 hemebond Or even just a modified-since.
20:48 whytewolf the source_hash is not used for verification of the existing file. it is used to make sure the downloaded file is the correct file.
20:48 hemebond That would prevent unnecessary downloading.
20:49 nineteen joined #salt
20:50 curio joined #salt
20:51 wwalker left #salt
20:51 curio Okay, so the 'correct' way to avoid redownloading this file is to use cmd.run to do my checksum verification/file downloading?
20:51 whytewolf or to not use http and instead use salt://
20:52 hemebond If you can't put the file on the Salt Master to make use of its verification, yeah.
20:52 whytewolf [by pushing the file to the sale master]
20:52 DarkKnightCZ is it possible to target pillars in top.sls with wildcards? e.g. using 'server-*' to use all server-*.sls for specific minion?
20:52 hemebond Oh, you could even send through the modified time for the file you have.
20:52 hemebond Oh, I think wget probably does that by default.
20:52 pipps joined #salt
20:53 hemebond DarkKnightCZ: Yes
20:53 curio the whole point of using http:// is so that I can take advantage of a CDN
20:53 hemebond Wait, no.
20:53 hemebond Okay, then you'll have to do your own checking there. I'll have a quick look at the issues to see if anyone has raised this.
20:53 curio my salt-master is not a CDN
20:54 jhauser joined #salt
20:55 whytewolf how many hosts are you pushing this file to that you need a cdn for that transfer?
20:55 curio ~257 in 170+ geos
20:56 curio the ones in hong kong shouldn't need to pull this file from the salt-master in the US
20:56 edrocks joined #salt
20:56 whytewolf syndic,
20:58 dps joined #salt
20:59 lero joined #salt
20:59 nineteen joined #salt
21:00 whytewolf there is another way. save the source_hash in a file on the server. and use jinja to determin if the new hash is different then the one save in the file. if it is expose the file.managed state
21:00 whytewolf [jinja not included]
21:01 Aleks3Y joined #salt
21:02 subsignal joined #salt
21:04 DarkKnightCZ what is the most lightweight and flexible external pillar source when used with a lot of data for lot of minions? redis with minion_id=serialized_json pairs?
21:09 UtahDave DarkKnightCZ: I'd suggest whichever database your team has the expertise to manage and scale.
21:09 nineteen joined #salt
21:10 DarkKnightCZ UtahDave: okay, redis it is... more resource-hungry database isn't really an option as this has to run on every syndic node since master of masters doesn't propagate pillars from its source
21:12 curio DarkNightCZ, UtahDave: sqlite on a ramdisk :P
21:15 DarkKnightCZ curio: yeeah, another possibility :)
21:15 raspado joined #salt
21:16 UtahDave lol, there you go
21:20 nineteen joined #salt
21:21 bryang joined #salt
21:22 nsidhu joined #salt
21:28 nineteen joined #salt
21:30 hemebond curio: Are you able to see the query sent to your HTTP server?
21:31 curio I'm using sha256sum to compare the file in an 'unless:' clause and that seems to work
21:31 hemebond Okay.
21:31 curio " unless: echo '{{ versions.installer.sha256 }} {{ installer_path }}' | sha256sum -c --quiet "
21:33 heaje joined #salt
21:34 Rasathus joined #salt
21:38 DarkKnightCZ joined #salt
21:39 nineteen joined #salt
21:41 hemebond curio: Can you not just let wget take care of that?
21:41 Deliant joined #salt
21:42 hemebond Does cmd.run wget return a change causing other states to run?
21:42 lero joined #salt
21:43 iggy curio: I think there's an issue open about the same thing... might check to see what other workarounds (or status of a fix)
21:44 curio iggy: https://github.com/saltstack/salt/pull/34010 ?
21:44 saltstackbot [#34010][MERGED] Do not cache remote files if they are already cached | Unless the source_hash does not match, this will keep remote files from...
21:45 iggy it has the issue there too
21:45 iggy looks like what you need
21:46 samodid joined #salt
21:46 curio drat, looks like 2016.3.1 got cut that day-- but too late
21:47 curio I think that fix would be in 2016.3.2+?
21:47 iggy I was trying to find that
21:48 nineteen joined #salt
21:48 wt0f joined #salt
21:49 iggy yeah, 2016.3.2+
21:55 nidr0x joined #salt
21:59 nineteen joined #salt
21:59 flowstate joined #salt
22:03 edrocks joined #salt
22:04 pipps joined #salt
22:09 nineteen joined #salt
22:17 gmy joined #salt
22:17 surge_ joined #salt
22:19 nineteen joined #salt
22:19 surge_ Is it necessary to update the hash_type on the minion as well as the master? Or is it enough to update just on the master .
22:20 hemebond I think the minion needs it set too.
22:20 hemebond In fact I think the minion logs a warning if you don't set the hash type to sha256
22:21 flowstate joined #salt
22:22 surge_ yeah i was trying to address that same warning from the master
22:22 surge_ k thanks
22:23 surge_ Now I wonder if I can tell the minion to update the file and restart the salt minion without having the state time out haha
22:24 samodid joined #salt
22:25 ProT-0-TypE joined #salt
22:25 whytewolf surge_: for restarting the minion without the state timeout https://docs.saltstack.com/en/latest/faq.html#linux-unix
22:26 ProT-0-TypE joined #salt
22:27 surge_ whytewolf: oh, nice
22:33 sh123124213 joined #salt
22:35 justanotheruser joined #salt
22:40 nineteen joined #salt
22:49 nineteen joined #salt
22:53 samodid joined #salt
23:01 nineteen joined #salt
23:02 Rasathus_ joined #salt
23:07 aidin joined #salt
23:08 nineteen joined #salt
23:09 Rasathus joined #salt
23:13 Rasathus joined #salt
23:15 vegasq joined #salt
23:19 nineteen joined #salt
23:24 PerilousApricot joined #salt
23:24 flowstate joined #salt
23:25 Klas joined #salt
23:27 fusionx8_ joined #salt
23:29 nineteen joined #salt
23:37 nineteen joined #salt
23:38 pipps99 joined #salt
23:43 Morrolan joined #salt
23:48 nineteen joined #salt
23:50 nicksloan joined #salt
23:55 raspado joined #salt
23:59 flowstate joined #salt

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary