Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-06-05

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

All times shown according to UTC.

Time Nick Message
00:01 kevc_ joined #salt
00:01 mquin_ joined #salt
00:04 lstor joined #salt
00:05 Edur joined #salt
00:06 Shirkdog joined #salt
00:07 rofl____ joined #salt
00:13 johnkeates joined #salt
00:23 mosen joined #salt
00:28 nafg joined #salt
00:28 nafg__ joined #salt
00:58 iggy lorengordon: state_verbose: False ?
01:12 ssplatt joined #salt
01:47 irated joined #salt
01:51 lorengordon iggy: tried that, but it outputs all the changed states also
02:05 flushentity joined #salt
02:08 flushentity joined #salt
02:11 gmoro joined #salt
02:21 sh123124213 joined #salt
02:23 zerocoo__ joined #salt
02:35 sp0097 joined #salt
02:44 varif joined #salt
02:44 reCkigoph joined #salt
02:44 ce joined #salt
02:44 teteg joined #salt
02:44 smefr joined #salt
02:44 priferi joined #salt
02:44 greveFe joined #salt
02:46 JPT joined #salt
02:48 edrocks joined #salt
03:16 cswang joined #salt
03:57 cswang joined #salt
04:00 sp0097 joined #salt
04:05 icebal joined #salt
04:08 GMAzrael_ joined #salt
04:11 lorengordon joined #salt
04:19 sp0097 joined #salt
04:24 psychi[m] joined #salt
04:32 fracklen joined #salt
04:47 irated joined #salt
04:50 edrocks joined #salt
04:51 icebal joined #salt
05:05 singaravelan joined #salt
05:44 impi joined #salt
06:11 preludedrew joined #salt
06:20 capnhex joined #salt
06:24 mikecmpbll joined #salt
06:40 sh123124213 joined #salt
06:43 sh123124213 joined #salt
06:50 nocaberi joined #salt
06:50 CaptTofu___ joined #salt
06:50 hoonetorg joined #salt
06:50 tapoxi joined #salt
06:50 phobosd joined #salt
06:50 nahkiss joined #salt
06:51 hacks_ joined #salt
06:51 WKNiGHT joined #salt
06:51 supermike_ joined #salt
06:51 JPT_ joined #salt
06:51 darioleidi joined #salt
06:51 OliverMT joined #salt
06:52 edrocks joined #salt
06:52 afics joined #salt
06:53 McNinja joined #salt
06:54 ekkelett joined #salt
06:54 Jon-Envisioneer[ joined #salt
06:55 mr_kyd joined #salt
06:55 NightMonkey joined #salt
06:56 fujexo[m] joined #salt
06:56 saintaquinas[m] joined #salt
06:56 miruoy joined #salt
07:03 tom29739 joined #salt
07:10 jas02 joined #salt
07:13 jas02 joined #salt
07:14 JohnnyRun joined #salt
07:14 ReV013 joined #salt
07:15 absolutejam_ joined #salt
07:24 mbologna joined #salt
07:38 ravi joined #salt
07:41 Inveracity joined #salt
07:47 candyman88 joined #salt
07:49 impi joined #salt
07:50 mikecmpbll joined #salt
07:53 candyman88 joined #salt
07:58 Hybrid joined #salt
08:03 jas02 joined #salt
08:05 ahrs joined #salt
08:06 jas02 joined #salt
08:11 xet7 joined #salt
08:12 oida_ joined #salt
08:13 pbandark joined #salt
08:16 Rumbles joined #salt
08:19 LondonAppDev joined #salt
08:20 mikecmpbll joined #salt
08:21 permalac joined #salt
08:23 mushyplant75 joined #salt
08:23 aboe joined #salt
08:24 permalac joined #salt
08:28 candyman88 joined #salt
08:30 permalac I used salt 2 years ago but I changed jobs, and now I have been using ansible for almost a year. I feel like ansible isolates the system administrator in a way that does not scale, it feels like we are probably doing something quite wrong with ansible. However, I do not remember that feeling with salt. Does anyone relate to this feeling? Should I try to convince the team to move from ansible(and puppet for the clusters) to salt?
08:30 Mattch joined #salt
08:33 whytewolf permalac: your issue is going to be moving from entrenched technology. even if subpar with salt. you ahve to give compelling and logical reasons as to why you want to invest the time and man power into a solution that may or may not be better for the situation. it is a difficult and painful process.
08:35 alekhya joined #salt
08:36 permalac We are already moving some from puppet to ansible on the new deployments, and probably we will stick with puppet for the clusters and farms, but the other systems are suitable for a change , and we are already moving with ansible, but what puppet did for us as a team was that with a central repo we  had eveything(almost), meanwhile ansible almost forces us to have one repo for each of us, plus some repos for some shared roles which at the end become
08:36 permalac personal repos somehow.
08:37 permalac Maybe is the fact that puppet pulls from a central point and that forces that central point to exist, meanwhile ansible allows each of us to push from each computer which allows each of us to work on its prefered way. Maybe salt would allow both scenarios, working with minions and with roaster at the same time, .. I do not really know.
08:38 whytewolf actually salt is closer to puppet in that regard. not sure of a non centarlized way of doing salt besides masterless
08:39 whytewolf unless of coarse you are talking about the system command aspect of salt
08:40 babilen permalac: It sounds as if you should address the way in which you work with Ansible and just ensure that changes to the infrastructure are handled in a centralised way. You *can* use Ansible in that way, but you do not have to. Salt would certainly help in enforcing that policy as it comes more naturally to it, but there is no reason why you couldn't do that in Ansible itself.
08:41 babilen I mean I am all for investigating other (compelling!) arguments in favour of switching to salt and a more centralised architecture (e.g. event bus, reactors, salt mine, beacons, ...), but I wouldn't see salt as the magic ingredient for solving what is, in the end, a cultural issue.
08:41 whytewolf true
08:46 Gareth_ joined #salt
08:53 burm joined #salt
08:59 permalac I see. Thanks babilen and whytewolf
09:00 alekhya_ joined #salt
09:03 JohnnyRun joined #salt
09:03 burm joined #salt
09:06 JPT joined #salt
09:07 ronnix joined #salt
09:13 mikecmpbll joined #salt
09:16 mushyplant75 I have a container running in docker host. The Docker host has salt-minion running and can get pillar data.
09:16 mushyplant75 Now I want this pillar data inside my container during app initialisation. How can I achieve this?
09:16 mushyplant75 I don't want to run salt-minion inside my container.
09:26 Rumbles joined #salt
09:28 SaltyVagrant joined #salt
09:38 xet7 joined #salt
09:42 sfxandy joined #salt
09:44 sfxandy hi  everyone.
09:45 sfxandy i'm trying to pass 'kwargs' into the 'dockerng.running' state but i keep on getting an error saying that "The following arguments are invalid: kwargs".
09:46 sfxandy i've checked the source and the **kwargs parameter is present in the docker.running function definition.
09:46 sfxandy so how am I supposed to pass kwargs..?
09:46 sh123124213 joined #salt
09:48 babilen sfxandy: You'd just pass them directly
09:49 babilen foo(bar='baz', quux='foo')
09:56 sfxandy so what would that look like in my state definition?
09:57 sfxandy let me throw together a pastebin...
09:58 sfxandy babilen, https://pastebin.com/RXZmkue3
09:59 sfxandy so that currently fails.  what should it look like?
10:02 fritz09 joined #salt
10:14 J0hnSteel joined #salt
10:15 impi joined #salt
10:28 _KaszpiR_ joined #salt
10:32 brousch joined #salt
10:38 matej_ joined #salt
10:40 spiette joined #salt
10:45 zerocoolback joined #salt
10:47 sh123124213 joined #salt
10:50 buhm joined #salt
10:55 edrocks joined #salt
10:56 buhm Hey, can winrepo_remotes_ng take "root" setting or can salt recursively search definition files from the specified repo?
10:57 matej2 joined #salt
11:00 matej2 left #salt
11:15 mushyplant75 @sfxandy Can you help me this.
11:15 mushyplant75 I have a container running in docker host. The Docker host has salt-minion running and can get pillar data.
11:15 mushyplant75 Now I want this pillar data inside my container during app initialisation. How can I achieve this?
11:15 mushyplant75 I don't want to run salt-minion inside my container.
11:15 sfxandy hi mushyplant75
11:16 mushyplant75 hi sfxandy
11:16 gmoro joined #salt
11:30 lorengordon joined #salt
11:32 LondonAppDev_ joined #salt
11:35 sfxandy what format did you want or need the data in on your container?
11:36 mushyplant75 json
11:37 mushyplant75 if it is  salt minion i can do , salt '*' pillar.items
11:37 sfxandy mushyplant75, have PM'd you...
11:47 inad922 joined #salt
12:03 nicksloan joined #salt
12:04 it_dude joined #salt
12:25 _KaszpiR_ permalac ansible per user = bad idea, try to move ansible per project or centralize it
12:27 nicksloan joined #salt
12:29 Spencer_ joined #salt
12:35 nicksloan joined #salt
12:39 vlebo joined #salt
12:44 sh123124213 joined #salt
12:46 chron0 test
12:50 numkem joined #salt
12:54 ssplatt joined #salt
12:58 permalac _KaszpiR_: how do you centralize ansible?
12:58 _KaszpiR_ we don't use ansible
12:59 _KaszpiR_ but I'd keep main code in single repo and used something like redis for host updates etc
13:00 c_g joined #salt
13:00 permalac I see,mm Ok.
13:04 major joined #salt
13:06 c_g joined #salt
13:09 nicksloan joined #salt
13:11 Shirkdog joined #salt
13:12 xet7 joined #salt
13:12 GMAzrael joined #salt
13:22 flushent_ joined #salt
13:24 benjiale[m] left #salt
13:24 saintaquinas[m] left #salt
13:25 lorengordon joined #salt
13:28 mrueg joined #salt
13:31 racooper joined #salt
13:36 wangofett joined #salt
13:37 pbandark Hi.. i want to export jre_home variable for all users(/etc/profile) based on installation of java version on minion. What would be easiest way for the same? should i write if/else condition in state file or should i write shell script which will identify version and export variable on minion?  or some other option which I have missed ?
13:42 kojiro joined #salt
13:42 darioleidi joined #salt
13:49 wangofett joined #salt
13:49 PatrolDoom joined #salt
13:51 lorengordon joined #salt
13:52 amcorreia joined #salt
13:55 KennethWilke joined #salt
13:59 ssplatt joined #salt
14:00 wangofett joined #salt
14:01 dxiri joined #salt
14:07 ReV013 left #salt
14:08 darioleidi joined #salt
14:09 Ahlee_ joined #salt
14:16 dxiri joined #salt
14:16 drawsmcgraw joined #salt
14:16 wangofett joined #salt
14:20 XenophonF pbandark: I'd drop a file into /etc/profile.d that detects the Java version and exports JRE_HOME as appropriate.
14:21 XenophonF that should be fairly future-proof with respect to someone running `yum upgrade` or something outside of Salt
14:21 XenophonF (is there an /etc/profile.d? i'm a tcsh kind of guy so...)
14:21 wangofett joined #salt
14:22 pbandark XenophonF: yes its there. as of now I have updated "/etc/profile" with `export JRE_HOME=/usr/lib/jvm/java-*-openjdk-*/jre/`
14:23 XenophonF what if you have multiple versions of the JRE installed?
14:24 kojiro joined #salt
14:24 pbandark XenophonF: the front end will deploy only one version at a time using salt. hence, i thought this is the easiest approach. but yes creating script would be always safer choice
14:24 XenophonF something like `JAVA_HOME=$(java -XshowSettings:java.home -version 2>&1 | fgrep java.home | awk '{print $3}'` might be better
14:25 XenophonF er, s/JAVA_HOME/JRE_HOME/
14:25 XenophonF and then add `export JRE_HOME`, IIRC
14:25 pbandark ok
14:25 pbandark thanks XenophonF
14:26 XenophonF that way it uses java from the path, which in turn gets managed by alternatives (on linux)
14:26 pbandark ok
14:26 XenophonF np hope that helps
14:27 sarcasticadmin joined #salt
14:29 dxiri_ joined #salt
14:29 sarcasticadmin joined #salt
14:32 dxiri joined #salt
14:33 Awesomecase joined #salt
14:34 sarcasticadmin joined #salt
14:38 wangofett joined #salt
14:43 wangofett joined #salt
14:49 wangofett joined #salt
14:50 inad922 joined #salt
14:55 rory joined #salt
14:55 wangofett joined #salt
14:56 Brew joined #salt
14:56 Praematura joined #salt
14:56 darioleidi joined #salt
14:57 hexa- joined #salt
14:57 lorengordon joined #salt
15:00 dxiri joined #salt
15:05 _JZ_ joined #salt
15:08 jas02 joined #salt
15:08 mntnman joined #salt
15:08 schemanic joined #salt
15:09 schemanic Hello
15:10 schemanic Does anyone use salt for managing REST services?
15:10 schemanic For example, writing states that ensure a user gets created via REST call?
15:10 edrocks joined #salt
15:12 wangofett joined #salt
15:13 Reverend joined #salt
15:13 Renich joined #salt
15:17 dxiri joined #salt
15:17 wangofett joined #salt
15:22 dxiri joined #salt
15:24 wangofett joined #salt
15:26 nickabbey joined #salt
15:35 tongpu joined #salt
15:35 wangofett joined #salt
15:43 dxiri joined #salt
15:45 SalanderLives joined #salt
15:46 dyasny joined #salt
15:48 capnhex joined #salt
15:53 wangofett joined #salt
15:58 dxiri joined #salt
15:59 Deevolution joined #salt
16:00 wangofett joined #salt
16:05 Renich joined #salt
16:06 sasss joined #salt
16:08 Praematura joined #salt
16:08 rory left #salt
16:08 fds_ joined #salt
16:12 wangofett joined #salt
16:15 dxiri joined #salt
16:19 socket- Are any of you aware of any guidance on using salt to manage printer driver installation on linux/windows devices?
16:20 sh123124213 joined #salt
16:27 sfxandy joined #salt
16:33 woodtablet joined #salt
16:33 whytewolf socket-: currently there are not built in modules that tackel the printer issue. mainly because it has never been a top priority for anyone. [not a lot of servers need printers now days and desktops generally are not handled much, which results in most systems used for printers being handeled behind closed doors]
16:34 whytewolf now, you could fashen some cmd.runs together and fix it that way. or develop a whole core set of modules. PR's are welcome
16:36 dxiri joined #salt
16:37 robawt joined #salt
16:37 robawt saltconf during Halloween is very brave!
16:38 whytewolf wait they finally announced it?
16:38 robawt check yo' mail
16:38 whytewolf hadn't got that far yet :P
16:38 whytewolf it is a busy morning
16:38 robawt I know the feeling
16:42 whytewolf now, if i can only work my finaces to manage the trip.
16:48 Deliant joined #salt
16:51 socket- whytewolf: thanks for the info.
16:54 dxiri joined #salt
17:04 kash joined #salt
17:04 ronnix joined #salt
17:11 dxiri joined #salt
17:12 SaucyElf_ joined #salt
17:12 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.5 <+> Support: https://www.saltstack.com/support/ <+> 1st Salt Cloud Working Group meeting June 1st, 2017 https://goo.gl/o2OK49 <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> We are volunteers and may not have immediate answers <+> The call for speakers fo
17:13 SaucyElf_ left #salt
17:13 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.5 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> We are volunteers and may not have immediate answers <+> The call for speakers for SaltConf17 is now open: http://tinyurl.com/SaltConf17
17:13 _KaszpiR_ joined #salt
17:24 Xenophon1 joined #salt
17:24 dxiri joined #salt
17:30 schemanic joined #salt
17:32 c_g joined #salt
17:34 impi joined #salt
17:36 dxiri joined #salt
17:36 PatrolDoom joined #salt
17:39 Lionel_Debroux joined #salt
17:41 rqn joined #salt
17:44 ssplatt >>> The call for speakers for SaltConf17 is now open: http://tinyurl.com/SaltConf17    <<< that’s hot.
17:47 hashwagon joined #salt
17:49 cyteen joined #salt
17:49 nafg joined #salt
17:49 nafg__ joined #salt
17:50 Trauma joined #salt
17:53 dxiri joined #salt
17:56 thinkt4nk joined #salt
18:03 Praematura joined #salt
18:05 mikecmpbll joined #salt
18:22 XenophonF schemanic: regarding states/exec modules that call REST APIs, you're basically describing all of the boto_* states
18:24 druonysus_ joined #salt
18:26 woodtablet joined #salt
18:26 wangofett joined #salt
18:26 whytewolf well to be fair, the boto states use a third party api to do the rest calls instead of dirrectly in salt. but yes that is pretty much what happens :P
18:28 XenophonF true, but there's a bunch of stuff in there that calls the APIs directly using the requests library
18:29 XenophonF see for example salt/utils/s3.py
18:29 thinkt4nk joined #salt
18:29 whytewolf salt/utils/s3.py isn't a part of boto_*
18:31 shortdudey123 joined #salt
18:31 XenophonF true
18:31 wangofett joined #salt
18:32 woodtablet joined #salt
18:34 esharpmajor_ joined #salt
18:34 smkelly_ left #salt
18:34 smkelly joined #salt
18:36 SaltyVagrant_ joined #salt
18:36 shortdudey123 joined #salt
18:40 wangofett joined #salt
18:45 wangofett joined #salt
18:48 dxiri joined #salt
18:48 fracklen joined #salt
18:49 Edgan joined #salt
18:53 nickabbey joined #salt
18:54 wangofett joined #salt
18:57 lompik joined #salt
18:59 capnhex joined #salt
18:59 schemanic joined #salt
19:02 wangofett joined #salt
19:05 lorengordon joined #salt
19:06 lorengordon joined #salt
19:10 nafg joined #salt
19:14 nafg Hi, I need to have username/password pairs distributed one per machine for N machines, and then I need to have one machine that knows all the username/password pairs
19:14 nafg How would I do that?
19:14 nafg Should I put them in the pillar for each machine? Then is there some way to iterate over a common subkey of all machines in the pillar for the server?
19:16 lorengordon joined #salt
19:17 MajObviousman I usually do sanity checks in my state files, and if one of them fails, I report back in a test.configurable_test_state. Is there a better way or standard idiom to handle this?
19:18 capnhex joined #salt
19:19 cyborg-one joined #salt
19:22 SaltyVagrant_ joined #salt
19:25 sh123124213 joined #salt
19:29 GMAzrael anyone know a way to pull the display resolution?
19:34 candyman88 joined #salt
19:37 MrPretzel joined #salt
19:42 dxiri joined #salt
19:43 JPT xrandr might be able to tell
19:43 schemanic joined #salt
19:48 saintromuald joined #salt
19:55 saintromuald joined #salt
19:56 lorengordon joined #salt
20:03 c_g joined #salt
20:03 nixjdm joined #salt
20:05 Praematura_ joined #salt
20:07 saintromuald joined #salt
20:12 saintromuald joined #salt
20:14 candyman88 joined #salt
20:15 saintromuald joined #salt
20:20 Tantagel joined #salt
20:20 major is there an easy way to see the rendered output from a state file?
20:27 keldwud joined #salt
20:27 keldwud joined #salt
20:27 aneeshusa joined #salt
20:32 whytewolf major: state.show_highstate
20:32 whytewolf or you could use cp.get_template
20:32 whytewolf or https://github.com/whytewolf/salt-debug
20:35 capnhex joined #salt
20:35 saintromuald joined #salt
20:38 saintromuald joined #salt
20:38 major ty
20:42 saintromuald joined #salt
20:46 saintromuald joined #salt
20:49 saintromuald joined #salt
20:51 capnhex left #salt
20:54 saintromuald joined #salt
20:59 saintromuald joined #salt
21:02 saintromuald joined #salt
21:05 masuberu joined #salt
21:10 druonysus joined #salt
21:12 saintromuald joined #salt
21:17 saintromuald joined #salt
21:22 sh123124213 joined #salt
21:23 saintromuald joined #salt
21:26 saintromuald joined #salt
21:32 saintromuald joined #salt
21:33 eseyman joined #salt
21:41 saintromuald joined #salt
21:49 saintromuald joined #salt
21:50 drawsmcgraw left #salt
21:51 hemebond joined #salt
21:55 mkillebr1w left #salt
22:07 Praematura_ joined #salt
22:08 edrocks joined #salt
22:14 ProT-0-TypE joined #salt
22:17 kash joined #salt
22:20 cyteen joined #salt
22:29 zinzinzin joined #salt
22:35 sp0097 joined #salt
22:38 jab416171 joined #salt
22:39 saintromuald joined #salt
22:43 ssplatt joined #salt
22:43 saintromuald joined #salt
22:48 buskatoon joined #salt
22:53 saintromuald joined #salt
22:59 saintromuald joined #salt
23:24 minum joined #salt
23:28 q1x joined #salt
23:36 nethershaw joined #salt
23:36 spartakos joined #salt
23:58 SaucyElf_ joined #salt

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