Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-07-10

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

All times shown according to UTC.

Time Nick Message
00:09 flowstate joined #salt
00:13 zzzirk joined #salt
00:27 colegatron_origi joined #salt
00:34 lero joined #salt
00:36 amcorreia joined #salt
00:51 mihait_ joined #salt
00:51 moy_ joined #salt
00:56 c4t3l joined #salt
01:05 mohae joined #salt
01:08 flowstate joined #salt
01:20 rem5 joined #salt
01:27 fannet joined #salt
01:27 catpigger joined #salt
01:35 rem5 joined #salt
01:54 racooper joined #salt
01:54 hasues joined #salt
02:09 flowstate joined #salt
02:12 Sandlayth joined #salt
02:12 Sandlayth Hello world!
02:12 Sandlayth i was looking https://docs.saltstack.com/en/develop/ref/pillar/all/salt.pillar.vault.html
02:12 Sandlayth i was just wondering
02:13 Sandlayth there's no problem to use an IPv6 in vault.host, right ?
02:14 ageorgop joined #salt
02:14 Sandlayth or could i even use just a hostname
02:14 hasues left #salt
02:14 Sandlayth i think it's possible, right?
02:19 iceyao joined #salt
02:23 flebel joined #salt
02:24 iggy looks like it should be fine
02:24 Sandlayth i had a doubt
02:25 Sandlayth there's no more informations about vault config using salt?
02:25 Sandlayth i mean https://www.vaultproject.io/docs/config/index.html offers more options
02:26 Sandlayth ah
02:26 Sandlayth i have to create the profile using the link above
02:26 Sandlayth then link it in the module?
02:28 iggy haven't messed with that particular pillar, not sure
02:28 POJO joined #salt
02:29 * Sandlayth watches https://github.com/ripple/salt-pillar-vault
02:41 arif-ali joined #salt
03:03 amcorreia joined #salt
03:06 subsignal joined #salt
03:08 flowstate joined #salt
03:18 hemebond The YAML filter doesn't seem to understand unicode ;-(
03:18 badon joined #salt
03:20 treaki_ joined #salt
03:28 fannet joined #salt
03:28 Edgan joined #salt
03:29 iggy welcome to python
03:32 discore_ joined #salt
03:32 hemebond :-(
03:41 hemebond Jinja outputs Unicode. yaml filter can't understand unicode. I wonder if the develop version is still bugged like this.
03:42 iggy it's more than likely pyyaml or jinja, not salt
03:42 hemebond Yes.
03:42 hemebond Not Salt, pyyaml and jinja2.
03:42 hemebond But Salt has its own stuff around PyYAML.
03:53 hemebond Still a problem in develop.
03:59 hemebond Even with yaml_utf8
04:08 flowstate joined #salt
04:12 hemebond Seems to work fine in pyyaml.
04:12 hemebond Unless you use safe_load, which is what Salt uses.
04:20 hemebond Reckon Salt would accept a patch that added python/unicode to the constructor?
04:29 c4t3l joined #salt
04:35 iceyao joined #salt
04:44 racooper joined #salt
04:54 brent_ joined #salt
04:55 hasues joined #salt
05:01 armin joined #salt
05:04 the_ktosiek joined #salt
05:08 M-cpt joined #salt
05:10 Satyajit joined #salt
05:21 hasues joined #salt
05:29 fannet joined #salt
05:50 justyns joined #salt
06:23 u joined #salt
06:39 LeProvokateur joined #salt
06:45 justyns joined #salt
07:30 fannet joined #salt
07:45 fannet joined #salt
07:53 hax404 joined #salt
07:55 armyriad joined #salt
08:04 feld joined #salt
08:05 blueelvis joined #salt
08:09 flowstate joined #salt
08:11 onlyanegg joined #salt
08:41 impi joined #salt
08:42 iceyao joined #salt
08:53 Edgan joined #salt
08:53 moy joined #salt
08:53 btorch joined #salt
08:53 hemebond joined #salt
08:53 stack joined #salt
08:53 stokbaek joined #salt
08:53 ecdhe joined #salt
08:53 mavhk joined #salt
08:53 sagerdearia joined #salt
08:53 justanotheruser joined #salt
08:53 tawm04 joined #salt
08:53 drawsmcgraw joined #salt
08:53 jesusaur joined #salt
08:53 berto- joined #salt
08:53 [dee] joined #salt
08:53 Sketch joined #salt
08:53 writteno1 joined #salt
08:53 Deliant joined #salt
08:53 wiqd joined #salt
08:53 om2 joined #salt
08:53 keith4 joined #salt
08:53 NightMonkey joined #salt
08:53 carmony joined #salt
08:53 oeuftete joined #salt
08:53 Laogeodritt joined #salt
08:53 jfindlay joined #salt
08:53 Llmiseyhaa joined #salt
08:53 jav joined #salt
08:53 Qlawy joined #salt
08:53 ntropy joined #salt
08:53 karlthane joined #salt
08:53 bstaz joined #salt
08:53 Eureka703 joined #salt
08:53 nethershaw joined #salt
08:53 __alex joined #salt
08:53 kidneb joined #salt
08:53 ws2k3 joined #salt
08:53 GothAck_ joined #salt
08:53 muep__ joined #salt
08:53 Favorett1 joined #salt
08:53 weylin joined #salt
08:53 Gareth joined #salt
08:53 kutenai joined #salt
08:53 SteamWells joined #salt
08:53 pjs joined #salt
08:53 cyraxjoe joined #salt
08:53 saltstackbot joined #salt
08:53 jwon joined #salt
08:53 crashmag joined #salt
08:53 evilrob joined #salt
08:53 izibi joined #salt
08:53 dh joined #salt
08:53 nikogonzo joined #salt
08:53 ramblinpeck joined #salt
08:53 esharpmajor joined #salt
08:53 vaelen joined #salt
08:53 iggy joined #salt
08:53 xenoxaos joined #salt
08:53 daveleigh joined #salt
08:53 chutzpah joined #salt
08:53 munhitsu_ joined #salt
08:53 OliverMT joined #salt
08:53 copelco joined #salt
08:53 atmosx joined #salt
08:53 devtea joined #salt
08:53 izrail joined #salt
08:53 asyncsrc1 joined #salt
08:53 dober joined #salt
08:53 MajObviousman joined #salt
08:53 norii joined #salt
08:53 kuromagi joined #salt
08:53 jeblair joined #salt
08:53 Ryan_Lane joined #salt
08:53 clouddale joined #salt
08:53 serverascode joined #salt
08:53 CaptTofu joined #salt
08:53 aljosa joined #salt
08:53 antonw joined #salt
08:53 abele joined #salt
08:53 bbhoss joined #salt
08:53 trent__ joined #salt
08:53 kossy_ joined #salt
08:54 CeBe joined #salt
08:54 rem5 joined #salt
08:54 hosttor joined #salt
08:54 JPT joined #salt
08:54 TOoSmOotH joined #salt
08:54 patrek joined #salt
08:54 pid1 joined #salt
08:54 fxhp joined #salt
08:54 Antiarc_ joined #salt
08:54 borgstrom joined #salt
08:54 B1nny joined #salt
08:54 LordOfLA joined #salt
08:54 ahammond joined #salt
08:54 dustywusty joined #salt
08:54 bryguy joined #salt
08:54 jab416171 joined #salt
08:54 Dev0n joined #salt
08:54 gtmanfred joined #salt
08:54 repl1cant joined #salt
08:54 nebuchadnezzar joined #salt
08:54 SWA joined #salt
08:55 serverascode joined #salt
08:57 hosttor joined #salt
09:10 flowstate joined #salt
09:21 barajasfab joined #salt
09:25 felskrone joined #salt
09:34 pfallenop joined #salt
10:29 deus_ex1 joined #salt
10:39 TyrfingMjolnir joined #salt
10:41 N-Mi joined #salt
10:41 N-Mi joined #salt
10:50 jhauser joined #salt
11:16 iceyao joined #salt
11:34 losh joined #salt
11:47 iceyao joined #salt
12:21 hosttor joined #salt
12:46 brent_ joined #salt
13:00 whitenoise joined #salt
13:18 goudale joined #salt
13:48 goudale joined #salt
13:49 p3rror joined #salt
13:57 ruxu joined #salt
14:12 hasues joined #salt
14:13 hasues left #salt
14:17 myraft joined #salt
14:25 cyborg-one joined #salt
14:33 goudale joined #salt
14:40 zlittle joined #salt
14:48 Jimlad joined #salt
14:50 catpig joined #salt
14:56 goudale joined #salt
15:06 btorch is there a best practice or do not do it in regards to generating configs from pillars ?
15:12 amcorreia joined #salt
15:21 XenophonF btorch: what do you mean?
15:22 XenophonF pillar is kind of designed for generating configs
15:22 XenophonF i usually write states that indirectly access pillar
15:23 XenophonF so i have some set of defaults specified in the state that i merge with pillar data, which is intended to override the defaults
15:23 XenophonF hang on let me show you an example of what i mean
15:23 btorch nah this is what I mean https://github.com/btorch/salt-swift/blob/master/swift-files/account/account-server.conf <- that's some old setup I did long time ago
15:24 btorch I'm going about creating something new but following more the formula way of things with map, defaults ... etc
15:24 XenophonF btorch: https://github.com/irtnog/salt-states/tree/development/sshd
15:24 btorch It kind of make sense to me to generate the whole config like the above cause entries can change a lot
15:25 XenophonF got a 404 on the link you sent me
15:25 btorch ah cool
15:25 btorch ah I never made it public :)
15:25 XenophonF if you mean iterating over a dictionary and generating configs dynamically, then i'm totally on board
15:25 XenophonF i make heavy use of code generator-like style
15:25 XenophonF that way i don't have to program in all the options
15:26 XenophonF which let's me do tricks like this
15:26 XenophonF btorch: https://github.com/irtnog/salt-states/blob/development/apache/files/mod_template.conf
15:26 btorch https://gist.github.com/btorch/ee5f8d1867300daffaf7967a8ab66b88
15:26 XenophonF fully generic apache module config template
15:27 XenophonF and this make's the magic happen
15:27 XenophonF https://github.com/irtnog/salt-states/blob/development/apache/lib.jinja
15:27 btorch yeah that's what I mean
15:27 XenophonF so it looks like you and i are on the same page
15:28 XenophonF except i use defaults.yaml and map.jinja
15:28 btorch correct, that's what I'm changing now
15:28 XenophonF here's another example in the same style
15:28 XenophonF https://github.com/irtnog/openstack-formula/blob/master/keystone/files/juno/keystone.conf
15:28 btorch that salt-swift stuff was from like 3y ago
15:29 XenophonF sometimes i take the code generation thing a little too far
15:29 XenophonF https://github.com/irtnog/active-directory-formula/blob/master/ad/ds/template.sls
15:29 XenophonF https://github.com/irtnog/active-directory-formula/blob/master/ad/ds/options.jinja
15:29 XenophonF which either might be an incredible hack or an awful kludge, i haven't decided which yet
15:30 XenophonF because i end up writing an interface to powershell in jinja
15:30 XenophonF https://github.com/irtnog/active-directory-formula/blob/master/ad/ds/knobs.yaml
15:30 XenophonF which is probably insane and better off done in python
15:30 XenophonF ymmv
15:31 hosttor joined #salt
15:31 XenophonF do any of those examples help?
15:31 btorch yeah for sure thanks
15:31 XenophonF or make sense, for that matter?
15:31 XenophonF oh good
15:31 btorch I just wasn't sure if there was a no no on doing that or not :)
15:31 btorch for like formula stuff
15:33 XenophonF no idea
15:33 XenophonF better ask tomorrow when more people are on
15:33 XenophonF that model works well for me
15:40 rem5 joined #salt
15:56 goudale joined #salt
16:03 hasues joined #salt
16:03 hasues left #salt
16:10 flowstate joined #salt
16:18 ronnix joined #salt
16:21 r3tic3nc3 joined #salt
16:21 zer0def joined #salt
16:22 hasues joined #salt
16:25 gngsk joined #salt
16:27 FreeSpencer joined #salt
16:27 FreeSpencer joined #salt
16:28 ageorgop joined #salt
16:44 hasues joined #salt
16:45 hasues left #salt
16:49 pcdummy I use sometimes a very simple style, just define them as string in pillar and include pillar strings in salt states
16:54 writtenoff joined #salt
16:56 felskrone joined #salt
16:57 flowstate joined #salt
17:00 armguy joined #salt
17:03 pcdummy Pillar: https://github.com/pcdummy/saltstack-aptcacherng-formula/blob/master/pillar.example.sls and state: https://github.com/pcdummy/saltstack-aptcacherng-formula/blob/master/aptcacherng/init.sls
17:12 flowstate joined #salt
17:15 impi joined #salt
17:19 flowstate joined #salt
17:32 fracklen joined #salt
17:55 flowstate joined #salt
18:01 Slimmons joined #salt
18:02 Slimmons Anybody know if it's possible to do something like open notepad on a windows 7 desktop via salt-minion?  Looks like maybe not?  https://github.com/saltstack/salt/issues/4834
18:02 saltstackbot [#4834][OPEN] Feature request: Make salt-minion interact with desktop on Windows | The salt-minion windows service does not interact with desktop. So, when you start a program through salt-minion, you will never see the GUI window....
18:04 manji joined #salt
18:08 ruxu joined #salt
18:14 Turl joined #salt
18:21 kevinquinnyo1 joined #salt
18:29 Turl joined #salt
18:34 quup joined #salt
18:36 quup Hi, writing a custom state which needs to execute external commands, is there a way to pass command and arguments as a normal python list?  __salt__['cmd.run'] seems to be relying on voodoo escaping, and replacing each argument with an environment variable is pretty ugly
18:50 amcorreia joined #salt
18:57 JPT joined #salt
18:57 ronnix joined #salt
19:17 iggy quup: you can use normal python process stuff
19:19 quup iggy: will that work with things like salt-ssh?
19:28 djgerm left #salt
19:30 Slimmons Anybody know if it's possible to do something like open notepad on a windows 7 desktop via salt-minion?  Looks like maybe not?  https://github.com/saltstack/salt/issues/4834
19:30 saltstackbot [#4834][OPEN] Feature request: Make salt-minion interact with desktop on Windows | The salt-minion windows service does not interact with desktop. So, when you start a program through salt-minion, you will never see the GUI window....
19:30 Slimmons http://stackoverflow.com/questions/38295736/how-can-i-run-a-visible-desktop-application-on-windows-7-from-salt-master
19:30 Slimmons afk till tomorrow.  Done beating my head against that wall for a bit.
19:31 yidhra joined #salt
19:35 ageorgop joined #salt
19:40 irctc620 joined #salt
19:45 POJO_ joined #salt
19:46 POJO_ joined #salt
19:48 hosttor joined #salt
19:54 POJO joined #salt
19:56 POJO joined #salt
19:59 ageorgop joined #salt
20:04 mschiff joined #salt
20:11 iggy quup: it should
20:16 TyrfingMjolnir joined #salt
20:31 impi joined #salt
20:31 MeltingFiction joined #salt
20:43 MeltingFiction joined #salt
20:52 saltnpeppa joined #salt
20:53 saltnpeppa im bootstrapping a minion, part of a grain is that it needs to reboot, the issue is that when the reboot happens, the master loses its bootstrap process, is there a way to have salt-master wait for the minion to respond after it has rebooted to finish the bootstrapping process?
20:55 pcdummy https://github.com/saltstack-formulas/letsencrypt-formula/pull/22 :)
20:55 saltstackbot [#22][OPEN] Add a state to create dhparams, disabled by default. | Signed-off-by: Rene Jochum <rene@jochums.at>
21:06 pcdummy https://github.com/saltstack-formulas/nginx-formula/pull/126
21:06 saltstackbot [#126][OPEN] Add the possiblity to define vhosts configs as key/value pairs. | With this PR you can also give these parameters as key/value pairs,...
21:23 iggy saltnpeppa: not really... highstate is designed to be run multiple times though... so just kick off a highstate at every boot up (just gate your reboot's on something that survives the reboot)
21:32 saltnpeppa iggy: thx
21:51 Rumbles joined #salt
22:02 babilen saltnpeppa: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.event.html#salt.states.event.wait
22:09 flowstate joined #salt
22:19 ageorgop joined #salt
22:30 manji joined #salt
22:35 manji joined #salt
22:37 eseyman joined #salt
22:45 p3rror joined #salt
22:53 ageorgop joined #salt
23:06 _JZ_ joined #salt
23:06 flowstate joined #salt
23:12 manji joined #salt
23:49 goudale joined #salt
23:53 ageorgop joined #salt

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