Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2018-01-18

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

All times shown according to UTC.

Time Nick Message
00:00 saltslackbridge joined #salt
00:10 Hybrid joined #salt
00:12 MTecknology eightyeight: I know the order things get executed, but I still prefer to define all dependencies. If I know X has to happen before Y, I don't want to trust the ordering... I want to define exactly what needs to happen first.
00:12 major joined #salt
00:14 pipps joined #salt
00:14 MTecknology hashwagon: The match module would probably make more sense than .startswith().
00:15 MTecknology eightyeight: I half suspect it might be time for you to start with a fresh salt master and a fresh set of minions so you can start rebuilding things from the ground up and start lean 'n clean. :)
00:16 eightyeight With over 500 minions of all shapes and sizes?
00:16 eightyeight Yeah, that's not happening.
00:16 eightyeight :-)
00:20 MTecknology 500 isn't really that many, though
00:21 MTecknology that's not even approaching scale yet :D
00:28 MTecknology eightyeight: btw- I typically suggest fresh starts because most setups I've seen are really just wedging config management into existing systems/infra... destined for failure 'n unending death.  As opposed to spending lots of time planning, and then building, and then eventually implementing a fresh environment deployed by config management.
00:30 Garo_ left #salt
00:30 Hybrid joined #salt
00:32 eightyeight As a lone wolf, I'm just saying, that's not happening.
00:32 eightyeight I'll clean it up, but piece-by-piece. Not via sledgehammer.
00:33 major joined #salt
00:40 sh123124213 joined #salt
00:41 whytewolf Nuke the site from orbit, it is the only way to be sure.
00:49 pipps joined #salt
00:53 Hybrid joined #salt
01:13 pipps joined #salt
01:15 tpaul joined #salt
01:16 pipps99 joined #salt
01:30 dev_tea joined #salt
01:46 jacksontj joined #salt
01:49 lkthomas__ left #salt
01:54 jacksontj joined #salt
01:55 iggy joined #salt
01:55 bd joined #salt
01:55 basepi joined #salt
01:55 Armadillo joined #salt
01:55 TomJepp joined #salt
01:55 descrepes joined #salt
01:55 Hazelesque joined #salt
01:55 robinsmidsrod joined #salt
01:55 mihait joined #salt
01:56 ipmb joined #salt
01:56 brokensyntax joined #salt
01:56 phtes joined #salt
01:56 dograt joined #salt
01:57 rtr63gdh[m] joined #salt
01:57 toofoo[m] joined #salt
01:57 dlloyd joined #salt
01:57 gomerus[m] joined #salt
01:57 aboe[m] joined #salt
01:57 hackel joined #salt
01:57 freelock joined #salt
01:58 sayyid9000 joined #salt
02:00 nledez joined #salt
02:00 nledez joined #salt
02:00 jacksontj joined #salt
02:01 MTecknology eightyeight: If I get it ready, you should check out my presentation at next saltconf :)
02:03 XenophonF eightyeight: I'm cleaning up things piece by piece, slowly taking over systems management tasks like some horrible fungus spreading throughout the host body.
02:03 XenophonF it's doable as long as you don't mind crap being half done
02:04 XenophonF but once something's managed by Salt, I say no more manual changes and revoke people's access to the server
02:04 XenophonF bwahahahaha
02:07 alexlist joined #salt
02:11 major joined #salt
02:14 inetpro joined #salt
02:18 tpaul joined #salt
02:19 tiwula joined #salt
02:20 nomeed joined #salt
02:26 pipps joined #salt
02:30 MTecknology XenophonF: +10
02:30 tpaul joined #salt
02:36 Larri joined #salt
02:40 tiwula joined #salt
02:57 ilbot3 joined #salt
02:57 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.8, 2017.7.2 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic, and https://saltstackcommunity.herokuapp.com (for slack) <+> We are volunteers and may not have immediate answers
02:58 major joined #salt
03:01 tpaul joined #salt
03:02 tpaul Anyone else seeing "ERROR: Xfixes>=2.0.0 is not installed; can't buildlink files." for packages that need X on NetBSD 7.1.1.? Tried SDL2, then xeyes, xclock as a sanity check.
03:02 tpaul Sorry, wrong channel
03:06 gnomethrower joined #salt
03:15 evle joined #salt
03:29 justan0theruser joined #salt
03:33 CeBe joined #salt
03:33 scarcry joined #salt
03:33 v12aml joined #salt
03:33 __peke__ joined #salt
03:33 doubletwist joined #salt
03:33 Nebraskka joined #salt
03:33 JPaul joined #salt
03:33 Zachary_DuBois joined #salt
03:33 saltstackbot joined #salt
03:33 izibi joined #salt
03:33 copelco__ joined #salt
03:33 swills joined #salt
03:33 swills joined #salt
03:33 nahkiss joined #salt
03:33 dragon788 joined #salt
03:33 supermike___ joined #salt
03:33 djural joined #salt
03:33 jhill_ joined #salt
03:33 JoshL joined #salt
03:33 stduolc joined #salt
03:33 freelock joined #salt
03:34 ws2k3 joined #salt
03:35 nledez joined #salt
03:36 RandyT joined #salt
03:36 RandyT joined #salt
03:37 shiranaihito joined #salt
03:46 skeezix-hf joined #salt
03:50 stanchan joined #salt
04:02 eMBee joined #salt
04:12 sh123124213 joined #salt
04:18 chesty joined #salt
04:18 pipps joined #salt
04:19 pipps joined #salt
04:26 mritchie joined #salt
04:29 av_ joined #salt
04:30 stanchan joined #salt
04:46 justanotheruser joined #salt
05:05 justanotheruser joined #salt
05:25 lompik joined #salt
05:30 nku hrm. can i do a cmd.run and use the output in a different state/template?
05:31 nku i have a bash script that gives me some dynamic info i need in a config file. i could just rewrite the entire config in a cmd, but that doesn't seem so great
05:31 saltslackbridge <gtmanfred> you cannot use output from one state in another staet
05:31 saltslackbridge <gtmanfred> you can use the output of cmd.run in jinja
05:31 nku thanks, just found it
05:32 nku nice
05:32 Yadan joined #salt
05:32 saltslackbridge <gtmanfred> https://github.com/saltstack/salt/pull/44866
05:32 saltslackbridge <gtmanfred> that will be in oxygen though
05:32 nku ok, just put the script on the minion, and call it from jinja
05:32 saltslackbridge <gtmanfred> and will be useful
05:32 nku oh, nice
05:32 nku yeah
05:32 saltslackbridge <gtmanfred> you don’t even have to put the script on the minion, just put it in your salt fileserver, and use cmd.script to reference it
05:32 saltslackbridge <gtmanfred> https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.cmdmod.html#salt.modules.cmdmod.script
05:33 nku great
06:02 pipps joined #salt
06:09 aldevar joined #salt
06:15 zulutango joined #salt
06:16 LocaMocha joined #salt
06:27 c06 joined #salt
06:27 c06 hi all.
06:28 c06 i am running salt files need to capture the output and i want to use the output as input for next state modules. is there any way to acheive this.!?
06:31 MTecknology c06: http://dpaste.com/3ZTR9XK
06:32 nku lel
06:33 nku works for me btw
06:38 c06 MTecknology: salt-mine.?!!
06:40 nku c06: what do you mean, "running salt files"?
06:41 c06 nku: state.apply to particular minion nodes
06:41 nku the output?
06:46 c06 its like i am running docker inside the minion and docker have some ip i will run state file to get the docker ip and after getting that i ll add that ip to next sls and i ll run
07:04 bigjazzsound joined #salt
07:04 nku gtmanfred: fwiw, using a salt:// as script source only gave me {'cache_error': True, 'pid': 0, 'retcode': 1, 'stderr': '', 'stdout': ''}, i've copied the script to the minion now
07:13 Zachary_DuBois joined #salt
07:19 c06 nku: any suggestions.!?
07:22 Ricardo1000 joined #salt
07:23 jas02 joined #salt
07:25 jas02 joined #salt
07:25 nku c06: well, as pasted above, you can use cmd.run cmd.script etc in your templates, but then you're not running them from another state
07:25 rgrundstrom Good morning
07:27 stanchan joined #salt
07:28 stanchan joined #salt
07:31 ecdhe joined #salt
07:35 puzzlingWeirdo joined #salt
07:35 jas02 joined #salt
07:36 puzzlingWeirdo joined #salt
07:37 impi joined #salt
07:40 aldevar joined #salt
07:41 tpaul joined #salt
07:48 zerocoolback joined #salt
07:48 stanchan joined #salt
07:50 mosen joined #salt
07:51 tpaul joined #salt
07:55 rgrundstrom joined #salt
08:12 c06 nku: sorry went for lunch
08:12 c06 i forgot to say.. the output will used for another hosts state(sls) files..
08:13 Hybrid joined #salt
08:15 inire joined #salt
08:16 rgrundstrom I need to ensure a specific kernel version is booted. Basically need to lockdown the kernel. Any ideas on how that can be done?
08:17 Neighbour is that with a specific package manager?
08:19 aviau joined #salt
08:20 rgrundstrom Neighbour: I allready configured pkg to install the kernel version that is going to be installed... But I need to make sure that the system boots from that kernel as well.
08:21 rgrundstrom going to be used* (Need more coffe...)
08:22 dh joined #salt
08:23 rgrundstrom I am bound to a specific kernel due to custom packets that are built on a specific kernel version. If the kernel changes to a newer one the system will break.
08:25 rgrundstrom Rebuilding the packets every time there is a kernel update will be too time consuming... (alltho I would prefer to have it that way, but it is not my decision.)
08:27 Deliant joined #salt
08:37 Deliant joined #salt
08:39 Tucky joined #salt
08:47 stanchan joined #salt
09:02 jas02_ joined #salt
09:07 dmaphy MyMescaline2017
09:07 dmaphy well, wrong window focus
09:07 dmaphy guess now i have to change a password
09:07 dmaphy :>
09:07 jas02 joined #salt
09:10 pbandark joined #salt
09:11 dwfreed joined #salt
09:20 Neighbour rgrundstrom: How about removing all other kernels? :)
09:22 saltslackbridge <mts-salt> or force /boot to be read-only by default? :slightly_smiling_face:
09:23 babilen rgrundstrom: You can set GRUB_DEFAULT in, for example, /etc/default/grub.d/default_kernel.cfg
09:23 babilen (Debian)
09:28 _JZ_ joined #salt
09:32 jas02 joined #salt
09:36 saltnoob58 joined #salt
09:37 saltnoob58 joined #salt
09:37 saltnoob58 hi
09:37 saltnoob58 is it possibe to get grains or mine or this automatic fact collecting about hosts when using agentless salt?
09:39 jor joined #salt
09:42 gmoro joined #salt
09:53 Mattch joined #salt
09:54 stanchan joined #salt
09:57 puzzlingWeirdo joined #salt
10:05 golodhrim|work joined #salt
10:06 Elsmorian joined #salt
10:07 tpaul left #salt
10:07 av_ joined #salt
10:16 lkthomas joined #salt
10:16 lkthomas folks, I am wondering how does pkg.installed work
10:17 lkthomas I am on centos, so yum search obviously can't found that package
10:17 lkthomas should I point a repo to minion or even put a file server to ensure it's download rpm from somewhere ?
10:24 Elsmorian joined #salt
10:28 Cadmus lkthomas: You can use `source` as an HTTP link to an RPM file, I do this for Java
10:29 lkthomas Cadmus, isn't Java require manual interaction to accept license ?
10:29 Cadmus From the Oracle website, yes. So I download the RPM and host it on a small Apache server
10:31 lkthomas oh the setup doesn't need another button press, okay
10:32 Cadmus Now if only Oracle didn't put the version number in the package name >_>
10:32 lkthomas does it matter ?
10:32 LotR joined #salt
10:33 Cadmus Yes, because you still need the name of the package in your statement as well as where to find it, and the format changes every time
10:35 Cadmus So JRE 8.2 is 'java-jre-1_8-2' but a later one might be 'jdk-jav-1-8_17' so it's hard to parameterise it.
10:36 lkthomas LOL
10:37 Cadmus I have opinions on Oracle and their approach to standards and automation that are not suitable to repeated on an IRC channel. Anyway that's probably the hardest example of installing a package from just an RPM
10:38 lkthomas Cadmus, try another wrapper ?
10:38 lkthomas https://github.com/salt-formulas/salt-formula-java
10:39 Elsmorian joined #salt
10:41 Neighbour Cadmus: You can always host your own (internal) repo, and add the (customized) packages there :)
10:41 lkthomas how often do you guys update salt-formula ?
10:41 Cadmus Yeah, I need to repack the RPMs to do that but I've never had to do that before
10:41 lkthomas Cadmus, use that wrapper man
10:42 Cadmus Yeah, I didn't know about it, I'll look into that
10:42 stduolc joined #salt
10:43 tpaul joined #salt
10:44 lkthomas automation tool is like that, always look for modules
10:44 lkthomas I seldom write my own unless the public module is broken
10:44 lkthomas which I think half of the time happen on Puppet
10:44 lkthomas now, Salt, let's see how it goes
10:44 lkthomas I only start using it for couple days, looking good
10:45 lkthomas all the downfall from Puppet is gone on Salt
10:58 lkthomas another question
10:58 lkthomas so I have pkg.installed: - pkg:
10:58 lkthomas then list of packaghes
10:58 lkthomas can I just add sources: after one single package ?
11:01 babilen You can add sources: for a single package
11:01 babilen I mean you specify the package in there already
11:01 babilen That being said: I found agregated pkgs: states to be rather unwieldy and would recommend to use individual states (maybe create them from (pillar) data in a loop or somesuch)
11:03 lkthomas https://gist.github.com/anonymous/c92284d59eec775116647bdf7319601c
11:03 lkthomas like this ?
11:05 sayyid9000 joined #salt
11:07 lkthomas babilen, ?
11:08 babilen lkthomas: No, you just specify sources: on their own
11:13 lkthomas babilen, https://gist.github.com/anonymous/d1aecda539ba93585d709d517a7c8cfb
11:13 lkthomas this ?
11:15 babilen Almost :) -- sources have to be a list also
11:15 babilen (list of single entry dictionaries)
11:15 lkthomas babilen, mind to give me example please ?
11:15 lkthomas hard to imagine how to get it right
11:16 babilen sources: - foo: http://....
11:16 babilen https://docs.saltstack.com/en/latest/ref/states/all/salt.states.pkg.html#salt.states.pkg.installed → sources example in the documentation
11:17 XenophonF joined #salt
11:17 lkthomas if I include "a" in sources list, do I need to redo it on pkgs list as well ?
11:17 babilen Search for "param list sources"
11:17 babilen What do you mean by "redo" ?
11:17 oida joined #salt
11:18 lkthomas https://gist.github.com/anonymous/c8a30fd67335c5c753c4c117caa09317
11:18 lkthomas baikal,
11:18 lkthomas babilen,
11:19 babilen My understanding is that you either specify it in pkgs: or sources:, i.e. the second example .. But I really wouldn't mix those states as they are hard to reason about, reference and understand
11:19 lkthomas OK
11:36 cyteen joined #salt
11:52 evle1 joined #salt
11:56 sayyid9000 joined #salt
12:22 Naresh joined #salt
12:23 xet7 joined #salt
13:08 lvdombrkr joined #salt
13:15 Xenophon1 joined #salt
13:16 Nahual joined #salt
13:37 gmoro_ joined #salt
13:43 edrocks joined #salt
13:55 numkem joined #salt
13:56 impi joined #salt
14:00 XenophonF joined #salt
14:03 gh34 joined #salt
14:11 Nahual Is there a way to populate NAME= inside an ifcfg file utilizing the network.managed state module? I have a terrible workaround in place right now but it requires network.managed and file.prepend to run everytime as network.managed removes the change and file.prepend adds it back.
14:11 XenophonF joined #salt
14:11 zeromorphism joined #salt
14:15 stduolc joined #salt
14:25 Elsmorian joined #salt
14:27 sayyid9000 joined #salt
14:27 yuhl joined #salt
14:32 Aleks3Y joined #salt
14:36 socket- joined #salt
14:37 Elsmorian joined #salt
14:38 saltslackbridge <gtmanfred> Nahual, pass nickname: whatever https://github.com/saltstack/salt/blob/2017.7/salt/templates/rh_ip/rh7_eth.jinja#L2
14:38 saltslackbridge <gtmanfred> only works for rhel 7 looks like, not for rhel 6
14:42 Nahual Ahhh precisely what I was looking for. I was just digging into the module.
14:42 Nahual Thank you very much.
14:45 Elsmorian joined #salt
14:46 gh34 joined #salt
15:03 racooper joined #salt
15:04 Elsmorian joined #salt
15:07 englishm_work joined #salt
15:15 sayyid9000 joined #salt
15:20 tpaul joined #salt
15:21 lompik joined #salt
15:33 cgiroua joined #salt
15:53 ilbot3 joined #salt
15:53 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.8, 2017.7.2 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic, and https://saltstackcommunity.herokuapp.com (for slack) <+> We are volunteers and may not have immediate answers
15:53 al joined #salt
15:53 stduolc joined #salt
15:59 rh10 joined #salt
16:00 rh10 guys, any good book to start work with saltstack? does books of 2016 year's suitable for current salt?
16:01 nixjdm joined #salt
16:02 saltslackbridge <mts-salt> honestly the documentation has been absolutely essential for me. take a look at https://docs.saltstack.com/en/latest/topics/tutorials/walkthrough.html
16:03 rh10 saltslackbridge, thanks!
16:04 al joined #salt
16:05 tiwula joined #salt
16:20 Elsmorian joined #salt
16:24 shanth when doing a state.apply is it possible to only show the ones that failed? i have states that are copying a lot of files and it really gunks up the output with EACH file that it copied. i have 2 states that failed and i cant see which ones :(
16:24 saltslackbridge <gtmanfred> you could add show_changes: False to the file.managed ones that are copying filews
16:24 shanth my hero :D
16:24 saltslackbridge <gtmanfred> and check the highstate outputter options to make it only show failed
16:25 saltslackbridge <gtmanfred> https://docs.saltstack.com/en/latest/ref/output/all/salt.output.highstate.html
16:25 shanth how do you do that second part?
16:25 shanth nice
16:25 saltslackbridge <gtmanfred> state_verbose and state_output
16:27 tiwula I have the following issue:  my problem is tagging root volumes on aws.  For this I am using boto_ec2.volumes_tagged.  I need to specify a proxy and deal with the fact that us-east-2 isn't a known region to boto.  I am using /etc/boto.cfg to do this which I am creating with file.managed.  The problem is that boto has already determined that there is no /etc/boto.cfg file and so the file doesn't get read.
16:28 tiwula I solved the problem by writing the /etc/boto.cfg file early in my states and use it later in the states.  This seems to work, but feels brittle.  Is there a better way?
16:29 pipps joined #salt
16:32 sayyid9000 joined #salt
16:38 yuhl_ joined #salt
16:41 stanchan joined #salt
16:43 averell joined #salt
16:46 _xor joined #salt
16:48 pipps joined #salt
16:49 gmoro joined #salt
16:52 Creme joined #salt
16:55 sayyid9000 joined #salt
16:55 tapoxi joined #salt
16:56 tapoxi hey, anyone using vagrant? I have my master running highstate on itself after bootstrapping, but it fails because it hasn't pulled everything from gitfs yet
16:56 pipps joined #salt
16:56 tapoxi I just need to sleep it for a few seconds but I don't think the salt provisioner is smart enough to do that
17:00 impi joined #salt
17:02 edrocks joined #salt
17:04 saltslackbridge <ryan.walder> add a shell  provisioning step with `sleep XX` to the vagrant file?
17:14 major joined #salt
17:22 al joined #salt
17:27 evle3 joined #salt
17:28 deadpoet I am new to salt and I have configured a master and minion and have it running except for a watch on a script that I have changed but I do not see it updating on the minion. Is there a default polling time where the minion checks in on if somethign has changed?
17:30 aldevar left #salt
17:30 Brew joined #salt
17:31 saltslackbridge <ryan.walder> salt doesn't have a schedule by default, you need to add one in or run the state manually
17:31 deadpoet Is there a doc that explains how to add one?
17:32 saltslackbridge <gtmanfred> https://docs.saltstack.com/en/latest/topics/jobs/
17:32 deadpoet thank you
17:33 al joined #salt
17:34 saltslackbridge <ryan.walder> I was just looking for that, had a complete brain fart and forgot the word schedule
17:35 tapoxi where is this slack channel that you guys are bridging from
17:35 tapoxi or is it internal-only
17:36 saltslackbridge <gtmanfred> it is in /topic
17:36 evle joined #salt
17:36 saltslackbridge <ryan.walder> https://saltstackcommunity.herokuapp.com/
17:39 saltslackbridge <ted> wow my irc avatar is terrifying
17:41 evle joined #salt
17:50 _dp joined #salt
17:50 _dp joined #salt
17:52 stanchan joined #salt
18:02 evle3 joined #salt
18:05 evle2 joined #salt
18:05 edrocks joined #salt
18:10 lordcirth_work Does the bridge use those ugly avatar things to prevent lookalikes?
18:11 saltslackbridge <gtmanfred> ¯\_(ツ)_/¯
18:16 DammitJim joined #salt
18:27 Lionel_Debroux joined #salt
18:48 stanchan joined #salt
18:51 cain_ joined #salt
18:56 cain_ I have a salt state that includes a `require: - sls: swarm/certs`, what could lead to this not being found? (the salt state is being run by an orchestration runner, whereas the swarm/certs state is setup by a previous orchestration step that runs the highstate - i.e. swarm/certs is included in the highstate, but the state that references it is being run in a separate orchestration runner step)
18:56 cain_ `The following requisites were not found: require: sls: swarm/certs`
18:58 saltslackbridge <gtmanfred> probably want swarm.certs
18:58 saltslackbridge <gtmanfred> since that is usually how the sls path is referneced instead of with /s
19:00 cain_ ah i tried that too, got the same error :(
19:01 saltslackbridge <gtmanfred> oh, you have to run the files in the same step.
19:01 saltslackbridge <gtmanfred> if you want to require them, they have to be run in the same state.sls or state.highstate call
19:01 cain_ aha
19:01 cain_ i'll just require the highstate to run and have the implicit requirement be that this state must be present in the highstate
19:02 saltslackbridge <gtmanfred> :+1:
19:02 cain_ thanks!
19:03 saltslackbridge <gtmanfred> no problem
19:03 NightMonkey joined #salt
19:18 NightMonkey joined #salt
19:20 sjorge_be joined #salt
19:24 kiorky joined #salt
19:26 DanyC joined #salt
19:30 tremon joined #salt
19:31 tremon joined #salt
19:33 jpsharp I have this in one of my salt state files: https://pastebin.com/DyDzxKHn
19:33 jpsharp But salt doesn't seem to want to pass proper useflags through to emerge, so the packages won't install right.
19:34 jpsharp Am I missing a syntax?
19:35 jpsharp Freeswitch and freeswitch-sounds don't install because they complain about a required use flag of linguas_en.
19:35 jpsharp but it's there in the state file.
19:44 aldevar joined #salt
19:47 Trauma joined #salt
19:55 tremon hi all, I have a (hopefully) simple question about https://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.git_pillar.html#configuring-git-pillar-for-salt-releases-2015-8-0-and-later -- specifically, about using {{saltenv}} in the pillar top file
19:55 tremon should that be using {{pillarenv}} instead?
20:00 tremon I'm a bit unsure about why you would anchor a pillar on saltenv when it's specifically configured to be scoped on pillarenv through the __env__ parameter
20:00 Hybrid joined #salt
20:00 xet7 joined #salt
20:03 sayyid9000 joined #salt
20:12 schemanic joined #salt
20:13 stanchan joined #salt
20:14 rubenb joined #salt
20:14 schemanic Hello, I'm trying to upgrade a minion to 2017.7.2 from 2016 and I'm getting a 'damaged repomd.xml when trying to install the amazon salt repo' error
20:20 Hybrid joined #salt
20:35 yuhl joined #salt
20:37 stanchan joined #salt
20:54 sjorge_be left #salt
20:55 sjorge joined #salt
20:57 stanchan joined #salt
21:08 csmule joined #salt
21:08 csmule Hi.  How do I decrease the timeout so I'm not waiting so long for dead minions?
21:10 lordcirth_work csmule, salt -t 5 thttps://docs.saltstack.com/en/latest/ref/cli/salt.html#options
21:10 csmule ty
21:18 noobiedubie joined #salt
21:18 oida joined #salt
21:29 evle joined #salt
21:29 pipps joined #salt
21:32 pipps joined #salt
21:33 pipps joined #salt
21:39 stanchan joined #salt
21:40 evle joined #salt
21:48 evle2 joined #salt
21:55 eightyeight getting "Passed invalid arguments: 'NoneType' object is not iterable."
21:55 eightyeight on a highstate
21:55 eightyeight how can i discover what is set incorrectly?
22:00 hemebond eightyeight: Check the minion log.
22:00 stanchan joined #salt
22:02 eightyeight https://paste.debian.net/1005917/
22:02 eightyeight mysql error, i guess. interesting.
22:02 eightyeight interesting, because this minion isn't running mysql
22:03 MTecknology paste.debian.net ... the only pastebin service on the internet that wants me to log in when I visit.
22:03 MTecknology eightyeight: salt-call -l debug is often helpful for that sorta thing
22:04 eightyeight yeah. it's not.
22:04 Elsmorian joined #salt
22:06 eightyeight end of debug output: https://paste.debian.net/1005920/
22:09 MTecknology that doesn't really seem like all the details required for debugging.
22:09 eightyeight there isn't an ERROR is the debug log, so it's impossible to tell what it's erroring on
22:09 * MTecknology blinks
22:10 MTecknology wanna just paste the whole debug log?
22:10 * MTecknology needs to find food soon..
22:10 eightyeight sure. uno mentos.
22:10 hemebond That.... doesn't look like an error on the minion.
22:10 hemebond It looks like you've got the command wrong.
22:11 hemebond I can't see the command you're running.
22:11 eightyeight # salt-call -l debug state.highstate
22:11 hemebond state.apply
22:11 hemebond Shouldn'
22:11 hemebond Shouldn't matter, but better to get used to state.apply
22:12 eightyeight ok
22:12 eightyeight same error on the minion. should i try from the master?
22:13 hemebond Sure.
22:13 eightyeight "Passed invalid arguments to state.apply: 'NoneType' object is not iterable"
22:14 MTecknology hemebond: state.apply isn't any better/worse... it's just a convenience function.
22:14 hemebond MTecknology: Yeap. But better.
22:14 hemebond Coz I sed so
22:14 MTecknology I would argue that it's worse..
22:14 hemebond But I said it's better. So your argument is invalid :-D
22:16 hemebond eightyeight: Is that it. Your command is just `salt blah state.apply`?
22:16 MTecknology eightyeight: did I miss the log?
22:17 eightyeight hemebond: yeah, or state.highstate
22:18 hemebond Checked your top.sls?
22:18 hemebond Maybe a bad entry in there.
22:18 hemebond Can you paste it?
22:21 eightyeight Sorry. Need to put out a fire.
22:30 jpsharp Apparently there's some stupid in the salt ebuild interface on gentoo.  When you try to install a package via a salt state, it passes the package name to module.ebuild as pkgs instead of name...and module.ebuild ignores "uses" when "pkgs" is defined.
22:31 noobiedubie MTecknology: log in to what? never been prompted before is there even a sign-in?
22:35 Aleks3Y joined #salt
22:48 wryfi_ joined #salt
22:51 JawnAuz joined #salt
22:52 Deliant joined #salt
22:55 sjh_ joined #salt
22:56 stanchan joined #salt
22:57 MTecknology noobiedubie: I'm a DD and have a cert installed in my browser, so I get prompted to present that cert every so often
22:58 Deliant joined #salt
23:09 hemebond DD?
23:17 Edgan Ryan_Lane: https://blog.ryandlane.com/2014/09/05/dealing-with-splunkforwarder-via-config-management/  <--- thanks
23:23 ecdhe joined #salt
23:24 stanchan joined #salt
23:26 tzero joined #salt
23:27 u0_a227 joined #salt
23:45 eightyeight well, shit
23:45 eightyeight getting that NoneType error for most hosts in my top.sls
23:46 eightyeight hmm
23:47 stanchan joined #salt
23:48 XenophonF Edgan: and thank you for that link
23:48 Edgan XenophonF: You are welcome.
23:48 lkthomas joined #salt
23:49 lkthomas joined #salt
23:50 eightyeight wow. fonud it.
23:50 eightyeight s/onu/oun/
23:51 eightyeight bug in ssh_auth.present config for a staff user
23:52 XenophonF Edgan: have you seen https://github.com/saltstack-formulas/splunkforwarder-formula?
23:52 lkthomas fuck, my IRC client is shitting me, need to reconnect again, sorry guys
23:52 lkthomas joined #salt
23:53 lkthomas now we are talking, LOL
23:53 XenophonF I'm deploying Splunk starting next month.  Hopefully, I can contribute a splunk indexer formula when finished.
23:54 Edgan XenophonF: no, not bad, but doesn't address this issue
23:55 Edgan XenophonF: Our current formula was doing a cmd.run with no unless. Adding the accept-license to the init script should get rid of the need for the cmd.run all together.
23:57 XenophonF gotcha
23:58 XenophonF the way I wrote it, I only did the ...start --accept-license bits using a watch requisite on the pkg.installed state
23:59 XenophonF I need to look at that formula in depth to see what it does.

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