Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-10-08

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

All times shown according to UTC.

Time Nick Message
00:00 DEger joined #salt
00:05 jeddi krazyj: watch the logs on the minion?
00:06 jeddi Rubin: how about a file.managed stanza with an unless (it exists already), and then a file.append stanza?
00:07 Rubin that seems to be what it takes
00:07 nineteen joined #salt
00:07 Rubin kinda odd that append and prepend etc dont all just have the same stuff as managed
00:07 Rubin or even prepend/append/replace just be arguments to managed..
00:09 amontalban joined #salt
00:09 amontalban joined #salt
00:10 theblazehen joined #salt
00:14 jeddi they can all be in the same parent stanza, though, can't they?
00:15 jeddi but, yeah, you're always going to have places where the syntax could be more complex to cope with certain situations .vs. ... well, not.  :)
00:15 nineteen joined #salt
00:18 theblazehen joined #salt
00:19 liviudm joined #salt
00:20 raspado joined #salt
00:21 augg joined #salt
00:22 lero joined #salt
00:25 d3c4f joined #salt
00:25 nineteen joined #salt
00:25 DEger joined #salt
00:30 theblazehen joined #salt
00:37 nineteen joined #salt
00:38 theblazehen_ joined #salt
00:42 DEger joined #salt
00:44 theblazehen joined #salt
00:48 tapoxi joined #salt
00:49 nineteen joined #salt
00:50 sh123124213 joined #salt
00:51 cliluw joined #salt
00:52 DEger joined #salt
00:55 nineteen joined #salt
00:58 DEger joined #salt
01:00 swa_work joined #salt
01:01 netcho joined #salt
01:04 edrocks joined #salt
01:05 nineteen joined #salt
01:05 lilvim joined #salt
01:09 theblazehen joined #salt
01:10 cyteen joined #salt
01:12 DEger joined #salt
01:13 catpigger joined #salt
01:15 nineteen joined #salt
01:16 jerrcs joined #salt
01:19 scoates joined #salt
01:25 DEger joined #salt
01:25 nineteen joined #salt
01:34 sqwishy joined #salt
01:35 nineteen joined #salt
01:37 DEger joined #salt
01:46 UtahDave left #salt
01:47 ilbot3 joined #salt
01:47 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.12, 2016.3.3 | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
01:48 nineteen joined #salt
01:51 DEger joined #salt
01:53 sh123124213 joined #salt
01:57 nineteen joined #salt
01:58 DEger joined #salt
02:06 nineteen joined #salt
02:15 nineteen joined #salt
02:15 sh123124213 joined #salt
02:18 DEger joined #salt
02:30 DEger joined #salt
02:34 nineteen joined #salt
02:44 DEger joined #salt
02:44 blu__ joined #salt
02:46 nineteen joined #salt
02:50 DEger joined #salt
02:55 nineteen joined #salt
03:01 DEger joined #salt
03:02 netcho joined #salt
03:06 edrocks joined #salt
03:07 nineteen joined #salt
03:10 DEger joined #salt
03:15 nineteen joined #salt
03:20 DEger joined #salt
03:25 fee joined #salt
03:26 fee left #salt
03:26 fee joined #salt
03:34 justan0theruser joined #salt
03:44 nineteen joined #salt
03:45 DEger joined #salt
03:51 tehsu if I want to grab just the stdout from a cmd.script, is that possible?
03:53 armguy joined #salt
03:54 tehsu nevermind, i figured it out, thx
03:54 nineteen joined #salt
03:55 Antiarc joined #salt
03:57 DEger joined #salt
04:04 nineteen joined #salt
04:06 om joined #salt
04:08 mikea joined #salt
04:08 DEger joined #salt
04:12 raspado joined #salt
04:13 nineteen joined #salt
04:17 moy joined #salt
04:19 aidin joined #salt
04:20 DEger joined #salt
04:21 voileux__ joined #salt
04:21 armyriad joined #salt
04:24 nineteen joined #salt
04:25 XenophonF joined #salt
04:26 armguy joined #salt
04:31 DEger joined #salt
04:38 DEger joined #salt
04:44 mpanetta_ joined #salt
04:50 DEger joined #salt
04:54 nineteen joined #salt
05:03 netcho joined #salt
05:04 nineteen joined #salt
05:08 DEger joined #salt
05:08 edrocks joined #salt
05:13 nineteen joined #salt
05:21 DEger joined #salt
05:32 DEger joined #salt
05:38 DEger joined #salt
05:42 raspado joined #salt
05:48 nineteen joined #salt
05:51 DEger joined #salt
05:53 nineteen joined #salt
06:01 netcho joined #salt
06:03 nineteen joined #salt
06:04 DEger joined #salt
06:15 Miouge joined #salt
06:16 nineteen joined #salt
06:24 nineteen joined #salt
06:33 DEger joined #salt
06:33 aidin joined #salt
06:34 nineteen joined #salt
06:37 Trauma joined #salt
06:42 DEger joined #salt
06:44 nineteen joined #salt
06:50 cryptolukas joined #salt
06:53 mavhq joined #salt
06:55 nineteen joined #salt
06:58 DEger joined #salt
06:59 llua joined #salt
07:00 sh123124213 joined #salt
07:02 cryptolukas joined #salt
07:03 sh123124213 joined #salt
07:03 nineteen joined #salt
07:03 sh123124213 joined #salt
07:07 cryptolukas_ joined #salt
07:07 cryptolukas joined #salt
07:10 fojdfsj joined #salt
07:10 fojdfsj koph
07:10 DEger joined #salt
07:10 edrocks joined #salt
07:11 cryptolukas joined #salt
07:11 cryptolukas left #salt
07:11 cryptolukas joined #salt
07:11 dsfdgfsa joined #salt
07:11 dsfdgfsa sfsdwe
07:12 cryptolukas joined #salt
07:14 cryptolukas How can I generate a iptables-save file from my pillar data?
07:16 sffdfsfdsfds joined #salt
07:16 sffdfsfdsfds bla
07:16 sffdfsfdsfds left #salt
07:21 DEger joined #salt
07:22 Trauma joined #salt
07:32 DEger joined #salt
07:33 JPT joined #salt
07:36 sh123124_ joined #salt
07:43 Miouge joined #salt
07:47 DEger joined #salt
07:49 llua joined #salt
07:51 aidin joined #salt
07:54 sh123124213 joined #salt
07:59 sh123124_ joined #salt
08:01 sh123124213 joined #salt
08:04 nineteen joined #salt
08:04 llua joined #salt
08:06 Miouge joined #salt
08:14 nineteen joined #salt
08:16 DEger joined #salt
08:23 jacekplacek joined #salt
08:24 lero joined #salt
08:27 DEger joined #salt
08:31 codehotter Can I see the output of jinja but before it goes into yaml?
08:31 codehotter how do I do that
08:32 codehotter in the log I just see the yaml error
08:32 codehotter but it only prints 1 line
08:34 nineteen joined #salt
08:42 mohae_ joined #salt
08:43 nineteen joined #salt
08:51 sh123124213 codehotter: jinja is rendered before yaml
08:52 sh123124213 i'm not sure what you mean when you say use the output of jinja
08:52 hemebond codehotter: render_jinja_tmpl
08:52 hemebond You can use render_jinja_tmpl from a Python console (after importing stuff) and render a template.
08:53 hemebond Or, if it doesn't need all the Salt context, just render it directly in Jinja2.
08:57 DEger joined #salt
08:57 codehotter it does need all the salt context
08:58 codehotter OK render_jinja_tmp after importing "all the stuff"
08:58 codehotter that should be enough of a pointer
09:03 sgo_ joined #salt
09:03 nineteen joined #salt
09:05 cyteen joined #salt
09:08 mikecmpbll joined #salt
09:09 DEger joined #salt
09:12 edrocks joined #salt
09:13 nineteen joined #salt
09:18 cryptolukas How can I generate a iptables-save file from my pillar data?
09:19 DEger joined #salt
09:23 nineteen joined #salt
09:33 DEger joined #salt
09:35 infrmnt joined #salt
09:35 nineteen joined #salt
09:37 cyteen joined #salt
09:40 yuhll joined #salt
09:45 nineteen joined #salt
09:50 catpig joined #salt
09:53 nineteen joined #salt
09:55 zer0def joined #salt
10:01 yuhll joined #salt
10:02 DEger joined #salt
10:08 DarkKnightCZ joined #salt
10:08 llua joined #salt
10:08 llua joined #salt
10:13 nineteen joined #salt
10:13 DEger joined #salt
10:23 nineteen joined #salt
10:28 DEger joined #salt
10:35 DarkKnightCZ joined #salt
10:36 nineteen joined #salt
10:38 DEger joined #salt
10:43 nineteen joined #salt
10:52 nineteen joined #salt
11:03 nineteen joined #salt
11:05 DEger joined #salt
11:08 randomA joined #salt
11:10 randomA left #salt
11:11 aidin joined #salt
11:13 nineteen joined #salt
11:14 edrocks joined #salt
11:15 toanju joined #salt
11:20 DEger joined #salt
11:21 llua joined #salt
11:24 nineteen joined #salt
11:32 nineteen joined #salt
11:34 DEger joined #salt
11:35 toanju joined #salt
11:42 abednarik joined #salt
11:43 nineteen joined #salt
11:48 DEger joined #salt
11:52 nineteen joined #salt
11:59 DEger joined #salt
12:02 nineteen joined #salt
12:08 abednarik joined #salt
12:09 ivanjaros joined #salt
12:10 DEger joined #salt
12:12 nineteen joined #salt
12:18 DEger joined #salt
12:20 abednarik joined #salt
12:27 cyborg-one joined #salt
12:30 DEger joined #salt
12:42 amcorreia joined #salt
12:44 raeven_ joined #salt
12:53 nineteen joined #salt
12:56 gleo joined #salt
12:57 gleo can i store configuration settings in a YAML file
13:04 nineteen joined #salt
13:08 gleo srry in a database
13:13 amontalban joined #salt
13:13 amontalban joined #salt
13:14 nineteen joined #salt
13:16 edrocks joined #salt
13:17 sh123124213 gleo : maybe you mean external pillars
13:22 gleo sh123124213: i mean i want to use salt programtically and instead fo generating yaml files for vm/cloud configs I want to store them in a db
13:23 nineteen joined #salt
13:23 llua joined #salt
13:24 sh123124213 vm/cloud config should be in pillars and you can save pillars in db.
13:25 gleo sh123124213: thx can u also share relevant docs/guides plz
13:25 sh123124213 https://docs.saltstack.com/en/latest/topics/development/external_pillars.html
13:26 sh123124213 https://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.mysql.html
13:27 sh123124213 you can search for the specific datastore you want example redis
13:27 aidin joined #salt
13:27 sh123124213 example for mongo : http://www.tmartin.io/articles/2014/salt-pillar-mongodb/
13:33 gleo thx sh123124213
13:34 nineteen joined #salt
13:35 sh123124213 np
13:40 cyteen joined #salt
13:43 nineteen joined #salt
13:45 llua joined #salt
13:48 Lionel_Debroux_ joined #salt
13:53 nineteen joined #salt
13:53 sh123124213 trying to setup multimaster + multisyndic + minions . anybody got experience with this ?
14:03 nineteen joined #salt
14:03 komputes joined #salt
14:12 nineteen joined #salt
14:25 nineteen joined #salt
14:32 nineteen joined #salt
14:41 notCalle joined #salt
14:42 nineteen joined #salt
14:46 cyborg-one joined #salt
14:49 justanotheruser joined #salt
14:52 nineteen joined #salt
14:53 DEger joined #salt
14:57 jacekplacek joined #salt
15:02 nineteen joined #salt
15:12 cyteen joined #salt
15:17 felskrone joined #salt
15:18 edrocks joined #salt
15:22 ekristen joined #salt
15:22 nineteen joined #salt
15:25 tapoxi joined #salt
15:29 DEger joined #salt
15:32 nineteen joined #salt
15:39 abednarik joined #salt
15:42 nineteen joined #salt
15:43 cryptolukas I need help. How can I generate a iptables-save file from my pillar data? I want to generate custom iptables-save files based on pillar sls-files
15:52 iggy codehotter: on the minion itself, `salt-call -l debug state.sls foo.bar test=True` will show the rendered output... that's the easiest way I know of
15:53 nineteen joined #salt
15:53 iggy sh123124213: just enough to abandon it when I tried
15:53 iggy cryptolukas: you can't (at least there's nothing built into to salt to do that)
15:55 cryptolukas iggy: yes i now. but have anyone an idea how that works ?
15:56 iggy I mean I'm no iptables expert, but it's just a text file with some formatting right? Just make a jinja template that renders the same way
15:57 sp0097 joined #salt
15:57 sp0097 left #salt
16:02 cryptolukas Yes that's correct. I don't know. that to write such a jinja template
16:02 nineteen joined #salt
16:03 theblazehen_ joined #salt
16:12 nineteen joined #salt
16:13 iggy I've never heard of such a thing, so you might be on your own
16:13 iggy maybe ask the mailing list
16:22 nineteen joined #salt
16:27 sgo_ joined #salt
16:29 cryptolukas oh thanks
16:30 Fr0Master joined #salt
16:31 Miouge joined #salt
16:31 raeven__ joined #salt
16:32 nineteen joined #salt
16:34 darvon joined #salt
16:34 eichiro joined #salt
16:35 swills_ joined #salt
16:37 abednarik joined #salt
16:40 swills__ joined #salt
16:41 nineteen joined #salt
16:41 davromaniak joined #salt
16:41 davromaniak joined #salt
16:49 sh123124213 iggy: well if you didn't manage to do it, I might as well quit
16:52 nineteen joined #salt
16:53 Miouge joined #salt
17:00 nineteen joined #salt
17:01 sh123124213 joined #salt
17:05 aidin joined #salt
17:11 nineteen joined #salt
17:13 Pintonium joined #salt
17:16 lompik joined #salt
17:17 lompik joined #salt
17:20 edrocks joined #salt
17:21 nineteen joined #salt
17:24 cyborg-one joined #salt
17:30 iggy sh123124213: well, it just didn't suit our needs (syndic in particular has a lot of things that it doesn't play well with)
17:30 sh123124213 like ?
17:31 iggy we ended up just going with a master per env (dev/qa/prod) and one MoM
17:31 iggy mine was a big one for us
17:32 iggy grains caching
17:32 iggy event firing
17:32 nineteen joined #salt
17:33 theblazehen_ joined #salt
17:35 sh123124213 thing with syndic is that you can offer it to other groups/users and they can run the infra below as they want and MoM can still manage them
17:36 sh123124213 I don't understand why mine, grains, events would be an issue
17:37 iggy some of those are syndic issues, some multi-master issues
17:37 iggy go look at the issue tracker... you'll find most of what I'm talking about... if it still fits your needs, then go for it
17:37 sh123124213 would you point me to some ? :)
17:38 sh123124213 is:pr is:open syndic grains
17:38 sh123124213 nvm
17:38 iggy is:issue
17:40 debian112 joined #salt
17:40 sh123124213 I'll take look, thnx
17:41 nineteen joined #salt
17:42 BallinBallen joined #salt
17:42 BallinBallen left #salt
17:44 Gehenna joined #salt
17:44 BallinBallen joined #salt
17:50 Miouge joined #salt
17:51 nineteen joined #salt
17:56 BenjiAle joined #salt
18:02 nineteen joined #salt
18:07 felskrone joined #salt
18:11 nineteen joined #salt
18:17 abednarik joined #salt
18:21 XenophonF joined #salt
18:23 guerby joined #salt
18:23 nineteen joined #salt
18:31 nineteen joined #salt
18:33 cyborg-one joined #salt
18:35 seet joined #salt
18:36 Pintonium joined #salt
18:36 Pintonium hello
18:36 Pintonium if I want to copy an entire directory from the master to minion, whats the best module to use?
18:38 nicksloan joined #salt
18:38 babilen Pintonium: file.recurse
18:38 DEger joined #salt
18:39 Pintonium ok, thanks
18:41 seet The masterless doc says that I shouldn't start the salt-minion daemon when running masterless - but it seems to be default when installing via the bootstrap script. Is it recommended just to do `/usr/sbin/update-rc.d salt-minion disable
18:41 seet ` straight after the boostrap ?
18:43 nineteen joined #salt
18:53 nineteen joined #salt
19:01 nineteen joined #salt
19:04 mapu joined #salt
19:06 sebastian-w joined #salt
19:09 Pintonium is it possible, in an sls file, to require states outside of the current directory; if so, how do I reference it?
19:10 Pintonium in my current sls file, I want to require an install_pip that is found under salt://common/get-pip.sls but the state file im in is under salt://salt-scaffold/init.sls
19:11 BenjiAle joined #salt
19:11 nineteen joined #salt
19:12 BenjiAle left #salt
19:16 Pintonium nvm, figured it out; needed to include the state
19:18 cDR joined #salt
19:19 tapoxi joined #salt
19:19 Miouge joined #salt
19:22 edrocks joined #salt
19:28 CustosLimen joined #salt
19:31 Miouge joined #salt
19:32 nineteen joined #salt
19:32 debian112 joined #salt
19:34 Miouge joined #salt
19:49 ivanjaros joined #salt
19:52 keltim joined #salt
20:06 mavhq joined #salt
20:11 mohae joined #salt
20:11 rogi joined #salt
20:13 nineteen joined #salt
20:16 CustosLimen joined #salt
20:17 DEger joined #salt
20:20 keltim joined #salt
20:21 nineteen joined #salt
20:30 toanju joined #salt
20:33 nineteen joined #salt
20:36 Qlawy joined #salt
20:43 theblazehen_ joined #salt
20:43 nineteen joined #salt
20:50 pfc joined #salt
20:51 nineteen joined #salt
20:53 mavhq joined #salt
21:00 iggy seet: yeah, they probably don't expect that to be the normal means of use after installation
21:00 abednarik joined #salt
21:02 nineteen joined #salt
21:04 sgo_ joined #salt
21:07 ws2k3 joined #salt
21:08 henk_ joined #salt
21:11 nineteen joined #salt
21:13 notCalle joined #salt
21:21 nineteen joined #salt
21:24 edrocks joined #salt
21:27 jdipierro joined #salt
21:31 nineteen joined #salt
21:41 dh joined #salt
21:42 nineteen joined #salt
21:45 abednarik joined #salt
21:52 nineteen joined #salt
22:01 nineteen joined #salt
22:02 toanju joined #salt
22:03 cyteen joined #salt
22:04 jdipierro joined #salt
22:05 jdipierro joined #salt
22:11 nineteen joined #salt
22:14 jdipierro joined #salt
22:15 jdipierro joined #salt
22:16 jdipierro joined #salt
22:17 jdipierro joined #salt
22:18 jdipierro joined #salt
22:18 jdipierro joined #salt
22:19 jdipierro joined #salt
22:20 jdipierro joined #salt
22:21 jdipierro joined #salt
22:21 nineteen joined #salt
22:22 jdipierro joined #salt
22:22 jdipierro joined #salt
22:23 jdipierro joined #salt
22:24 jdipierro joined #salt
22:25 jdipierro joined #salt
22:25 om joined #salt
22:26 jdipierro joined #salt
22:26 jdipierro joined #salt
22:27 jdipierro joined #salt
22:30 DEger joined #salt
22:32 nineteen joined #salt
22:40 jdipierro joined #salt
22:42 DEger joined #salt
22:42 nineteen joined #salt
22:49 nineteen joined #salt
22:50 sh123124213 joined #salt
22:51 DEger joined #salt
23:00 nineteen joined #salt
23:00 jdipierro joined #salt
23:01 jdipierro joined #salt
23:02 jdipierro joined #salt
23:03 jdipierro joined #salt
23:03 jdipierro joined #salt
23:04 jdipierro joined #salt
23:05 jdipierro joined #salt
23:06 jdipierro joined #salt
23:07 jdipierro joined #salt
23:07 jdipierro joined #salt
23:08 jdipierro joined #salt
23:09 jdipierro joined #salt
23:09 sh123124213 joined #salt
23:10 jdipierro joined #salt
23:11 jdipierro joined #salt
23:11 nineteen joined #salt
23:11 ivanjaros joined #salt
23:11 jdipierro joined #salt
23:13 jdipierro joined #salt
23:13 hemebond joined #salt
23:21 nineteen joined #salt
23:22 abednarik joined #salt
23:26 edrocks joined #salt
23:29 jdipierro joined #salt
23:40 bluenemo joined #salt

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