Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-12-26

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

All times shown according to UTC.

Time Nick Message
00:04 glyf joined #salt
00:07 kormoc joined #salt
00:17 kormoc joined #salt
00:24 ajolo joined #salt
00:47 halfss joined #salt
00:47 kormoc joined #salt
00:47 otter768 joined #salt
00:49 halfss joined #salt
00:50 halfss joined #salt
00:56 pdayton joined #salt
01:10 Adam___ I have another question. Do the minions try to maintain a persistent connection with the master or do they only poll on certain intervals?
01:11 kormoc joined #salt
01:13 bhosmer joined #salt
01:13 halfss joined #salt
01:22 ktosiek are there any example formulas where groups of minions are aware of eachother?
01:23 pdayton joined #salt
01:24 ktosiek blah, even the rabbitmq formula in saltstack-formulas is single-server :-/
01:28 ajolo joined #salt
01:30 ktosiek ok, so I can get that data from salt mine, and make minions refresh themselves with reactor... sounds advanced
01:30 Adam___ I'm really new at this so I'm not sure if this is the best way, but this seems relevant
01:30 Adam___ http://docs.saltstack.com/en/latest/topics/mine/index.html
01:30 Adam___ damn ... beat me to it
01:31 ktosiek now a style question: would I put references to salt mine in my formulas, or is this more a pillar thing?
01:32 ktosiek Adam___: I'm reaaaly new too, and I think I'll have to spam the ML (is there a mailing list?) with my questions, as IRC doesn't seem too responsive (even on work days :-))
01:32 Adam___ Today is Christmas!
01:32 Adam___ This is my first day on the irc
01:32 murkey lol
01:33 TyrfingMjolnir joined #salt
01:33 murkey me too!
01:33 Adam___ but I've only heard great things about the community
01:33 Adam___ I think pillars are meant for static data
01:33 Adam___ at least that's what the documentation says
01:34 Adam___ the pillar section is titled "Storing static data in Pillars"
01:34 cpowell joined #salt
01:35 Adam___ I need to change my name. I don't like my uniqueness to be dependent on underscores
01:35 ktosiek the thing is, are the pillars re-templated only on refresh or each time minion prepares a work plan?
01:35 ktosiek oh, web client
01:36 ktosiek hmm, but /nick should work even in there
01:36 amustafa joined #salt
01:36 amustafa much better
01:36 murkey wb
01:36 ktosiek amustafa: have you tried the /nick command?
01:36 amustafa nope. lol. This is also my first time on irc
01:37 ktosiek oh, ok ^_^
01:37 murkey most important command is /me
01:37 ktosiek if you like it, invest in a proper client (I'm using Quassel, which is pretty nice)
01:37 ktosiek murkey: well, I think /join and /part are pretty important too ;-)
01:38 murkey ;)
01:38 * ktosiek likes to overuse /me
01:38 * murkey irssi lover
01:38 murkey you like to overuse yourself??
01:38 murkey that sounds... unhealthy
01:39 halfss_ joined #salt
01:39 ktosiek s:overuse /me:overuse the /me command:
01:39 kormoc joined #salt
01:39 murkey lol
01:39 murkey what are you guys building with salt? i'm redeploying a super-old irc server :)
01:40 ktosiek I'm actually using Ansible now, and looking at Salt out of curiosity
01:40 murkey oh sweet. i did another project in puppet, ansible, and then salt... ansible and salt were both awesome but i hear salt has the best community
01:41 glyf joined #salt
01:41 murkey it was pretty quiet today when i had questions but it was christmas and my questions were probably more just general shell questions, not salt-specific
01:41 murkey so i'm not too surprised :)
01:42 aparsons joined #salt
01:43 amustafa I'm using salt in a kind of different way
01:43 amustafa I'm designing a consumer market electronic
01:44 amustafa and I've been thinking about how to handle my deploys and updates
01:44 ktosiek oh, that sounds interesting
01:44 murkey coooool
01:44 amustafa It's basically just me handling all the development and deployment so I need a way to configure 4 different boxes with various amount of code and congiurations
01:44 amustafa This looked like the easiest way
01:45 amustafa I had originally written my own update system based off of git
01:45 ktosiek oh, so you are using it for the servers, not the upgraded gizmos?
01:45 amustafa no, for the gizmos themselves
01:45 amustafa Each box is going to be a minion
01:45 amustafa lol
01:45 amustafa That's why I was concerned with persistent connections
01:46 amustafa Don't want to overload the master
01:46 bhosmer joined #salt
01:46 murkey could you run them masterless and occasionally phone home for new config?
01:47 amustafa That would definitely work. I don't know how I would do that though.
01:47 amustafa The base system is ubuntu
01:47 ktosiek cron + salt-call
01:47 amustafa So I guess I could just run a cron
01:47 aparsons joined #salt
01:47 amustafa beat me to it again
01:47 murkey cron!
01:47 murkey damn.
01:47 murkey :P
01:48 ktosiek can I ask what are you working on? With enough resources to run a desktop distro?
01:49 murkey if your devices have push messaging you could push update notifications and have them call home then
01:50 amustafa Sure, I'm working on  a company called Sookbox. (apologies if you go to the website. It's VERY outdated). It's a set top box like apple tv and sonos combined except everything works through mobile devices. It's also built on top of a browser so you're not limited to content since it's all on the web. It's built on an Intel Nuc platform.
01:50 amustafa Push messaging is also a good idea
01:52 amustafa Though it might be unnecessary. Polling a server a few times a day is more than enough to keep the devices up to date. Once things are fully underway there will probably be weekly or bi weekly deploys
01:53 ktosiek you'll also want some way to send errors home
01:54 ktosiek ouch, it's 3:00 already
01:54 * ktosiek goes to sleep
01:54 amustafa I'm using sentry
01:54 Bolle joined #salt
01:54 ktosiek bb
01:54 murkey nn ktosiek
01:54 amustafa and then using the salt mine for the system stuff
01:54 amustafa night
01:55 murkey heheh i'm using sentry at work too. gotta love those emails >.<
01:56 * murkey -> christmas cookies and cards with my dad :D
01:56 murkey later!
01:56 amustafa enjoy!
01:57 murkey thanks, ttyl :)
02:16 elfixit joined #salt
02:28 robothands joined #salt
02:29 IOMonste1 joined #salt
02:29 nebuchad` joined #salt
02:30 horus_plex joined #salt
02:30 horus_plex joined #salt
02:30 Guest85670 joined #salt
02:30 mohae_ joined #salt
02:30 Ligthert_ joined #salt
02:31 the_ktosiek joined #salt
02:31 oeuftete_ joined #salt
02:31 mattjb joined #salt
02:31 bigl0af_ joined #salt
02:31 jewellb joined #salt
02:31 darvon_ joined #salt
02:31 sinenitore joined #salt
02:32 scarcry_ joined #salt
02:33 summers joined #salt
02:33 ze-_ joined #salt
02:33 wolog_ joined #salt
02:33 KaaK_ joined #salt
02:33 canci_ joined #salt
02:33 THE_BOULDER joined #salt
02:34 __alex_ joined #salt
02:34 t0rrant_ joined #salt
02:35 rlarkin joined #salt
02:35 AbyssOne_ joined #salt
02:35 eclectic_ joined #salt
02:35 s00pcan_ joined #salt
02:36 palantir_ joined #salt
02:36 TrafficMan joined #salt
02:36 NVX joined #salt
02:37 ]V[_ joined #salt
02:38 arif-ali_ joined #salt
02:39 favadi_ joined #salt
02:39 s51itxsyc joined #salt
02:41 v0rtex_ joined #salt
02:42 joehh2 joined #salt
02:45 torment_ joined #salt
02:45 AllSySt3msG0 joined #salt
02:45 ecdhe_ joined #salt
02:46 MaZ-_ joined #salt
02:46 repl1cant joined #salt
02:53 wm-bot4 joined #salt
02:57 pdayton joined #salt
02:58 pdayton1 joined #salt
02:59 kormoc joined #salt
03:04 hellerbarde joined #salt
03:12 kormoc joined #salt
03:18 kormoc joined #salt
03:34 ajolo joined #salt
03:43 Mso150 joined #salt
03:45 halfss joined #salt
03:51 kormoc joined #salt
03:52 schristensen joined #salt
03:58 JlRd joined #salt
04:12 kormoc joined #salt
04:22 kormoc joined #salt
04:31 ctrlrsf joined #salt
04:33 anteaya joined #salt
04:34 kormoc joined #salt
04:42 hasues joined #salt
04:50 hasues left #salt
04:54 kormoc joined #salt
05:04 kormoc joined #salt
05:04 nafg joined #salt
05:07 bfoxwell joined #salt
05:09 malinoff joined #salt
05:12 kormoc joined #salt
05:15 gngsk joined #salt
05:18 ajolo joined #salt
05:24 atbell joined #salt
05:33 brianfeister joined #salt
05:33 cpowell joined #salt
05:35 skoocda joined #salt
05:36 aparsons joined #salt
05:57 kormoc joined #salt
06:12 kormoc joined #salt
06:22 capricorn_1 joined #salt
06:22 kormoc joined #salt
06:37 halfss joined #salt
06:37 halfss joined #salt
06:42 slav0nic joined #salt
06:47 aquinas joined #salt
06:48 kormoc joined #salt
06:50 torment joined #salt
07:06 trikke joined #salt
07:13 hellerbarde joined #salt
07:18 aparsons joined #salt
07:33 ndrei joined #salt
07:38 glyf joined #salt
07:40 glyf joined #salt
07:42 glyf joined #salt
07:43 glyf joined #salt
07:45 glyf joined #salt
07:47 glyf joined #salt
07:48 kormoc joined #salt
07:48 glyf joined #salt
07:50 glyf joined #salt
07:52 glyf joined #salt
07:53 glyf joined #salt
07:55 glyf joined #salt
07:56 monkey66 joined #salt
07:56 glyf joined #salt
07:58 glyf joined #salt
08:00 glyf joined #salt
08:09 glyf joined #salt
08:15 glyf joined #salt
08:16 aristedes joined #salt
08:17 glyf joined #salt
08:17 ari___ joined #salt
08:18 glyf joined #salt
08:20 otter768 joined #salt
08:20 glyf joined #salt
08:22 glyf joined #salt
08:24 glyf joined #salt
08:26 glyf joined #salt
08:27 vincent_vdk joined #salt
08:27 glyf joined #salt
08:28 IOMonste1 joined #salt
08:29 glyf joined #salt
08:29 cberndt joined #salt
08:30 glyf joined #salt
08:32 glyf joined #salt
08:34 glyf joined #salt
08:35 glyf joined #salt
08:43 kormoc joined #salt
08:45 aristedes is anyone here using salt to feed data into a monitoring solution like zabbix/nagios/icinga?
09:10 TheThing joined #salt
09:14 ktosiek what data would you feed from salt into monitoring?
09:14 * ktosiek is new here, curious about every new idea :-)
09:18 ]V[ joined #salt
09:21 babilen aristedes: We configure nagios + NRPE (and collectd, grafana, ...) with salt, but I don't feed any data from salt directly into them. What do you have in mind?
09:21 cads joined #salt
09:21 Mso150 joined #salt
09:30 NV joined #salt
09:48 bhosmer joined #salt
09:52 bhosmer joined #salt
10:07 kormoc joined #salt
10:08 aqua^mac joined #salt
10:15 kormoc joined #salt
10:17 hellerbarde joined #salt
10:21 otter768 joined #salt
10:48 diegows joined #salt
10:49 agend joined #salt
10:54 Bolle joined #salt
11:10 Bolle_ joined #salt
11:17 kormoc joined #salt
11:18 monkey66 joined #salt
11:38 hebz0rl joined #salt
11:40 Micromus Having a hard time setting up a python3 virtualenv with salt, now getting "/bin/sh: 1: /usr/share/nginx/api/bin/python: not found"
11:46 JlRd joined #salt
11:52 Micromus Is it so that virtualenv.managed CANNOT work with python3?
11:52 Micromus As far as I can see nobody online has gotten it to work, and I see references to potentially unresolved GH issues...
11:54 glyf joined #salt
11:56 kormoc joined #salt
12:04 kormoc joined #salt
12:15 aristedes babilen & ktosiek: I'm thinking of using the salt minions as a distributed way of collecting data instead of an agent in zabbix/nagios
12:17 aristedes there is this, but it looks abandoned: https://github.com/thatch45/salt-monitor
12:22 otter768 joined #salt
12:23 kormoc joined #salt
12:24 qing joined #salt
12:25 qing hello
12:27 StDiluted joined #salt
12:33 aristedes left #salt
12:37 techdragon joined #salt
12:40 Cottser|away joined #salt
12:52 overyander joined #salt
12:54 elfixit joined #salt
12:57 StDiluted joined #salt
12:58 kormoc joined #salt
13:11 stoogenmeyer joined #salt
13:12 kormoc joined #salt
13:14 CeBe joined #salt
13:15 stoogenmeyer hi, I have a question.. If I'm trying to run a dynamic cluster, managed by a salt master, is there a way for me to have the master accept the minions automatically? Can I give them all the same key somehow so I don't have to go by myself and do 'salt-key -A' every time I want to add a new minion?
13:17 babilen stoogenmeyer: You can automatically accept keys - http://docs.saltstack.com/en/latest/ref/configuration/master.html#auto-accept
13:18 babilen And you can also preseed them with a key - http://docs.saltstack.com/en/latest/topics/tutorials/preseed_key.html
13:20 stoogenmeyer babilen: thanks, that's exactly what I was looking for!
13:21 babilen np, enjoy!
13:26 arno joined #salt
13:26 babilen stoogenmeyer: You might also be interested in http://docs.saltstack.com/en/latest/topics/reactor/ if you want to perform other tasks when a minion joins the cluster
13:26 bhosmer joined #salt
13:32 stoogenmeyer thanks ill make sure to read it.. I think I mostly want to be able to launch a new machine (on ec2), have it register with the salt master with a certain role and have the master push the necessary service files and start them
13:33 stoogenmeyer then have the minion register with pillar as well as pull other minions from there as well
13:35 babilen https://github.com/saltstack-formulas/ec2-autoscale-reactor
13:41 murrdoc joined #salt
13:50 halfss joined #salt
13:50 halfss left #salt
13:52 hellerbarde joined #salt
14:02 bhosmer joined #salt
14:12 kormoc joined #salt
14:13 bhosmer joined #salt
14:13 sk_0 if my sls file has a - require it fails when called with state.sls. is there a way to call multiple state files?
14:19 benjy|afk joined #salt
14:21 ether_ joined #salt
14:22 nitti joined #salt
14:22 benjy I'm working on using salt to setup my dev environment, when i run salt-call --local state.highstate from within my Dockerfile I get No Top file or external nodes data matches found
14:22 benjy but if I login to the container, I can run the same command successfully
14:22 otter768 joined #salt
14:23 benjy could someone point me in the right direction? I thought it should work just fine to commit this step to the container?
14:26 ether_ join #python
14:27 ether_ woops, sorry :)
14:28 babilen sk_0: Look into http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.state.html#salt.modules.state.sls_id
14:29 benjy figured it out, had to copy the salt files in, not mount them. doh!
14:29 active8 joined #salt
14:32 sk_0 babilen: thank you
14:48 ekmerril joined #salt
14:51 andrew_v joined #salt
15:16 kormoc joined #salt
15:25 bhosmer joined #salt
15:34 CeBe joined #salt
15:39 cleme1mp joined #salt
15:40 cleme1mp joined #salt
15:40 cleme1mp joined #salt
15:43 kormoc joined #salt
15:45 karimb joined #salt
15:49 younqcass joined #salt
15:56 aqua^mac joined #salt
16:10 karimb joined #salt
16:17 CeBe joined #salt
16:17 Morbus joined #salt
16:23 otter768 joined #salt
16:35 kormoc joined #salt
16:38 CeBe joined #salt
16:53 whaity joined #salt
16:55 kormoc joined #salt
16:58 shoma joined #salt
17:06 stoogenmeyer joined #salt
17:07 SheetiS joined #salt
17:07 stoogenmeyer joined #salt
17:08 Deevolution Is it possible to use schedule (schedule.present) to create scheduled jobs on minions (i.e. from the minion states).  If I specify schedule in pillar, it works fine, but if I do so in states they don't seem to work.
17:13 kormoc joined #salt
17:19 ttrumm joined #salt
17:21 glyf joined #salt
17:24 kormoc joined #salt
17:43 tuxx joined #salt
17:43 glyf joined #salt
17:44 aqua^mac joined #salt
17:47 tuxx joined #salt
17:50 kormoc joined #salt
17:56 kormoc joined #salt
18:01 cads joined #salt
18:02 aquinas joined #salt
18:04 rm_jorge joined #salt
18:06 pjota joined #salt
18:06 ndrei joined #salt
18:08 kormoc joined #salt
18:10 Mso150 joined #salt
18:14 vbabiy joined #salt
18:22 kormoc joined #salt
18:24 vbabiy joined #salt
18:24 otter768 joined #salt
18:28 forrest joined #salt
18:30 younqcass joined #salt
18:37 kormoc joined #salt
18:44 TheThing joined #salt
18:45 glyf joined #salt
18:45 pentabular joined #salt
18:50 CeBe joined #salt
18:52 bhosmer_ joined #salt
18:53 andrew_v joined #salt
18:59 Mso150 joined #salt
19:02 kormoc joined #salt
19:03 jeff__ joined #salt
19:06 murrdoc joined #salt
19:09 shoma joined #salt
19:14 CeBe joined #salt
19:14 kormoc joined #salt
19:14 nikogonzo joined #salt
19:20 CeBe1 joined #salt
19:23 brianfeister joined #salt
19:32 diegows joined #salt
19:36 catpig joined #salt
19:38 murrdoc joined #salt
19:43 hal58th joined #salt
19:43 hal58th joined #salt
19:45 bhosmer_ joined #salt
19:45 kelvin joined #salt
19:46 catpig joined #salt
19:48 kormoc joined #salt
19:49 kel_ joined #salt
19:49 lahwran joined #salt
19:49 kel_ Centos 7 - no salt-minion install seems to work. Any ideas?
19:51 kel_ Centos 7 install fails because of a missing python-jinja2 package
19:51 murrdoc thats not good
19:51 kel_ interestingly, Ansible install fails, also on this package
19:52 kel_ so it might be back to cfengine3 ...
19:52 murrdoc there is a ppa for pythons for all things
19:52 murrdoc hahaha
19:52 murrdoc you can probably find a repo for it
19:53 kel_ pip install jinja2 works fine, but after this the yum app still does not know its there and therefore fails
19:54 kel_ anyway, someday the Salt guys will note this and fix the dependency - RedHat 7, Oracle 7, CentOS 7 all have the same problem
19:55 lahwran joined #salt
19:56 murrdoc you think salt should provide the packages for all dependancies ?
19:56 kormoc joined #salt
19:58 kel_ no, but if the install_salt.sh system fails on 3 major distros it might be something to look at
19:58 lahwran joined #salt
19:58 murrdoc oh there is a flag in it
19:58 murrdoc for allowing upstream repositoris
19:59 murrdoc the -Z flag ?
19:59 murrdoc actually never mind
19:59 murrdoc u right
20:00 kel_ seldom right, mostly frustrated
20:00 murrdoc wait bootsrap fails /
20:01 murrdoc or yum install fails
20:05 bhosmer_ joined #salt
20:06 kormoc joined #salt
20:12 kormoc joined #salt
20:17 elfixit joined #salt
20:18 markm_ joined #salt
20:20 kormoc joined #salt
20:24 ggoZ joined #salt
20:25 otter768 joined #salt
20:28 jalbretsen joined #salt
20:28 andrew_v joined #salt
20:28 freelock joined #salt
20:35 kormoc joined #salt
20:41 bhosmer_ joined #salt
20:45 cberndt joined #salt
21:03 schristensen joined #salt
21:08 StDiluted joined #salt
21:11 Mso150_m joined #salt
21:14 kormoc joined #salt
21:16 thehaven joined #salt
21:17 markm_ joined #salt
21:21 fxhp joined #salt
21:28 otter768 joined #salt
21:36 kormoc joined #salt
21:37 seanz joined #salt
21:45 andrew_v joined #salt
21:46 gngsk joined #salt
21:51 Mso150_m joined #salt
22:01 amustafa Hey all, I gave a shot at writing my first formula. The Avahi formula was almost nothing, so I tried to write one similar to the other on the site.
22:01 amustafa https://github.com/amustafa/avahi-formula
22:01 amustafa I'd love your feedback!
22:01 ekristen joined #salt
22:07 markm_ joined #salt
22:25 davesque joined #salt
22:25 davesque i’m trying to have pillar data from a ‘live’ environment override pillar data in a ‘base’ environment.  how can i accomplish this?
22:28 davesque my base environment has pillar data like this “some_key: {some_nested: ‘asdf’}”.  my live environment has pillar data like this: “some_key: {some_nested: ‘zxcv’}”.  how can i end up with “some_key: {some_nested: ‘zxcv’}” as my merged pillar tree?
22:32 davesque any thoughts?
22:33 amustafa Take a look at this package
22:33 amustafa https://github.com/saltstack-formulas/samba-formula/blob/master/samba/map.jinja
22:34 amustafa You can feed this context into the top of your states
22:34 amustafa and combine things however the live environment sees fit
22:34 amustafa pillars are for static information
22:35 amustafa (at least that's what I'm led to believe. I'm still new here too)
22:35 acabrera joined #salt
22:35 amustafa So all the pillar resolution should happen before it gets to the live stuff
22:35 Deevolution davesque:  I'm not 100% sure that you can mix environments that way.
22:36 amustafa What kind of live data are you trying to integrate?
22:36 Deevolution You can override pillar keys within an environment by respecifying the keys further down the overall pillar.
22:36 amustafa yes
22:37 Deevolution i.e. you can have key:subkey:data1 in one file and key:subkey:data2 further down the lexigraphical chain and it will use data2
22:38 glyf joined #salt
22:38 davesque is there a more appropriate way for me to accomplish this?  i’m just trying to have settings which can be overridden based on which host is matched (each host’s settings are in separate environments).  the particular thing i’m doing is that my redis.conf is a manged file which is a jinja template.  i have “maxmemory {{ pillar.django.redis.maxmemory }}” in the template.  i’m trying to have that pillar value be different based on which hosts wer
22:38 davesque matched from the top.sls file.
22:38 amustafa yes, I'm almost certain
22:38 amustafa that's kind of the point of the "extravagence" of the pillar system
22:38 amustafa bit it depends on file resolution
22:38 amustafa so you have to be careful with order
22:39 davesque in my base environment, i have “django: redis: maxmemory: 256mb”. in my live environment, i have “django: redis: maxmemory: 512mb”.
22:41 amustafa yeah, that's easy. All you have to do is designed which apply in the pillar/top.sls
22:41 amustafa You just define what pillars go to what and it resolves down
22:41 amustafa I found this on grains
22:41 amustafa http://docs.saltstack.com/en/latest/topics/targeting/grains.html#precedence
22:41 amustafa but I'm sure it's similar to pillars
22:42 amustafa http://docs.saltstack.com/en/latest/ref/states/top.html
22:42 amustafa Also, relevant for you
22:44 borgstrom joined #salt
22:47 aquinas joined #salt
22:53 davesque amustafa, Deevolution: great, thanks for the help guys!
22:59 amustafa You're welcome. Good luck!
23:04 JlRd joined #salt
23:11 ckao joined #salt
23:13 murrdoc joined #salt
23:18 a1j why this insane dependency on Sphinx 1.3 which is not even released yed? Trying to build package on debian-wheezy with no success.
23:19 a1j https://github.com/saltstack/salt/blob/2014.7/doc/conf.py#L158
23:34 viq_ joined #salt
23:34 viq_ joined #salt
23:38 CeBe joined #salt
23:39 a1j http://metro.co.uk/2014/12/26/a-man-called-jack-daniels-has-named-his-son-jim-beam-5000195/
23:39 a1j sorry for spam, mt

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