Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-05-28

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

All times shown according to UTC.

Time Nick Message
00:14 stooj joined #salt
00:18 notnotpe_ devster31 babilen: I got salt-bootstrap working with Xenial and put up a PR: https://github.com/saltstack/salt-bootstrap/pull/852
00:18 saltstackbot [#852]title: Ubuntu 16.04 LTS Xenial Support | ### What does this PR do?...
00:20 cpowell joined #salt
00:21 dstokes joined #salt
00:21 Nahual joined #salt
00:49 amcorreia joined #salt
00:50 rgrinberg joined #salt
00:55 djgerm joined #salt
00:56 catpig joined #salt
00:56 djgerm so… I have a file to populate with pillar data, that's easy enough. BUT I want to populate the file with the pillar data based on a grain. so if grain env=dev or env=stage it gets a different pillar… is that… feasible?
00:58 notnotpeter You shouldn't populate secrets from pillar data based on grain (because minions can fake grains) but you do so if you desire.
00:58 djgerm oh. that's a good point!
00:59 DEger joined #salt
00:59 notnotpeter But this has an example https://docs.saltstack.com/en/latest/ref/states/top.html#advanced-minion-targeting ('G@role:monitoring')
01:01 necronian Does salt have something similar to ansible's password lookup plugin?
01:14 Rkp joined #salt
01:15 MeltedLux joined #salt
01:18 izrail joined #salt
01:18 garphy joined #salt
01:18 djgerm but… even if a minion can fake a grain, wouldn't the pillar top file still lock down based on it's contents?
01:24 ageorgop joined #salt
01:29 quix joined #salt
01:31 myraft joined #salt
01:31 notnotpeter yes. You can target pillar data via grains (see example I linked) using the pillar top file and that's fine for non-secret data (software versions, configuration parameters, etc)
01:31 georgemarshall joined #salt
01:32 Amnesia joined #salt
01:32 notnotpeter So you could have pillars with configuration data for specific environments (e.g. celery_workers=1 for G@env:dev, etc)
01:49 catpigger joined #salt
01:58 chmod666org Hi all
01:59 chmod666org
01:59 chmod666org joined #salt
02:00 chmod666org hi all
02:00 chmod666org I want to use saltstack as a rest api client with the http.module
02:01 chmod666org and I'm searching for something similar as the ansible "register" to save my return in a variable and then use it in another state
02:01 chmod666org is there a way to do that with salt ?
02:16 anotherZero joined #salt
02:31 GreatSnoopy joined #salt
02:34 writtenoff joined #salt
02:35 tristianc joined #salt
02:50 rojem joined #salt
02:54 my50c @jfindlay : https://github.com/saltstack/salt/issues/33600
02:54 saltstackbot [#33600]title: Feature Request: given host get IP address | It would be very helpful if a jija template could be populate with ip of a given host....
02:56 my50c @chmod666org : I am not aware you can pass variable across state... : how aboout call grain to write and  save value in file, then call an other grain that read the file ?
03:10 dstokes joined #salt
03:25 racooper joined #salt
03:27 Andrew joined #salt
03:54 ageorgop joined #salt
03:55 dh__ joined #salt
04:03 justanotheruser joined #salt
04:10 DEger joined #salt
04:20 DEger joined #salt
04:30 DEger joined #salt
04:40 DEger joined #salt
04:41 macheck joined #salt
04:44 myraft joined #salt
04:49 DEger joined #salt
04:52 macheck left #salt
04:53 macheck joined #salt
04:58 DEger joined #salt
05:00 babilen my50c: Which IP? Are you aware of network.ip_addrs and the way you can use it as a mine function alias?
05:12 DEger joined #salt
05:28 DEger joined #salt
05:34 rojem joined #salt
05:37 bbradley joined #salt
05:46 DEger joined #salt
05:46 jxm_ joined #salt
05:51 sauvin joined #salt
05:53 justanotheruser joined #salt
06:00 DEger joined #salt
06:00 om joined #salt
06:02 manji joined #salt
06:05 om2 joined #salt
06:05 om3 joined #salt
06:08 DEger joined #salt
06:12 Lionel_Debroux joined #salt
06:15 om2 joined #salt
06:15 babilen jfindlay: Do you know when 2016.3.1 might be released? Will there be other changes apart from https://github.com/saltstack/salt/pull/33555 ?
06:15 saltstackbot [#33555]title: Fix crashing Maintenence process | The first time through the loop we deleted the dir and then stack...
06:21 DEger joined #salt
06:28 DEger joined #salt
06:28 noraatepernos joined #salt
06:31 punkoivan joined #salt
06:41 DEger joined #salt
06:47 slav0nic joined #salt
06:54 DEger joined #salt
06:58 DEger joined #salt
07:29 DEger joined #salt
07:38 DEger joined #salt
07:42 hoonetorg joined #salt
07:44 ivanjaros joined #salt
07:46 dgutu joined #salt
07:49 DEger joined #salt
07:56 Sylvain31 joined #salt
07:59 DEger joined #salt
08:01 keimlink joined #salt
08:12 DEger joined #salt
08:19 DEger joined #salt
08:31 DEger joined #salt
08:33 evle joined #salt
08:34 martoss joined #salt
08:39 DEger joined #salt
08:39 cyborg-one joined #salt
08:39 martoss joined #salt
08:42 ghaering joined #salt
08:43 ghaering left #salt
09:27 Guest_85757 joined #salt
09:27 Guest_85757 Allah is doing
09:28 Guest_85757 sun is not doing Allah is doing
09:28 Guest_85757 moon is not doing Allah is doing
09:28 Guest_85757 stars are not doing Allah is doing
09:28 Guest_85757 planets are not doing Allah is doing
09:29 Guest_85757 galaxies are not doing Allah is doing
09:29 Guest_85757 oceans are not doing Allah is doing
09:29 hexa- jfindlay, gtmanfred
09:31 Guest_85757 mountains are not doing Allah is doing
09:31 Guest_85757 trees are not doing Allah is doing
09:32 Guest_85757 mom is not doing Allah is doing
09:32 Guest_85757 dad is not doing Allah is doing
09:32 Guest_85757 boss is not doing Allah is doing
09:33 Guest_85757 job is not doing Allah is doing
09:33 Guest_85757 dollar is not doing Allah is doing
09:33 Guest_85757 degree is not doing Allah is doing
09:33 Guest_85757 degree is not doing Allah is doing
09:34 Guest_85757 medicine is not doing Allah is doing
09:34 Guest_85757 customers are not doing Allah is doing
09:34 Guest_85757 you can not get a job without the permission of allah
09:35 Guest_85757 you can not get married without the permission of allah
09:35 Guest_85757 nobody can get angry at you without the permission of allah
09:36 Guest_85757 light is not doing Allah is doing
09:36 Guest_85757 fan is not doing Allah is doing
09:36 Guest_85757 businessess are not doing Allah is doing
09:37 Guest_85757 america is not doing Allah is doing
09:37 Guest_85757 fire can not burn without the permission of allah
09:38 Guest_85757 knife can not cut without the permission of allah
09:39 Guest_85757 rulers are not doing Allah is doing
09:39 Guest_85757 governments are not doing Allah is doing
09:40 Guest_85757 sleep is not doing Allah is doing
09:40 Guest_85757 hunger is not doing Allah is doing
09:41 Guest_85757 food does not take away the hunger Allah takes away the hunger
09:42 Guest_85757 water does not take away the thirst Allah takes away the thirst
09:42 Guest_85757 seeing is not doing Allah is doing
09:42 Guest_85757 hearing is not doing Allah is doing
09:43 Guest_85757 seasons are not doing Allah is doing
09:43 Guest_85757 weather is not doing Allah is doing
09:43 Guest_85757 humans are not doing Allah is doing
09:43 Guest_85757 animals are not doing Allah is doing
09:44 Guest_85757 the best amongst you are those who learn and teach quran
09:45 Guest_85757 one letter read from book of Allah amounts to one good deed and Allah multiplies one good deed ten times
09:46 Guest_85757 hearts get rusted as does iron with water to remove rust from heart recitation of Quran and rememberance of death
09:46 Guest_85757 heart is likened to a mirror
09:48 Guest_85757 when a person commits one sin a black dot sustains the heart
09:51 AndreasLutro okay then
09:51 Sylvain31 hi, It shoul be saltable, righ? salt '*' state.apply allah?
09:54 Sylvain31 may be more salt '*' state.apply allah.permission…
09:56 Guest_85757 joined #salt
09:57 manji joined #salt
09:57 keimlink joined #salt
09:57 tyler-baker joined #salt
09:59 Sylvain31 I have a never ending salt job, how do I kill it, nothing on the minion is happening…
10:03 devster31 saltutil.kill_job maybe,
10:04 Sylvain31 devster31: yes, it do it, thanks.
10:08 fredvd joined #salt
10:10 devster31 is the apt formula is missing a state for apt.conf setup or did I not understand how to use it?
10:11 evle2 joined #salt
10:12 tyler-baker joined #salt
10:24 viq jfindlay: babilen: for reference, jinja's "indent" to the rescue for making that work with mine - https://pbot.rmdir.de/ZftWdJXM0Gjktil_d_Iqvg
10:32 catpiggest joined #salt
10:54 catpig joined #salt
11:13 SpX joined #salt
11:14 catpig joined #salt
11:19 catpig joined #salt
11:27 punkoivan joined #salt
11:35 amcorreia joined #salt
11:46 SpX joined #salt
12:00 manji joined #salt
12:06 myraft joined #salt
12:11 pseudonymous joined #salt
12:27 perfectsine joined #salt
12:55 fracklen joined #salt
13:08 babilen viq: Such an intuitive solution ;)
13:08 babilen But yay! :)
13:18 ashmckenzie joined #salt
13:27 manji joined #salt
13:27 viq "hm, indentation is the problem. is there a jinja function for that, since the example shows 'replace' above? Ah, there is! Does it help? Hm, seems to"
13:28 babilen yeah
13:28 evle2 joined #salt
13:30 izibi joined #salt
13:47 Andrew joined #salt
13:50 writtenoff joined #salt
14:03 manji joined #salt
14:07 estahn joined #salt
14:10 vodik joined #salt
14:17 mohae joined #salt
14:17 krymzon joined #salt
14:53 Jonjo joined #salt
14:59 dh__ joined #salt
15:00 Biopandemic joined #salt
15:14 patrek joined #salt
15:15 rgrinberg joined #salt
15:17 anotherZero joined #salt
15:21 majikman joined #salt
15:23 Fiber^ joined #salt
15:24 permalac joined #salt
15:25 MadHatter42 joined #salt
15:41 mowntan joined #salt
15:54 noraatepernos joined #salt
16:00 amcorreia joined #salt
16:04 danielcb joined #salt
16:06 manji joined #salt
16:15 jenastar joined #salt
16:30 josuebrunel joined #salt
16:39 anotherZero joined #salt
16:44 Muchoz joined #salt
16:45 DEger joined #salt
17:04 subsignal joined #salt
17:19 GreatSnoopy joined #salt
17:21 devster31 is there an example for this: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.line ? I'm not understanding how to use it
17:22 devster31 this: https://bpaste.net/show/ba2a765bab24 errors with Unable to ensure line without knowing where to put it before and/or after.
17:23 tpaul joined #salt
17:32 mohae_ joined #salt
17:40 onlyanegg joined #salt
18:08 amcorreia joined #salt
18:09 mohae joined #salt
18:12 mohae__ joined #salt
18:26 sagerdearia joined #salt
18:32 Sammichmaker joined #salt
18:33 Sammichmaker joined #salt
18:37 onlyanegg joined #salt
18:50 DEger joined #salt
18:50 martoss joined #salt
18:51 viq devster31: seems like you need a 'before' or 'after' defined
18:52 babilen I guess devster31 is looking for file.append
19:00 devster31 yep, that would be it, file.append, but the line mode=ensure seemed an appropriate fit, I just wanted to make sure a single line was in a file
19:13 devster31 with pillars like this: https://bpaste.net/show/9c76f3f81e9b do the groups get merged ? meaning, on a machine that matches the cloud:digitalocean grain which groups are added?
19:15 babilen TIAS and read up on pillar merging
19:15 devster31 what's TIAS?
19:16 babilen Try it and see
19:16 devster31 last one wins, from pillar merge but I could include the base one
19:18 babilen That's why you should configure it the way you want it to behave
19:19 devster31 what do you mean?
19:19 babilen Did you read up on pillar merging?
19:21 devster31 I read this: https://docs.saltstack.com/en/latest/topics/pillar/#pillar-namespace-merges I don't understand what you mean with "should configure the way you want it to behave", does it mean I should separate pillars ?
19:21 babilen https://docs.saltstack.com/en/latest/ref/configuration/master.html#pillar-merging-options
19:22 babilen https://docs.saltstack.com/en/latest/ref/configuration/master.html#pillar-merge-lists in particular
19:24 onlyanegg joined #salt
19:26 devster31 I see, why is the default false?
19:29 GreatSnoopy joined #salt
19:31 debian112 joined #salt
19:38 wolfpackmars2 joined #salt
19:44 Nahual joined #salt
19:53 fracklen joined #salt
19:54 hasues joined #salt
19:56 hasues left #salt
19:58 wolfpackmars2 joined #salt
20:12 dmaiocchi joined #salt
20:18 fracklen joined #salt
20:19 manji joined #salt
20:29 deniszh joined #salt
20:31 amcorreia joined #salt
20:40 fracklen joined #salt
20:41 rgrinberg joined #salt
20:50 mapu joined #salt
21:02 martoss joined #salt
21:12 anotherZero someone had to pick true or false... 50/50 chance!
21:14 haaj joined #salt
21:24 fracklen joined #salt
21:31 fracklen joined #salt
21:39 tracphil joined #salt
21:49 sagerdearia joined #salt
21:51 viq joined #salt
22:25 amcorreia joined #salt
22:29 cyborg-one joined #salt
22:32 quix joined #salt
22:38 josuebrunel joined #salt
22:43 josuebrunel joined #salt
22:52 DEger joined #salt
23:05 noraatepernos joined #salt
23:09 debian112 left #salt
23:12 DEger joined #salt
23:14 lero joined #salt
23:25 DEger joined #salt
23:33 colonolGron joined #salt
23:33 colonolGron hi
23:33 colonolGron running salt-call --local key.finger on my minion i get quite a long key. on the master i see a  much shorter one when i review it with salt-key -f minionname
23:33 colonolGron i dont get that. they should be the same shouldnt they?
23:35 colonolGron if i read: https://docs.saltstack.com/en/latest/topics/tutorials/walkthrough.html then clearly it should
23:43 DEger joined #salt
23:49 neyz joined #salt
23:50 neyz i have a sls file which specifies snmpd:   service.running: , when i manually execute the state the service starts, but if i log on the machine and stop the service it does not restart on itself, is this expected behavior ?
23:54 west575 joined #salt
23:58 DEger joined #salt

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