Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-09-24

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

All times shown according to UTC.

Time Nick Message
00:05 sagerdearia joined #salt
00:10 patrek joined #salt
00:12 jimklo joined #salt
00:13 augg joined #salt
00:13 cmarzullo you can run it in async mode then check the job status after the fact.
00:28 systo joined #salt
00:34 zer0def joined #salt
00:41 |aaron joined #salt
00:42 |aaron is it possible to make one minion depend on another? or the state of one minion depending on anothers state
00:42 |aaron for example my primary dns server needs to generate an rndc key which the slave uses in its config states
00:46 |aaron oh ok state.orchestrate i guess?
00:49 abonilla joined #salt
00:51 ZachLanich joined #salt
00:53 rem5 joined #salt
00:55 amcorreia joined #salt
00:56 netcho joined #salt
00:57 cro joined #salt
00:58 edrocks joined #salt
01:01 dendazen joined #salt
01:01 cmarzullo you can also push data into the mine.
01:04 |aaron yeah im trying to figure out if it makes more sense to do that or use salt.modules.cp since its an entire file
01:05 |aaron i think i still need orchestrate either way though, unless i invoke the states in the right order each time
01:05 onlyanegg joined #salt
01:06 spuder joined #salt
01:12 fannet joined #salt
01:15 cyborg-one joined #salt
01:19 subsignal joined #salt
01:25 dtsar_ joined #salt
01:36 DEger joined #salt
01:42 sebastian-w joined #salt
01:46 jimklo_ joined #salt
01:46 hasues joined #salt
01:46 hasues left #salt
01:46 Aikar left #salt
01:52 dustywusty joined #salt
01:53 notCalle joined #salt
01:53 binocvlar joined #salt
01:54 gtmanfred joined #salt
02:05 mpanetta_ joined #salt
02:07 kevops joined #salt
02:08 om joined #salt
02:10 augg joined #salt
02:17 bastiandg joined #salt
02:30 akhter joined #salt
02:33 Nahual joined #salt
02:42 akhter joined #salt
02:50 kusen joined #salt
02:57 netcho joined #salt
02:59 myraft joined #salt
03:00 edrocks joined #salt
03:01 swa_work joined #salt
03:15 rideh joined #salt
03:15 erlang789 is there a way to set a salt state filename to always have certain content that is in the .sls (not external)
03:15 hemebond erlang789: I don't understand the question.
03:15 hemebond Set a Salt State "filename"?
03:16 erlang789 hemebond: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.managed  managed allows you to specify a source on the salt-master
03:16 erlang789 but can the source just be a text string?
03:16 hemebond Yes, contents I think is the property.
03:16 hemebond Yes, contents.
03:17 erlang789 sec let me see
03:18 erlang789 ah perfect and simple thanks
03:19 marie1972 joined #salt
03:20 marie1972 left #salt
03:22 subsignal joined #salt
03:25 Vye joined #salt
03:37 jfindlay_ joined #salt
03:37 erlang789 Is there a way to write a complex .sls logic? let me make example gist
03:37 fannet joined #salt
03:37 Roelt_ joined #salt
03:37 dh__ joined #salt
03:37 DEger_ joined #salt
03:37 xmj_ joined #salt
03:37 Nei_ joined #salt
03:37 mohae_ joined #salt
03:37 carmony_ joined #salt
03:37 WKNiGHT_ joined #salt
03:37 MKFG joined #salt
03:37 Morrolan_ joined #salt
03:37 erlang789 Something like this,  If, else, finally.  https://gist.github.com/anonymous/4876a228b9f399f848ca4ca2a668b70f
03:37 synapse_ joined #salt
03:37 tuxx__ joined #salt
03:37 NVX joined #salt
03:37 hamlesh_ joined #salt
03:37 bbbryson joined #salt
03:37 jhauser_ joined #salt
03:37 mattp__ joined #salt
03:37 TheBigRedButton joined #salt
03:37 McNinja_ joined #salt
03:37 Sarph joined #salt
03:37 21WAADWUJ joined #salt
03:37 TooLmaN_ joined #salt
03:37 armin_ joined #salt
03:37 Karunamon joined #salt
03:37 Derailed_ joined #salt
03:37 alxchk_ joined #salt
03:37 dustywusty_ joined #salt
03:37 marie1973 joined #salt
03:37 oliv` joined #salt
03:37 nebuchad` joined #salt
03:37 AndreasLutro` joined #salt
03:37 brunopadz0 joined #salt
03:37 notCalle joined #salt
03:37 flebel_ joined #salt
03:37 voxpop_ joined #salt
03:37 oliv` joined #salt
03:37 Lionel_Debroux_ joined #salt
03:37 dimeshake joined #salt
03:37 yuhlw__ joined #salt
03:37 oeuftete_ joined #salt
03:37 blue joined #salt
03:37 rawzone^ joined #salt
03:38 khorben_ joined #salt
03:38 arif-ali joined #salt
03:38 aarontc joined #salt
03:38 TomJepp_ joined #salt
03:38 rmc3_ joined #salt
03:38 viq_ joined #salt
03:38 jY- joined #salt
03:38 ws2k3 joined #salt
03:38 bergei_ joined #salt
03:38 pocketprotector joined #salt
03:38 cmarzull1 joined #salt
03:38 ahammond_ joined #salt
03:38 ashmckenzie joined #salt
03:38 evilrob joined #salt
03:38 angvp joined #salt
03:38 Yoda-BZH joined #salt
03:38 pocketprotector joined #salt
03:38 kevinquinnyo joined #salt
03:38 sjohnsen joined #salt
03:38 bbradley_ joined #salt
03:38 wendall911 joined #salt
03:38 colttt joined #salt
03:38 sinh joined #salt
03:38 al joined #salt
03:38 basepi joined #salt
03:38 nshttpd joined #salt
03:38 k_sze[work] joined #salt
03:38 Yoda-BZH joined #salt
03:38 robawt1 joined #salt
03:38 mrMute_ joined #salt
03:38 jerrcs joined #salt
03:38 \ask joined #salt
03:38 Ch3LL joined #salt
03:38 ajv joined #salt
03:38 bryguy_ joined #salt
03:38 s0undt3ch joined #salt
03:38 ksk_ joined #salt
03:38 MTecknology joined #salt
03:38 sybix joined #salt
03:38 ThomasJ joined #salt
03:38 deus_ex joined #salt
03:38 ]V[ joined #salt
03:38 Nebraskka joined #salt
03:38 utahcon joined #salt
03:38 ecdhe joined #salt
03:38 oida joined #salt
03:38 t0m0 joined #salt
03:38 vadimck joined #salt
03:38 mike25de joined #salt
03:38 nethershaw joined #salt
03:38 packeteer joined #salt
03:38 lionel joined #salt
03:38 voileux_ joined #salt
03:38 NightMonkey joined #salt
03:38 StolenToast joined #salt
03:38 MrGats joined #salt
03:38 DaveQB14 joined #salt
03:38 chmod666org joined #salt
03:39 badon joined #salt
03:39 hax404 joined #salt
03:39 georgemarshall joined #salt
03:39 voileux__ joined #salt
03:39 stupidnic joined #salt
03:39 Zachary_DuBois joined #salt
03:39 devster31 joined #salt
03:39 baffle joined #salt
03:39 mjimeneznet joined #salt
03:39 mavhq joined #salt
03:39 Jimlad_ joined #salt
03:39 kidneb joined #salt
03:39 sjorge joined #salt
03:39 mTeK joined #salt
03:39 eset joined #salt
03:39 eset joined #salt
03:40 kaak joined #salt
03:40 APLU joined #salt
03:40 jrklein joined #salt
03:40 pmcg joined #salt
03:40 mariusv joined #salt
03:40 mariusv joined #salt
03:40 gtmanfred joined #salt
03:40 __number5__ joined #salt
03:40 eightyeight joined #salt
03:40 jesusaur joined #salt
03:40 GnuLxUsr_ joined #salt
03:40 akw joined #salt
03:40 binocvla1 joined #salt
03:41 jhujhiti joined #salt
03:41 pcdummy joined #salt
03:41 pcdummy joined #salt
03:41 Reverend joined #salt
03:41 tehsu joined #salt
03:41 cebreidian joined #salt
03:41 Arendtse1 joined #salt
03:41 fullstop joined #salt
03:42 cmek joined #salt
03:42 mage_ joined #salt
03:42 gpampara joined #salt
03:42 SpX joined #salt
03:42 armin__ joined #salt
03:42 djinni` joined #salt
03:43 darvon joined #salt
03:43 capri joined #salt
03:43 the_lalelu joined #salt
03:43 capn_morgan joined #salt
03:43 Skaag joined #salt
03:43 oyvindmo joined #salt
03:43 wangofett joined #salt
03:43 doubletwist joined #salt
03:43 Deliant joined #salt
03:44 telx joined #salt
03:44 shanemhansen_ joined #salt
03:48 kaak1 joined #salt
03:48 utahcon_ joined #salt
03:52 ilbot3 joined #salt
03:52 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
03:53 jerrcs joined #salt
03:53 mikepea joined #salt
03:53 ksk joined #salt
03:54 svg joined #salt
03:54 tperale joined #salt
03:54 Kruge joined #salt
03:54 _verax_ joined #salt
03:54 davisj_ joined #salt
03:55 JPaul joined #salt
03:55 Horgix joined #salt
03:55 gpampara joined #salt
03:55 Hipikat joined #salt
03:56 robbintt joined #salt
03:56 lionel joined #salt
03:56 douardda joined #salt
03:56 babilen joined #salt
03:56 lkannan joined #salt
03:57 ageorgop joined #salt
03:57 sjorge joined #salt
03:58 nshttpd joined #salt
03:58 canci joined #salt
03:59 n1ck joined #salt
03:59 aitrus joined #salt
03:59 wendall911 joined #salt
04:00 quarcu joined #salt
04:01 izrail joined #salt
04:01 wwalker joined #salt
04:02 vadimck joined #salt
04:02 czchen joined #salt
04:04 duckfez joined #salt
04:05 smcquay joined #salt
04:05 d3c4f joined #salt
04:07 barmaley joined #salt
04:07 kutenai joined #salt
04:07 OliverMT joined #salt
04:07 aljosa joined #salt
04:07 simonmcc joined #salt
04:08 chmod666org joined #salt
04:08 tyler-baker joined #salt
04:08 Salander27 joined #salt
04:09 liviudm joined #salt
04:09 gazarsgo joined #salt
04:09 djural joined #salt
04:09 shawnbutts joined #salt
04:09 bbhoss joined #salt
04:09 whytewolf joined #salt
04:09 ToeSnacks joined #salt
04:09 Vaelatern joined #salt
04:10 tcolvin joined #salt
04:10 johtso joined #salt
04:11 CaptTofu joined #salt
04:11 Freek joined #salt
04:12 supermike_ joined #salt
04:12 JamieH joined #salt
04:12 hillna joined #salt
04:12 smakar joined #salt
04:13 majuscule joined #salt
04:13 imanc joined #salt
04:13 phtes joined #salt
04:13 filippos joined #salt
04:15 nahkiss joined #salt
04:15 nicksloan joined #salt
04:15 antonw joined #salt
04:16 spuder joined #salt
04:16 copelco joined #salt
04:16 mattl joined #salt
04:19 akw_ joined #salt
04:19 brucewang joined #salt
04:19 daks_ joined #salt
04:20 Lionel_Debroux_ joined #salt
04:20 shanesveller joined #salt
04:20 cmek joined #salt
04:20 Arendtse1 joined #salt
04:20 writteno1 joined #salt
04:20 dustywusty_ joined #salt
04:20 evilrob_ joined #salt
04:20 Reverend joined #salt
04:20 Sarphram joined #salt
04:20 auggo joined #salt
04:20 DaveQB14 joined #salt
04:20 mohae_ joined #salt
04:20 jenastar joined #salt
04:20 Nei_ joined #salt
04:20 voxpop joined #salt
04:20 J0hnStee- joined #salt
04:20 notCalle joined #salt
04:20 egil joined #salt
04:20 armin_ joined #salt
04:20 douardda_ joined #salt
04:20 yuhlw_ joined #salt
04:20 TRMander1on joined #salt
04:20 smakar joined #salt
04:20 bryguy_ joined #salt
04:20 smakar joined #salt
04:20 lynxman joined #salt
04:20 the_lale1u joined #salt
04:20 unusedPh- joined #salt
04:20 cyraxjoe joined #salt
04:20 yesimon2 joined #salt
04:20 oliv` joined #salt
04:20 Ashald_ joined #salt
04:20 leev_ joined #salt
04:20 g3cko joined #salt
04:20 capn_mor1an joined #salt
04:20 vadimck_ joined #salt
04:20 spuder joined #salt
04:20 mrueg joined #salt
04:20 s_kunk_ joined #salt
04:21 garphyx joined #salt
04:21 chitown joined #salt
04:21 FreeSpencer joined #salt
04:21 FreeSpencer joined #salt
04:21 tristianc_ joined #salt
04:21 ujjain joined #salt
04:21 ujjain joined #salt
04:21 badon joined #salt
04:21 tperale joined #salt
04:21 ]V[ joined #salt
04:21 stiefkind joined #salt
04:21 CheckYourSix joined #salt
04:21 adelcast joined #salt
04:21 west575 joined #salt
04:21 robawt2 joined #salt
04:21 mjimeneznet joined #salt
04:21 bbradley joined #salt
04:21 Derailed joined #salt
04:21 kaak joined #salt
04:21 hexa- joined #salt
04:21 voileux_ joined #salt
04:21 c4rc4s joined #salt
04:22 jab416171 joined #salt
04:22 coldbrewedbrew joined #salt
04:22 coldbrewedbrew joined #salt
04:22 whytewolf joined #salt
04:22 ponyofdeath joined #salt
04:22 mrMute joined #salt
04:23 Hipikat joined #salt
04:23 Awesomecase joined #salt
04:24 monokrome joined #salt
04:24 codehotter joined #salt
04:24 cmek joined #salt
04:25 hasues joined #salt
04:25 gtmanfred joined #salt
04:25 LostSoul joined #salt
04:25 tehsu joined #salt
04:26 spuder joined #salt
04:26 patrek joined #salt
04:26 utahcon joined #salt
04:26 darvon joined #salt
04:26 oida joined #salt
04:26 mikepea joined #salt
04:27 ekkelett joined #salt
04:27 lionel joined #salt
04:27 Ludo- joined #salt
04:27 thehaven joined #salt
04:28 babilen joined #salt
04:28 gazarsgo joined #salt
04:28 DaveQB joined #salt
04:29 monrad joined #salt
04:29 ujjain joined #salt
04:29 ujjain joined #salt
04:31 Corey joined #salt
04:31 djural joined #salt
04:32 bbhoss joined #salt
04:33 evidence joined #salt
04:33 diegows joined #salt
04:34 notnotpeter joined #salt
04:34 CaptTofu joined #salt
04:34 UForgotten joined #salt
04:34 GothAck joined #salt
04:36 PalTale joined #salt
04:38 moy joined #salt
04:39 ksk joined #salt
04:49 yidhra joined #salt
04:58 netcho joined #salt
05:02 edrocks joined #salt
05:11 DEger joined #salt
05:16 tyler-baker joined #salt
05:21 ixs joined #salt
05:24 subsignal joined #salt
05:37 fannet_ joined #salt
05:45 Edgan joined #salt
05:49 bocaneri joined #salt
05:51 kuromagi joined #salt
05:55 basepi joined #salt
06:21 coredumb joined #salt
06:22 kus_ubuntui686 joined #salt
06:23 M-MadsRC joined #salt
06:44 DEger joined #salt
06:51 viq joined #salt
06:52 viq cmarzull1: no, not yet - my own boxes aren't really supported, and at work I'm not ready for it yet
06:52 M-liberdiko joined #salt
06:55 ivanjaros joined #salt
06:59 netcho joined #salt
06:59 hemebond erlang789: Have you done the tutorials?
07:04 edrocks joined #salt
07:09 jxm_ joined #salt
07:20 freelock[m] joined #salt
07:25 subsignal joined #salt
07:35 antonw joined #salt
07:35 shawnbutts joined #salt
07:35 bVector joined #salt
07:35 WKNiGHT joined #salt
07:35 futuredale[uf] joined #salt
07:35 ramblinpeck joined #salt
07:35 cb joined #salt
07:35 Criggie joined #salt
07:35 Jarus joined #salt
07:35 adeschamps1 joined #salt
07:35 Twiglet joined #salt
07:35 Armadillo joined #salt
07:35 adongy joined #salt
07:35 sknebel joined #salt
07:35 mschiff joined #salt
07:35 andi- joined #salt
07:35 Zaunei joined #salt
07:35 systemdave joined #salt
07:35 ramblinpeck joined #salt
07:35 futuredale[uf] joined #salt
07:35 WKNiGHT joined #salt
07:35 bVector joined #salt
07:35 shawnbutts joined #salt
07:35 antonw joined #salt
07:38 fannet_ joined #salt
07:39 WKNiGHT joined #salt
07:44 bVector joined #salt
07:44 antonw joined #salt
07:44 futuredale[uf] joined #salt
07:49 Trauma joined #salt
07:52 impi joined #salt
07:53 lilvim joined #salt
07:56 keekz joined #salt
07:57 netcho joined #salt
07:58 barmaley joined #salt
08:01 sgo_ joined #salt
08:03 hasues left #salt
08:19 Trauma joined #salt
08:24 APLU joined #salt
08:25 zer0def joined #salt
08:30 impi joined #salt
08:37 Trauma joined #salt
08:44 fannet_ joined #salt
08:56 mikecmpbll joined #salt
08:58 Mate my highstate outputter seems to throw a KeyError: u'start_time', and salt fallbacks to pprint
08:58 Mate manually setting ret['start_time'] = ret['duration'] = "hello" in the outputter makes the error disappear
08:58 Mate where are these keys?
08:59 Mate both master and minion are 2016.3.3
09:04 Mate state_output_profile: False
09:04 Mate also fixes
09:06 edrocks joined #salt
09:16 Mate https://github.com/saltstack/salt/commit/b9fc51a1727a3b434291acdd2b7d78692731431f and a fix is on master too
09:20 catpig joined #salt
09:27 subsignal joined #salt
09:38 nebuchadnezzar joined #salt
09:43 graffic joined #salt
09:49 dgorissen joined #salt
09:50 sgo_ joined #salt
10:05 armin joined #salt
10:09 dgorissen joined #salt
10:09 kiorky joined #salt
10:13 armin joined #salt
10:17 sgo_ is anyone using supervisord with saltstack? i'm running into issues when the numprocs setting in the config file is more than 1.
10:25 penguinpowernz joined #salt
10:26 babilen sgo_: How so?
10:31 dilkington joined #salt
10:31 dgorissen joined #salt
10:40 PalTale joined #salt
10:56 mikecmpbll joined #salt
10:59 DanyC joined #salt
11:02 xmj joined #salt
11:08 edrocks joined #salt
11:10 inad922 joined #salt
11:12 DanyC joined #salt
11:25 DarkKnightCZ joined #salt
11:25 amcorreia joined #salt
11:27 Trauma joined #salt
11:38 DanyC joined #salt
11:39 DanyC joined #salt
11:42 DanyC_ joined #salt
11:51 kevops joined #salt
11:55 DanyC joined #salt
11:56 brunopadz joined #salt
12:01 jas02 joined #salt
12:08 DanyC joined #salt
12:08 Trauma joined #salt
12:24 jas02 joined #salt
12:28 KingJ joined #salt
12:29 Rumbles joined #salt
12:31 Trauma joined #salt
12:45 NVX joined #salt
12:48 DanyC joined #salt
12:58 ilbot3 joined #salt
12:58 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
12:59 sandro_ joined #salt
13:02 tercenya_ joined #salt
13:02 jas02 joined #salt
13:09 edrocks joined #salt
13:22 ivanjaros joined #salt
13:30 subsignal joined #salt
13:39 erlang789 Is there a way to write a .sls recipe following,  If, else, finally logic? Something like..  https://gist.github.com/anonymous/4876a228b9f399f848ca4ca2a668b70f
13:40 GnuLxUsr joined #salt
13:46 Lionel_Debroux joined #salt
13:47 impi joined #salt
13:53 ivanjaros joined #salt
13:55 babilen erlang789: That's not really idiomatic in salt. The "finally" bit would best be done with a listen/listen_in on the state that manages the file and I'd recommend to manage the entire file (and maybe construct it from pillars)
13:56 babilen You are thinking very procedural, whereas salt is descriptive .. You say "The file looks like this" not "If the file has foo on line three, do bar"
14:02 tercenya joined #salt
14:05 jas02 joined #salt
14:08 subsignal joined #salt
14:10 erlang789 babilen: the problem is more the oldschool linux way
14:10 erlang789 babilen: the only way i know of to set these args is by editing that line, and there are a few cases that can come up
14:10 erlang789 babilen:  if there was an api or soemthing for setting that, i def agree it would fit salt alot better
14:11 erlang789 babilen: but sometimes you need to do things that work and not do what is idiomantic/educationally/phd correct
14:11 erlang789 babilen: i cant just make sure the grub_linux looks the same because diff systems can have different values there
14:12 erlang789 babilen: if linux was more idiomantic and gave you a sepearte file just for extra grub args that would be ideal for salt but unfortunately is not the case
14:13 erlang789 babilen: actually you gave me an ide!
14:14 erlang789 babilen: I can create a seperate file just for the cmd line args, afaik the last line read by grub2-mkconfig is the one used. I can put the cmd args into a seperate file and cat both then pipe to mkconfig!
14:14 erlang789 then salt can manage that individual file
14:14 erlang789 thanks
14:18 babilen erlang789: So you are saying that you cannot decide for a minion which line it should have as that is influenced by outside factors? (e.g. people working on that system who are not using salt)
14:25 erlang789 babilen: if you cat /etc/default/grub youl see how it can vary between systems, distros and versions
14:26 erlang789 babilen: I want to write a more universal recipe that can work on an array of systems, I dont want to have a custom grub_cmd for each right now
14:27 erlang789 babilen:  the entry tho GRUB_CMDLINE_LINUX_DEFAULT can override a previous GRUB_CMDLINE_LINUX_DEFAULT and when using grub2-mkconfig it cats this line to GRUB_CMDLINE_LINUX. GRUB_CMDLINE_LINUX usually should not be touched as it has things like lvm params and all.
14:28 erlang789 babilen: if I make a 2nd file that only has the line GRUB_CMDLINE_LINUX_DEFAULT in it, if /etc/default/grub has GRUB_CMDLINE_LINUX_DEFAULT or not it irrelevent as the last  GRUB_CMDLINE_LINUX_DEFAULT will override previous.  Then I can just cat this 2nd file to /etc/default/grub and pipe it to grub2-mkconfig
14:28 erlang789 that 2nd file can easily be managed by saltstack now
14:31 erlang789 to have true customizability this is not ideal solution and both GRUB_CMDLINE_LINUX and the .._DEFAULT need to be parsed fully, but for most use cases I think it should work
14:32 erlang789 you could ofcourse generate your own grub.conf or edit the value inside grub.conf vs /etc/default/grub, but that is way beyond the scope of what i know
14:32 erlang789 so i leverage grub2-mkconfig
14:33 ronnix joined #salt
14:43 sfxandy joined #salt
14:45 theblazehen joined #salt
14:49 babilen erlang789: But why can't you say "I want option1, option2, option3 set on this minions" and "I want option2 and option4 on this one" ?
14:49 erlang789 babilen: I can, but to do that look at the gist I posted. You need to by hand edit /etc/default/grub
14:49 erlang789 babilen: and that is the point
14:50 erlang789 diff options for diff minions
14:50 erlang789 in the easiest possible way
14:56 theblazehen_ joined #salt
14:57 tercenya joined #salt
14:57 sgo_ joined #salt
15:01 babilen erlang789: I still don't understand why you can't tell the minions which options to use
15:01 babilen But it's okay .. we don't have to continue this further
15:05 erlang789 what do you mean when you say options though?
15:05 erlang789 the space delimited key/value pairs in GRUB_CMDLINE_LINUX_DEFAULT?
15:06 erlang789 or the entire contents of /etc/default/grub ?
15:06 erlang789 babilen: i think if we nail down the meaning of "options" i can understand better in the convo
15:06 cmarzull1 You are missing the core point of config mgmt.
15:06 cmarzull1 options = pillar
15:07 babilen erlang789: The space delimited options.. the things you actually want to set
15:07 babilen (which you could easily model as a list in pillars)
15:08 erlang789 babilen: i can use pillars thats fine
15:08 babilen So, why don't you?
15:08 erlang789 babilen: just knowing where to insert that pillar of options into the file is the hard part
15:08 erlang789 okay how do you insert it now?
15:08 erlang789 you have 2 paths. if GRUB_CMDLINE_LINUX_DEFAULT is missing, append, if its there, replace
15:09 babilen Why? Manage the entire file, define a pillar with sensible defaults (or use the formula way of doing this) and then add additional options to the list
15:09 erlang789 because there is an insane amount of configurations ofr that file, depending on everything to what filesystem you are using to what distro
15:09 babilen The options to set there will come entirely from pillars and just joined with spaces
15:10 erlang789 if i have 3 diff systems, i need to manage 3 diff files
15:10 erlang789 i have to have 1 file for 3 systes
15:10 alrayyes joined #salt
15:10 babilen Are your minions that diverese that you have hundreds of combinations? Don't they follow specific options?
15:11 babilen But even then .. you could use file.replace and just replace that line with whatever first while still getting the options out of pillars
15:11 erlang789 my minions are as diverse as say debian for development and testing, these need to be spun on on demand, then fedora for other testing, then fedora with xfs and with ext4
15:11 erlang789 tons of test cases
15:11 erlang789 saltstack makes this easy to deploy quickly and test diff configues
15:11 cmarzull1 hate to break it to you erlang789 but babilen is right. You can template just about anything.
15:11 babilen Yes, and you could set them based on grains
15:12 edrocks joined #salt
15:12 erlang789 cmarzull1: yes and babilen did help me realize a way to template it, by keeping 2 files and catting them
15:12 erlang789 i can replace the 2nd file with a pillar actualy which is even better
15:12 cmarzull1 yuk. Just manage the whole file. It ain't that hard.
15:13 erlang789 have you ever managed a /etc/default/grub b4? o.o so far its the hardest iv ran into
15:13 babilen Why?
15:13 erlang789 because you need to ensure the kernel booted with specific args
15:13 erlang789 otherwise the system goes boom
15:14 cmarzull1 looks like a ini type file where the value of the key value pair is a joined array.
15:14 cmarzull1 Once you get into generating file dynamically all the time, this becomes second nature.
15:15 babilen erlang789: Can you be more concrete .. how do your files differ exactly?
15:15 babilen I mean some might need "option1" others might want "option2", but that should be relatively straightforward to decide based on the minion grains and your minion organisation into different groups
15:16 erlang789 cmarzull1: generating the file dynamically is great, but im lazy. I dont want to keep a diff copy of it for each system (fedora, deb, fedora on xfs, fedora with this, deb with that) etc
15:16 erlang789 cmarzulli1: dynamic editing via python though is an option, then i can do that if, else, finally logic
15:16 cmarzull1 ahh you too lazy to do it the easy way, but insist on the diffult way.
15:16 babilen So far you mention four different cases, two of which are easily differentiated via grains
15:17 cmarzull1 good luck!
15:17 erlang789 cmarzull1: its the easy but time consuiming way
15:17 erlang789 camrzull1: time is monet
15:17 erlang789 i rather spend less time and get more done
15:17 babilen You have four cases, that isn't exactly complicated or time consuming
15:17 babilen But meh ..
15:17 erlang789 also its the byproduct way, manaing all the diff grub cofigs now for each system adds management overhead
15:17 cmarzull1 you have multple people telling you you are doing it the time consuming and unsupportable way. But please go on how your method is easier.
15:18 erlang789 just line every line of code in a program has a hidden maintenance cost, same with this
15:18 babilen Believe me .. managing entire files in a single well defined manner will be much more maintainable in the long run
15:18 erlang789 babilen: i asked specifically how to handle those cases,
15:18 erlang789 babilen: and i got no response
15:18 cmarzull1 babilen: it is known
15:19 erlang789 babilen: deploying a set in stone deployment, i would definately rather manage the entire file, have the exact config
15:19 erlang789 babilen: but im moving at a rate of 1000 steps a second now, the dev environment is fluid, i need fluidity not rigidness rihgt now
15:20 erlang789 i cant take time every step to stop and look at the map
15:20 erlang789 does that make sense?
15:20 cmarzull1 I never ever do a set in stone deployment. Every single thing is a dynamic configuration. From elasticsearch to ceph to syslinux.
15:20 babilen erlang789: Define pillars and target them based on os, os_family (or other more fine grained grains)
15:20 cmarzull1 ^^
15:21 babilen Make use of pillar list merging so that you get a sensible list of options that you then join with spaces
15:21 erlang789 babilen: the targetting woudl have to consider filesystem, is there lvm, is recovery enabled, and other unknowns
15:21 erlang789 so its not that simple as os and os_family
15:21 erlang789 the clauses would get insane
15:22 cmarzull1 set custom grains, match on hostname, minion_id or dozens of otherways to target.
15:22 babilen What the hell are you setting in /etc/default/grub ?
15:22 erlang789 babilen: piller merging looks interesting let me look
15:22 babilen But you can cover this with ...
15:22 babilen custom grains
15:22 babilen And if you want actual help then show us some examples of the files you want to actually manage
15:23 babilen TBH our /etc/default/grub files are quite similar on most minions
15:23 cmarzull1 Is it just that boot line? that'd be super easy to template.
15:23 erlang789 sec thats a good idea
15:23 erlang789 (example)
15:24 johnkeates joined #salt
15:25 erlang789 here is example https://gist.github.com/anonymous/49ed91190a87af4f1b87b3ad131d9e3b
15:27 babilen Looks pretty straightforward .. target the "rd.lvm.lv=fedora/root" based on os_family and a custom lvm grain and then add whatever options out of intel_iommu=on isolcpu=1-15,17-31 nohz_full=1-15,17-31 you need to the list
15:27 babilen Curious that you actually need that .. the initramfs/dracut stuff we deploy handles LVM mounts nicely
15:28 erlang789 babilen: this would fall under pillar merging? If that can automatically detect that intel_iommu=off  and replace it with on ?
15:28 cmarzull1 you still thinking procedurally. You need to be declartive.
15:28 tercenya joined #salt
15:28 erlang789 babilen: I don't know too much about that lvm stuff, so that is what the system installed with, i just dont want to touch it :P  so I just want to edit the _DEFAULT, but some systems i installed have a _DEFAULT already, in that case I want to merge
15:29 cmarzull1 here's a pattern for taking a dict and making it a key = pair which is what your grub file is
15:29 babilen No, you'd target "intel_iommu: on" or "intel_iommu=on" to the minion in the "grub option" list and it'll be used
15:29 cmarzull1 https://gist.github.com/cmarzullo/be60158ecce6c2e20d0a7b892d18621a
15:29 babilen ^
15:29 babilen (for the first approach in which you set key-value pairs)
15:29 babilen Ah, but you can have single options such as "quiet"
15:30 cmarzull1 That's all your grub file is. If os=fedora use this dict. if deb use this dict.
15:30 babilen I'd probably just keep strings in the list for now
15:30 cmarzull1 yeah it's not fully complete. Got nailed with the single options in that pattern.
15:30 erlang789 babilen: the grub.conf imo is annoyingly done hence very complex
15:30 cmarzull1 It's just what I had opened.
15:30 erlang789 grub** not grub.conf
15:31 erlang789 you need to split on space then split again on = to parse it right
15:31 cmarzull1 The file you linked is simply a key=value list.
15:31 erlang789 no 2nd index on split means its key only
15:31 cmarzull1 or the value is just the whole boot line. Skip all that if you don't care.
15:32 erlang789 cmarzull1:  the file is a list of key,values which for GRUB_CMDLINE_LINUX_DEFAULT  have another list of key values inside
15:32 erlang789 so I only want to merge on GRUB_CMDLINE_LINUX_DEFAULT values
15:32 erlang789 not the whole file
15:32 jas02 joined #salt
15:32 erlang789 again the sanest way i found to do this is to parse it in python
15:32 erlang789 but maybe there is a better way
15:33 cmarzull1 https://gist.github.com/cmarzullo/1a61107782662d2df68e516fe76974da
15:33 cmarzull1 you could code that up too if you want. But do they really vary that much? Is it worth it?
15:33 babilen erlang789: Use something like: GRUB_CMDLINE_LINUX="{{ salt['pillar.get']('grub:cmdline_linux')|join(' ') }}"
15:33 cmarzull1 We do that too though in some of our formulas. if value is list join
15:34 erlang789 cmarzull1: that works in 1:1 use cases, if I deploy a debian system, or a diff version of fedora, or a diff centos, i need to maintain 1 salt_state for each one. I wanted a universal one
15:34 erlang789 also if the system uses lvm or diff installation params, thats another salt state to maintain
15:34 cmarzull1 actually it's the contrary. The state is the same. it's only the pillar that changes.
15:34 babilen erlang789: You'll always have 1 state and then various settings in pillars. Data driven configuration .. one template, different data
15:35 babilen heh
15:35 cmarzull1 again the state only manages the file. What feeds the template differs
15:35 cmarzull1 this is the pattern.
15:35 erlang789 babilen:  GRUB_CMDLINE_LINUX="{{ salt['pillar.get']('grub:cmdline_linux')|join(' ') }}"   this looks interesting.  would this go into file related ?
15:36 bluenemo joined #salt
15:37 babilen That's the "get list from pillar and join them with spaces" approach that I've been talking about for a while .. This would be part of the template of the file.managed state
15:40 erlang789 babilen: thanks so much, let me look into this.  what is grub:cmdline_linux, is this the pillar list? and we join it by ' '?   then pillar.get gets the current value inside GRUB_CMDLINE_LINUX ?
15:41 erlang789 ah no that just
15:41 babilen grub:cmdline_linux is a user defined (i.e. you) key sequence in the pillar
15:41 erlang789 generates the line
15:41 erlang789 but that does not merge
15:42 erlang789 what is there with the user generated line
15:42 babilen The merging happens in the pillar
15:42 erlang789 ahh
15:42 erlang789 so it does it behnid the scenes
15:42 babilen You specify the file *completely* without referring to local state of the minion.
15:42 theblazehen joined #salt
15:42 erlang789 babilen: awesome ty il reseach using pillars
15:44 babilen https://docs.saltstack.com/en/latest/ref/configuration/master.html#pillar-merging-options -- https://docs.saltstack.com/en/latest/ref/configuration/master.html#pillar-merge-lists
15:50 haam3r joined #salt
15:57 geomacy joined #salt
16:06 DanyC joined #salt
16:11 sleblanc joined #salt
16:14 sandro_ joined #salt
16:21 erlang789 How do you do a mass deployment? Would you dd the image of the base system (with salt-minion pointing to master) onto all the drives, or is there perhaps a way to use iSCSI or something to boot the system without a harddrive directly from the NAS?
16:22 erlang789 manually installing custom image/distro on each drive is cumbersome i think?
16:22 erlang789 (hardware is identical on each system)
16:23 erlang789 needs are also identical
16:23 erlang789 as well as tasks, code running is identical
16:24 cmarzullo I have a pxe formula that configures a netboot server. System boots off network work installs os, installs salt, then highstates to get it's config.
16:24 cmarzullo that's for physical hardware. for vms  I use salt-cloud
16:25 erlang789 cmarzullo: phys hardware, let me see what pxe is
16:25 erlang789 cmarzullo: do you think it would be possible to avoid putting a drive in the thing, and just have it use a partition on  a NAS?
16:26 erlang789 99.99%of the file io the system does is to a NAS mounted partition anyways
16:26 erlang789 would be nice to avoid having a drive in it to begin with
16:27 cmarzullo You'd get into netbooting. Kind of outside scope of salt. If you can netboot off your nas. But dunno what that is.
16:28 cmarzullo afk
16:29 lempa joined #salt
16:30 erlang789 cmarzullo: thanks looks really interesting https://help.ubuntu.com/community/DisklessUbuntuHowto.  Could simplify deploying compute instances
16:33 DEger joined #salt
16:33 sgo_ babilen, sorry just had a look that you replied back. if I set numprocs to > 1, then supervisor allocates the process names based on indices ("process" becomes "process-1", "process-2", and so on), while the state file only has one name ("process").
16:34 sgo_ and then salt/supervisor gets confused, throwing an error message saying that "process does not exist", while because of numprocs, "process" is split into "process-1"...
16:36 systo joined #salt
16:43 jas02 joined #salt
16:50 onlyanegg joined #salt
16:51 ivanjaros joined #salt
16:55 XenophonF joined #salt
16:59 one joined #salt
17:03 johnkeates joined #salt
17:05 sandro_ joined #salt
17:05 scoates joined #salt
17:14 edrocks joined #salt
17:21 Salander27 joined #salt
17:46 jas02 joined #salt
18:02 cryptolukas joined #salt
18:02 cryptolukas hi
18:04 cryptolukas I have big problems to configure gitfs in salt. Can anyone help me?
18:05 DanyC joined #salt
18:08 systo joined #salt
18:09 c4rc4s_ joined #salt
18:10 Eugene joined #salt
18:11 XenophonF sure
18:11 XenophonF what's not working?
18:11 manji joined #salt
18:11 XenophonF (btw i'm using git for both states and pillars)
18:13 cryptolukas is use my own git server. gitlab.
18:14 cryptolukas I use til now (new installation) a untouched master config.
18:14 linovia joined #salt
18:14 XenophonF OK
18:14 jor joined #salt
18:14 jas02 joined #salt
18:14 cryptolukas i have included the following config under /etc/salt/master.d/fileserver.conf
18:14 vodik so i see pacman.install now wraps pacman in a scope
18:14 vodik does it put memory limits on it?
18:15 vodik i'm witnessing pacman oom when triggered by salt
18:15 vodik but *not* when done directly
18:15 subsignal joined #salt
18:15 vodik need to dig some more, but need to wait for more updates to come
18:15 munhitsu_ joined #salt
18:16 cryptolukas https://gist.github.com/LukasDoe/bb28ea5281772051858186db9940857a
18:16 XenophonF cryptolukas: two things i see right away
18:16 XenophonF first, pubkey/privkey/passphrase need to be indented further to the right
18:16 bmcorser joined #salt
18:17 XenophonF second, you'll need to change the password of your private key now that you've posted it online ;)
18:17 cryptolukas i have changed the password before :D
18:17 XenophonF hah good :)
18:18 cryptolukas ok i changed the config and restart the master
18:18 cryptolukas how can i validate that all works fine now?
18:19 XenophonF vodik: i'm not aware of any ulimits set by salt-minion etc. on child processes
18:19 XenophonF cryptolukas: do `salt-run fileserver.update`
18:19 cryptolukas He say yes :D
18:20 XenophonF then look under /var/cache/salt/master/gitfs
18:20 XenophonF the remote map file should list your repository
18:21 XenophonF also you can try committing something to the default branch (e.g., master)
18:21 Eugene joined #salt
18:21 XenophonF and then run `salt-call cp.list_master`
18:21 cryptolukas XenophonF: there is a dir  ..
18:21 cryptolukas ok i try it.
18:22 vodik XenophonF: yeah, i'll dig into it soon as new updates arrive. i should start pulling metrics from that box anyways, maybe the minion running the pacman module is just using more memory than it used to
18:23 XenophonF cryptolukas: oh, the fileserver backend parameter is wrong too, i think
18:23 XenophonF i think it's `fileserver_backend:`
18:23 XenophonF vodik: the linux oomkiller is the bane of my existence
18:24 vodik XenophonF: its also a tiny digialoceans instance
18:24 XenophonF pacman - that's arch linux, right?
18:24 vodik anyways, just saw it but i have a few other bugs i see at work want to triage
18:24 vodik XenophonF: yeah
18:25 XenophonF by a tiny instance, you mean the $5/mo one, right? with 512 MB RAM?
18:26 LeProvokateur joined #salt
18:27 XenophonF all of my Linux instances are at least 1 GB RAM, but I'm running mostly CentOS with some Ubuntu
18:32 DarkKnightCZ joined #salt
19:10 ilbot3 joined #salt
19:10 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
19:10 emid joined #salt
19:10 stooj joined #salt
19:10 ksk joined #salt
19:11 n1ck joined #salt
19:11 sinh joined #salt
19:11 babilen joined #salt
19:11 jeblair joined #salt
19:11 abele joined #salt
19:11 mattl joined #salt
19:11 Derailed joined #salt
19:11 Vaelatern joined #salt
19:11 Cidan joined #salt
19:11 prg3 joined #salt
19:11 NV joined #salt
19:12 sgo_ joined #salt
19:12 dimeshake joined #salt
19:12 Qwazerty joined #salt
19:12 borgstrom joined #salt
19:12 DarkKnightCZ joined #salt
19:12 ropes joined #salt
19:13 djural joined #salt
19:13 darkalia joined #salt
19:13 concernedcitizen joined #salt
19:13 concernedcitizen joined #salt
19:13 _W_ joined #salt
19:13 smakar joined #salt
19:14 jcristau joined #salt
19:14 vadimck joined #salt
19:14 alexlist joined #salt
19:14 wm-bot4 joined #salt
19:14 d3c4f joined #salt
19:14 hoonetorg joined #salt
19:14 giany joined #salt
19:14 twodayslate joined #salt
19:15 jcockhren joined #salt
19:15 linovia joined #salt
19:15 czchen joined #salt
19:15 etangle joined #salt
19:16 TyrfingMjolnir joined #salt
19:16 aitrus joined #salt
19:16 cryptolukas XenophonF: What do you mean with this exactly? so just make sure you have the right settings in ~/.ssh/config for GitHub
19:16 nihe joined #salt
19:16 kiorky joined #salt
19:16 SubOracle joined #salt
19:16 capn_morgan joined #salt
19:16 gazarsgo joined #salt
19:16 psy0rz joined #salt
19:16 angvp joined #salt
19:17 daveleigh joined #salt
19:17 Patch joined #salt
19:17 DaveQB joined #salt
19:17 the_lalelu joined #salt
19:17 pppingme joined #salt
19:17 mortis joined #salt
19:18 ponyofdeath joined #salt
19:18 LiamMon joined #salt
19:18 johtso joined #salt
19:19 jxm_ joined #salt
19:19 samkottler joined #salt
19:19 tcolvin joined #salt
19:19 thehaven joined #salt
19:19 cmek joined #salt
19:19 moy joined #salt
19:20 filippos joined #salt
19:20 wwalker joined #salt
19:20 dustywusty joined #salt
19:20 pjs joined #salt
19:20 shanesveller joined #salt
19:21 jas02 joined #salt
19:21 Freek joined #salt
19:21 elektrix joined #salt
19:21 aljosa joined #salt
19:22 SteamWells joined #salt
19:22 OliverMT joined #salt
19:22 sjorge joined #salt
19:22 nahkiss joined #salt
19:23 ecdhe joined #salt
19:23 ixs joined #salt
19:23 phtes_ joined #salt
19:23 q1x joined #salt
19:23 viq joined #salt
19:24 kutenai joined #salt
19:24 simonmcc joined #salt
19:24 jas02 joined #salt
19:24 pcn joined #salt
19:24 dh joined #salt
19:24 doriftoshoes joined #salt
19:24 copelco joined #salt
19:24 Shirkdog joined #salt
19:24 Shirkdog joined #salt
19:24 bmcorser joined #salt
19:25 daemonkeeper joined #salt
19:25 angvp joined #salt
19:25 CaptTofu joined #salt
19:25 jas02_ joined #salt
19:25 imanc joined #salt
19:26 Ryan_Lane joined #salt
19:26 liviudm joined #salt
19:27 tmkerr joined #salt
19:27 supermike_ joined #salt
19:28 bbhoss joined #salt
19:28 west575 joined #salt
19:29 cebreidian joined #salt
19:29 Nei left #salt
19:30 JamieH joined #salt
19:30 robawt2 joined #salt
19:30 lkannan joined #salt
19:31 ramblinpeck joined #salt
19:31 xmj joined #salt
19:31 xmj joined #salt
19:31 antonw joined #salt
19:32 nebuchadnezzar joined #salt
19:32 Sandlayth joined #salt
19:32 Sandlayth hello world
19:33 ToeSnacks joined #salt
19:33 Sandlayth is it possible to define my local machine as master, given that i have a dynamic ip?
19:34 egil_ joined #salt
19:34 scooby2 joined #salt
19:35 dwfreed joined #salt
19:36 jas02__ joined #salt
19:36 notnotpe_ joined #salt
19:36 voxpop_ joined #salt
19:36 fannet_ joined #salt
19:36 rem5 joined #salt
19:36 jamesog_ joined #salt
19:36 ALLmightySPIFF joined #salt
19:36 tercenya joined #salt
19:36 mohae_ joined #salt
19:37 Reverend joined #salt
19:37 drags joined #salt
19:37 Sarph joined #salt
19:37 amontalban joined #salt
19:38 llua` joined #salt
19:38 coredumb joined #salt
19:38 J0hnStee- joined #salt
19:38 swa_work joined #salt
19:39 XenophonF joined #salt
19:39 AbyssOne_ joined #salt
19:39 cswang_ joined #salt
19:39 sebastian-w_ joined #salt
19:39 mjimeneznet_ joined #salt
19:39 karlthane joined #salt
19:40 Taytay joined #salt
19:40 descrepes joined #salt
19:40 tawm04_ joined #salt
19:40 toabi_ joined #salt
19:40 tristianc joined #salt
19:40 hlub joined #salt
19:40 MikaT joined #salt
19:40 patrek joined #salt
19:40 canci joined #salt
19:40 stotch joined #salt
19:40 LostSoul joined #salt
19:40 wryfi joined #salt
19:40 MajObviousman joined #salt
19:40 artemz joined #salt
19:40 mTeK joined #salt
19:40 mattp_ joined #salt
19:40 m0nky joined #salt
19:40 LiamMon joined #salt
19:40 davromaniak joined #salt
19:41 NVX joined #salt
19:41 muep joined #salt
19:41 Awesomecase joined #salt
19:41 netzvieh joined #salt
19:42 Skaag joined #salt
19:42 cmarzull1 'possible' has a lot of leeway. :)
19:43 mariusv joined #salt
19:43 mariusv joined #salt
19:43 jhujhiti joined #salt
19:43 smkelly joined #salt
19:44 TooLmaN joined #salt
19:44 capri joined #salt
19:44 hopthrisC joined #salt
19:44 ropes joined #salt
19:44 sarlalian joined #salt
19:44 stooj joined #salt
19:44 renoirb joined #salt
19:44 Steelpan joined #salt
19:44 unusedPhD joined #salt
19:45 jas02_ joined #salt
19:45 subsignal joined #salt
19:45 rome_390 joined #salt
19:45 rhand joined #salt
19:45 jas02_ joined #salt
19:45 izrail joined #salt
19:46 unusedPhD_ joined #salt
19:46 quarcu joined #salt
19:46 komputes joined #salt
19:47 devtea joined #salt
19:48 alinuxninja joined #salt
19:49 prg3 joined #salt
19:49 alxchk joined #salt
19:49 fannet joined #salt
19:50 Ashald joined #salt
19:50 scc joined #salt
19:50 amontalban joined #salt
19:50 amontalban joined #salt
19:50 Morrolan joined #salt
19:51 west575_ joined #salt
19:51 tyler-baker joined #salt
19:51 JoeJulian joined #salt
19:52 Sandlayth cmarzull1: actually, my question was another way to ask you a todo help :p
19:52 kutenai joined #salt
19:53 tuxx joined #salt
19:53 dwfreed joined #salt
19:53 vodik i need some help with terminology - drafting a PR
19:53 fxhp joined #salt
19:53 mohae joined #salt
19:53 vodik what do you guys call _modules/_states/_returners/etc special directories?
19:53 mavhq joined #salt
19:53 vodik salt-ssh currently breaks on those
19:54 Sandlayth grains ?
19:54 kidneb joined #salt
19:54 Sandlayth what the hell with freenode servers today?
19:54 Bryson joined #salt
19:54 Sarphram joined #salt
19:54 pjs_ joined #salt
19:54 hax404_ joined #salt
19:54 jY- joined #salt
19:54 Reverend joined #salt
19:54 voxpop joined #salt
19:54 chmod666org joined #salt
19:54 cmarzull1 Sandlayth: It isn't really a salt question. dydns, vpn or other question more likely.
19:55 beardo joined #salt
19:55 cmarzull1 can your minions ping your master? Then you can. If they can't. They can't.
19:55 adelcast joined #salt
19:55 bVector joined #salt
19:55 vodik waiiit, its been fixed anyways... damn it. but i still see it on develop...
19:55 Sandlayth hum, i see
19:55 Sandlayth thanks
19:57 cebreidian joined #salt
19:57 hexa- joined #salt
19:57 BrokenConn joined #salt
19:58 BrokenConn is there any way, in jinja, to do {% for i in list %} {% if i|is_last %} .. {% endif %} {% endfor %} ?
20:00 descrepes joined #salt
20:00 vodik BrokenConn: use enumerate
20:01 vodik does that work?
20:01 jas02 joined #salt
20:01 vodik because you can always check the index == length
20:02 BrokenConn I can think of {% for foo in bar %}    {% if notlast %}{{ notlast }}{% endif %}    {% set notlast = foo %} {% endfor %}  is_last: {{ notlast }}
20:02 vodik BrokenConn: {% if loop.index is == len(list) %}
20:02 vodik no enumerate
20:02 vodik s/is //
20:03 vodik BrokenConn: actually, no. it's in the documentation
20:03 vodik heh
20:03 vodik BrokenConn: {% if loop.last %}
20:03 vodik BrokenConn: http://jinja.pocoo.org/docs/dev/templates/#list-of-control-structures
20:03 patrek joined #salt
20:03 titilambert joined #salt
20:03 cmek joined #salt
20:03 blue_ joined #salt
20:03 BrokenConn woah
20:04 * BrokenConn hugs vodik
20:04 Salander27 joined #salt
20:04 BrokenConn crap, that's sexy
20:04 mTeK joined #salt
20:04 wryfi joined #salt
20:05 devtea joined #salt
20:05 bergei joined #salt
20:05 sjorge joined #salt
20:05 gerhardqux joined #salt
20:05 smkelly joined #salt
20:05 queso joined #salt
20:06 BrokenConn HOLY CRAP!
20:06 jhauser joined #salt
20:06 utahcon joined #salt
20:06 wm-bot4 joined #salt
20:06 davromaniak joined #salt
20:06 davromaniak joined #salt
20:06 svg joined #salt
20:06 BrokenConn vodik: Having .index as well just made me one of the happiest people on this floor
20:06 stopbit joined #salt
20:07 ponyofdeath joined #salt
20:07 capn_morgan joined #salt
20:07 vodik heh
20:07 Patch joined #salt
20:07 ecdhe joined #salt
20:07 viq joined #salt
20:08 kaak joined #salt
20:08 MTecknology joined #salt
20:08 lv_ joined #salt
20:09 artemz joined #salt
20:09 |aaron joined #salt
20:10 |aaron if i have a state that needs to run on multiple different OS, and on some OS requires special setup, how would you handle that? use an {%if and check the minion's grains?
20:11 eichiro joined #salt
20:33 ilbot3 joined #salt
20:33 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
20:33 JoeJulian joined #salt
20:33 descrepes joined #salt
20:33 doubletwist joined #salt
20:33 McNinja_ joined #salt
20:33 verdurin joined #salt
20:33 eset joined #salt
20:33 eset joined #salt
20:33 NVX joined #salt
20:33 SubOracle joined #salt
20:33 Ashald joined #salt
20:33 lv_ joined #salt
20:33 sjorge joined #salt
20:33 pprkut joined #salt
20:33 \ask joined #salt
20:33 capri joined #salt
20:33 alinuxninja joined #salt
20:33 rhand joined #salt
20:33 xMopxShell joined #salt
20:33 devtea joined #salt
20:33 Xevian joined #salt
20:33 daveleigh joined #salt
20:33 Vaelatern joined #salt
20:33 cro joined #salt
20:33 yidhra joined #salt
20:33 Veers joined #salt
20:33 phtes_ joined #salt
20:33 Derailed joined #salt
20:33 _W joined #salt
20:33 Hazelesque joined #salt
20:33 giany joined #salt
20:33 CustosLimen joined #salt
20:33 PalTale joined #salt
20:33 ropes joined #salt
20:34 angvp joined #salt
20:34 workthrick joined #salt
20:34 Sandlayth joined #salt
20:34 unusedPhD_ joined #salt
20:34 evidence joined #salt
20:34 Dev0n joined #salt
20:34 Kruge joined #salt
20:34 kylehuff joined #salt
20:34 patrek joined #salt
20:34 darkalia joined #salt
20:34 lahwran joined #salt
20:34 georgemarshall joined #salt
20:34 artemz joined #salt
20:34 dimeshake_ joined #salt
20:34 smkelly joined #salt
20:34 nethershaw joined #salt
20:34 LordOfLA joined #salt
20:34 Ch3LL joined #salt
20:34 LotR joined #salt
20:34 ws2k3__ joined #salt
20:34 emid joined #salt
20:34 JPaul joined #salt
20:34 pppingme joined #salt
20:34 mohae joined #salt
20:34 Salander27 joined #salt
20:34 cebreidian joined #salt
20:35 fannet joined #salt
20:35 duckfez joined #salt
20:35 ekkelett joined #salt
20:35 nledez joined #salt
20:35 nledez joined #salt
20:35 Corey joined #salt
20:35 tristianc_ joined #salt
20:35 samkottler joined #salt
20:35 notnotpeter joined #salt
20:35 TyrfingMjolnir joined #salt
20:35 DaveQB joined #salt
20:35 dustywusty joined #salt
20:35 ecdhe joined #salt
20:35 ecdhe joined #salt
20:35 borgstrom joined #salt
20:35 komputes joined #salt
20:35 afics joined #salt
20:35 psy0rz joined #salt
20:35 izrail joined #salt
20:35 NightMonkey joined #salt
20:35 __number5__ joined #salt
20:35 capn_morgan joined #salt
20:35 kalessin joined #salt
20:35 dtsar joined #salt
20:35 sinh joined #salt
20:35 Sketch joined #salt
20:35 hopthrisC joined #salt
20:35 notCalle joined #salt
20:35 alrayyes joined #salt
20:35 drags joined #salt
20:35 ageorgop joined #salt
20:35 amontalban joined #salt
20:35 amontalban joined #salt
20:35 jY joined #salt
20:35 gtmanfred joined #salt
20:35 garphy`aw joined #salt
20:35 telx joined #salt
20:36 Karunamon joined #salt
20:36 jamesog joined #salt
20:36 coldbrewedbrew_ joined #salt
20:36 bergei joined #salt
20:36 ponyofdeath joined #salt
20:36 kidneb joined #salt
20:36 sgo_ joined #salt
20:36 hoonetorg joined #salt
20:36 watersoul joined #salt
20:36 etangle joined #salt
20:36 adelcast joined #salt
20:36 LiamMon joined #salt
20:37 canci joined #salt
20:37 tawm04 joined #salt
20:37 SpX joined #salt
20:37 west575 joined #salt
20:37 mariusv joined #salt
20:37 mariusv joined #salt
20:37 mavhq joined #salt
20:37 synapse_ joined #salt
20:37 concernedcitizen joined #salt
20:37 MTecknology joined #salt
20:37 pjs joined #salt
20:37 hardwire joined #salt
20:37 AbyssOne joined #salt
20:37 concernedcitizen joined #salt
20:37 oeuftete joined #salt
20:37 jhujhiti joined #salt
20:37 doriftoshoes joined #salt
20:38 fxhp joined #salt
20:38 babilen joined #salt
20:38 chmod666org joined #salt
20:38 keekz joined #salt
20:38 thehaven joined #salt
20:38 DarkKnightCZ joined #salt
20:38 MaZ- joined #salt
20:38 stotch joined #salt
20:38 mikepea joined #salt
20:38 Steelpan joined #salt
20:38 honestly joined #salt
20:38 ThomasJ joined #salt
20:38 KingJ joined #salt
20:38 AndreasLutro joined #salt
20:38 rome_390 joined #salt
20:38 asyncsrc_ joined #salt
20:38 wm-bot4 joined #salt
20:38 akw joined #salt
20:38 pocketprotector joined #salt
20:38 Cidan joined #salt
20:38 mirko joined #salt
20:39 Nebraskka joined #salt
20:39 Valfor joined #salt
20:39 Valfor joined #salt
20:39 Rumbles joined #salt
20:39 Tuxick joined #salt
20:39 monokrome joined #salt
20:39 Horgix joined #salt
20:40 alexlist joined #salt
20:40 hasues joined #salt
20:41 pfallenop joined #salt
20:41 pfallenop joined #salt
20:53 ilbot3 joined #salt
20:53 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
20:53 MK_FG joined #salt
20:53 MaZ- joined #salt
20:53 cebreidian joined #salt
20:53 tvinson joined #salt
20:53 moy joined #salt
20:53 dwfreed joined #salt
20:53 fullstop joined #salt
20:53 toabi joined #salt
20:53 KingJ joined #salt
20:53 honestly joined #salt
20:53 ecdhe joined #salt
20:53 mTeK joined #salt
20:53 sinh joined #salt
20:54 unusedPhD_ joined #salt
20:54 Valfor joined #salt
20:54 Valfor joined #salt
20:54 watersoul joined #salt
20:54 emid joined #salt
20:54 pjs joined #salt
20:54 majuscule joined #salt
20:54 alrayyes joined #salt
20:54 afics joined #salt
20:54 renoirb joined #salt
20:54 filippos joined #salt
20:55 Corey joined #salt
20:55 nihe joined #salt
20:55 pppingme joined #salt
20:55 GothAck joined #salt
20:55 oliv` joined #salt
20:55 Lionel_Debroux joined #salt
20:55 lynxman joined #salt
20:56 lynxman joined #salt
20:56 Salander27 joined #salt
20:56 Ashald joined #salt
20:56 devtea joined #salt
20:56 JoeJulian joined #salt
20:56 jfindlay joined #salt
20:56 linovia joined #salt
20:56 Ch3LL joined #salt
20:56 hasues left #salt
20:57 |aaron oh ok no i think its salt-formula that doesnt play nice with freebsd
20:57 |aaron thats where the multiple processes are coming from too i think
20:57 ajolo joined #salt
20:57 wiqd joined #salt
20:58 bocaneri joined #salt
20:58 MTecknology boy oh boy is freenode cranky :(
20:58 pcn joined #salt
20:58 |aaron yeah its been on one this morning
20:58 bbhoss joined #salt
20:59 viq (D)DoS in progress
20:59 viq So, yeah.
20:59 lahwran joined #salt
20:59 |aaron ugh fkn script kiddies
21:00 viq https://twitter.com/freenodestaff/status/779759172518866944
21:00 oliv` joined #salt
21:00 Lionel_Debroux joined #salt
21:00 t0m0 joined #salt
21:01 stupidnic joined #salt
21:01 georgemarshall joined #salt
21:01 egil_ joined #salt
21:02 d3c4f joined #salt
21:03 MTecknology woo!
21:03 MTecknology I just made this pillar data do what you'd expect!! http://dpaste.com/1C24JE3
21:03 CaptTofu joined #salt
21:03 stooj joined #salt
21:04 kiorky joined #salt
21:04 nebuchadnezzar joined #salt
21:05 q1x joined #salt
21:05 tooth joined #salt
21:05 ramblinpeck joined #salt
21:06 ixs joined #salt
21:07 bmcorser joined #salt
21:07 Awesomecase joined #salt
21:07 tcolvin joined #salt
21:07 hamlesh joined #salt
21:08 stopbit joined #salt
21:08 phtes_ joined #salt
21:08 robbintt joined #salt
21:08 johtso joined #salt
21:08 |aaron ok yeah im pretty sure salt.minion is broken on freebsd 10.3
21:08 |aaron in salt-formula
21:09 muep_ joined #salt
21:09 rome_390 joined #salt
21:09 SteamWells joined #salt
21:10 |aaron any time i run it on that minion it stops being able to talk to the master. bunch of "the salt master has cached the public key for this node" errors in the log
21:11 pprkut joined #salt
21:12 futuredale[uf] joined #salt
21:12 samkottler joined #salt
21:12 aljosa joined #salt
21:13 simonmcc joined #salt
21:13 kutenai joined #salt
21:14 yidhra joined #salt
21:14 gpampara joined #salt
21:15 tyler-baker joined #salt
21:15 llua i've been seeing problems with the minion process spiking a cpu core and being unresponsive when using salt.minion. on restart the minion responds twice. but not the public key error you mentioned.
21:16 antonw joined #salt
21:17 Shirkdog joined #salt
21:17 Shirkdog joined #salt
21:17 bergei joined #salt
21:17 Mate joined #salt
21:17 JamieH joined #salt
21:18 nethershaw joined #salt
21:18 Veers joined #salt
21:19 copelco joined #salt
21:27 ropes joined #salt
21:27 drags joined #salt
21:28 Freek joined #salt
21:28 nshttpd joined #salt
21:29 shanesveller joined #salt
21:30 mattl joined #salt
21:31 |aaron this should work as a target in a top file right? 'G@not os:FreeBSD'
21:31 alxchk joined #salt
21:32 imanc joined #salt
21:34 pcdummy joined #salt
21:34 pcdummy joined #salt
21:34 |aaron had to take out the G@
21:34 jgelens joined #salt
21:34 tristianc_ joined #salt
21:34 doriftoshoes joined #salt
21:35 rmc3 joined #salt
21:36 Rumbles joined #salt
21:36 smcquay joined #salt
21:37 rome_390 joined #salt
21:41 aitrus joined #salt
21:42 evidence joined #salt
22:05 ilbot3 joined #salt
22:05 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
22:06 mirko joined #salt
22:06 wangofett joined #salt
22:06 ze- joined #salt
22:06 bluenemo joined #salt
22:07 n1ck joined #salt
22:07 jhujhiti http://hastebin.com/nebusiyoxi.sql why does the output format change here?
22:08 aljosa joined #salt
22:08 nkuttler joined #salt
22:08 jhujhiti if i remove the prereq the formatting goes back to mixed mode as i have configured
22:08 jhujhiti i've seen this before since upgrading to 2016.3.3 but this is the first time i've nailed it down
22:09 M-liberdiko joined #salt
22:09 ventris joined #salt
22:10 samkottler joined #salt
22:11 stupidnic joined #salt
22:12 MK_FG joined #salt
22:12 MK_FG joined #salt
22:13 smkelly joined #salt
22:13 JamieH joined #salt
22:13 etangle joined #salt
22:13 Nebraskka joined #salt
22:13 RandyT joined #salt
22:13 imanc joined #salt
22:13 ecdhe joined #salt
22:13 MaZ- joined #salt
22:13 _W joined #salt
22:13 rmc3 joined #salt
22:13 mattl joined #salt
22:13 shanesveller joined #salt
22:13 nshttpd joined #salt
22:13 Freek joined #salt
22:13 Veers joined #salt
22:13 kutenai joined #salt
22:13 SteamWells joined #salt
22:13 muep_ joined #salt
22:13 johtso joined #salt
22:13 stopbit joined #salt
22:13 Awesomecase joined #salt
22:13 bmcorser joined #salt
22:13 CaptTofu joined #salt
22:13 bbhoss joined #salt
22:13 pcn joined #salt
22:13 wiqd joined #salt
22:13 ajolo joined #salt
22:13 jfindlay joined #salt
22:13 renoirb joined #salt
22:13 alrayyes joined #salt
22:13 unusedPhD_ joined #salt
22:13 fullstop joined #salt
22:13 moy joined #salt
22:13 tvinson joined #salt
22:13 ThomasJ joined #salt
22:13 JPaul joined #salt
22:13 diegows joined #salt
22:13 mihait joined #salt
22:13 imanc joined #salt
22:13 JamieH joined #salt
22:13 smkelly joined #salt
22:15 chmod666org joined #salt
22:22 kutenai joined #salt
22:22 SteamWells joined #salt
22:22 johtso joined #salt
22:24 gazarsgo joined #salt
22:24 ponyofdeath joined #salt
22:25 bbhoss joined #salt
22:25 bmcorser joined #salt
22:25 CaptTofu joined #salt
22:28 Freek joined #salt
22:28 jas02 joined #salt
22:29 Awesomecase joined #salt
22:30 mattl joined #salt
22:30 imanc joined #salt
22:31 cryptolukas I need help to debug git fileserver for states. I get on going errors with Failed to authenticate SSH session
22:32 Sammichmaker joined #salt
22:32 Sammichmaker joined #salt
22:36 cyborg-one joined #salt
22:41 nihe joined #salt
22:41 robawt joined #salt
22:45 jas02_ joined #salt
22:46 JamieH_ joined #salt
22:47 fxhp joined #salt
22:52 Sandlayth joined #salt
22:54 edrocks joined #salt
23:04 DEger joined #salt
23:10 llua |aaron: https://github.com/saltstack/salt/issues/36560 is that what you are experiencing?
23:18 |aaron llua: hmm. i dont think so. my issue is consistent. are you getting authentication errors about the minions key being cached in your minion logs?
23:29 jhujhiti ah! i found my issue: https://github.com/saltstack/salt/issues/35989
23:40 scoates joined #salt
23:41 lilvim joined #salt
23:42 jas02 joined #salt
23:49 nidr0x joined #salt
23:50 llua |aaron: nope
23:51 pjs joined #salt
23:51 MTecknology BAM!!! Port knocking deployed via salt! Pillar data: http://dpaste.com/0Y3K18E
23:52 MTecknology not meant to be "secure"; that just opens up the ssh port when I'm outside of my typical whitelist range; still requires key + pass + 2fa
23:57 M-MadsRC joined #salt
23:57 freelock[m] joined #salt
23:58 gbfdewr joined #salt
23:58 gbfdewr How can I verify that the ext_pillar with git works fine?

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