Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-06-20

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

All times shown according to UTC.

Time Nick Message
00:01 arif-ali Any devs around, would like to get https://github.com/saltstack/kitchen-salt/pull/108 pull request through, if possible
00:04 woodtablet left #salt
00:12 Sarph joined #salt
00:12 Karunamon|2 joined #salt
00:12 farcaller_ joined #salt
00:12 Roh joined #salt
00:12 gmoro_ joined #salt
00:12 mbologna2 joined #salt
00:12 aerbax joined #salt
00:12 icebal- joined #salt
00:12 spartakos joined #salt
00:12 wryfi_ joined #salt
00:12 Antiarc_ joined #salt
00:12 all joined #salt
00:12 jlott joined #salt
00:13 esharpmajor_ joined #salt
00:13 Laogeodritt| joined #salt
00:13 descrepes_ joined #salt
00:13 seffyroff_ joined #salt
00:13 _Flusher joined #salt
00:13 patrek_ joined #salt
00:13 aphistic_ joined #salt
00:13 muep__ joined #salt
00:13 spaceman1spiff joined #salt
00:13 benner_ joined #salt
00:13 bantone_ joined #salt
00:13 dh__ joined #salt
00:13 cablekev2n joined #salt
00:13 pjs_ joined #salt
00:13 Baycone_ joined #salt
00:13 dunz0r_ joined #salt
00:13 stotch_ joined #salt
00:13 stankmac1 joined #salt
00:13 jagguli- joined #salt
00:13 Annihitek joined #salt
00:13 jcristau_ joined #salt
00:13 zach_ joined #salt
00:13 mirko_ joined #salt
00:13 mrud_ joined #salt
00:13 stillLotR joined #salt
00:13 scarcry_ joined #salt
00:13 Sacro_ joined #salt
00:13 filippos_ joined #salt
00:13 MajObvio1sman joined #salt
00:13 dxtr_ joined #salt
00:13 Arendtse1 joined #salt
00:13 froztbyt1 joined #salt
00:13 wwalker_ joined #salt
00:13 tellendil_ joined #salt
00:13 elektrix_ joined #salt
00:13 leev_ joined #salt
00:13 cwright_ joined #salt
00:13 tooth_ joined #salt
00:13 Mogget joined #salt
00:13 man_of_w1x joined #salt
00:13 pezus_ joined #salt
00:13 duckfez_ joined #salt
00:13 oyvindmo joined #salt
00:13 btorch_ joined #salt
00:13 bd___ joined #salt
00:13 babilen_ joined #salt
00:13 the_lale1u joined #salt
00:13 majuscul1 joined #salt
00:13 tru_tru_ joined #salt
00:13 pewpew joined #salt
00:13 iggy_ joined #salt
00:13 darix- joined #salt
00:13 Micromus joined #salt
00:13 alias joined #salt
00:13 Qlawy_ joined #salt
00:13 legreffi1r joined #salt
00:13 rmc3 joined #salt
00:13 ventris joined #salt
00:13 mage__ joined #salt
00:13 Ch3LL_ joined #salt
00:13 cswang joined #salt
00:13 wangofet1 joined #salt
00:13 darvon_ joined #salt
00:13 mquin joined #salt
00:13 Ludo- joined #salt
00:14 drewbeer_ joined #salt
00:14 honestly_ joined #salt
00:14 feld_ joined #salt
00:14 Ahlee_ joined #salt
00:14 ProT-0-TypE joined #salt
00:14 sybix_ joined #salt
00:14 citaret joined #salt
00:14 bergei_ joined #salt
00:14 SneakyPh1l joined #salt
00:14 thijn joined #salt
00:14 ntropy_ joined #salt
00:14 tmilam_ joined #salt
00:14 joe1 joined #salt
00:14 ry_ joined #salt
00:14 tedski_ joined #salt
00:14 Heartsbane_ joined #salt
00:14 eichiro_ joined #salt
00:14 k4kvm_ joined #salt
00:14 watersoul_ joined #salt
00:14 Phanes joined #salt
00:14 Phanes joined #salt
00:15 lazybear_ joined #salt
00:15 chamunks joined #salt
00:15 Valfor joined #salt
00:15 aarontc joined #salt
00:15 Valfor joined #salt
00:15 jhujhiti_ joined #salt
00:15 bbradley joined #salt
00:15 saltstackbot joined #salt
00:15 cmichel joined #salt
00:15 dwfreed joined #salt
00:16 tom[] joined #salt
00:16 chowmeined joined #salt
00:16 pppingme joined #salt
00:16 jhujhiti_ left #salt
00:16 CrummyGummy joined #salt
00:16 hoolio joined #salt
00:16 bob_twinkles joined #salt
00:16 davromaniak joined #salt
00:17 ksa joined #salt
00:17 dnull joined #salt
00:17 twiedenbein joined #salt
00:17 jhujhiti joined #salt
00:17 rwaweber joined #salt
00:18 haam3r joined #salt
00:18 kevc joined #salt
00:18 sjohnsen joined #salt
00:18 iter joined #salt
00:18 Udkkna joined #salt
00:19 kiorky joined #salt
00:19 pfallenop joined #salt
00:19 pfallenop joined #salt
00:19 nkuttler joined #salt
00:19 jf_sebastian joined #salt
00:19 mishanti1 joined #salt
00:19 snakegums joined #salt
00:19 eseyman_ joined #salt
00:20 Kruge joined #salt
00:20 GothAck joined #salt
00:22 beebeeep joined #salt
00:23 Kelsar joined #salt
00:24 nledez joined #salt
00:24 toabi joined #salt
00:24 hoolio joined #salt
00:24 inire joined #salt
00:24 tobiasBora joined #salt
00:24 evle joined #salt
00:24 xMopxShell joined #salt
00:24 Felgar joined #salt
00:24 karlthane joined #salt
00:24 pcn joined #salt
00:24 tom29739 joined #salt
00:24 mosen joined #salt
00:26 nledez joined #salt
00:26 mt5225 joined #salt
00:27 Trauma joined #salt
00:28 mikecmpb_ joined #salt
00:29 Kelsar joined #salt
00:31 djinni` joined #salt
00:35 lorengordon joined #salt
00:36 Kelsar joined #salt
00:38 dxtr left #salt
00:39 drags1 joined #salt
00:40 ponyofdeath joined #salt
00:51 rwaweber joined #salt
00:58 ntropy_ left #salt
00:58 ntropy joined #salt
01:03 jeffspeff joined #salt
01:09 SalanderLives joined #salt
01:11 hoonetorg joined #salt
01:11 edrocks joined #salt
01:37 demize joined #salt
01:46 gnomethrower joined #salt
01:48 ilbot3 joined #salt
01:48 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
01:52 hoonetorg joined #salt
02:06 cswang joined #salt
02:08 twork_ joined #salt
02:09 cro joined #salt
02:09 brent_ joined #salt
02:11 hoonetorg joined #salt
02:13 mikea joined #salt
02:20 onlyanegg joined #salt
02:24 OliverUK joined #salt
02:25 OliverUK joined #salt
02:26 OliverUK joined #salt
02:27 OliverUK joined #salt
02:28 benner_ left #salt
02:28 fracklen joined #salt
02:28 OliverUK joined #salt
02:28 benner joined #salt
02:30 Praematura joined #salt
02:30 OliverUK joined #salt
02:31 OliverUK joined #salt
02:32 OliverUK joined #salt
02:33 OliverUK joined #salt
02:34 masber joined #salt
02:35 OliverUK joined #salt
02:36 OliverUK joined #salt
02:36 ashmckenzie joined #salt
02:37 OliverUK joined #salt
02:38 masuberu joined #salt
02:43 borgstrom joined #salt
02:45 brokensyntax joined #salt
02:47 ajw0100 joined #salt
02:49 SneakyPh1l left #salt
02:49 hemebond joined #salt
02:50 SneakyPhil joined #salt
03:06 xet7 joined #salt
03:08 mt5225 joined #salt
03:08 teh_champ joined #salt
03:10 cwnage joined #salt
03:14 cwnage left #salt
03:20 cwnage joined #salt
03:20 cwnage left #salt
03:21 Praematura joined #salt
03:22 ownish joined #salt
03:22 dendazen joined #salt
03:23 clearclaw joined #salt
03:23 clearclaw left #salt
03:28 donmichelangelo joined #salt
03:34 onlyanegg joined #salt
03:50 sh123124213 joined #salt
03:51 fracklen joined #salt
03:52 XenophonF joined #salt
04:03 onlyanegg joined #salt
04:05 zerocool_ joined #salt
04:05 sh123124213 joined #salt
04:13 qwertyco joined #salt
04:20 sh123124213 joined #salt
04:33 btorch_ left #salt
04:53 fracklen joined #salt
04:53 XenophonF joined #salt
05:09 shortdudey123 joined #salt
05:15 edrocks joined #salt
05:24 icebal joined #salt
05:24 c4rc4s joined #salt
05:25 Bock joined #salt
05:38 icebal joined #salt
05:45 buhm joined #salt
05:49 impi joined #salt
06:05 do3meli joined #salt
06:07 onlyanegg joined #salt
06:07 do3meli left #salt
06:11 zerocoolback joined #salt
06:14 xet7 joined #salt
06:15 fxhp joined #salt
06:22 nebuchadnezzar joined #salt
06:22 fxhp joined #salt
06:24 zerocoolback joined #salt
06:24 divyach joined #salt
06:31 jhauser joined #salt
06:35 auzty joined #salt
06:36 Antiarc joined #salt
06:38 mt5225 joined #salt
06:38 OliverUK joined #salt
06:38 OliverUK joined #salt
06:38 dh joined #salt
06:38 fracklen joined #salt
06:39 felskrone joined #salt
06:39 OliverUK joined #salt
06:41 OliverUK joined #salt
06:42 OliverUK joined #salt
06:43 OliverUK joined #salt
06:44 OliverUK joined #salt
06:46 sh123124213 joined #salt
06:47 yuhl joined #salt
06:56 fracklen joined #salt
07:04 JohnnyRun joined #salt
07:07 fracklen joined #salt
07:08 onlyanegg joined #salt
07:10 fredvd joined #salt
07:11 jcristau joined #salt
07:12 fracklen joined #salt
07:12 eseyman_ left #salt
07:19 aldevar joined #salt
07:21 mbologna joined #salt
07:24 Yoda-BZH joined #salt
07:24 Yoda-BZH joined #salt
07:25 karlthane joined #salt
07:26 mt5225 joined #salt
07:27 impi joined #salt
07:30 cyborg-one joined #salt
07:33 yuhl______ joined #salt
07:34 sh123124213 joined #salt
07:41 yuhl______ joined #salt
07:43 Sammichmaker joined #salt
07:45 rgrundstrom joined #salt
07:45 legreffi1r left #salt
07:45 rgrundstrom left #salt
07:45 rgrundstrom joined #salt
07:45 rgrundstrom Good morning
07:46 coredumb Morning
07:49 rgrundstrom If I want to check a pillar for a specific string would this work? {% if salt['pillar.get']('set_users:'+user+'set_team') == "Developer" %}
07:51 NegiLXXXVIII joined #salt
07:54 mibr0 joined #salt
07:55 hemebond Yes. But you should use ~ to concatenate strings in Jinja.
07:57 v12aml joined #salt
08:03 pbandark joined #salt
08:04 mt5225 joined #salt
08:05 pbandark joined #salt
08:07 edgr joined #salt
08:07 socket- joined #salt
08:08 coldbrewedbrew_ joined #salt
08:09 om2 joined #salt
08:13 oyvindmo joined #salt
08:15 oyvindmo joined #salt
08:16 Rumbles joined #salt
08:16 oyvindmo joined #salt
08:16 edrocks joined #salt
08:19 it_dude joined #salt
08:20 oida_ joined #salt
08:20 oyvindmo joined #salt
08:22 _Flusher left #salt
08:23 tru_tru joined #salt
08:30 bast joined #salt
08:30 bast joined #salt
08:35 fritz09 joined #salt
08:41 evle1 joined #salt
08:43 buu joined #salt
08:43 zulutango joined #salt
08:43 buu Augh http://paste.debian.net/plain/972341
08:43 buu How come my ubuntu salt-minion can't to salt-master but everyone else on the network can?
08:45 tongpu joined #salt
08:54 rgrundstrom joined #salt
08:54 rgrundstrom left #salt
08:55 rgrundstrom joined #salt
08:56 * rgrundstrom is back. Got to just love when network goes down.
08:57 Kelsar_ joined #salt
09:00 rgrundstrom Since i got disconnected im going to ask the same question again.
09:00 rgrundstrom If I want to check a pillar for a specific string would this work? {% if salt['pillar.get']('set_users:'+user+'set_team') == "Developer" %}
09:01 zer0def rgrundstrom: is the user suffixed with "set_team" or is it just a typo in pillar pulling? i personally would prefer to do the more pythonic 'set_users:{}:set_team'.format(user)'
09:03 Guest73 joined #salt
09:03 Kelsar joined #salt
09:03 sjorge joined #salt
09:06 impi joined #salt
09:06 Mattch joined #salt
09:09 onlyanegg joined #salt
09:09 Kelsar joined #salt
09:10 pfallenop joined #salt
09:11 pfallenop joined #salt
09:13 nicksloan joined #salt
09:15 rgrundstrom Ill give you a pillar example. one sec.
09:16 Kelsar joined #salt
09:16 rgrundstrom zer0def: https://gist.github.com/anonymous/b0f849bb68bb6d4d30aa183a68b77dc0#file-gistfile1-txt
09:19 zer0def rgrundstrom: i *THINK* `salt['pillar.get']('set_users:'+user+':set_team')` would do the trick
09:19 zer0def but i'm more of a proponent for using .format() in python strings whenever possible
09:21 rgrundstrom zer0def: Problem for me is that im not much of a Python language user. I dont understand this 'set_users:{}:set_team'.format(user)'
09:22 buu rgrundstrom: format('set_users..text..',user)
09:23 zer0def rgrundstrom: as far as i'm aware, `{}` is inherited from C#, where every subsequent `{}` takes the respective argument passed into the string `format()` method
09:24 Naresh joined #salt
09:24 hemebond joined #salt
09:24 mt5225 joined #salt
09:24 coredumb isn't {0} better to be used in python 2.7?
09:24 hemebond Over?
09:24 * hemebond just got here
09:24 zer0def you could use `{0}`, `{1}` to refer to particular positional arguments within the method or `{kwarg1}`, `{kwarg2}`, but then you use key-value mappings, like `.format(kwarg1='asdf', kwarg2='fdsa')`
09:24 coredumb hemebond: over {}
09:25 hemebond It's the same unless you want to reuse a value,.
09:25 zer0def coredumb: either is fine, as far as i'm capable of telling, works with 2.7.6 that's bundled with ubuntu 14.04
09:25 coredumb ok ok
09:25 coredumb guess I'm too used to {0}
09:25 zer0def that's fine
09:28 stankmac1 left #salt
09:28 stankmack joined #salt
09:29 rgrundstrom zer0def: is this what you ment? {% if salt['pillar.get']('set_users:{}:set_team'.format(Developer)') %}
09:29 Guest73 joined #salt
09:30 coredumb salt['pillar.get']('set_users:{}:set_team'.format('Developer'))
09:30 coredumb unless Developer is a jinja variable
09:30 rgrundstrom https://gist.github.com/anonymous/b0f849bb68bb6d4d30aa183a68b77dc0#file-gistfile1-txt
09:31 ProT-0-TypE joined #salt
09:31 rgrundstrom No its a pilar
09:31 rgrundstrom pillar*
09:31 coredumb rgrundstrom: then it's a string so you want to quote it in format()
09:32 rgrundstrom coredump: salt['pillar.get']('set_users:{}:set_team'.format("Developer"))
09:32 coredumb rgrundstrom: yes
09:32 zer0def rgrundstrom: more like `{% if salt['pillar.get']('set_users:{}:set_team'.format(user)) == 'Developer' %}`
09:33 zer0def you wanted to parametrize it by user, not `set_team`; you're checking the conditional based on `set_team`
09:34 coredumb yep
09:34 rgrundstrom Ill fix some stuff and post the hole thing. Give me a few minutes
09:35 Reverend joined #salt
09:36 zer0def i mean, if it's easier for you, the `'set_users:'+user+':set_team'` argument to pillar.get should be just fine, especially when you don't use python
09:42 baffle__ joined #salt
09:47 it_dude joined #salt
09:54 major joined #salt
09:58 N-Mi joined #salt
09:58 N-Mi joined #salt
10:01 Sacro joined #salt
10:02 coredumb btw https://github.com/saltstack/salt/issues/31605 < anyone have a workaround for this ?
10:03 garphyx left #salt
10:04 rgrundstrom As promised the config
10:04 rgrundstrom https://gist.github.com/anonymous/73c6a850df44356dbd2a0f498261ba87#file-gistfile1-txt
10:06 coredumb pillar is still  https://gist.github.com/anonymous/b0f849bb68bb6d4d30aa183a68b77dc0#file-gistfile1-txt ?
10:06 coredumb ah doesn't exist anymore
10:07 asyncsec joined #salt
10:08 om2 joined #salt
10:08 losh joined #salt
10:08 coredumb rgrundstrom: I don't remember the pillar, but shouldn't it be:
10:09 coredumb fullname: {{ salt['pillar.get']('set_users:user:set_fullname') }}
10:09 coredumb ?
10:09 rgrundstrom coredump: one sec
10:11 rgrundstrom coredump: pillar https://gist.github.com/anonymous/57559b29e3036a192aab669b1274ee2e#file-gistfile1-txt
10:12 coredumb 'set_users:'+user+'set_fullname' < so here you missed a :
10:12 coredumb 'set_users:'+user+':set_fullname' should do
10:13 rgrundstrom 'set_users:'+user+'set_fullname' actually works :)
10:13 coredumb O_o
10:14 coredumb ok...
10:19 edrocks joined #salt
10:20 hemebond Just FYI, http://jinja.pocoo.org/docs/2.9/templates/#other-operators ~ to concatenate strings.
10:21 rgrundstrom_ joined #salt
10:21 rgrundstrom_ left #salt
10:21 hemebond That person timed out the last time I said that.
10:22 hemebond It's like they're trying to avoid the truth/me.
10:22 rgrundstrom joined #salt
10:22 hemebond Welcome back, ~ to concatenate strings!
10:26 rgrundstrom Yay it works :)
10:38 mt5225 joined #salt
10:38 fracklen joined #salt
10:40 LondonAppDev joined #salt
10:46 sh123124213 joined #salt
10:52 mquin joined #salt
10:52 joe_n joined #salt
10:52 babilen joined #salt
10:54 qwertyco joined #salt
10:59 babilen joined #salt
11:00 babilen joined #salt
11:03 joe_n joined #salt
11:04 fredvd joined #salt
11:08 joe_n joined #salt
11:09 onlyanegg joined #salt
11:11 mikecmpbll joined #salt
11:17 Praematura joined #salt
11:20 alex-zel joined #salt
11:22 fracklen joined #salt
11:23 mt5225 joined #salt
11:23 felskrone1 joined #salt
11:23 infrmnt joined #salt
11:23 fracklen joined #salt
11:23 alexzel joined #salt
11:26 fracklen joined #salt
11:35 babilen joined #salt
11:54 nick79 joined #salt
12:02 EthPyth joined #salt
12:06 ecdhe joined #salt
12:06 ecdhe joined #salt
12:08 bowhunter joined #salt
12:10 onlyanegg joined #salt
12:19 amcorreia joined #salt
12:19 pbandark I am running multiple salt formulas to multiple servers. I have created single top file for the same and executing it with "state.top" execution function. But, I dont see its parallel execution and hence, it takes lot of time to complete the task. Can I use "concurrent: True" parameter for parallel execution?
12:19 pbandark Yesterday I asked this question but today I found "concurrent" option. So, just wondering if its useful in my scenario?
12:20 mugsie_ left #salt
12:23 mt5225 joined #salt
12:27 dendazen joined #salt
12:28 babilen pbandark: Concurrent in what way?
12:30 pbandark babilen: to run respective salt formulas on respective minions in parallel. so that, it will take less amount of time.
12:30 defswork joined #salt
12:31 babilen You mean execute states in parallel on the same minion?
12:31 pbandark not on the same minions
12:31 babilen Well, they are executed in parallel on multiple minions already (but sequentially on a single one)
12:32 pbandark ok. so instead of sequentially, if we want to execute in parallel on each minion then we wll use "concurrent= True" option ?
12:33 babilen (and one would typically use state.apply or state.highstate rather than state.top unless you want to execute a non-standard topfile)
12:33 babilen pbandark: You want all states to run at the same time?
12:35 pbandark I have used "requisites" to handle order in each state file. What I am looking for is, parallel execution of multiple state files to their respective targets
12:35 babilen How do you ensure that it's possible to do that?
12:35 haam3r Hi! Anybody now how to set transparent_hugepage the salty way? :D
12:36 babilen haam3r: What's transparent_hugepage ?
12:36 babilen You mean the sysctl/kernel setting?
12:36 haam3r babilen: This basically: 'echo never > /sys/kernel/mm/transparent_hugepage/enabled'
12:36 pbandark babilen: i was plainning to use "concurrent" option while execution of  "state.top".
12:37 babilen haam3r: I would recommend to use the sysctl formula -- https://github.com/saltstack-formulas/sysctl-formula -- but you can also use https://docs.saltstack.com/en/latest/ref/states/all/salt.states.sysctl.html
12:37 pbandark but from your above explaination it seems to be, salt already executes state files in parallel on respective targets
12:37 babilen pbandark: Yes, but why do you expect that to work? Say the states you run both want to install packages at the same time, but one has the apt lock file ...
12:38 babilen Again: The module function you target to your minions will be executed on every minion concurrently, but the execution of a (high)state run on each minion is not done concurrently
12:39 haam3r babilen: hmm thanks..did not realize sysctl present would work on that as well
12:39 babilen So every minion starts working at the same time, but they do things sequentially
12:40 pbandark i got your point
12:40 pbandark thanks a lot babilen
12:41 babilen pbandark: fwiw, why do you use state.top rather than the more traditional state.apply ?
12:41 babilen (or state.sls)
12:43 pbandark1 joined #salt
12:46 amcorreia joined #salt
12:46 edrocks joined #salt
12:53 mugsie joined #salt
12:53 ecdhe joined #salt
12:53 ecdhe joined #salt
12:56 yuhl joined #salt
12:57 numkem joined #salt
12:59 Ahlee_ joined #salt
13:00 Firewalll joined #salt
13:03 nicksloan joined #salt
13:05 Reverend joined #salt
13:05 Reverend GG to whoever made saltstackbot tell you about being registered
13:06 dnull ^
13:09 om2 joined #salt
13:13 swills joined #salt
13:19 om2 joined #salt
13:19 major joined #salt
13:25 racooper joined #salt
13:32 cgiroua joined #salt
13:40 mt5225 joined #salt
13:47 major joined #salt
13:48 sh123124213 joined #salt
13:50 buu joined #salt
13:53 noobiedubie joined #salt
13:58 mschiff is it intentional, that the 'ipv6' key has disappeared from the list if grains somewhere between version 2015.5.10 and 2016.11.5?
14:00 mschiff my pillars just went to a pile of parse errors after  upgrading ;)
14:09 om2 joined #salt
14:11 onlyanegg joined #salt
14:17 whytewolf joined #salt
14:17 lordcirth_work joined #salt
14:22 nicksloan joined #salt
14:25 om2 joined #salt
14:29 babilen mschiff: That grain exists on 2016.11.5 here
14:29 babilen (but you might want to use network.ip_addrs instead)
14:29 om2 joined #salt
14:31 asyncsec joined #salt
14:34 mpanetta_ joined #salt
14:34 mikecmpb_ joined #salt
14:38 evle1 joined #salt
14:43 ecdhe joined #salt
14:43 ecdhe joined #salt
14:45 alvinstarr joined #salt
14:53 mt5225 joined #salt
14:53 asyncsec joined #salt
14:53 om2_ joined #salt
14:57 sh123124213 joined #salt
15:06 Splix76 joined #salt
15:06 PatrolDoom joined #salt
15:09 PatrolDoom joined #salt
15:09 mikecmpbll joined #salt
15:11 mschiff babilen: strange, it does not exist here. Thanks for the hint. An I just noticed that the virtual grain will be set to "physical" in a VM if demidecode is not installed
15:12 mschiff another thing that changed
15:14 onlyanegg joined #salt
15:18 babilen mschiff: On which platform do you run this? (Fine here on Debian Jessie/Stretch)
15:19 babilen I'm handling most of my "IP needs" with network.ip_addrs and suitable CIDR ranges these days .. throw it in the mine and use the mine.get running in pillars if I require data from other minions
15:21 _aeris_ hello #salt !
15:21 _aeris_ how is it possible to specify environment in salt-ssh ?
15:22 _aeris_ i try minion_opts on roster on ssh_minion_opts on master, but without success :'(
15:23 whytewolf humm, what i was seeing is that the correct way to do it is minion_opts. at least according to this post https://groups.google.com/forum/#!topic/salt-users/0p1I6aUZ2ws
15:23 mschiff babilen: this is on gentoo
15:25 _aeris_ is "minion_opts: environment: dev" correct ?
15:26 whytewolf do you have a new line and spacing between minion_opts: and enviroment?
15:28 _aeris_ whytewolf > yep
15:28 debian112 joined #salt
15:29 whytewolf humm, sounds like a bug then
15:29 whytewolf salt-ssh is kind of full of them
15:30 _aeris_ :P
15:30 _aeris_ is there any way like pillar/grains to get the value to debug ?
15:31 whytewolf you should be able to use config.get to get the value
15:31 babilen salt-ssh is a treasure trove of unexpected behaviour
15:31 whytewolf https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.config.html#salt.modules.config.get
15:31 asyncsec joined #salt
15:31 om3 joined #salt
15:32 _aeris_ so, seems ok, config.get is correct, but state.sls continue to report the "base" environment
15:33 whytewolf ry saltenv=dev with your state.sls
15:34 whytewolf [not sure if salt-ssh will respect it]
15:34 _aeris_ hum, bettr
15:34 _aeris_ salt-ssh magic :D
15:36 SaltRecruiter joined #salt
15:37 aldevar left #salt
15:42 mat_ joined #salt
15:42 mat_ joined #salt
15:44 mt5225 joined #salt
15:46 Roh joined #salt
15:49 jmiven joined #salt
15:58 om2 joined #salt
16:03 swills joined #salt
16:04 om2_ joined #salt
16:10 om2_ joined #salt
16:12 jauz joined #salt
16:14 jauz joined #salt
16:15 om2_ joined #salt
16:18 nicksloan joined #salt
16:19 rlatimore joined #salt
16:20 Edgan joined #salt
16:21 Lionel_Debroux_ joined #salt
16:22 jauz joined #salt
16:23 debian112 joined #salt
16:25 jauz Upgrading Winions to 2016.11.5...
16:26 whytewolf did you upgrade master first?
16:27 cwandrews joined #salt
16:27 jauz Yes. :D
16:31 mt5225 joined #salt
16:37 KyleG joined #salt
16:37 KyleG joined #salt
16:38 hexa- joined #salt
16:43 XenophonF joined #salt
16:44 SamYaple joined #salt
16:44 SamYaple joined #salt
16:46 impi joined #salt
16:49 jkaberg joined #salt
16:50 jauz I should be able to use GitPython on my CentOS 7 to connect to a private Bitbucket repo for GitFS, right? Pretty sure I'm just doing something wrong and need to keep tinkering but starting to wonder...
16:52 gmoro joined #salt
16:52 PatrolDoom joined #salt
16:53 yuhl______ joined #salt
16:53 Roh joined #salt
16:54 nixjdm joined #salt
16:56 froztbyt1 left #salt
16:56 whytewolf jauz: GitPython does not have any default method for authentication built into salt. so if you need to authenticate with GitPython you need to use passwordless ssh keys. that GitPython can find in path.
16:56 froztbyte joined #salt
16:58 nicksloan joined #salt
16:58 whytewolf also make sure you don't fall into the issues with compatbility https://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html#id3
16:59 jauz Yeah, originally went to try GitPython to avoid compatibility issues with PyGit2. Hmm. -- Thank you!
17:06 wendall911 joined #salt
17:07 sh123124213 joined #salt
17:09 KyleG joined #salt
17:09 KyleG joined #salt
17:09 Renich_ joined #salt
17:11 nicksloan joined #salt
17:13 fracklen joined #salt
17:15 nicksloan joined #salt
17:16 hexa- joined #salt
17:17 tobstone joined #salt
17:18 Renich joined #salt
17:19 qwertyco joined #salt
17:25 tobstone joined #salt
17:25 tiwula joined #salt
17:29 nixjdm joined #salt
17:32 bowhunter joined #salt
17:36 nicksloan joined #salt
17:36 tobstone joined #salt
17:45 nicksloan joined #salt
17:46 major sooo .. how do I make it so that a 3rd party formula requires a custom state? can my custom state "block" a 3rd party state?
17:46 ry joined #salt
17:48 sh123124213 joined #salt
17:49 jauz You could have your custom state be the trigger for the 3rd party formula rather than run it independently, perhaps?
17:50 jauz Or pull down the formula and customize it to require your other state run like normal, though I assume you want to leave the 3rd party formula remote for some reason.
17:50 major dunno .. basically need to make certain the salt-formula doesn't try to kick off before I can land the deploy keys....
17:50 sh123124213 joined #salt
17:50 major or .. there is an order directive..
17:51 major can you use order: on an include? :)
17:52 cyborg-one joined #salt
17:53 tobstone joined #salt
17:53 sh123124213 joined #salt
17:53 Guest73 joined #salt
17:55 woodtablet joined #salt
17:58 arif-ali I know, this is a repeat message from a few days ago, but, I really need the PR going through ...
17:58 arif-ali Any devs around, would like to get https://github.com/saltstack/kitchen-salt/pull/108 pull request through, if possible
18:05 sh123124213 joined #salt
18:05 whytewolf honestly havn't seen a dev in here in a week or two
18:07 sh123124213 joined #salt
18:07 Inveracity joined #salt
18:14 t0m0 joined #salt
18:14 Gabemo joined #salt
18:18 pjs_ left #salt
18:18 noobiedubie joined #salt
18:18 pjs joined #salt
18:18 censorshipwreck joined #salt
18:22 sh123124213 joined #salt
18:22 sh123124213 can minion handle salt-master's change of ip address if a hostname has been set ?
18:27 arif-ali thanks whytewolf, I'll keep prodding on github
18:30 cwandrews joined #salt
18:30 nixjdm joined #salt
18:30 mikecmpbll joined #salt
18:31 lordcirth_work sh123124213, generally programs resolve a name then cache the ip, so it might need to be restarted?  But maybe when it fails it will re-resolve.
18:31 cwandrews_ joined #salt
18:32 sh123124213 lordcirth_work: looking at github tickets and it seems its not possible/supported by salt minion atm
18:32 sh123124213 https://github.com/saltstack/salt/pull/36180 tries to but doesn't seem to be merged
18:34 lordcirth_work sh123124213, leave a comment to bump it
18:34 lordcirth_work Just say you need this functionality
18:34 sh123124213 beh, I need to yesterday :P
18:37 shanth can you use grains in a top file to match a pillar file? if i wanted to match pillar.host1 pillar.host2 pillar.host3
18:39 yuhl______ joined #salt
18:40 watersoul joined #salt
18:43 lordcirth_work shanth, 'kernel:Linux': - match: grain
18:43 lordcirth_work https://docs.saltstack.com/en/latest/ref/states/top.html
18:44 shanth no not like that lordcirth_work
18:44 sh123124213 shanth: yes you can use a grain value inside a pillar command to get what you need. https://stackoverflow.com/questions/37150671/saltstack-how-can-i-use-grain-values-in-pillar-get-statement
18:45 shanth like this http://dpaste.com/0GSQZD9
18:45 sh123124213 yes you can do that
18:45 lordcirth_work Oh I see
18:45 sh123124213 you can also have pillar values
18:46 shanth nice
18:48 lordcirth_work You can have pillar values choosing pillar files?  How's that work?
18:48 shanth using grains
18:48 shanth if i named a file file-[fqdn]
18:49 whytewolf ... the dots are going to throw it off
18:49 shanth im just gonna test it
18:49 lordcirth_work Oh, yeah.  Maybe you want hostname, if that's unique?
18:49 whytewolf also, see security concerns about grains being used for targetting pillars if pillars are meant to be used for security
18:50 shanth otherwise i have to make hundreds of manual entries
18:54 nicksloan joined #salt
18:55 yuhl______ joined #salt
18:55 systeem joined #salt
18:56 onlyanegg Can I specify defualts for each host in my salt-ssh roster?
18:56 nicksloan joined #salt
18:57 kungfu__ joined #salt
18:57 * jauz eagerly awaiting early registration for SaltConf17
18:57 Morrolan joined #salt
19:00 woodtablet joined #salt
19:02 onlyanegg nice! been waiting for that to be scheduled.
19:02 whytewolf it has been scheduled
19:02 whytewolf http://saltconf.com/
19:03 onlyanegg yeah, I mean that I had been checking every so often to see if it had been scheduled
19:05 whytewolf I'm hoping i have the funds for it.
19:05 whytewolf [$work isn't going to pay for a conference that they don't use the software for.]
19:05 ry joined #salt
19:06 flowstate joined #salt
19:07 candyman88 joined #salt
19:07 mchlumsky joined #salt
19:09 arif-ali obviously the website doesn't show where exactly the conf is, other than Salt Lake. I am waiting for that to book hotels/flights
19:10 kungfu_ joined #salt
19:10 whytewolf yeah, waiting on that. although I'm going to drive up there. [really hope it doesn't snow]
19:10 coredumb well salt lake is a bit far for me :(
19:11 arif-ali well, I was in Salt Lake in November (different conference), and it snowed
19:11 flowstate left #salt
19:11 kungfu_ left #salt
19:11 kungfu_ joined #salt
19:12 whytewolf it is always a possability. mountains and what not
19:12 whytewolf been about 10 years since i have seen snow. so ....
19:12 mt5225 joined #salt
19:12 iggy arif-ali: the grand america is the biggest (non-mormon) venue in SLC... so it's probably going to be there again
19:12 coredumb isn't there a salteuconf ?
19:13 flavio joined #salt
19:13 whytewolf don't think they have gone international with their conf yet :P
19:13 coredumb saaaaad
19:13 kungfu_ left #salt
19:13 kungfu__ joined #salt
19:14 whytewolf although i do think they tag onto some of the already international confs so you might catch them there
19:14 flavio hi, do you know if https://github.com/cachedout (mike place) is on irc? I need to talk with him about https://github.com/saltstack/salt/pull/39514
19:14 arif-ali iggy, I was in the Salt Palace Convention Centre for the other conference, which is big
19:15 Yoda-BZH joined #salt
19:15 Yoda-BZH joined #salt
19:15 arif-ali I know, this time, they are looking for something bigger, but I have never been to saltconf, so looking forward to it, and seeing what other people are doing, and what I can lean
19:15 astronouth7303 joined #salt
19:15 whytewolf flavio: cachedout used to come on a few times now and then. but havn't seen a dev in a while.
19:15 flavio whytewolf: thanks
19:15 whytewolf gtmanfred: you around and want to poke cachedout for flavio?
19:16 astronouth7303 i'm feeling really stupid, where do I put the cherrypy configuration? `salt-api` is reporting it can't find netapi configuration.
19:16 whytewolf astronouth7303: in your master config
19:16 cachedout joined #salt
19:16 whytewolf and restart the master
19:16 coredumb flavio: there he is ^^
19:16 flavio thanks guys :)
19:17 flavio cachedout: hi, I'm flavio. The guy of the kubernetes-salt PR
19:17 kungfu__ joined #salt
19:19 astronouth7303 whytewolf: i'm keeping it in /etc/salt/master.d/cherrypy, tried under the keys `netapi.rest_cherrypy` and `rest_cherrypy`. in both cases, `/var/log/salt/api` reports it as unconfigured
19:20 astronouth7303 (i'm restarting salt-master, and then salt-api)
19:21 whytewolf have you followed https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html
19:22 whytewolf and yes it should be rest_cherrypy:
19:22 astronouth7303 as best I can.
19:23 kungfu__ joined #salt
19:23 oida joined #salt
19:24 astronouth7303 I have CherryPy 3.5.0 in my system python2, i've generated certificates, i have at least a stub eauth configuration
19:24 whytewolf put the salt-master in debug mode and check the logs
19:27 yuhl______ joined #salt
19:27 nicksloan joined #salt
19:29 astronouth7303 nothing jumps out, although it only reports reading `/etc/salt/master`, and none of the files in `/etc/salt/master.d`? (If that's the problem, I'm going to glare grumpily at debian packaging)
19:29 kungfu777 joined #salt
19:29 sid__ joined #salt
19:29 nixjdm joined #salt
19:29 kungfu777 Hi all. question which is hopefully an easy answer. i have salt 2016.11.2 on debian 8, all is working well. i am working with napalm, and am testing a single device, which also is mostly working well (ie - net.arp etc etc all working fine), but now im trying to get fancy and am trying to use netconfig.managed (https://docs.saltstack.com/en/develop/ref/states/all/salt.states.netconfig.html#module-salt.state
19:30 kungfu777 s.netconfig) and i keep getting the message from salt: "Comment: State 'netconfig.managed' was not found in SLS 'router.ntp'" .. could anyone point me in the right direction? it seems to be missing from my install, or perhaps i need some newer version?
19:30 major soo .. can you use order as in { include: { foo.bar: { order: 1 } } } ?
19:30 kungfu777 (sorry for the paste, couldnt get nick reg to work for the life of me)
19:30 adelcast joined #salt
19:30 whytewolf major: no
19:30 major whytewolf, feel like my hand was just slapped from a cookie jar
19:31 whytewolf astronouth7303: humm. not sure that would be debian packaging. /etc/salt/master.d is internally read iirc so it should pick it up no mater what
19:31 whytewolf major: sorry didn't mean to make it sound like that.
19:31 major heh
19:32 astronouth7303 sometimes that's a standard behavior, sometimes it's added by debian (eg, apache, nginx)
19:32 major is there a salt engine that puts snmp messages onto the message bus? ;)
19:32 astronouth7303 do i have to mark the files eg .conf?
19:32 whytewolf oh, yes they should be .conf
19:32 whytewolf ... can't believe i missed that you didn't have .conf
19:33 astronouth7303 i'm not actually sure any tutorial mentioned it
19:33 whytewolf https://docs.saltstack.com/en/latest/ref/configuration/master.html#default-include
19:33 whytewolf default_include: master.d/*.conf
19:34 sid__ joined #salt
19:34 astronouth7303 read _everything_, and then try to build a system
19:34 asyncsec joined #salt
19:35 astronouth7303 NOW i'm getting somewhere
19:36 * major hits play on the Final Fantasy Victory music.
19:36 astronouth7303 salt-api is logging a very cryptic error, but it's trying
19:37 major hmm .. I am sort of amazed that there is no salt.engine.snmp
19:37 major erm .. salt.engines.snmp
19:37 whytewolf engines are kind of newish. so they are just starting to get modules
19:37 siddiotic joined #salt
19:38 thinkt4nk joined #salt
19:38 major I would likely shoot my eye out anyway..
19:38 whytewolf that and the documentation on writing them is ... hey look at engine/test.py for how to make one
19:39 kungfu777 it appears im missing state netconfig.managed and scouring the internet for hours indicated it should just work.. but its not there. wondering if anyone has any expirience with that.
19:39 siddiotic joined #salt
19:40 svolentin joined #salt
19:40 yuhl______ joined #salt
19:40 whytewolf kungfu777: netconfig.managed is in devel
19:41 whytewolf https://docs.saltstack.com/en/latest/ref/states/all/salt.states.netconfig.html < latest https://docs.saltstack.com/en/develop/ref/states/all/salt.states.netconfig.html < devel
19:41 kungfu777 ok, i got that impression. are there any docs anywhere on upgrading a debian system to use devel?
19:42 whytewolf have you tried just downloading the state and putting it in a _state
19:42 kungfu777 i followed the standard documents on the salt wiki for installing using debian repo
19:42 kungfu777 no, i havent
19:42 kungfu777 im not sure how to do that :)
19:43 qwertyco joined #salt
19:44 whytewolf if it works as a custom module [some states have dependencies that don't allow it.] you just take this file https://github.com/saltstack/salt/blob/develop/salt/states/netconfig.py and put it in your state tree in a directory called _states, then salt '*' saltutil.sync_all and you should see the netconfig module listed
19:45 kungfu777 ok, let me try that, thank you
19:45 whytewolf always worth a try before trying to update all of salt to devel for a single module
19:47 kungfu777 ool, i do see the module listed now.. now lets see if it works :)
19:47 kungfu777 s/ool/cool
19:49 astronouth7303 ok, next problem: cherrypy and curl seem to be having a TLS disagreement? Everything's fine over plaintext
19:50 timoguin joined #salt
19:50 hoonetorg joined #salt
19:50 whytewolf astronouth7303: read the depends section of https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html
19:50 whytewolf fully.
19:50 whytewolf you said you had 3.5.0 of cherrypy
19:52 synical joined #salt
19:52 synical joined #salt
19:52 major soo .. I have a state that has a path .. and I want that path to default to a value that was assigned by some other state (and or set by a pillar) .. while still supporting the option of assigning an alternate value via some OTHER pillar...
19:53 whytewolf so, you want cake. to eat it, and to make it all at the same time?
19:53 major yum cake batter
19:53 astronouth7303 :facepalm: thanks
19:54 astronouth7303 wait, CherryPy 3.2.3 is recommended? But 10.2.2 is latest stable
19:54 snarfy^ joined #salt
19:54 major whytewolf, I have some stuff that depends on the configured file_roots from the salt-formula ...
19:55 whytewolf major: i was making fun one moment there is ways to do that [this isn't in pillar right?]
19:55 major this is from a state..
19:55 adelcast joined #salt
19:56 major basically .. I want to use whatever was configured for the file_roots off in the salt-formula unless someone has set some other value in some other pillar entry ..
19:56 major it sort of makes me cry to even try to explain
19:56 whytewolf path: {{salt.pillar.get('pillar:lookup',salt.pillar.get('default:pillar'))}}
19:56 whytewolf something like that?
19:56 major oh ..
19:57 major :facepalm:
19:57 major that is painfully self evident now that you point it out
19:58 MajObviousman whytewolf: you around to offer some best practices advice?
19:58 whytewolf hehe sometimes you just need to take a step back and remeber. it's just code
19:58 major bleh .. if only it wasn't a list
19:58 whytewolf I'm around... not sure i am best practices :P
19:59 MajObviousman well, you've shown willingness to chase down a rabbit trail with me
19:59 major was actually a badger hole... but..
19:59 whytewolf lol
19:59 MajObviousman I'm using salt-cloud with a deploy script that does updates, sets salt-minion to start at boot and reboots
20:00 whytewolf shoot. even if i don't know answer I'm sure others are lurking
20:00 sh123124213 joined #salt
20:00 MajObviousman and then I'm setting up a reactor to trap for salt/minion/<minionid>/start for that node
20:00 * major takes notes.
20:00 MajObviousman only I'm not sure what's the best way to store that data, specifically "We're looking for X minion's start event. Ignore all the rest."
20:01 coredumb btw https://github.com/saltstack/salt/issues/31605 < anyone have a workaround for this ?
20:02 MajObviousman Editing reactor configuration requires a salt master restart, as near as I can tell, so any dynamic changes to that is right out
20:02 major consul as an ext_pillar?!  woot!
20:02 whytewolf so wait it only need it to happen for 1 minion? thats hat the <minionid> part of the event line is for
20:03 major but he is provisioning the minion
20:03 major so its a new id
20:03 MajObviousman I don't know ahead of time what that minionid will be, and I don't want to restart salt master every time I've got a new minion to deploy
20:03 whytewolf ohhh... well in the reactor that gets run you could sniff the data[]
20:03 MajObviousman can I bury something in the data of the start event?
20:04 whytewolf iirc minion id is in the data already
20:04 MajObviousman right. But every single minion that starts up will send a start event
20:04 MajObviousman I only want to fire on the one
20:04 major so how to add custom data to the start event?
20:05 MajObviousman or rather, I don't mind the event firing for each start event. But the orchestration that follows should only happen for the one minion id
20:05 whytewolf major: you don't.
20:05 major can you add a new beacon to fire off at start as well?
20:05 MajObviousman I can set a grain in salt-cloud easily, as a marker
20:05 whytewolf MajObviousman: true. grains could be used for this.
20:05 MajObviousman so my current plan is to query the minion for the presence of a specific grain and fire the provisioning orchestration on that
20:06 MajObviousman the reactor event runs on the master, so any calls to grains or pillar from jinja will be on the master only
20:06 major so every start poll the minion for the grain and then decide what to do?...
20:06 whytewolf my only concern is that grains won't be updated yet
20:07 MajObviousman whytewolf: my concern too. I was poking at runners.cache
20:07 MajObviousman but this being the first time the master has seen this minion, it won't have that cache populated yet
20:08 whytewolf exactly. you could... in thoery. have an orchestration that syncs the grains then calls your other orch that decideds if it runs after that
20:08 whytewolf it would sync the grains on all minions
20:08 whytewolf forgoing that problem
20:08 MajObviousman sounds spendy
20:09 major my head esplode
20:09 MajObviousman the master would get murdered every time I restarted the salt-master service
20:10 whytewolf well. you could put another grain at the end of the run first_run that gets added after every minion is started the first time. and not do the sync_grains if it isn't the first time the minion is seen
20:10 aldevar joined #salt
20:10 MajObviousman ok, picture is firming up
20:11 whytewolf still kind of spendy. but should mitigate some of the issues with restarting
20:11 major can't you do a 1 time beacon on first-boot?
20:12 whytewolf well. fire an event i forgot about that
20:12 tobstone joined #salt
20:12 asyncsec joined #salt
20:12 major on first boot just fire off salt/minion/<id>/firstboot or something?
20:13 MajObviousman what's doing the beaconing though? Is it the minion's salt-minion service, or something on the master?
20:13 whytewolf humm. https://docs.saltstack.com/en/latest/ref/states/startup.html
20:14 MajObviousman that link 502'd for me, interesting
20:14 yuhl______ joined #salt
20:14 whytewolf refresh it ...
20:14 jauz Whoa, that's cool.
20:14 major nice
20:14 MajObviousman wha
20:14 * major takes notes.
20:14 Guest79111 left #salt
20:14 MajObviousman what'd you do?
20:15 whytewolf nothing. just a 502 normally is a bad gateway :P
20:15 Praematura joined #salt
20:15 MajObviousman oh I thought you were publishing a record or something
20:15 MajObviousman this is exactly what I need, thanks
20:16 whytewolf actually major should get some of the credit. his blurb about firing a beacon reminded me that there was a way to run a state.
20:16 ruxu joined #salt
20:17 major yah cookies!
20:17 whytewolf i would say remove the startup state from a minion after it starts so that it doesn't fire anything off again
20:18 whytewolf unless you want it too of coarse ;)
20:21 astronouth7303 left #salt
20:22 MajObviousman whytewolf, major: thank you both. The salt-deploy script will drop a file into /etc/salt/master.d/ with this startup_states config, and the provisioning sttates listed in that config will remove the file on the way out
20:23 major sounds awesome
20:23 MajObviousman very neat
20:23 major hope it works
20:23 whytewolf nice and tidy
20:23 MajObviousman let's try it and see
20:23 whytewolf wait, master.d still requires a master restart
20:23 whytewolf did you mean minion.d?
20:24 whytewolf on the minion side?
20:25 MajObviousman yes minion.d
20:25 MajObviousman sorry
20:25 MajObviousman reactor was still floating around in my head
20:29 nixjdm joined #salt
20:36 hoonetorg joined #salt
20:48 nicksloan joined #salt
20:49 major next up ... trying to figure out a sane way to use salt-ssh from a multi-repo salt environment...
20:49 * major twitches.
20:52 mt5225 joined #salt
20:53 Rumbles joined #salt
21:08 debian112 joined #salt
21:11 Praematura joined #salt
21:17 fracklen joined #salt
21:19 llua joined #salt
21:21 Joe630 joined #salt
21:22 Joe630 hello friends.  I have an attribute set on a bunch of minions (lets say it's a grain in this example), and I need to run something on every machine, but I want it to only run in batches of 1 per grain, but across all different grains in parallel
21:22 fracklen joined #salt
21:22 Joe630 I can't figure out if this is possible in a single command - any ideas?
21:22 hemebond joe630 --batch
21:23 Joe630 So my understanding is that batch operates on all machines specified in the list
21:23 Joe630 so example time
21:23 hemebond Yes
21:23 Joe630 100 machines.  10 differtent grains on 10 machines each.  I want to run a command on all 10 grains, but only one machine per grain at a time
21:24 Joe630 so 10 parallel processes, but never operating on more than one of the set at once
21:24 hemebond Seems a bit odd.
21:24 whytewolf seems extreamly odd. might be better as say an orchestration
21:25 hemebond That
21:25 jauz ^^
21:25 hemebond is basically ten different commands. Batched.
21:25 major ++
21:27 whytewolf now the issue salt.state has a batch option salt.function does not
21:29 nixjdm joined #salt
21:30 bowhunter joined #salt
21:31 fracklen joined #salt
21:33 Reverend joined #salt
21:42 kungfu777 left #salt
21:42 MajObviousman Joe630: yeah that's definitely orchestration. Jinja to loop through all the individual grains, and salt.state for each grain, with batch: 1
21:45 cwandrews joined #salt
21:51 major soo .. salt-ssh hates me
21:51 major or maybe it is just hiding its glorious secret in a location I have failed to look
21:52 hemebond I spoke to her earlier. She does hate you.
21:52 major I figured
21:54 major I keep wanting to use things in ways that they are not designed to be used .. and when that fails I try to figure out ways to make it work anyway
21:59 MajObviousman that sounds disturbingly like how I salt
22:03 mt5225 joined #salt
22:03 major its making me salty
22:04 major and I blame Edgan
22:04 asyncsec joined #salt
22:04 cgiroua joined #salt
22:07 sh123124213 joined #salt
22:09 major is salt-ssh still the only CLI tool to support the Saltfile?
22:14 yuhl______ joined #salt
22:14 graffic_ joined #salt
22:14 ventris_ joined #salt
22:14 the_lalelu joined #salt
22:14 Splix76 joined #salt
22:14 mbologna1 joined #salt
22:14 jauz joined #salt
22:14 stillLotR joined #salt
22:14 duckfez joined #salt
22:14 Heartsbane joined #salt
22:14 Heartsbane joined #salt
22:14 dwfreed joined #salt
22:14 davroman1ak joined #salt
22:14 mrud joined #salt
22:14 mrud joined #salt
22:15 ntropy_ joined #salt
22:15 SneakyPh1l joined #salt
22:15 thijn_ joined #salt
22:15 mishanti2 joined #salt
22:15 scarcry joined #salt
22:15 tmilam joined #salt
22:15 aerbax joined #salt
22:15 lazybear joined #salt
22:15 Edur joined #salt
22:15 lstor joined #salt
22:15 rofl____ joined #salt
22:15 jagguli joined #salt
22:15 chowmeined joined #salt
22:16 pppingme joined #salt
22:16 Splix76 joined #salt
22:16 asyncsec joined #salt
22:17 CrummyGummy joined #salt
22:18 Sacro joined #salt
22:18 mikecmpbll joined #salt
22:19 timoguin joined #salt
22:20 ksa joined #salt
22:20 tedski joined #salt
22:20 Morrolan joined #salt
22:20 Baycone joined #salt
22:20 Guest89754 joined #salt
22:21 cro joined #salt
22:21 jf_sebastian joined #salt
22:22 mt5225 joined #salt
22:23 sh123124213 joined #salt
22:23 Praematura joined #salt
22:24 gtmanfred joined #salt
22:24 shortdudey123 joined #salt
22:24 ajw0100 joined #salt
22:24 pezus joined #salt
22:25 buu joined #salt
22:25 Deliant joined #salt
22:28 nixjdm joined #salt
22:41 dxiri joined #salt
23:01 asyncsec joined #salt
23:01 amcorreia joined #salt
23:05 nicksloan joined #salt
23:06 cgiroua joined #salt
23:08 ProT-0-TypE joined #salt
23:12 sh123124213 joined #salt
23:15 Splix76 left #salt
23:16 huddy joined #salt
23:17 Praematura joined #salt
23:20 spiette joined #salt
23:20 ajw0100 joined #salt
23:22 nicksloan joined #salt
23:28 nicksloan joined #salt
23:29 censorsh1 joined #salt
23:34 mosen joined #salt
23:34 censorsh1 joined #salt
23:37 Edgan major: haha, you need some help?
23:43 Edgan major: https://paste.fedoraproject.org/paste/LuCUpTw0DcfYahu5pW41Ag
23:44 Edgan major: There are some SSH only options. Probably part of the reason Saltfile was made is to not assume you have write access to /etc/salt
23:44 Edgan major: and you can set the configuration directory in Saltfile
23:45 armin joined #salt
23:45 Guest73 joined #salt
23:46 Edgan major: salt-ssh also has an issue with any files that aren't sls files not being included in the bundle sent to the remote system. Hence the need for extra_filerefs to let you to include them anyway.
23:48 Edgan major: I haven't gotten back to it yet, but my plan is to create a new salt-ssh mode that side steps a lot of the salt-ssh-isms by starting a master locally on a alternative high port, open an ssh tunnel, temp install a minion, and have it connect across the ssh tunnel back to your local master.
23:48 major Hmmmm
23:48 Edgan major: I have already prototyped it by hand. It seems doable.
23:49 major Nod nod
23:51 Edgan major: The link above should help. I store Saltfile in _ssh inside my formulas git repo. I store roster/master files in other directories like _ssh_master
23:51 Edgan Because you end up having different roster/master files for different purposes
23:51 Edgan I have used it for provisioning a new salt-master. I have used it for deployment. I have used it for testing salt code.
23:52 Edgan Then I set grains in the roster different per purpose to give me different behavior. Deploys skip base. Testing salt code doesn't skip base.
23:55 major Well.. for one of my tasks I will have to dynamically build a roster and delete it when I am done
23:55 mosen joined #salt
23:58 mpanetta joined #salt
23:58 snarfy^ joined #salt

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