Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-11-23

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

All times shown according to UTC.

Time Nick Message
00:00 renoirb just such an example would make any random non used Salt stack CLI user to catch it :)
00:00 renoirb Nice feature by the way :)
00:02 kermit joined #salt
00:03 sroegner_ joined #salt
00:17 bhosmer joined #salt
00:19 aleszoul3k joined #salt
00:27 redondos joined #salt
00:27 redondos joined #salt
00:30 redondos joined #salt
00:30 redondos joined #salt
00:34 mwmnj joined #salt
00:35 Gifflen joined #salt
00:35 oz_akan_ joined #salt
00:37 xt joined #salt
00:38 DredTiger joined #salt
00:39 Gifflen_ joined #salt
00:41 Gifflen joined #salt
00:43 jimallman joined #salt
00:43 DredTiger Anybody else hanging out in IRC on a Friday night?
00:43 forrest yes
00:44 DredTiger Ha
00:44 rgarcia_ joined #salt
00:44 DredTiger forrest: are you always here?
00:44 rgarcia_ is there a way to store binary data in pillar?
00:44 rgarcia_ trying to store a pgp private key
00:45 forrest as in the text rgarcia_? You can have multiline values in YAML
00:45 rgarcia_ forrest: yeah, I've done it for private ssh keys, but pasting in the raw binary pgp key seems...awkward
00:45 forrest rgarcia_, yea
00:46 forrest DredTiger, not always, but if I am on my PC I am.
00:46 DredTiger So, back to my Mac OSX questions from earlier
00:46 DredTiger :-D
00:46 forrest rofl
00:46 forrest I am worthless there to you man
00:46 forrest I don't own any mac products
00:46 forrest http://docs.saltstack.com/topics/tutorials/walkthrough_macosx.html
00:46 DredTiger Bummer
00:46 forrest that's all I've got :P
00:47 DredTiger Only reason I've got Macs is because my job is generous enough to buy them
00:47 DredTiger https://gist.github.com/anonymous/7609315
00:47 DredTiger I gave up on the masterless minion
00:47 redondos joined #salt
00:47 DredTiger went on and turned on a master on this same laptop and accepted the key
00:47 Gifflen joined #salt
00:47 forrest so that looks like a fail because there's no such thing as a package database for mac right?
00:48 DredTiger homebrew is installed and works
00:48 forrest or what is their package database?
00:48 Bram joined #salt
00:48 DredTiger I see the brew module
00:48 forrest but how does the pkg database work for brew?
00:48 forrest can you query it?
00:48 forrest I don't know if brew is supported as a 'repo'
00:49 DredTiger cross:~ chbaker$ brew search tmux tmux     tmux-mem-cpu-load cross:~ chbaker$
00:50 JulianGindi joined #salt
00:50 thelorax123 joined #salt
00:53 forrest I'd take a look at the pkg state DredTiger, see if brew is supported in there or not, because if it isn't in there, it would make sense why it can't query the repo
00:58 shutej joined #salt
00:59 Gifflen_ joined #salt
00:59 rgarcia_ forrest: is there a way to read in pillar data from a file?
01:00 forrest rgarcia_, do you mean in a templated file?
01:00 forrest if so, yes: https://github.com/gravyboat/hungryadmin-sls/blob/master/salt/hungryadmin/files/hungryadmin.conf
01:00 rgarcia_ forrest, no, filling a pillar key with the contents of a file
01:00 forrest oh
01:00 forrest uhhh you know I'm not sure.
01:01 shutej left #salt
01:01 rgarcia_ maybe with ext_pillar?
01:02 forrest I think if you did that maybe it would be via reactor? Even then though I don't know if you can write pillar data
01:03 DredTiger I was trying to paste this earlier but for some reason it wasn't showing up, "/usr/local/lib/python2.7/site-packages/salt/modules/brew.py"
01:04 forrest right but is the brew module used somewhere in the pkg state?
01:04 rgarcia_ forrest the bigger problem is how to store/distribute private keys and secrets
01:04 rgarcia_ seems like no one has a good solution
01:04 redondos joined #salt
01:05 DredTiger I just ran salt '*' pkg.list_pkgs
01:05 DredTiger and that worked
01:06 forrest yea but that uses the module
01:06 renoirb Is there a way to spread a tls.create_ca_signed_cert to other nodes?
01:07 renoirb I seen how to cat a file from the master to a minion, but when it is a file being generated, how can I replicate that generated file
01:07 DredTiger OK, I'll look at the pkg state
01:10 dranger joined #salt
01:10 Katafalkas joined #salt
01:16 bemehow joined #salt
01:17 Linz joined #salt
01:17 Katafalkas joined #salt
01:21 diegows_ joined #salt
01:24 sgviking joined #salt
01:28 DredTiger forrest: looks like the brew module doesn't have a refresh_db method
01:28 forrest DredTiger, ahh ok
01:29 forrest might be worth opening an issue if one doesn't already exist.
01:32 oz_akan_ joined #salt
01:33 wilywonka joined #salt
01:33 ajw0100 joined #salt
01:33 DredTiger forrest: yeah I can run "salt '*' pkg.install tmux" and that works
01:33 DredTiger but I can't use a state to get it installed
01:34 Rager howdy - is there a preferred way to set up a minion AMI to immediately connect to the salt master?
01:37 Linz joined #salt
01:37 redondos joined #salt
01:38 cachedout joined #salt
01:42 DredTiger Is there a "salt-dev" channel?
01:42 forrest salt-devel
01:43 DredTiger gracias
01:49 DredTiger left #salt
01:51 DredTiger joined #salt
01:53 DredTiger forrest: just perusing the man page for brew, it doesn't look like it uses a package database per se
01:53 forrest DredTiger, worst case it should pass through so you can try to install the package.
01:53 davet joined #salt
01:53 DredTiger I would think so
01:53 pdayton joined #salt
01:55 cast joined #salt
02:04 berto- joined #salt
02:15 Sheco joined #salt
02:15 jrgifford joined #salt
02:21 amckinley joined #salt
02:29 amckinley joined #salt
02:33 oz_akan_ joined #salt
02:39 Sheco joined #salt
02:48 zandy joined #salt
02:49 jimallman joined #salt
02:55 b-jazz joined #salt
02:58 Linz joined #salt
03:07 bemehow joined #salt
03:07 redondos joined #salt
03:11 lineman60 joined #salt
03:13 Linz joined #salt
03:17 dpippenger joined #salt
03:24 thelorax123 joined #salt
03:27 redondos joined #salt
03:29 redondos joined #salt
03:29 redondos joined #salt
03:34 oz_akan_ joined #salt
03:37 micko joined #salt
03:38 redondos joined #salt
03:39 Furao joined #salt
03:55 redondos joined #salt
03:57 redondos joined #salt
03:59 redondos joined #salt
04:00 redondos joined #salt
04:00 bhosmer joined #salt
04:01 DredTiger_ joined #salt
04:03 redondos joined #salt
04:04 ajw0100 joined #salt
04:05 junedm joined #salt
04:06 junedm left #salt
04:07 lemao joined #salt
04:10 junedm joined #salt
04:11 dox left #salt
04:12 ckao joined #salt
04:14 junedm left #salt
04:16 audreyr joined #salt
04:18 redondos joined #salt
04:18 redondos joined #salt
04:25 ajw0100 joined #salt
04:32 anuvrat joined #salt
04:33 davet joined #salt
04:36 oz_akan__ joined #salt
04:48 DredTiger joined #salt
04:51 bemehow joined #salt
04:56 dh joined #salt
04:56 redondos_ joined #salt
04:57 junedm joined #salt
04:57 junedm left #salt
04:57 redondos joined #salt
04:59 redondos_ joined #salt
05:01 Furao joined #salt
05:01 redondo__ joined #salt
05:03 redondos joined #salt
05:04 bhosmer joined #salt
05:04 ga joined #salt
05:05 redondos_ joined #salt
05:07 redondo__ joined #salt
05:08 redondos joined #salt
05:10 redondos_ joined #salt
05:12 redondo__ joined #salt
05:14 redondos joined #salt
05:16 redondos joined #salt
05:17 redondos joined #salt
05:19 redondos joined #salt
05:24 cachedout joined #salt
05:29 redondo__ joined #salt
05:31 redondos joined #salt
05:35 redondos_ joined #salt
05:37 redondos joined #salt
05:37 oz_akan_ joined #salt
05:38 zz_cro joined #salt
05:39 redondos_ joined #salt
05:41 jalbretsen joined #salt
05:42 redondos joined #salt
05:44 redondos_ joined #salt
05:46 redondos_ joined #salt
05:48 redondos joined #salt
05:50 redondo__ joined #salt
05:51 redondos_ joined #salt
05:53 redondos joined #salt
05:55 redondo__ joined #salt
05:57 redondos_ joined #salt
05:59 redondos joined #salt
06:00 redondos joined #salt
06:02 redondos_ joined #salt
06:03 philipsd6 joined #salt
06:04 redondo__ joined #salt
06:06 redondos joined #salt
06:07 redondos joined #salt
06:08 lemao joined #salt
06:09 redondos joined #salt
06:11 redondos joined #salt
06:11 bemehow joined #salt
06:12 zandy joined #salt
06:13 redondos_ joined #salt
06:15 redondo__ joined #salt
06:16 redondos joined #salt
06:19 micko joined #salt
06:22 redondos joined #salt
06:23 redondos joined #salt
06:25 redondos_ joined #salt
06:27 redondo__ joined #salt
06:28 KyleG joined #salt
06:28 KyleG joined #salt
06:29 redondos joined #salt
06:29 seanz joined #salt
06:30 redondos_ joined #salt
06:34 redondos joined #salt
06:36 redondos_ joined #salt
06:38 redondo__ joined #salt
06:39 redondos joined #salt
06:41 redondos_ joined #salt
06:45 redondos joined #salt
06:46 sgviking left #salt
06:47 redondos joined #salt
06:48 Ryan_Lane joined #salt
06:48 Ryan_Lane joined #salt
06:49 ajw0100 joined #salt
06:49 redondos_ joined #salt
06:51 redondo__ joined #salt
06:54 dvogt joined #salt
06:55 redondos joined #salt
06:57 redondos joined #salt
06:59 redondos_ joined #salt
07:00 oz_akan_ joined #salt
07:01 redondo__ joined #salt
07:02 redondos joined #salt
07:04 thelorax123 joined #salt
07:04 redondos joined #salt
07:06 redondos_ joined #salt
07:07 ajw0100 joined #salt
07:08 redondo__ joined #salt
07:10 redondos joined #salt
07:12 redondos_ joined #salt
07:13 redondo__ joined #salt
07:14 sine_nitore joined #salt
07:15 redondos joined #salt
07:17 redondos_ joined #salt
07:19 redondos_ joined #salt
07:21 redondos joined #salt
07:22 redondos joined #salt
07:24 redondos joined #salt
07:26 redondos_ joined #salt
07:28 redondos_ joined #salt
07:29 redondos joined #salt
07:31 redondos_ joined #salt
07:35 redondos joined #salt
07:37 redondos joined #salt
07:37 APLU joined #salt
07:38 zz__ joined #salt
07:38 redondos_ joined #salt
07:40 redondos_ joined #salt
07:42 harobed_ joined #salt
07:43 harobed_ joined #salt
07:44 redondo__ joined #salt
07:46 redondos joined #salt
07:46 rojem joined #salt
07:47 redondos_ joined #salt
07:49 redondos_ joined #salt
07:51 redondos joined #salt
07:52 rojem_ joined #salt
07:53 redondos joined #salt
07:55 redondos_ joined #salt
07:57 redondo__ joined #salt
07:58 redondos joined #salt
08:00 redondos joined #salt
08:02 oz_akan_ joined #salt
08:02 redondos_ joined #salt
08:04 redondo__ joined #salt
08:07 swa_work joined #salt
08:09 lemao joined #salt
08:11 redondos joined #salt
08:13 redondos_ joined #salt
08:14 redondos_ joined #salt
08:15 techdragon joined #salt
08:16 redondos joined #salt
08:18 redondo__ joined #salt
08:20 redondos_ joined #salt
08:22 redondos joined #salt
08:22 techdragon I'm wondering if I can have a pillar applied to all hosts, but only have some parts of that pillar data appear on certain hosts. Specifically I'm trying to do user accounts.
08:23 redondo__ joined #salt
08:24 techdragon Ive got a user state that looks up the content of pillar like so " {% for name, user in pillar.get('users', {}).items() %} " and I have some user accounts I want to be able to add to certain machines only.
08:25 techdragon I'd like to keep all my user config in the one section of my config tree rather than scatter users throughout various places.
08:25 redondos_ joined #salt
08:27 redondos joined #salt
08:29 redondo__ joined #salt
08:31 redondos_ joined #salt
08:32 redondos joined #salt
08:34 redondos_ joined #salt
08:36 redondo__ joined #salt
08:44 MohShami joined #salt
08:44 redondos_ joined #salt
08:45 MohShami hey guys, I'm trying to install salt with zmq 3.2 on freebsd, but I can't get the ports to work together, anybody done this before?
08:47 redondos joined #salt
08:48 redondos_ joined #salt
08:50 redondos_ joined #salt
08:52 redondos joined #salt
08:54 redondos_ joined #salt
08:56 redondos_ joined #salt
08:57 redondos joined #salt
08:59 redondos_ joined #salt
09:00 elsmorian joined #salt
09:01 redondo__ joined #salt
09:03 oz_akan_ joined #salt
09:03 redondos joined #salt
09:05 redondos_ joined #salt
09:06 redondo__ joined #salt
09:08 druonysus joined #salt
09:08 redondos joined #salt
09:10 redondos_ joined #salt
09:14 bemehow joined #salt
09:15 redondos joined #salt
09:17 redondo__ joined #salt
09:18 redondos_ joined #salt
09:20 redondos joined #salt
09:22 redondo__ joined #salt
09:26 redondos joined #salt
09:27 redondos_ joined #salt
09:29 redondo__ joined #salt
09:31 redondos joined #salt
09:33 redondos joined #salt
09:34 mattikus` joined #salt
09:34 redondos_ joined #salt
09:36 redondo__ joined #salt
09:40 redondos_ joined #salt
09:42 redondos_ joined #salt
09:47 redondos joined #salt
09:48 redondos_ joined #salt
09:52 redondos joined #salt
09:54 redondos joined #salt
09:56 redondos_ joined #salt
09:58 redondo__ joined #salt
09:59 redondos joined #salt
10:01 redondos_ joined #salt
10:03 redondo__ joined #salt
10:07 redondos_ joined #salt
10:08 redondo__ joined #salt
10:10 lemao joined #salt
10:11 redondos_ joined #salt
10:17 rmt joined #salt
10:19 felskrone joined #salt
10:24 MK_FG joined #salt
10:40 redondos joined #salt
10:43 dranger joined #salt
10:49 Ryan_Lane joined #salt
10:54 elsmorian1 joined #salt
11:00 lemao joined #salt
11:00 redondos joined #salt
11:04 oz_akan_ joined #salt
11:10 junedm1 joined #salt
11:12 linjan joined #salt
11:27 dranger joined #salt
11:49 Ryan_Lane joined #salt
11:51 elfixit joined #salt
12:02 junedm joined #salt
12:05 oz_akan_ joined #salt
12:05 diegows_ joined #salt
12:09 bhosmer joined #salt
12:12 Sheco joined #salt
12:15 diegows_ joined #salt
12:31 elsmorian joined #salt
12:34 dranger joined #salt
12:47 mapu joined #salt
12:49 Ryan_Lane joined #salt
12:50 elsmorian joined #salt
12:54 Katafalkas joined #salt
12:57 vkurup_ joined #salt
13:00 Katafalkas joined #salt
13:05 oz_akan_ joined #salt
13:08 pengunix joined #salt
13:16 pengunix joined #salt
13:21 bhosmer joined #salt
13:30 larry_ joined #salt
13:41 pdayton joined #salt
13:44 junedm1 joined #salt
13:45 junedm1 left #salt
13:45 bhosmer joined #salt
13:48 mgw joined #salt
13:49 Ryan_Lane joined #salt
13:53 patrek joined #salt
14:00 jimallman joined #salt
14:06 oz_akan_ joined #salt
14:09 ShecoDu joined #salt
14:23 Koma joined #salt
14:25 mgw joined #salt
14:35 v4zh1 joined #salt
14:40 sroegner_ joined #salt
14:41 techdragon joined #salt
14:43 bhosmer joined #salt
14:43 elsmorian joined #salt
14:43 berto- joined #salt
14:49 Ryan_Lane joined #salt
14:55 fuser joined #salt
14:55 cnelsonsic joined #salt
14:55 cachedout joined #salt
15:05 anuvrat joined #salt
15:07 oz_akan_ joined #salt
15:12 DredTiger joined #salt
15:13 Furao joined #salt
15:18 elsmorian joined #salt
15:21 DredTiger joined #salt
15:26 jimallman joined #salt
15:32 thelorax123 joined #salt
15:34 audreyr joined #salt
15:35 ajw0100 joined #salt
15:36 Furao joined #salt
15:43 felskrone joined #salt
15:44 pdayton joined #salt
15:48 Katafalkas joined #salt
15:50 dranger joined #salt
15:54 jimallman joined #salt
15:55 Furao joined #salt
15:55 Linz joined #salt
15:57 elsmorian joined #salt
16:04 NotreDev joined #salt
16:06 dox joined #salt
16:08 oz_akan_ joined #salt
16:27 oraqol joined #salt
16:30 oraqol Hi guys, I'm back!
16:30 oraqol so almost everything is working
16:30 oraqol but when I run any commands including test.ping across a single grain, I get different numbers of minions responding to the salt master
16:31 oraqol each time the command runs the number fluctuates, any ideas?
16:35 jkleckner joined #salt
16:36 oraqol I'm running it in batches so I dont think I'm overloading the master
16:36 oraqol and when I run the same command on another grain which includes far fewer minions, the number returned is constant
16:44 aco_ joined #salt
16:44 aco_ hey, i can not get salt-ssh to run a state at all even after upgrading to 0.17.12
16:44 aco_ salt-ssh '*adv*' state.high '{"/etc/salt/minion": {"file": ["managed", {"source": "salt://shared_services/minion"}]}}' Process Process-1: Traceback (most recent call last):   File "/usr/lib64/python2.6/multiprocessing/process.py", line 232, in _bootstrap     self.run()   File "/usr/lib64/python2.6/multiprocessing/process.py", line 88, in run     self._target(*self._args, **self._kwargs)   File "/usr/lib/python2.6/site-packages/salt/clie
16:45 aco_ http://pastebin.com/4MtwDpT4
16:45 aco_ i wish if someone could help
16:49 micah_chatt joined #salt
17:01 jsm joined #salt
17:03 xmltok joined #salt
17:03 Linz joined #salt
17:05 snuffeluffegus joined #salt
17:07 mapu joined #salt
17:08 oz_akan_ joined #salt
17:13 jkleckner joined #salt
17:16 mlister2006 joined #salt
17:23 rojem joined #salt
17:24 dox left #salt
17:35 redondos joined #salt
17:35 redondos joined #salt
17:36 intchanter joined #salt
17:50 bemehow joined #salt
17:59 redondos joined #salt
17:59 redondos joined #salt
18:02 DredTiger joined #salt
18:09 oz_akan_ joined #salt
18:09 redondos joined #salt
18:14 bemehow joined #salt
18:14 rojem joined #salt
18:14 dwyerj joined #salt
18:17 ajw0100 joined #salt
18:18 anuvrat joined #salt
18:18 wilywonka joined #salt
18:22 matanya joined #salt
18:25 dranger joined #salt
18:27 DredTiger joined #salt
18:28 audreyr joined #salt
18:31 pdayton joined #salt
18:31 bemehow joined #salt
18:32 icarus left #salt
18:33 jsm joined #salt
18:36 bemehow_ joined #salt
18:39 abner joined #salt
18:41 matanya joined #salt
18:42 abner Hey guys, I am migrating a small server to use salt now, how can I copy a file to a specific location in server? I have been trying to use salt:// for the source file, but it's not working. Any clue?
18:43 xmltok joined #salt
18:43 abner btw, I am using salt local/standalone, not master
18:45 _ikke_ I don't think the salt:// part works then, but don't pin me on it
18:45 ajw0100 joined #salt
18:45 _ikke_ You could just do a normal copy
18:46 thelorax123 joined #salt
18:46 juice joined #salt
18:47 abner _ikke_, how do I reference the file path on this case? The file I need to copy is inside the salt file_roots
18:48 oraqol I get this returned on the minions that do not accept the salt master commands:  server936:     ---------- server982:     ----------
18:48 abner I need to explicitly say something like /srv/salt/myfile?
18:48 juice Hi folks. Can anybody help me decipher file.manage_file params from CLI. the doc seems to be inaccurate
18:49 juice Eg what's 'sfn'?
18:49 _ikke_ salt function?
18:49 _ikke_ (just guessing)
18:50 juice Hmm that's a good guess. But what would that be
18:50 juice I was thinking more like salt file name
18:51 _ikke_ Do you have a link to the source?
18:51 juice Yeah let me get that
18:53 juice https://github.com/saltstack/salt/blob/develop/salt/modules/file.py
18:53 Katafalkas joined #salt
18:54 pdayton joined #salt
18:55 _ikke_ juice: Source file name is what I gather
18:56 _ikke_ It's at leas a file name
18:56 juice Ok. What do you make of the hash param. That won't parse in bash would it?  And if you count the req params vs the example it doesn't add up
18:56 matanya joined #salt
18:57 _ikke_ juice: It's a json string I believe.
18:57 _ikke_ juice https://github.com/saltstack/salt/blob/develop/salt/modules/file.py#L2232
18:57 _ikke_ It copies from name to sfn
18:57 _ikke_ Uh, the other way around
18:57 juice I'm with you there but the nested quotes will fail
18:57 _ikke_ yeah, I see
18:58 _ikke_ Those should be double quotes\
18:58 _ikke_ The inside that is
18:58 pdayton joined #salt
18:58 juice Ok I'll give that a go and perhaps specify spice twice.
18:59 juice Sheesh this is a messy function. :)
18:59 juice Spice -> source
18:59 _ikke_ haha, nice typo
18:59 juice At least it rhymed
19:01 _ikke_ sfn and ret seem to be swapped around in the docstring
19:02 juice Oh maybe that is it. Return is '{}'
19:02 juice Do you know if '' (empty string) is considered None
19:02 juice Or would you guess
19:02 pdayton1 joined #salt
19:03 _ikke_ None or False
19:03 _ikke_ ?
19:03 _ikke_ Are you refering to https://github.com/saltstack/salt/blob/develop/salt/modules/file.py#L2179
19:04 juice Yes there are checks for None. So I was trying to figure out how to pass None In via CLI
19:04 JesseC joined #salt
19:04 juice For example. The first line check if not ret
19:05 juice Right like your link
19:05 _ikke_ juice: It checks for False, not None
19:06 _ikke_ if not foo -> if foo == False
19:06 _ikke_ And yes, an empty string is considered False
19:07 juice But false and None eval the same in if. Yes?
19:07 juice Or is my cerebral python interpreter off?
19:08 _ikke_ Yes, but that's because None is cast tool boolean, and evaluates to False, not the other way around :-)
19:08 _ikke_ cast too*
19:08 NotreDev joined #salt
19:09 juice So you're saying it's rather flakey way of doing it (if not None)
19:09 juice Ok that make
19:09 juice S sense
19:10 juice Thanks for all of your help _ikke_
19:10 oz_akan_ joined #salt
19:11 _ikke_ juice: Nah, was just commenting how you asked the question
19:11 _ikke_ You asked if it's considered None, but that's not really the case. It's considered False
19:11 juice Ha ha ok
19:12 juice I'm typing on my iPhone so please excuse my brevity
19:12 _ikke_ It's okay
19:13 oraqol Can anyone tell me why I get blank returns when I glob by grain, but when I run a salt command to the individual minion that was ignored during the grain glob, it runs fine?
19:13 oraqol I've increased the number of worker threads to 30
19:13 oraqol file limit to 10000
19:13 oraqol timeout to 15 seconds
19:14 matanya joined #salt
19:16 juice Oraqol. Are there any errors in /var/log/salt/master?
19:17 Rager howdy
19:18 juice Do you have a glob grain expression that would grab a smaller subset. If you are worried about scale?
19:18 Rager is there a way to see what grains apply to a given client?
19:19 Rager I'm trying to get some user-data scripts to initialize ec2 servers for salt
19:19 Rager and I'd like to set the role on startup
19:19 oraqol well im running in them in batches, if i use batching, is scale still an issue?
19:19 Rager I just don't know if the /etc/salt/grains/whatever file is working
19:20 juice Rager there is a way via CLI
19:20 matanya joined #salt
19:21 juice Hold one sec
19:22 juice It's probably something like salt '*' grains.list
19:25 juice try salt '*' grains.items
19:26 juice Try grains.items eager
19:26 juice Eager
19:26 oraqol I have a few authentication error, which I will fix
19:26 matanya joined #salt
19:27 juice Rager
19:27 oraqol but I doubt this is causing my issue
19:27 Rager ah, k
19:27 Rager thanks
19:27 oraqol I think my hard limit is set to 4096
19:27 Rager also, I found that I have a simpler problem right now - I don't create the /etc/salt/grains dir on startup, so the file is never written :\
19:27 Rager thank'ee, though
19:28 Rager it's pretty exciting to be able to take a bare debian AMI and just provision it totally hands-off
19:28 forrest joined #salt
19:28 juice oraqol: if you are referring to the authentication errors in the logs, I see those all the time
19:28 juice I don't think they are what is causing your problem
19:29 Giannis joined #salt
19:29 Giannis left #salt
19:30 oraqol yeah, it seems unlikely
19:30 oraqol do you think ulimit may be the issue?
19:32 juice oraqol: how many minions do you think you are targeting?
19:36 oraqol About 800
19:36 oraqol in one grain
19:37 juice what do you get from limit -n on the master
19:38 juice ulimit -n
19:38 oraqol 4096
19:38 juice that should cover it
19:38 juice well how many minions total in your fleet?
19:39 oraqol about 1500
19:39 juice did you try some thing simple like test.ping using your grains
19:39 oraqol is there an easy way to check for minions that are having authentication errors?
19:39 juice 4096 should have you covered
19:39 oraqol yes
19:39 oraqol test.ping misses a few of them
19:39 forrest you're having problems with this again oraqol?
19:39 oraqol gives me this: server982:     ----------
19:39 oraqol lol
19:39 oraqol no forrest
19:40 oraqol now its a new problem
19:40 forrest oh that's good at least
19:40 oraqol working through it
19:40 oraqol ironing the kinks out
19:40 oraqol imma try to fix the aunthentication errors first
19:40 oraqol then ill see if they still miss
19:40 oraqol though i doubt it
19:40 oraqol because test.ping on the big grain returns different numbers each time
19:41 oraqol like running grep server | wc -l yields different number each time i run it
19:41 oraqol sometimes more, sometimes fewer
19:44 oraqol I'm just going to grep out the authentication errors from the log
19:44 bemehow joined #salt
20:07 rojem joined #salt
20:07 berto- joined #salt
20:11 oz_akan_ joined #salt
20:14 thelorax123 joined #salt
20:14 Ryan_Lane joined #salt
20:17 Linz joined #salt
20:29 diegows_ joined #salt
20:33 Rager juice: doesn't seem to do anything
20:33 rojem joined #salt
20:33 Rager let me see if I fixed the minion user-script
20:36 Rager ok, so /etc/grains/roles is there
20:36 Rager wait... got something this time
20:44 Linz joined #salt
21:08 mgw joined #salt
21:18 juice Rager: grains.items doesn't return anything?
21:22 mgw joined #salt
21:37 mgw1 joined #salt
21:45 [M7] joined #salt
21:46 jkleckner joined #salt
21:48 xmltok joined #salt
21:52 kermit joined #salt
21:56 juice _ikke_: thanks man passing in none for fields I was uncertain about did the trick...revised manage_file call
21:56 juice $ salt "*" file.manage_file /var/lib/blah/blah '' ''
21:56 juice salt://state/blah/blah '{hash_type: "md5", hsum: "d6ab8fceb54fb6024b4ec7e1be164183"}' 'root' 'root' '755' 'base' '' jinja
21:56 juice worked like a charm and pushed a file to the minion
21:57 _ikke_ yw
22:10 micah_chatt joined #salt
22:12 oz_akan_ joined #salt
22:13 audreyr joined #salt
22:13 Rager well, I get output, now
22:13 Rager but the role grain doesn't show up
22:19 elsmorian joined #salt
22:26 thelorax123 joined #salt
22:27 xmltok joined #salt
22:28 Rager is there a way to check from the minion what grains are active?
22:30 anuvrat joined #salt
22:31 Rager nvm
22:31 Rager salt-call
22:38 Rager realized that initializing the server with "salt-call grains.append" is going to be much simpler than trying to create the config file
22:41 littleidea joined #salt
22:41 linuxnewbie joined #salt
22:49 Linz joined #salt
22:49 Ryan_Lane joined #salt
22:55 bemehow joined #salt
23:10 dangerousbeans joined #salt
23:10 dangerousbeans left #salt
23:13 oz_akan_ joined #salt
23:18 ConceitedCode joined #salt
23:20 littleidea joined #salt
23:23 dranger joined #salt
23:30 littleidea joined #salt
23:35 MohShami joined #salt
23:36 MohShami hey guys, trying to install salt with zmq-devel on freebsd with no luck, can anybody point me in the right direction?
23:39 forrest MohShami, why would you use zmq-devel? Does that install py-pyzmq?
23:40 forrest I'm not very familiar with how freebsd has things set up
23:40 MohShami forrest: currently on freebsd, if I install py-salt, zmq 2 is used
23:40 MohShami which has disconnection issues with firewalls
23:40 forrest yea, is there no zeromq 3 available for freebsd yet?
23:41 forrest cedwards are you around?
23:41 MohShami the package is called zmq-devel
23:42 forrest what version of salt is trying to be installed with py-salt?
23:42 MohShami http://www.pastebin.ca/2478568
23:43 MohShami sorry, that's an old server
23:43 MohShami 1 min
23:43 MohShami http://www.pastebin.ca/2478569
23:43 MohShami this is the latest server I'm working on
23:43 forrest ok I was gonna say 0.16.4 works with zeromq 2 as far as I know
23:44 MohShami it is working
23:44 MohShami but I have a firewall in between the servers
23:44 forrest right
23:44 forrest so what happens when you try to install zmq-devel?
23:44 MohShami the connection keeps dropping with zmq 2
23:45 MohShami so when I install zmq 3, this happens
23:45 MohShami http://www.pastebin.ca/2478570
23:46 forrest ok, I'm not sure familiar with freebsd, so how does it handle the pathing? Is the pathing for the devel package perhaps different than that of zeromq 2? If so, can you compare that?
23:47 MohShami let me check
23:48 MohShami but it seems the python zmq binding is not installed
23:48 MohShami z /usr/local/lib/libzmq.so points to the zmq library file
23:49 Ryan_Lane joined #salt
23:52 forrest MohShami, what provides that binding on the 0.16.4 system?
23:52 elsmorian joined #salt
23:52 jimallman joined #salt
23:53 MohShami this system has 0.17.0-4941-gc781161

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