Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-10-02

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

All times shown according to UTC.

Time Nick Message
00:19 relidy joined #salt
00:25 athaller joined #salt
00:32 athaller joined #salt
00:47 wavded joined #salt
00:47 fatal_exception joined #salt
00:48 johnj_ joined #salt
01:15 hoolio joined #salt
01:19 swills joined #salt
01:19 swills joined #salt
01:34 lnxnut joined #salt
01:55 ilbot3 joined #salt
01:55 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.7, 2017.7.1 <+> 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
01:57 tiwula joined #salt
02:36 Morrolan joined #salt
02:49 JPT joined #salt
02:52 johnj_ joined #salt
03:08 evle joined #salt
03:10 oida_ joined #salt
03:28 lnxnut joined #salt
03:39 zer0def joined #salt
03:54 johnj_ joined #salt
04:00 beardedeagle joined #salt
04:18 SneakyPhil joined #salt
04:32 zenchiken joined #salt
04:56 johnj_ joined #salt
05:22 lnxnut joined #salt
05:24 zerocool_ joined #salt
05:41 icebal joined #salt
05:57 icebal joined #salt
05:58 johnj_ joined #salt
06:01 do3meli joined #salt
06:02 zer0def joined #salt
06:11 ProT-0-TypE joined #salt
06:25 do3meli left #salt
06:36 ibro joined #salt
06:37 EthPyth joined #salt
06:43 icebal joined #salt
06:57 schasi joined #salt
06:59 johnj joined #salt
07:01 Ricardo1000 joined #salt
07:07 felskrone joined #salt
07:09 Hybrid joined #salt
07:13 aldevar joined #salt
07:17 lnxnut joined #salt
07:18 darioleidi joined #salt
07:29 rawzone joined #salt
07:32 robman joined #salt
07:51 pbandark joined #salt
07:57 usernkey joined #salt
08:01 Yoda-BZH joined #salt
08:01 Yoda-BZH joined #salt
08:01 johnj joined #salt
08:02 _KaszpiR_ joined #salt
08:11 lnxnut joined #salt
08:14 bdrung_work joined #salt
08:20 usernkey joined #salt
08:28 sh123124213 joined #salt
08:30 schasi joined #salt
08:34 sastorsl left #salt
08:34 mikecmpbll joined #salt
08:53 sh123124213 joined #salt
09:03 johnj joined #salt
09:13 lnxnut joined #salt
10:03 DanklyNight joined #salt
10:04 mks1981 left #salt
10:05 johnj joined #salt
10:07 lnxnut joined #salt
10:09 DanklyNight Is any one using Git_Pillar/Ext_Pillar in their env? I'm having headaches with it!
10:10 ivanjaros joined #salt
10:16 nickadam joined #salt
10:16 babilen DanklyNight: What's the problem?
10:17 DanklyNight No matter what I do, I just can't get Salt to echo back my pillar data, it's quite simple as this point
10:17 DanklyNight So in my top.sls, I have base:   'G@roles:Icinga2-Server':     - Icinga2.icinga2
10:19 DanklyNight But whenever I refresh the pillars and then do Pillars.Items nothing pops up, even though I can search the Icinga2 Server by it's role.
10:22 DanklyNight and I can't really find any good tuts on Ext_Pillar other than the documentation on SaltStack
10:26 pualj joined #salt
10:29 DanklyNight This is what my ext_pillar conf file looks like. ext_pillar:   - git:     - master git@src.thetestpeople.com:ttp-support/Salt-Testing.git:       # Pillar SLS files will be read from the 'pillar' subdirectory in       # this repository       - root: Pillars       - privkey: /etc/salt/salt-ssh-keys/Pillar.priv       - pubkey: /etc/salt/salt-ssh-keys/Pillar.pub       - env: base
10:30 zerocool_ joined #salt
10:36 mcliam joined #salt
10:37 mcliam left #salt
11:04 DanyC joined #salt
11:06 pbandark1 joined #salt
11:07 johnj joined #salt
11:08 DanklyNight Doesn't matter i'm an idiot
11:08 lnxnut joined #salt
11:09 EthPyth joined #salt
11:19 XenophonF did you figure it out, DanklyNight?
11:28 DanklyNight Yeah, I had forgot to create a Pillar folder in my repo, and I had my root as Pillars. Just one of those things that you miss and it drives you insane.#
11:29 Hybrid1 joined #salt
11:38 wavded joined #salt
11:39 tom[] can the --config-dir option of the salt command be set via an env var?
11:40 tom[] setting CONFIG_DIR, SALT_MASTER_CONFIG, and SALT_MINION_CONFIG had no effect
11:49 gawainlynch joined #salt
11:54 EthPyth joined #salt
11:57 vileni joined #salt
11:58 EthPyth joined #salt
12:00 pipps joined #salt
12:00 EthPyth joined #salt
12:01 ikarpov joined #salt
12:01 pipps joined #salt
12:02 q1x Hello, Does anyone use Salt-virt here without DHCP? Can it be done?
12:03 lnxnut joined #salt
12:08 johnj joined #salt
12:11 Nahual joined #salt
12:21 smead joined #salt
12:27 numkem joined #salt
12:32 icebal joined #salt
12:37 Hybrid joined #salt
12:38 Ricardo1000 joined #salt
12:40 callmecabman joined #salt
12:45 gh34 joined #salt
12:49 evle joined #salt
12:51 DanklyNight Has anyone used the salt.states.icinga2 module?
12:56 coredumb Anyone populating dns zones from the mine ?
12:56 gawainlynch left #salt
13:06 ikarpov_ joined #salt
13:10 ecdhe joined #salt
13:10 johnj joined #salt
13:19 lnxnut joined #salt
13:25 racooper joined #salt
13:25 cgiroua joined #salt
13:36 squishypebble joined #salt
13:37 fatal_exception joined #salt
13:40 babilen DanklyNight: No, too buggy .. but that shouldn't prevent you from trying it yourself
13:42 DanklyNight I'm currently looking at the client/node version of Icinga2 that doesn't use NRPE, no good tuts though so just kind of winging it. Trying to get around the CLI interface Icinga2 uses to set up nodes and the PKI etc
13:49 icebal joined #salt
13:51 ouemt joined #salt
13:53 Puckel_ joined #salt
14:03 mikecmpbll joined #salt
14:04 cyborg-one joined #salt
14:05 dxiri_ joined #salt
14:11 zer0def joined #salt
14:12 johnj joined #salt
14:14 zer0def joined #salt
14:15 csmule joined #salt
14:20 csmule_ joined #salt
14:21 csmule_ joined #salt
14:21 csmule__ joined #salt
14:22 mikecmpbll joined #salt
14:25 csmule joined #salt
14:25 dxiri joined #salt
14:26 scarcry joined #salt
14:28 _aeris_ joined #salt
14:31 sarcasticadmin joined #salt
14:32 wavded joined #salt
14:40 wavded joined #salt
14:41 Brew joined #salt
14:46 pipps joined #salt
14:49 rgrundstrom joined #salt
14:50 wavded joined #salt
14:50 rgrundstrom Good afternoon everyone
14:57 dxiri_ joined #salt
14:59 ouemt good morning here!
15:01 babilen UGT ftw! :)
15:07 rgrundstrom babilen: Do you know if there is anything finished out there in the eather that can collect grains and then show it in a handy GUI?
15:10 babilen saltpad maybe?
15:13 csmule_ joined #salt
15:13 lnxnut joined #salt
15:14 johnj joined #salt
15:20 tapoxi joined #salt
15:25 schemanic joined #salt
15:26 schemanic Hiya. Is there a way to get the logs of the operations that salt states and exmods are running? I'm interested in writing my deploy as salt states and I need to capture log output from them specifically
15:30 eck joined #salt
15:30 Hybrid joined #salt
15:36 XenophonF schemanic: would a returner do what you want? https://docs.saltstack.com/en/latest/ref/returners/index.html
15:37 rgrundstrom schemanic: Only thing coming to my mind is sunnint the salt state using '-l debug' but that woould call a great deal of stuff you proberbly dont want.
15:38 tiwula joined #salt
15:38 rgrundstrom sunnint = running..... ( need to start watching what i type. )
15:40 afics joined #salt
15:51 woodtablet joined #salt
15:53 klaas joined #salt
16:02 mpanetta joined #salt
16:08 xet7 joined #salt
16:10 cswang joined #salt
16:15 sarlalian joined #salt
16:15 aldevar left #salt
16:16 johnj_ joined #salt
16:18 ikarpov joined #salt
16:20 wavded joined #salt
16:25 nixjdm joined #salt
16:26 wavded joined #salt
16:30 lnxnut joined #salt
16:37 ferb joined #salt
17:00 onlyanegg joined #salt
17:02 redundancyd joined #salt
17:04 stanchan joined #salt
17:05 onlyanegg joined #salt
17:12 stanchan joined #salt
17:18 cyborg-one joined #salt
17:18 johnj_ joined #salt
17:25 pipps joined #salt
17:30 nixjdm joined #salt
17:33 _aeris_ joined #salt
17:33 stanchan joined #salt
17:33 dxiri joined #salt
17:40 lnxnut joined #salt
17:42 tduerr joined #salt
17:46 _JZ_ joined #salt
17:54 schemanic XenophonF, do returners grant access to the actual command line output of the commands being run by salt?
17:54 schemanic For example, if I run an archive.extracted state, and something with that breaks, I need to see the exact line where it fails
18:02 pipps joined #salt
18:13 squishypebble joined #salt
18:19 wavded joined #salt
18:19 johnj_ joined #salt
18:20 mikecmpbll joined #salt
18:27 fatal_exception joined #salt
18:28 pipps joined #salt
18:31 nixjdm joined #salt
18:34 aldevar joined #salt
18:35 myii joined #salt
18:41 seanx820 joined #salt
18:44 _KaszpiR_ joined #salt
18:44 squishypebble joined #salt
18:44 pualj joined #salt
18:47 myii In the following example, is there any way to achieve this without `module.run`?
18:47 myii checkout_original_branch_for_{{ gitdir }}:
18:47 myii module.run:
18:47 myii - name: git.checkout
18:47 myii - order: last
18:47 myii - cwd: {{ gitdir }}
18:47 myii - rev: {{ original_branch }}
18:47 myii - user: {{ gitdir_user }}
18:48 myii To improve PR: https://github.com/saltstack-formulas/salt-formula/pull/239
18:52 ChubYann joined #salt
18:52 lnxnut joined #salt
18:59 astronouth7303 `git.detached` or `git.latest` or `git.present`? https://docs.saltstack.com/en/latest/ref/states/all/salt.states.git.html
19:00 gtmanfred joined #salt
19:01 whiteinge joined #salt
19:01 whiteinge joined #salt
19:02 myii Already using `git.latest` in the formula.  Want to check out the original branch after pulling to the various branches.  So specifically `git.checkout`.  Can this be done without in any way without `module.run`?
19:04 tapoxi joined #salt
19:06 astronouth7303 you _what_?
19:06 dxiri joined #salt
19:09 aldevar joined #salt
19:12 myii Perhaps easier to see the PR: https://github.com/saltstack-formulas/salt-formula/pull/239
19:18 schemanic joined #salt
19:21 johnj_ joined #salt
19:24 stanchan joined #salt
19:30 nixjdm joined #salt
19:35 pipps joined #salt
19:42 photoeye joined #salt
19:42 myii astronouth7303, no dice?
19:43 astronouth7303 i'm not involved in development and i've got my own stuff to do
19:44 _aeris_ joined #salt
19:44 myii astronouth7303, no problem.
19:47 teratoma joined #salt
19:57 stanchan joined #salt
19:57 Shirkdog joined #salt
20:00 pipps joined #salt
20:01 pipps joined #salt
20:03 lnxnut joined #salt
20:12 choke joined #salt
20:13 choke quick question:   I have a salt master, and my salt-minion(s) in AWS.  I just attached an auto scaling group, to my minions but can't seem to find any information on how to get the minion-key to be unique upon scaling.  Anyone have any info on this?
20:14 astronouth7303 @choke you need to make sure in your AMI, the key and `minion_id` files are missing
20:15 astronouth7303 they'll be automatically generated at startup, but you need a flow to accept the key on the master side
20:15 pipps joined #salt
20:16 choke I'll figure that part out next -- thanks for the info about the key and minion_id files
20:16 ivo_ joined #salt
20:19 bildz I'm looking to leverage AWS SQS message queues to trigger a reactor sls in salt.  Has anyone configured this before?  I am wondering how you can parse the data in the message to trigger the appropriate action
20:20 dxiri joined #salt
20:20 motherfsck joined #salt
20:22 choke bildz i just googled and found this: https://groups.google.com/forum/#!topic/salt-users/eQOKC84XmPc. it mentions SQS but can't tell you how valid it is
20:23 johnj_ joined #salt
20:27 okie joined #salt
20:27 bildz choke: reading over this as well.  Thanks for the response
20:30 juntalis joined #salt
20:30 nixjdm joined #salt
20:31 schemanic joined #salt
20:36 stanchan joined #salt
20:39 onlyanegg joined #salt
20:42 choke astronouth7303 - so i just tried removing the 'minion_id' from /etc/salt/minion file from a server already running and it generates the new key to accept properly, except it won't match my pillar since it comes in the form of the aws hostname...
20:42 choke any ideas on getting the autogenerated id to be in the format i need for my pillar?
20:42 astronouth7303 that really depends on how you assign host names
20:43 astronouth7303 I use salt-cloud, so i don't have experience
20:44 astronouth7303 cloud-init might be helpful? one-time boot script that interrogates the AWS metadata service or its own AWS tags?
20:45 choke so when i initially created the first server, that i created my ami from... i used: salt-cloud -p xxxxxxxx sn2-prod-1.domain.com, so when i autoscale the next id should be sn2-prod-2.domain.com and so on... that comes from my top file being like: https://gist.github.com/jblac/457b2c963d28f4dda6db9d40c1a55a69
20:47 oida joined #salt
20:50 Vye_ joined #salt
20:51 pipps joined #salt
20:51 wavded joined #salt
21:00 pbandark1 joined #salt
21:01 tapoxi joined #salt
21:03 stanchan joined #salt
21:04 astronouth7303 ummm... what was going to generate the minion IDs? I'm not aware of any incrementing functionality in salt.
21:09 choke i'm not either -- it wasn't planned out properly admittedly... i'm not adversed to changing how the top file matches the pillars and such... i'm still super new to salt so i'm kinda learning as I go.
21:13 schasi joined #salt
21:14 astronouth7303 i would either assign by configured grains (requires trusting the minion to advertise itself properly) or some kind of external pillar system that produces the environment data for a given instance ID
21:17 wavded joined #salt
21:19 lnxnut joined #salt
21:25 choke hmm.. i'll have to play around, but you've given me some things to think about and play around with.... Appreciate it
21:30 nixjdm joined #salt
21:36 cgiroua joined #salt
21:50 larsc1 joined #salt
21:50 larsc1 left #salt
21:51 lars_ joined #salt
21:52 lars_ left #salt
21:52 beardedeagle joined #salt
21:53 mrueg joined #salt
21:54 beardedeagle joined #salt
21:54 beardedeagle joined #salt
22:02 Bock joined #salt
22:03 choke astronouth7303 So, i spooled up a new minion, ssh'd in and manually added the grain stuff...  changed the top file and the pillar to both match the grain and it works perfectly.   I think that just might work -- thanks again
22:04 Bock joined #salt
22:04 lkolstad joined #salt
22:13 csmule_ joined #salt
22:14 beardedeagle joined #salt
22:21 beardedeagle joined #salt
22:22 sh123124213 joined #salt
22:22 oida_ joined #salt
22:27 stanchan joined #salt
22:28 lnxnut joined #salt
22:28 dxiri hi everyone! where is the best place to discuss a problem I am having that I am not sure if its a bug or not? I would rather not do it here since it will be forgotten and hard to find tomorrow :)
22:31 iggy personally, I would just open a github issue
22:32 iggy if it's not a bug, it definitely won't be the first issue that isn't really a bug
22:33 dxiri iggy: cool, didn't want to clutter the github if it isn't :) but just noticed there are 4451 issues so I am probably the only one worrying about that
22:33 dxiri lol
22:34 iggy lol, that's open... there's close to 20k total
22:34 pipps joined #salt
22:40 MTecknology dxiri: you could ask enough here to find out if it's an issue worth reporting?
22:43 MTecknology err.. I guess I asked an invalid question... you're reasoning for not doing that thing confuses me
22:44 pipps joined #salt
22:45 dxiri MTecknology: I have done it multiple times here already :) no answers, so want something that I can follow up on
22:45 dxiri https://github.com/saltstack/salt/issues/43873
22:46 MTecknology that sounds like you're expecting irc to be synonymous with a github issue
22:47 dxiri nah, not at all, just trying a different audience to look at it
22:47 dxiri and now I have something to refer to from here :)
22:49 dxiri so thing is, using salt virt, I can't add more disks to the VMs I am deploying
22:51 iggy nobody uses salt virt (which is probably why you're not getting answers here)
22:51 iggy so yeah, issue tracker or mailing list
22:53 dxiri iggy: is it being phased out in favor of something else?
22:55 iggy not that I know of... just turns out a purpose built system to manage VMs via salt doesn't really have the same developer community as projects like openstack, ganeti, cloudstack, etc
22:57 squishypebble joined #salt
22:58 onlyanegg joined #salt
22:59 Whissi joined #salt
23:03 dxiri ganeti, that's a new one :)
23:03 dxiri first time I hear about it
23:05 cyborg-one joined #salt
23:07 dxiri and its python! nice!
23:08 dxiri but not very active it seems
23:25 stanchan joined #salt
23:26 pipps joined #salt
23:29 johnj_ joined #salt
23:36 lnxnut joined #salt
23:40 sarcasticadmin joined #salt
23:46 oida joined #salt
23:56 pipps joined #salt
23:57 summers joined #salt
23:59 pipps joined #salt
23:59 dxiri_ joined #salt

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