Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-12-07

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

All times shown according to UTC.

Time Nick Message
00:03 otter768 joined #salt
00:04 akhter joined #salt
00:07 akhter joined #salt
00:10 edrocks joined #salt
00:16 dyasny joined #salt
00:21 AdamSewell joined #salt
00:23 JDiPierro joined #salt
00:25 AdamSewell what is the proper way to install a custom package on windows with salt?
00:27 pbx_ joined #salt
00:28 akhter joined #salt
00:35 keimlink_ joined #salt
00:36 spuder joined #salt
00:38 akhter joined #salt
00:50 ssplatt joined #salt
00:55 yomilk joined #salt
00:55 brianfeister joined #salt
01:01 dstokes joined #salt
01:01 wolfpack joined #salt
01:07 hemebond AdamSewell: I started using Chocolatey. Bu there is a way to setup, within Salt, a packaging system for Windows.
01:08 hightekvagabond joined #salt
01:17 scoates joined #salt
01:27 akhter joined #salt
01:28 spuder joined #salt
01:31 RobertChen117 joined #salt
01:45 otter768 joined #salt
01:46 jaybocc2 joined #salt
02:02 jaybocc2 joined #salt
02:08 akhter joined #salt
02:24 RobertChen117 joined #salt
02:25 catpiggest joined #salt
02:28 diegows joined #salt
02:30 RobertChen117 how to get the resource dependancies graph ? for detecting resource dependancy deadlock loop
02:34 ageorgop1 joined #salt
02:34 kshlm joined #salt
02:36 shaggy_surfer joined #salt
02:37 PeterO joined #salt
02:38 mapu joined #salt
02:39 tpaul joined #salt
02:41 racooper joined #salt
02:45 brianfeister joined #salt
02:47 ilbot3 joined #salt
02:47 Topic for #salt is now Welcome to #salt | 2015.8.1 is the latest | Please use https://gist.github.com for code, don't paste directly into the channel | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
02:51 jondonas joined #salt
02:56 quasiben joined #salt
03:04 InAnimaTe joined #salt
03:06 akhter joined #salt
03:06 TyrfingMjolnir joined #salt
03:07 brianfeister joined #salt
03:07 lompik joined #salt
03:09 colegatron joined #salt
03:13 Sucks joined #salt
03:14 brianfeister joined #salt
03:14 tristianc joined #salt
03:20 bhosmer_ joined #salt
03:37 cyteen joined #salt
03:38 otter768 joined #salt
03:40 malinoff joined #salt
03:44 evle joined #salt
03:52 nafg_ joined #salt
03:53 clintberry joined #salt
03:56 Sucks joined #salt
04:00 favadi joined #salt
04:06 colegatron joined #salt
04:08 quasiben joined #salt
04:08 jjasinski_ joined #salt
04:18 shaggy_surfer joined #salt
04:30 mohae_ joined #salt
04:37 malinoff joined #salt
04:38 felskrone joined #salt
04:58 keimlink joined #salt
04:59 cyteen_ joined #salt
05:00 RobertChen117 joined #salt
05:05 brianfeister joined #salt
05:09 stooj_ joined #salt
05:16 rdas joined #salt
05:25 kshlm joined #salt
05:46 burp_ joined #salt
05:47 RobertChen117 joined #salt
05:47 racooper joined #salt
05:48 Vaelatern joined #salt
05:49 mapu joined #salt
05:49 astaebler joined #salt
05:52 hasues joined #salt
05:52 hasues left #salt
05:54 favadi joined #salt
05:55 bosyak_ joined #salt
06:06 SeVenSiXseVeN joined #salt
06:07 PeterO joined #salt
06:08 RobertChen117 joined #salt
06:11 RobertChen117 joined #salt
06:15 hightekvagabond joined #salt
06:22 RobertChen117 joined #salt
06:33 jhauser joined #salt
06:38 cro joined #salt
06:45 larsfronius joined #salt
06:52 auzty joined #salt
06:53 subsignal joined #salt
06:53 subsigna_ joined #salt
06:54 brianfeister joined #salt
06:56 irctc935 joined #salt
06:56 irctc935 Hi
06:57 pppingme joined #salt
07:07 tongpu joined #salt
07:12 sepisoad joined #salt
07:17 brianfeister joined #salt
07:22 rotbeard joined #salt
07:25 tbaker57 joined #salt
07:32 hojgaard joined #salt
07:33 linjan_ joined #salt
07:34 hojgaard in a salt state can i use something like if subnet == 10.30.76.0/22, then something?
07:36 sepisoad left #salt
07:36 bosyak_ joined #salt
07:37 whytewolf hojgaard: {% if salt.network.in_subnet('10.30.76.0/22') %} state stuff {%endif%} not tested, but that should work. https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.network.html#salt.modules.network.in_subnet
07:41 hojgaard whytewolf. That's cool. You can do everything you can think with salt :D
07:42 beardedeagle Ugh finally finished with this thing: https://forge.puppetlabs.com/beardedeagle/salt
07:42 whytewolf hojgaard: almost. some things get timey whimey and need to be rethought
07:42 beardedeagle yay, new puppet module to install all things salt, and runs on current version of salt as well.
07:43 whytewolf puppet to install salt. what are you installing puppet with chef?
07:44 AndreasLutro joined #salt
07:49 mattiasr joined #salt
07:51 colttt_ joined #salt
07:51 mapu joined #salt
07:52 av___ joined #salt
07:55 sgargan joined #salt
07:57 dkrae joined #salt
07:58 babilen whytewolf: It's provisioning systems all the way down
08:00 whytewolf I was just joking
08:01 saltstackbot [reddit-saltstack] How many rules do one of your servers have? https://www.reddit.com/r/saltstack/comments/3vrmmz/how_many_rules_do_one_of_your_servers_have/ - 2015-12-07 - 07:57:50
08:03 colttt joined #salt
08:08 beardedeagle @whytewolf: I wrote a core provisioning platform that handles CICD from start to finish. Company wants to turn it into a service for all dev teams. Unfortunately the team that does that only speaks puppet. I published a generic version publicly in case someone finds it helpful.
08:08 beardedeagle platform I wrote is all salt
08:09 beardedeagle and at least chef would let me write ruby directly in my cookbooks, unlike puppet.
08:14 RobertChen117 joined #salt
08:15 beardedeagle our openstack instances are bundled with masterless puppet, so I assume that is also why they want it.
08:18 keimlink joined #salt
08:19 jamesp9 joined #salt
08:20 rotbeard joined #salt
08:33 Guest47941 joined #salt
08:34 kbaikov joined #salt
08:34 Grokzen joined #salt
08:37 eseyman joined #salt
08:40 GreatSnoopy joined #salt
08:46 gnord joined #salt
08:46 bluenemo joined #salt
08:55 slav0nic joined #salt
09:00 tmmt joined #salt
09:04 JonGretar joined #salt
09:06 RobertChen117 joined #salt
09:17 denys joined #salt
09:20 bazarov joined #salt
09:20 s_kunk joined #salt
09:20 s_kunk joined #salt
09:21 chiui joined #salt
09:24 s_kunk_ joined #salt
09:26 s_kunk joined #salt
09:27 sfxandy joined #salt
09:35 Joren__ joined #salt
09:36 ziro` joined #salt
09:36 N-Mi joined #salt
09:36 N-Mi joined #salt
09:38 acsir joined #salt
09:43 tmmt_ joined #salt
09:44 larsfronius joined #salt
09:48 larsfron_ joined #salt
09:52 Rockj joined #salt
09:53 mapu joined #salt
09:55 LondonAppDev joined #salt
10:00 Xevian joined #salt
10:02 armyriad joined #salt
10:02 LondonAppDev joined #salt
10:03 giantlock joined #salt
10:04 Grokzen Hi. Is there a plan/target for what month the next major release will be done?
10:09 colegatron joined #salt
10:10 thalleralexander joined #salt
10:16 DanyC joined #salt
10:18 burp_ joined #salt
10:25 smkelly joined #salt
10:26 dabb joined #salt
10:26 qman__ joined #salt
10:26 rideh joined #salt
10:29 giantlock joined #salt
10:30 nafg joined #salt
10:32 armguy joined #salt
10:33 bryguy joined #salt
10:33 traph joined #salt
10:33 traph joined #salt
10:38 kawa2014 joined #salt
10:39 kuromagi joined #salt
10:41 RobertChen117 joined #salt
10:41 tbaker57 joined #salt
10:42 bryguy joined #salt
10:43 DanyC hi all, how do you guys installed boto module on centos 6 (which has python 2.6) ?
10:44 kuromagi joined #salt
10:44 rideh joined #salt
10:44 zer0def joined #salt
10:44 DanyC cause it seems boto needs python 2.7 hence i guess i can't do much with 2.6, or am i wrong?
10:47 acsir Hi, sorry but I'm getting really stuck with the formula dependency.
10:47 acsir I'm trying to write a formula in which I would like to reuse (as a dependency) another formula. The problem is that, in order to use the dependent formula,  I would need also to set also some pillars in it. Is there a way to push the pillar configuration of the dependency formula from the chief one (without requiring to add any pillar)?
10:49 chrischris joined #salt
10:49 kuromagi joined #salt
10:50 traph joined #salt
10:50 traph joined #salt
10:53 rideh joined #salt
10:54 amcorreia joined #salt
10:56 felskrone joined #salt
11:00 yomilk joined #salt
11:07 tbaker57 @DanyC - boto2 can be installed from epel (package python-boto). If you want boto3, you need to install python-pip rpm then 'pip install boto3'
11:08 DanyC thanks tbaker57 !
11:08 tbaker57 @DanyC - this works on Centos/RHEL6 (python 2.6)
11:08 DanyC tbaker57: that is what i need
11:09 tbaker57 left #salt
11:10 AndreasLutro joined #salt
11:13 cyteen_ joined #salt
11:25 kawa2014 joined #salt
11:40 Striki joined #salt
11:57 calvinh joined #salt
12:00 ingslovak joined #salt
12:06 flyboy82 joined #salt
12:11 hhee joined #salt
12:11 justanotheruser joined #salt
12:11 flyboy82 hey guys. anyone here succeeded when using file.replace, to have the "pattern" being replaced with itself plus some other lines?
12:14 culexor joined #salt
12:20 denys joined #salt
12:23 akhter joined #salt
12:25 denys joined #salt
12:26 justanotheruser joined #salt
12:30 linjan_ joined #salt
12:31 akhter joined #salt
12:35 ziro` joined #salt
12:41 armguy joined #salt
12:44 acsir joined #salt
12:48 shorty_mu1 joined #salt
12:48 fredvd joined #salt
12:48 linjan_ joined #salt
12:49 shorty_mu1 Hi all, I'm struggling with Jinja and casting to "int": https://gist.github.com/bemeyert/f55c6ff6b28fd62c1d71 Where is the "u" coming from? Can anyone give me a hint what's happening here?
12:51 favadi joined #salt
12:59 yomilk joined #salt
13:03 jeddi joined #salt
13:03 babilen shorty_mu1: It is being cast to unicode .. try appending |str in the first line
13:04 babilen .oO( Isn't jinja wonderful? )
13:08 fxhp joined #salt
13:14 quasiben joined #salt
13:15 emaninpa joined #salt
13:21 tongpu joined #salt
13:26 evle joined #salt
13:29 linjan_ joined #salt
13:30 shorty_mu1 babilen: |str fails & |string() won't help in line 1.
13:36 mrbobbytables_ joined #salt
13:41 KermitTheFragger joined #salt
13:44 xenoxaos joined #salt
13:44 subsignal joined #salt
13:46 AdamSewell joined #salt
13:53 TooLmaN joined #salt
13:56 evle2 joined #salt
13:57 toastedpenguin joined #salt
13:59 teryx510 joined #salt
14:00 cpowell joined #salt
14:01 subsignal joined #salt
14:01 cpowell joined #salt
14:03 dendazen joined #salt
14:03 malinoff joined #salt
14:03 dyasny joined #salt
14:05 cyteen_ joined #salt
14:05 DammitJim joined #salt
14:06 toastedpenguin joined #salt
14:08 numkem joined #salt
14:08 DammitJim anyone work with iptables? for some reason the changes aren't sticking after a reboot of the minion even though I have the save: True parameter in my state
14:09 ziro` joined #salt
14:09 edrocks joined #salt
14:10 Norrland DammitJim: where have you saved the rules to?
14:13 viq joined #salt
14:15 DammitJim Norrland, I'm relying on salt to do that on the minion
14:15 DammitJim or am I incorrect in assuming that?
14:15 sjohnsen joined #salt
14:16 DammitJim I don't see a salt state to save iptables when one adds a rule
14:16 AndreasLutro maybe it saves it but doesn't restore it on boot?
14:17 bemehow joined #salt
14:17 toastedpenguin joined #salt
14:17 DammitJim weird
14:17 Norrland hm not sure.
14:18 JDiPierro joined #salt
14:20 mrbobbytables DammitJim: what platform?
14:20 DammitJim ubuntu GNU/Linux
14:22 ingslovak I remember filing a similar issue - when you boot the system, the kernel modules handling for iptables' tables are not loaded by default. They only get loaded upon the first invocation of "iptables" for a particular table (nat, mangle ...)
14:22 DammitJim I need to learn if /sbin/iptables-save is the same as service iptables save
14:23 mrbobbytables only other thing I could think of is ufw causing issues
14:23 s0undt3ch_ joined #salt
14:23 mrbobbytables it theoretically shouldn't (AFAIK)
14:23 DammitJim right
14:23 ingslovak BUT, the salt iptables module doesn't take that lazy loading into account and tries to save/load rules without the kernel modules being loaded
14:23 AndreasL1tro joined #salt
14:23 Lionel_Debroux joined #salt
14:23 felskrone joined #salt
14:24 DammitJim oh, this might be an ubuntu issue
14:25 chamunks joined #salt
14:26 ingslovak I found the report, have a look whether you're in the same situation https://github.com/saltstack/salt/issues/24981
14:26 saltstackbot [#24981]title: salt.modules.iptables.get_policy returns None until iptables is run manually | If iptables hasn't been "initialized" on the target server, for example by "iptables -L", the _parse_conf() function tries to save iptables state and parse its output expecting the `iptables-save` to return valid rules:...
14:29 afics joined #salt
14:29 akoumjian joined #salt
14:31 bVector_ joined #salt
14:31 emaninpa joined #salt
14:33 favadi joined #salt
14:38 chiui joined #salt
14:38 spuder joined #salt
14:39 AlberTUX joined #salt
14:40 numkem joined #salt
14:42 bemehow_ joined #salt
14:42 goki joined #salt
14:43 ggoZ joined #salt
14:45 perfectsine joined #salt
14:45 marsdominion joined #salt
14:45 marsdominion joined #salt
14:46 JDiPierro joined #salt
14:46 adelcast joined #salt
14:48 DanyC joined #salt
14:48 otter768 joined #salt
14:50 protoz joined #salt
14:51 DanyC Hi, anyone nows how to install a specific version of salt using bootstrap-salt.sh but not using form git? I'm running on Centos and so would prefer to do it via rpm. currently i'm doing bootstrap-salt.sh
14:52 favadi joined #salt
14:52 andrew_v joined #salt
14:55 denys joined #salt
14:56 Striki joined #salt
14:56 borgstrom joined #salt
14:57 MadsRC joined #salt
14:58 ALLmightySPIFF joined #salt
15:01 timoguin joined #salt
15:01 DanyC joined #salt
15:01 shorty_mu1 left #salt
15:01 DanyC and the options "stable" in bootrstap-salt.sh doesn't apply for Centos distro - grrr
15:04 Brew joined #salt
15:04 kaptk2 joined #salt
15:05 justanotheruser joined #salt
15:06 mpanetta joined #salt
15:07 zmalone joined #salt
15:07 timoguin joined #salt
15:08 FreeSpencer joined #salt
15:08 FreeSpencer joined #salt
15:15 pmcnabb joined #salt
15:16 qman__ joined #salt
15:19 DammitJim joined #salt
15:22 toastedpenguin joined #salt
15:26 Tanta joined #salt
15:28 _JZ_ joined #salt
15:33 LondonAppDev joined #salt
15:33 andrew_v_ joined #salt
15:34 mkjgore joined #salt
15:35 LondonAppDev joined #salt
15:36 Tanta joined #salt
15:37 WesleyTech_ joined #salt
15:40 toastedpenguin joined #salt
15:41 andrew_v_ joined #salt
15:41 adelcast left #salt
15:46 ALLmightySPIFF joined #salt
15:47 ALLmightySPIFF joined #salt
15:47 digitalhero joined #salt
15:48 adelcast joined #salt
15:49 jfred_ joined #salt
15:49 cpowell joined #salt
15:50 ALLmightySPIFF joined #salt
15:51 TyrfingMjolnir joined #salt
15:52 murrdoc joined #salt
15:52 Binga joined #salt
15:53 Binga new here in saltstack
15:53 Binga left #salt
15:54 nafg joined #salt
15:57 KennethWilke joined #salt
15:58 murrdoc BINGO
16:07 dgutu joined #salt
16:09 bemehow joined #salt
16:09 PeterO joined #salt
16:12 sdm24 joined #salt
16:13 djstorm joined #salt
16:15 DanyC joined #salt
16:16 digitalhero joined #salt
16:16 toastedpenguin joined #salt
16:17 linjan_ joined #salt
16:22 icefighter22 joined #salt
16:22 colegatron joined #salt
16:24 nledez joined #salt
16:24 nledez joined #salt
16:25 beardedeagle joined #salt
16:26 spiette joined #salt
16:28 subsignal joined #salt
16:28 nZac joined #salt
16:29 Sucks joined #salt
16:33 digitalhero joined #salt
16:34 andrew_v_ joined #salt
16:35 tpaul joined #salt
16:36 ipmb joined #salt
16:45 cyteen_ joined #salt
16:46 Ahlee DanyC: Why not just use yum install then intead of hte bootstrap?
16:47 nZac joined #salt
16:47 DanyC Ahlee: because i was letting salt-cloud do the minion installation using the bootstrap-salt.sh (default way of doing things) + 1 less thing to look after it
16:48 Ahlee Yuck
16:48 conan_the_destro joined #salt
16:48 DanyC Ahlee: i'd even flip the coin and say - why not since is already done for Ubuntu, why not for RPM based repos?
16:49 otter768 joined #salt
16:49 Ahlee i'd go further and say the bootstrap script should only work with distro packaging
16:50 DanyC Ahlee: imo there is no consistency - we can do everything using git, we can do some with stable, we can do some with pip, there is even _some_ for RPMs base repo called testing
16:50 Ahlee I just pretend the bootstrap script doesn't exist
16:50 Ahlee and try not to think that the people developing hte tool I use thought it was a good idea
16:50 geekatcmu Ahlee++
16:51 geekatcmu "Here, just run 'curl ... | sudo sh', it'll be fine, I promise."
16:51 DanyC Ahlee: sure but then salt-cloud should +pretend+ as well that it doesn't exist ;)
16:52 DanyC Ahlee: of course is easy to make the change but just saying - out of the box things should be more tidy up and consistent
16:54 Ahlee agreed DanyC, agreed
16:54 Ahlee geekatcmu: :)
16:56 armguy joined #salt
16:57 AlberTUX left #salt
17:07 writtenoff joined #salt
17:09 larsfronius joined #salt
17:10 DanyC anyone knows if the states boto can pull out the key/keyID from salt-cloud provider file ?
17:10 clintberry joined #salt
17:11 DanyC currently it seems boto pull it from _a profile, either passed in as a dict, or as a string to pull from pillars or minion config:_  but don't see how i can pull it from salt-cloud
17:12 Bryson joined #salt
17:16 perfectsine joined #salt
17:18 blw0rm joined #salt
17:19 brianfeister joined #salt
17:20 numkem joined #salt
17:20 jaybocc2 joined #salt
17:23 Bl4ckD34tH joined #salt
17:23 digitalhero joined #salt
17:24 tkharju joined #salt
17:25 jaybocc2 joined #salt
17:26 digitalhero joined #salt
17:27 nZac joined #salt
17:27 mattiasr joined #salt
17:28 grumm_servire joined #salt
17:29 anmolb joined #salt
17:31 akhter joined #salt
17:34 calvinh joined #salt
17:37 rmnuvg joined #salt
17:40 cmek joined #salt
17:40 digitalhero joined #salt
17:41 jaybocc2 joined #salt
17:43 shiin joined #salt
17:43 shiin I want to use mysql as a source for pillar information. I'm not entirely sure how that works.
17:44 shiin I found references to ext_pillar in the master config
17:44 KyleG joined #salt
17:44 KyleG joined #salt
17:44 shiin Can I get some hints or pointers?
17:46 blw0rm joined #salt
17:47 nZac joined #salt
17:49 jeffspeff joined #salt
17:50 elsmo joined #salt
17:50 icefighter22 I currently use a pillar file to pass in static values when I run my salt state files, such as system package versions. Instead of changing the value in my pillar file, is it possible to pass in a pillar value from the command-line when running a salt-call on a state?
17:51 foundatron How do I tell if gitfs is actually syncing? Should I see something in /var/cache/salt/gitfs ?
17:52 icefighter22 I want to able a install a system package by specific version either by a pillar file or command-line.
17:53 whytewolf foundatron: use the fileserver runner for finding what is there currently as well as forcing updates https://docs.saltstack.com/en/latest/ref/runners/all/salt.runners.fileserver.html
17:53 whytewolf icefighter22: https://docs.saltstack.com/en/latest/topics/tutorials/pillar.html#setting-pillar-data-on-the-command-line
17:56 bhosmer joined #salt
17:57 spuder joined #salt
17:58 tiadobatima joined #salt
18:02 snarfy joined #salt
18:03 baweaver joined #salt
18:06 icefighter22 whtewolf, thank you for the link. I know this guide shows how to sets a new pillar variable. What if this variable is already set in a pillar file with a specific value? Could I overrwrite that set value from the command-line?
18:06 Bl4ckD34tH left #salt
18:08 goldbuick__ joined #salt
18:08 baweaver joined #salt
18:09 whytewolf look at the note with in that link. "If a key is passed on the command line that already exists on the minion, the key that is passed in will overwrite the entire value of that key, rather than merging only the specified value set via the command line."
18:10 tiadobatima left #salt
18:13 aboe joined #salt
18:14 hightekvagabond joined #salt
18:15 Sucks joined #salt
18:16 Sucks joined #salt
18:16 foundatron whytewolf thanks
18:17 baweaver joined #salt
18:20 morissette joined #salt
18:24 shaggy_surfer joined #salt
18:28 shaggy_surfer joined #salt
18:28 digitalhero joined #salt
18:28 Ahlee is there anything more annoying than the chicken and egg problem with config management?
18:30 alvinstarr joined #salt
18:32 lemur joined #salt
18:34 snarfy joined #salt
18:38 shiin_ joined #salt
18:41 shiin_ I've put together a gist with what I did in attempt to use MySQL as an extended pillar: https://gist.github.com/FunTimeCoding/86ae3181eb043bff388f
18:41 amcorreia joined #salt
18:41 shiin_ I've used https://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.sql_base.html and https://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.mysql.html as references
18:43 whytewolf shiin_: standard question, did you restart the master after you made changes to the master config.
18:44 shiin_ Yes.
18:44 whytewolf also. pillar_ext isn't an either or thing. you should get pillar data from both the pillar_ext and /srv/salt/pillar
18:44 mongohope joined #salt
18:44 bhosmer joined #salt
18:45 shiin_ I initially had it like that and thought the new values would show up in the pillar.data output.
18:45 shiin_ But when I didn't see it I tried to turn it off.
18:45 shiin_ Now it's probably still cached, and I could clear that cache
18:45 shiin_ but that likely wouldn't solve the initial problem
18:46 andrew_v What's the search path for the {%- import_yaml "filename.yaml" as somevar %} construct? It keeps coughing up TemplateNotFound when I try to use relative (to the running sls) paths.
18:46 Jimlad joined #salt
18:46 whytewolf andrew_v: path is starting from file_roots
18:47 andrew_v Thanks. Is there any way to get the directory path to the current sls so I can fill it in? I don't like tying a state to a literal location in the file tree.
18:47 whytewolf shiin_: do you get any errors in your salt log? normally external pillars output errors somewhere
18:48 shiin_ I should probably raise the output level.
18:48 whytewolf andrew_v: you could try ./filename.yaml not sure it would work but give it a try.
18:49 edrocks joined #salt
18:49 shiin_ After restarting a second time now the pillar.data return nothing. -l debug isn't indicative of anything going wrong.
18:50 otter768 joined #salt
18:50 andrew_v whytewolf: It does not. :-( Thanks, though.
18:51 whytewolf andrew_v: https://github.com/saltstack/salt/issues/15863 looks like it is talking about pathing in jinja
18:51 saltstackbot [#15863]title: jinja includes in templates do not work as expected | probably because templates get parsed on the minion, when using the jinja ```{% include "file.inc" %}```...
18:52 mongohope Does anyone have some resources for getting salt minion to work on a raspberry pi? I get the issue outlined in this open issue https://github.com/saltstack/salt/issues/24955. Basically it salt-minion gets stuck in an infinite loop... Googleing hasn't returned much
18:52 saltstackbot [#24955]title: Minion fails to start after bootstrap on Raspberry PI | ```...
18:52 nZac joined #salt
18:52 shiin_ I tried salt-minion on raspberry pi
18:52 andrew_v I know there's slspath available, but that includes the file name iff you're not in init.sls (yay consistency), and I know there's also templdir but I think that only works in a managed template. Blah. Thanks for the link, I'll check it out.
18:52 shiin_ I gave up because the pi is too slow.
18:53 shiin_ it was a model b+
18:53 jaybocc2 joined #salt
18:53 nZac joined #salt
18:54 mongohope People said they have gotten it working somehow in the comments of open issues, but didn't elaborate
18:54 nZac joined #salt
18:54 quasiben joined #salt
18:55 edrocks_ joined #salt
18:56 shiriru joined #salt
18:57 akhter Hey guys, where is __salt__ declared for the minion?
18:57 akhter Basically, cloud.present cannot do VPC instances since it doesn't seem to accept network_interfaces as a list/dictionary.
18:58 bemehow joined #salt
18:59 Ryan_Lane akhter: it's monkey patched into the modules
18:59 edrocks joined #salt
19:00 akhter Ryan_Lane: So when ```info = __salt__['cloud.create'](cloud_provider, name, **kwargs)``` is declared should be in modules/cloud?
19:00 Ryan_Lane are you doing this in a custom execution module?
19:00 Ryan_Lane sigh salt-cloud
19:01 akhter I would love to use salt-cloud but I like my instances tracked in state files.
19:01 lompik joined #salt
19:01 denys joined #salt
19:01 Ryan_Lane salt-cloud, for the most part, isn't implemented as execution and state modules
19:01 akhter I'd rather not have to go into /etc/salt/cloud.profiles just to see what instances may have been running.
19:01 Ryan_Lane akhter: you're using aws?
19:01 akhter Yes.
19:01 Ryan_Lane also, are you only using aws?
19:01 akhter Yes
19:02 Ryan_Lane cool. you may want to consider using the boto_* state and execution modules rather than salt-cloud
19:02 akhter Thanks, I'll take a look at that module.
19:02 Ryan_Lane there's a couple downsides there: 1. only the devel branch of salt has support to create individual instances in boto_ec2
19:03 Ryan_Lane and 2. it won't automatically connect your minions with your master, like salt-cloud does
19:03 Ryan_Lane otherwise they're superior in every way
19:03 Ryan_Lane akhter: here's a mostly working example of using them: https://github.com/lyft/confidant/tree/master/salt
19:04 Ryan_Lane the fun thing? the same salt code works in multiple regions
19:06 akhter Ryan_Lane: For boto_ec2, is there any better docs than this?  https://docs.saltstack.com/en/latest/ref/states/all/salt.states.boto_ec2.html#module-salt.states.boto_ec2
19:06 akhter Still going through https://github.com/lyft/confidant/tree/master/salt
19:08 crazyphil joined #salt
19:10 Ryan_Lane @akhter https://docs.saltstack.com/en/develop/ref/states/all/salt.states.boto_ec2.html#module-salt.states.boto_ec2
19:10 Ryan_Lane need to look at docs for develop branch
19:11 akhter Ryan_Lane: Thank you so much.
19:11 Ryan_Lane yw
19:11 Ryan_Lane let me know if you run into any issues. I didn't write basically anything in boto_ec2, but I did write most of the rest of the boto_* stuff
19:16 ageorgop joined #salt
19:17 clintberry joined #salt
19:18 brianfeister joined #salt
19:19 nate_c joined #salt
19:21 giantlock joined #salt
19:21 akhter Ryan_Lane: Will do, I'm hoping this works, I may request to completely omit cloud.present module :)
19:23 johtso_ joined #salt
19:26 bhosmer__ joined #salt
19:27 akhter Ryan_Lane: Because this is from the develop branch, I'll have to rebuild my salt master.  I'll test it out locally and continue to use salt-cloud cli.
19:27 Ryan_Lane akhter: well. not necessarily
19:27 akhter Will getting the new boto_ec2 module work?
19:27 Ryan_Lane akhter: http://ryandlane.com/blog/2015/06/03/using-development-branch-saltstack-python-modules-in-the-stable-release/
19:27 akhter Ahh.
19:27 Ryan_Lane that's written with masterless in mind, but it's the same idea
19:28 Ryan_Lane custom modules always override core ones
19:28 hightekvagabond joined #salt
19:29 akhter I'll give that a shot now.
19:33 baweaver joined #salt
19:33 Heartsbane joined #salt
19:33 Heartsbane joined #salt
19:34 forrest joined #salt
19:34 eightyeight joined #salt
19:36 ageorgop joined #salt
19:43 tiadobatima joined #salt
19:45 M-liberdiko joined #salt
19:45 Diaoul joined #salt
19:48 DammitJim joined #salt
19:48 M-liberdiko left #salt
19:48 M-liberdiko joined #salt
19:49 guanopho1ic joined #salt
19:50 liberdiko joined #salt
19:52 akhter Ryan_Lane: FYI - [WARNING ] Key module_dirs with value /srv/salt/extra_modules has an invalid type of <type 'str'>, a list is required for this value - not sure if you want to fix your guide.
19:52 DammitJim ok, it seems that in Ubuntu, I need to basically "export" my iptables-save to a file every time I edit my rules
19:53 DammitJim what would be the ideal way to have salt set a new rule and then do a "sudo -c 'iptables-save > /etc/iptables/rules.v4 ?
19:53 aidalgol joined #salt
19:53 carmony joined #salt
19:54 guanophobic joined #salt
19:55 akhter DammitJim: cmd.run?
19:56 larsfronius joined #salt
19:56 DammitJim and this will be executed in order?
19:56 Diaoul joined #salt
19:57 akhter You can use order parameter, or use an only_if parameter.
19:57 DammitJim only_if ok, thanks
19:57 akhter You're welcome.
19:59 quasiben joined #salt
20:00 edrocks joined #salt
20:01 protoz joined #salt
20:02 peters-tx joined #salt
20:04 thalleralexander joined #salt
20:04 edrocks joined #salt
20:06 bhosmer joined #salt
20:06 robertsonai joined #salt
20:12 CaptainMagnus joined #salt
20:15 robertsonai I am trying to set up Salt on Amazon Linux and am running into issues with systemd-units and systemd-python.  It works fine on centos 7 but not on Amazon Linux.  Here is the error:
20:15 robertsonai --> Finished Dependency Resolution Error: Package: salt-2015.8.3-1.el7.noarch (saltstack-repo)            Requires: systemd-units Error: Package: salt-2015.8.3-1.el7.noarch (saltstack-repo)            Requires: systemd-python
20:15 peters-tx Umm, what is going on here --- "Warnings: 'contents' is an invalid keyword argument for 'file.blockreplace'."
20:16 peters-tx Ahhh, n/m ... "content" != "contents"
20:17 TyrfingMjolnir joined #salt
20:19 GreatSnoopy joined #salt
20:21 protoz joined #salt
20:22 akhter robertsonai: Any particular reason not to install it via git?
20:24 akhter Also you may need "yum install python-devel"
20:26 jhauser joined #salt
20:27 babilen peters-tx: That particular error is rather common :)
20:28 whatapain joined #salt
20:29 babilen (also "contents_{pillar,grain}" vs "content_{pillar,grain}")
20:31 bhosmer joined #salt
20:32 robertsonai Let me try that
20:32 Sucks joined #salt
20:32 whatapain i'm trying to create a jinja template that will take a dict from a grain with multiple values and create strings like values = [ "grain1", "grain2", "grain3" ].  Does anyone know how to output a string from a grain dict so i could do somethinkg like values = {{ grain_value_array }} or do I have to iterate over each grain value then tag a "" and a , on each value?  that leaves me with trying to find the last  value and not add a , at
20:33 voileux joined #salt
20:36 calvinh joined #salt
20:36 whatapain i could use a joiner with a comma but that would require me to set the actual grains to include quotes which is less than ideal
20:39 peters-tx babilen, Jeez!  :(
20:39 sgargan joined #salt
20:39 peters-tx babilen, Hmm, did "contents" get changed to "content" recently I guess?  I see it in some of my other state files...
20:40 babilen peters-tx: In that case it is actually contents_pillar ... There is just no consistency so you typically get it wrong a couple of times
20:41 babilen whatapain: What happens if you stringify a list? (as, for example, obtained from yourdict.values())
20:42 peters-tx babilen, Ok
20:42 Ryan_Lane akhter: thanks!
20:43 babilen whatapain: http://jinja.pocoo.org/docs/dev/templates/#string is what I'm thinking about. No idea if that works, but it might be worth a try ... This is the sort of thing that ought to be super easy, but ... isn't
20:43 tpaul Can anyone point me to the code that creates /var/run/salt/minion/minion_event_xxx_pub.ipc ? I'm trying to figure out a packaging issue.
20:44 whatapain babilen: hmmm, not sure.  i'll give it a try.
20:45 tpaul nvm, I think it is salt/utils/event.py
20:45 numkem joined #salt
20:48 akhter joined #salt
20:51 otter768 joined #salt
20:52 pipe_mathews joined #salt
20:52 pipe_mathews Hello
20:53 s_kunk joined #salt
20:53 s_kunk joined #salt
20:54 pipe_mathews Wondering if anyone knows of a way to capture and re-assign a NAT ID /EIP in creating a routing in AWS please
20:55 baweaver joined #salt
20:55 pipe_mathews thanks
20:56 pipe_mathews In effect replace Dest 0.0.0.0 & local igw-*** with the NAT ID
20:57 ipmb joined #salt
20:57 shaggy_surfer joined #salt
21:00 akhter pipe_mathews: You won't be able to do that with salt, you may be able to do that with boto.
21:01 pipe_mathews akhter: thanks
21:01 aurynn terraform is a good tool for that, if you want to introduce a new tool to your infra
21:01 aurynn (you might not, for obvious reasons)
21:02 pipe_mathews aurynn: already got it working in terraform but want to use salt
21:02 pipe_mathews aurynn: as creating VPCs in salt is a lot easier
21:02 pipe_mathews hahah#
21:04 akhter Can terraform create route tables?
21:04 babilen whatapain: Otherwise foo = [{% for el in xs %}"{{xs}}"{% endfor %}]
21:05 akhter I thought it was good for DNS/R53.
21:05 pipe_mathews akhter: yeah
21:05 babilen Ah, missed a comma there .. and you'd duplicate that, but something along those lines
21:06 brianfeister joined #salt
21:08 stanchan joined #salt
21:11 nZac joined #salt
21:16 akhter Ryan_Lane: Mind helping me a bit with that module?  It's not working as expected and it seems to be a bug with one of the parameters.
21:16 Ryan_Lane oh?
21:17 Ryan_Lane which param is broken?
21:17 akhter So 'network_interfaces' is broken, even when not specified, it seems that passing "None" doesn't make any difference.
21:17 akhter TypeError: run() got an unexpected keyword argument 'network_interfaces'
21:17 Ryan_Lane that happens even if you leave the param out?
21:17 akhter Correct.
21:18 * Ryan_Lane grumbles
21:18 Ryan_Lane run()?
21:18 spiette joined #salt
21:18 Ryan_Lane you're using the state and not the execution module, right?
21:18 akhter Correct.
21:18 protoz joined #salt
21:19 akhter Just so I have it correct, network_interfaces is creating the ENI, looking at http://boto.cloudhackers.com/en/latest/ref/ec2.html#boto.ec2.networkinterface.NetworkInterfaceCollection
21:22 Ryan_Lane hm
21:22 Ryan_Lane interesting
21:22 Ryan_Lane it looks like it's not even being used
21:22 whatapain babilen: that trailing comma is the killer doing it that way.  at the moment i'm going to just encode my grain with the actual string value like grain: '"value1", "value2", "value3"'
21:23 protoz_ joined #salt
21:23 whatapain ugly but gets me to the next thing
21:23 Ryan_Lane akhter: what version of boto are you using?
21:23 akhter I have both 2 and 3 installed.  I believe this is using boto2 since it's "run_instances"
21:24 Ryan_Lane yep. 2 is what you nee
21:24 Ryan_Lane need*
21:24 Ryan_Lane which version of 2?
21:24 denys joined #salt
21:25 akhter checking
21:25 Ryan_Lane pipe_mathews: not sure it's possible to use nat id in route assignments right now
21:25 Ryan_Lane I could be wrong, though
21:25 babilen whatapain: You could use slices [:-1] and [-1] for everything up to the last and the last. Didn't the string approach work? What format is the file in, could you render that directly? Can you render it in Python more easily? Would that be an option?
21:25 Ryan_Lane most of boto_vpc supports reference by name tag, but some parts don't
21:26 Ryan_Lane akhter: bah, this is definitely an issue with the execution module
21:26 akhter Even though I'm using the state module?
21:26 Ryan_Lane akhter: run() doesn't have network_interfaces as an argument, but it's being passed in from the state module
21:27 Ryan_Lane state modules use execution modules
21:27 akhter That I did not know.
21:27 nZac joined #salt
21:27 Ryan_Lane yeah. execution modules are what do most of the work in salt and state modules use them
21:27 Ryan_Lane execution modules aren't idempotent
21:27 Ryan_Lane state modules are
21:27 akhter def run(image_id, name=None, tags=None, key_name=None, security_groups=None,
21:27 akhter user_data=None, instance_type='m1.small', placement=None,
21:27 akhter kernel_id=None, ramdisk_id=None, monitoring_enabled=None, vpc_id=None,
21:28 akhter vpc_name=None, subnet_id=None, subnet_name=None, private_ip_address=None,
21:28 akhter block_device_map=None, disable_api_termination=None,
21:28 akhter instance_initiated_shutdown_behavior=None, placement_group=None,
21:28 akhter client_token=None, security_group_ids=None, security_group_names=None,
21:28 akhter additional_info=None, tenancy=None, instance_profile_arn=None,
21:28 akhter instance_profile_name=None, ebs_optimized=None,
21:28 akhter network_interface_id=None, network_interface_name=None,
21:28 Ryan_Lane @akhter in the run function in boto_ec2, add: network_interfaces=None
21:28 akhter region=None, key=None, keyid=None, profile=None):
21:28 akhter Whoops.
21:28 akhter Sorry meant gist....
21:28 akhter Yeah I see.
21:28 babilen Please use one of http://refheap.com, http://paste.debian.net, https://gist.github.com, http://sprunge.us, http://dpaste.de, … please, akhter
21:28 Ryan_Lane I'm going to open an issue
21:28 akhter babilen: I meant to use gist but my limechat plugin didn't work =\
21:30 Ryan_Lane akhter: https://github.com/saltstack/salt/issues/29498
21:30 saltstackbot [#29498]title: boto_ec2 state module's instance_present function broken | instance_present passes network_interfaces into the boto_ec2 execution module's run function, which doesn't accept this as an argument (though the documentation says it does)....
21:30 mariusv joined #salt
21:30 mariusv joined #salt
21:31 akhter Once I get it to work I'll submit a pull request ;)
21:31 Ryan_Lane cool. I also pinged the author of that portion of the code
21:31 peters-tx Anyone have any tips on how to get something like this to work, in a state file --->       - backup: .{{"now"|datetime.strftime("%Y%m%d-%H%M%S")}}
21:32 subsignal joined #salt
21:34 Ahlee huh. Apparently in 0.17.x you could do require: pkg.installed:, whereas in 2015.8 requisite types must not contain dots
21:34 Ahlee this is gonna be a hell of a change set as i fix all those
21:36 wangofett Is it possible to manage a ptp network with salt? It told me 'Invalid option -- Interface: ppp0, Option: ppp, Expected: [eth|bond|alias|clone|ipsec|dialup|bridge|slave|vlan|ipip|ib]'
21:36 wangofett I'm not terribly familiar with those types - not sure if ipsec or one of the others might be what I want
21:39 digitalhero joined #salt
21:41 digitalhero joined #salt
21:45 akhter Ryan_Lane: It doesn't look like you can pass a device index or security group id on the network interface.  Based on the execution module it's the index is almost always '0' and the security group/subnet ID is set on the instance level rather than the ENI.
21:50 akhter Or maybe I'm just full of it and am not reading clearly anymore.
21:58 chiui joined #salt
22:01 ajw0100 joined #salt
22:01 hightekvagabond joined #salt
22:03 jeips joined #salt
22:03 thalleralexander joined #salt
22:03 aw110f joined #salt
22:03 digitalhero joined #salt
22:06 Ryan_Lane akhter: if you're feeling adventurous, you could use autoscale groups rather than individual instances :)
22:06 Ryan_Lane that code works excellently
22:06 Ryan_Lane I guess one day I'll need to cleanup this boto_ec2 module
22:07 akhter I'd rather fix boto_ec2.
22:07 Ryan_Lane I only use autoscale groups, even for individual instances
22:07 akhter I could use that, it wouldn't make a difference.
22:07 akhter But I feel like tackling boto_ec2 :)
22:07 Ryan_Lane heh
22:07 Ryan_Lane cool
22:07 Ryan_Lane so... for security groups you should be able to use secgroup names
22:08 Ryan_Lane no need to use the id
22:08 akhter Right, same for subnets.
22:08 Ryan_Lane yeah. same for vpc too
22:08 akhter But on VPC's when specifying ENI's, they have to be specified on the ENI level rather than the instance level, even if the instance is in a VPC.
22:09 pipe_mathews Ryan_Lane: Thanks mate
22:09 ekristen joined #salt
22:09 Ryan_Lane pipe_mathews: yw
22:10 akhter However that same run() module takes parameters from the network_interface_id and network_interface_name and calls network_interfaces it seems.
22:10 colegatron joined #salt
22:12 protoz joined #salt
22:12 Ryan_Lane I haven't tried tackling the ENI stuff yet. I try heavily to avoid them
22:12 akhter :)  There's another more major issue though :D
22:12 Ryan_Lane I added the eni functions in boto_ec2 because we use them in a few places, but we also manually re-attach them to nodes
22:13 Ryan_Lane I think we're more likely to tackle this by making attach calls from the instances themselves for our use-case though
22:13 Ryan_Lane akhter: oh?
22:13 protoz joined #salt
22:13 akhter If you look at instance_present on the state module, it specify's 'attributes' as a list/dict.
22:14 sgargan joined #salt
22:14 Ryan_Lane yeah, as a dict
22:14 Ryan_Lane is that broken?
22:14 akhter However if you don't specify an attribute, it will forever be 'None'
22:14 akhter Which cannot be used with iteritems.
22:15 Ryan_Lane hm. shouldn't it just be missing?
22:15 akhter And I'm not specifying an instance_type there, I'm just using the other parameter instance_type, and I have no attributes to apply.
22:15 akhter Nope, it's none.
22:15 Ryan_Lane :(
22:15 akhter AttributeError: 'NoneType' object has no attribute 'iteritems'
22:15 akhter I could specify some bogus attribute and get away with it.
22:16 Ryan_Lane open some issues and tag @tkwilliams
22:16 Ryan_Lane I know he was looking for some critical feedback
22:16 akhter Will do, when I find all of the issues. :)
22:16 Ryan_Lane this hasn't landed in a release yet, so it's a good time for the problems to get fixed
22:16 Ryan_Lane since it can be backwards incompatible changes
22:17 akhter I'm so glad you told me about extra_modules, it makes testing so much easier.
22:18 Ryan_Lane yep. that's actually how we do dev
22:18 nethershaw joined #salt
22:18 Ryan_Lane we develop against stable and push into dev
22:18 Ryan_Lane because we're doing continuous deployment
22:23 burp_ joined #salt
22:24 akhter Yay, a good sign finally.
22:24 akhter Now let's go see results.
22:24 akhter Awesome!
22:24 akhter Ryan_Lane: So I'll go ahead and submit my pull requests and issues now :)
22:24 Ryan_Lane awesome. thanks!
22:25 Ryan_Lane there's some really fancy stuff that comes with most of the modules. it seems this one doesn't have it (but that's because Lyft didn't write it)
22:25 Ryan_Lane let me see if I can find some info
22:25 abednarik joined #salt
22:25 Ryan_Lane here's one example: http://ryandlane.com/blog/2015/01/06/saltstack-automated-cloudwatch-alarm-management-for-aws-resources/
22:27 Ryan_Lane another example is alarm and scaling policy management on autoscale groups. you can define alarms and scaling policies in pillars
22:28 Ryan_Lane and there's a default pillar key that's referenced.
22:28 subsignal joined #salt
22:28 sgargan joined #salt
22:28 Ryan_Lane so, you can define policies in pillars that affect all autoscale groups by default. so, for instance, you can say "if the CPU is > 70% for 5 minutes, scale by 3 instances"
22:28 Ryan_Lane and any autoscale group that's created will by default do thaty
22:29 jaybocc2 Has anyone seen/heard from Joe Healy? (joehh) he maintains the debian salt package repo and he hasn't been responding lately and its been a while since a salt release was made available for debian
22:29 mariusv_ joined #salt
22:32 shiriru joined #salt
22:32 renoirb Hey hi! Ryan_Lane
22:32 akhter Ryan_Lane: I'll take a look at that, it will come in handy when we have to deploy our production environment VPC.
22:33 Ryan_Lane renoirb: howdy
22:35 akhter Ryan_Lane: I'm a newb on github, how do I make sure my fork has the latest updates from the develop branch on github?
22:35 akhter says I'm 6460 commits behind
22:35 Ryan_Lane I never use the develop branch on my fork
22:36 akhter Well I'm going to push to development branch, right?
22:36 Ryan_Lane my clone has two remotes. I call salt's repo origin and mine "lyft"
22:36 Ryan_Lane in my local clone I fetch from origin
22:36 Ryan_Lane I make a stable-<version> branch in my own fork
22:36 Ryan_Lane and I always push into that, and never into develop
22:37 Ryan_Lane when I'm making PRs, I make a branch for every change
22:37 akhter Oh, okay, let me get rid of this fork then.
22:37 Ryan_Lane and I delete the branch when my change gets merged
22:37 burp_ joined #salt
22:37 Ryan_Lane well, you need the fork, because you can't make PRs without it
22:37 Ryan_Lane but never push into the develop branch
22:38 brianfeister joined #salt
22:38 stomith joined #salt
22:39 akhter Okay, so now I'm confused a bit (sorry).  This is my fork https://github.com/AkhterAli/salt, I can change to the stable branch on my fork but I'm still behind.
22:39 akhter Basically, is there a way to pull from the master branch to my fork?
22:39 nethershaw joined #salt
22:42 Eugene akhter - you have a local git clone of your Fork?
22:42 akhter Eugene: yes.
22:42 Eugene `git remote add upstream git://github.com/salt/salt.git; git fetch upstream`
22:43 akhter Just did that.
22:43 mosen joined #salt
22:43 Eugene While on stable locally, `git merge upstream/stable`
22:43 Eugene (or rebase; I'm not sure what the salt repo's standards are)
22:44 akhter git merge upstream/2015.8  -- conflicts :(
22:45 Eugene Yup, 6460 commits is not a surprise
22:45 nafg_ joined #salt
22:46 akhter So I just committed and merged, how I have to push to my fork?
22:46 akhter merged locally.
22:47 ernetas joined #salt
22:47 ernetas Hey guys.
22:47 ernetas What are my options for auto-accepting keys based on output of external script or something like that?
22:47 Ryan_Lane akhter: you don't want to merge development into a stable release
22:47 akhter Ryan_Lane: Trying not to.
22:48 ernetas I have instances on AWS that I want to be auto-accepted by the Salt master. But those instances cannot be launched by Salt master and preseeding them with already accepted Salt key is somewhat flawed, I think.
22:48 whytewolf honestly. if I'm more then 500 commits behind i tend to nuke my fork and start over.
22:48 akhter whytewolf: I'm about to do that now.
22:49 akhter ernetas: Take a look at salt rest API.  You can use SNS to send your master a message and have salt bootstrapped your newly launched instance.
22:50 Ryan_Lane akhter: https://gist.github.com/ryan-lane/4f112739a875bd4043dc
22:50 Ryan_Lane that's how I do it
22:50 akhter Ryan_Lane: Thanks!
22:50 Ryan_Lane yw
22:50 Ryan_Lane now... for PRs...
22:51 akhter ernetas: https://github.com/saltstack-formulas/ec2-autoscale-reactor
22:51 PeterO joined #salt
22:51 akhter That's what I've used before, works wonders.
22:51 akhter Basically it sends a message for salt REST and salt uses a reactor module to bootstrap a particular instance ID.
22:52 JDiPierro joined #salt
22:52 otter768 joined #salt
22:52 Ryan_Lane @akhter check that gist out again
22:53 Ryan_Lane it now has some basics on making PRs against salt's branches
22:53 Ryan_Lane by using feature branches
22:53 akhter Ryan_Lane: Got it.
22:54 akhter Okay, I'll go through this tonight, I'm still at work fixing this stuff so we can use it later :)  Glad my boss is okay with me spending time on it.
22:54 akhter Gonna go home now, thanks for all your help guys.
22:54 nethershaw joined #salt
23:01 shaggy_surfer joined #salt
23:03 ernetas akhter: sounds like that solution does not support IAM roles?
23:03 portaluser joined #salt
23:03 nethershaw joined #salt
23:05 portaluser Anyone present I could bounce some salt returner questions off of?
23:06 tpaul Does anyone know that docs.saltstack.org is down? Anyone else having trouble hitting it?
23:07 portaluser Running into an issue where the returner works fine for 'salt-call' commands but not for standard 'salt "<id">'
23:07 dyasny joined #salt
23:07 whytewolf tpaul: it is up for me
23:08 tpaul Weird, Its down for me and also http://downforeveryoneorjustme.com/docs.saltstack.org
23:08 whytewolf [working i mean]
23:08 tpaul I guess I'll just wait it out, thanks whytewolf
23:08 wryfi where does the salt cron state drop crontabs on the filesystem? /etc/cron.d? or user-specific spool dirs?
23:09 yomilk joined #salt
23:09 solidsnack joined #salt
23:10 denys joined #salt
23:12 portaluser @wryfi It drops it salt cron state drops crontab into each users spool dir
23:12 aqua^c joined #salt
23:13 * wryfi likes cron.d better. shame.
23:13 protoz joined #salt
23:14 nethershaw joined #salt
23:15 bemehow joined #salt
23:15 PeterO joined #salt
23:20 yomilk joined #salt
23:21 abednarik joined #salt
23:26 nethershaw joined #salt
23:28 bhosmer joined #salt
23:30 joehoyle joined #salt
23:30 joehoyle Hey folks, I'm running `cmd.run` and I want to set the PTY, but can't find any way to acheive this
23:45 larsfronius joined #salt
23:47 lompik joined #salt
23:48 akhter joined #salt
23:51 burp_ joined #salt
23:51 mongohope left #salt
23:52 baweaver joined #salt
23:55 abednarik joined #salt
23:58 burp__ joined #salt

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