Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-11-27

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

All times shown according to UTC.

Time Nick Message
00:06 lemoi 3.2.3 here
00:07 KyleG joined #salt
00:07 KyleG joined #salt
00:09 packeteer dunno then
00:09 packeteer i haven't tested 17.2 as yet
00:10 lemoi weird
00:10 lemoi these are just three minions among 25 others
00:10 lemoi same os, same zeromq version, same pyzmq version
00:12 weikai joined #salt
00:13 [diecast] joined #salt
00:13 backjlack joined #salt
00:15 packeteer odd
00:16 foxx joined #salt
00:17 lemoi yes
00:17 lemoi thing is, I'm tcpdumping but I can't see anything
00:18 lemoi i can telnet from the minion to the master ports 4505 4506
00:18 lemoi firewall rules are out of question
00:18 packeteer i have seen issues in the past when upgrading... removed all traces and reinstalled and it seemed to work
00:18 packeteer oh wait, check the keys
00:19 torrancew lemoi: check the low-hanging fruit, like dns resolution
00:34 _ilbot joined #salt
00:34 Topic for #salt is now Welcome to #salt - SaltConf in January!! http://saltconf.com | 0.17.2 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers - Channel logs are available at http://irclog.perlgeek.de/salt/
00:36 zandy joined #salt
00:42 shwaiil joined #salt
00:45 lemoi joined #salt
00:45 lemoi UtahDave yes, all done. upgrade + restart
00:45 lemoi tcpdump doesn't show anything
00:45 lemoi I can ping the master and the master can ping the minion(s)
00:45 UtahDave lemoi: stop the salt-minion service
00:45 lemoi ok?
00:46 UtahDave then start the salt-minion in debug mode in the cli:      sudo salt-minion -l debug
00:46 lemoi done
00:47 UtahDave anything strange in the output?
00:47 UtahDave when you run    sudo salt-key -L   does that minion show up?
00:48 lemoi yes, it's accepted
00:48 lemoi it does show up
00:48 UtahDave does it respond to commands now?
00:49 EugeneKay joined #salt
00:50 lemoi nope
00:50 lemoi I'm doing a simple test.ping
00:50 lemoi nothing is returned
00:51 lemoi not even an error
00:51 lemoi there's no layer2/layer3 communication at all
00:51 UtahDave do you see anything on the cli on the minion?
00:51 lemoi nope
00:52 UtahDave what's the master option in /etc/salt/minion set to?
00:52 lemoi I don't have anything setup in /etc/salt/minion and this is pretty much how every single minion runs in our infra
00:52 lemoi salt automatically connects to salt.insert.domain.here
00:53 UtahDave does the salt-minion think it is connected to the master?
00:53 lemoi [DEBUG   ] Attempting to authenticate with the Salt Master at 66.bbb.aaa.xxx
00:54 lemoi followed by loading /etc/salt/pki/minion/minion.pem 2 times
00:54 UtahDave is that the correct address for the master?
00:54 lemoi absolutely
00:54 N3rd2600 joined #salt
00:55 UtahDave ok, on the minion hit  Ctrl-C
00:55 UtahDave then can you pastebin the sanitized output of     sudo salt-call grains.items      ?
00:55 lemoi one moment
00:56 robawt aloha yawls
00:56 UtahDave robawt: stop bragging about your eternally beautiful weather!!
00:57 robawt if i have a tiered pillar sls that says name: rank: soldier:name, can I access it with pillar.get('name:rank:soldier',{}).items() ?
00:57 lemoi um, it refuses to run. it doesn't return anything at all :(
00:57 robawt UtahDave: it's actually overcast today
00:57 robawt and slightly chilly
00:57 robawt :)
00:57 lemoi I'll let it run
00:58 lemoi nope... nothing
01:00 UtahDave lemoi: what's the output of   salt-minion --version
01:00 UtahDave robawt: yeah, I think that should work
01:01 lemoi salt-minion 0.17.2
01:01 robawt UtahDave: I'm getting nada :\
01:01 * lemoi grabs some moonshine
01:01 robawt I was going to make a gist
01:03 robawt UtahDave: https://gist.github.com/bmess/d57c3ba0002aa9734fae
01:03 robawt </complaint>
01:03 robawt also am I going to see you at scale this year UtahDave?
01:04 lemoi bubba gump lol
01:05 UtahDave robawt: heck, yeah!
01:05 robawt lemoi: couldn't make up my mind between forrest or bubba, so i went down the middle
01:07 UtahDave robawt: {% for user in salt['pillar.get'] ('company:development:employee').items() %}
01:07 robawt UtahDave: ok i'm always down to try it the UtahDave way
01:12 anitak joined #salt
01:13 robawt holy guacamole UtahDave
01:13 robawt you're a rockstar
01:13 robawt can you point me to the right doc page for this?  I feel like I searched up and down the doc before I came in here crying
01:17 tempspace good evening all
01:17 UtahDave robawt: I'm not sure.   pillar.get() is just the normal python dictionary get() method
01:17 robawt UtahDave: sorry to hassle you, thank you for the help :D
01:17 robawt i'll try to answer some poor soul's question in return
01:18 UtahDave salt['pillar.get']() is a salt function that lets you get deep into datastructures like that
01:18 UtahDave robawt: deal!
01:20 stefanmonkey joined #salt
01:22 sdpnda joined #salt
01:28 thelorax123 joined #salt
01:31 shinylasers joined #salt
01:33 eculver joined #salt
01:36 zandy joined #salt
01:38 bt joined #salt
02:01 zach joined #salt
02:02 favadi joined #salt
02:02 mgw joined #salt
02:04 favadi joined #salt
02:07 danielbachhuber joined #salt
02:15 xmltok joined #salt
02:17 zach___ joined #salt
02:19 lineman60 joined #salt
02:19 sgviking joined #salt
02:25 pdayton joined #salt
02:26 fllr joined #salt
02:26 fllr What happens if two people try to run state.highstate at the same time?
02:28 mgw joined #salt
02:34 forrest MADNESS
02:34 forrest chaos in the streets
02:34 forrest TWO HIGHSTATES, raaaaaampaging down the road, smashing your servers, left and right!
02:34 forrest You see little Jimmy over there fllr? He tried to run two highstates, NOW HE HAS NO WEB TRAFFIC!
02:35 fllr ...=p I was just wondering...
02:35 forrest Yea I have no idea
02:35 forrest I imagine it just creates a second set of job ids that wait to be executed perhaps?
02:39 forrest if you try it though fllr, let me know
02:44 mgw joined #salt
02:44 fllr Dunno. I guess I'll try that later... =p
02:44 forrest ok, take little Jimmy with you, see if you can find his web traffic.
02:48 zach joined #salt
02:51 favadi joined #salt
02:51 jcockhren forrest: https://github.com/saltstack-formulas/backuptocloud-formula
02:51 jcockhren \o/
02:51 jcockhren finally
02:51 forrest lol
02:51 forrest I ws just gonna say the same thing :P
02:52 redondos joined #salt
02:52 jcockhren I've been doing well with my queue over the past week
02:52 forrest I think you need to rename pillar.top.sls.example?
02:52 jcockhren to what?
02:52 forrest is it not supposed to just be a top file
02:52 forrest *?
02:53 jcockhren yeah... just an example though
02:53 forrest ahh ok
02:53 forrest This looks good
02:53 jcockhren and I don't want it to be confused with a states top file
02:53 forrest cool example of using the dsl
02:54 forrest did you just have to hit up whiteinge to get that put in?
02:54 jcockhren nah. I was added to the org. It took me forever to get around to make the repo. ;p
02:55 forrest ahh ok
02:57 jcockhren now I can focus on my site launch... sheesh
02:59 forrest I'll prepare my cane and walker for the timely release!
02:59 jcockhren inorite
02:59 cocoy1 joined #salt
02:59 forrest :D
03:00 jcockhren I'm gonna launch and it's gonna look like a website from 1997 b/c it tookme that long to finish
03:00 forrest yea? Animated gifs all over the place?
03:00 ydavid joined #salt
03:00 forrest some nice pop in ads with sound automatically playing?
03:01 jcockhren it's all about the scrolling text bro
03:01 forrest how could I forget.
03:01 jcockhren real mayspacey
03:01 jcockhren myspacey*
03:01 forrest it'll be great for bands though right?
03:02 jcockhren probably not.... like myspace
03:09 ravibhure joined #salt
03:13 mannyt joined #salt
03:15 davet joined #salt
03:16 dvogt joined #salt
03:24 mgw joined #salt
03:30 mannyt joined #salt
03:33 mgw joined #salt
03:36 mannyt joined #salt
03:39 thelorax123 joined #salt
03:57 redondos joined #salt
03:58 malinoff joined #salt
04:01 thelorax123 joined #salt
04:01 ravibhure1 joined #salt
04:17 ckao joined #salt
04:23 anuvrat joined #salt
04:35 sandGorgon joined #salt
04:46 pipps joined #salt
04:48 mgw1 joined #salt
04:52 noob2 joined #salt
04:57 junedm joined #salt
05:01 Linz_ joined #salt
05:32 noob2 left #salt
05:37 ccase joined #salt
05:42 zandy joined #salt
05:42 dottedmag joined #salt
05:47 lineman60 joined #salt
05:47 rojem joined #salt
05:58 JulianGindi joined #salt
06:00 Tekni joined #salt
06:09 matanya joined #salt
06:13 zandy joined #salt
06:15 Bosse joined #salt
06:18 zandy joined #salt
06:24 pipps joined #salt
06:28 troyready joined #salt
06:31 littleidea joined #salt
06:32 cym3try joined #salt
06:38 matanya joined #salt
06:49 troyready joined #salt
06:52 gasbakid joined #salt
06:56 ravibhure joined #salt
06:56 cym3try joined #salt
07:00 ravibhure1 joined #salt
07:25 pniederw joined #salt
07:26 pniederw what's the right way to install salt-contrib (for use, not development)? do I need to install it on every minion, or just the master?
07:28 pniederw want to use the archive.extracted state
07:44 middleman_ joined #salt
07:45 slav0nic joined #salt
07:46 rmt joined #salt
07:51 juasiepo joined #salt
07:56 giantlock_ joined #salt
08:01 wiggy joined #salt
08:02 summernguyen joined #salt
08:02 balboah joined #salt
08:10 ddv joined #salt
08:11 harobed joined #salt
08:16 troyready joined #salt
08:20 mekstrem joined #salt
08:24 y0j joined #salt
08:26 carlos joined #salt
08:32 MrTango joined #salt
08:32 Nexpro joined #salt
08:34 che-arne joined #salt
08:35 mike251 joined #salt
08:36 druonysus joined #salt
08:47 cym3try joined #salt
09:06 rjc joined #salt
09:20 sgviking joined #salt
09:33 zandy joined #salt
09:40 JasonG_TA joined #salt
09:40 JasonG_TA joined #salt
09:46 mike251 hey guys... what is the default value on the master .. to run highstate?
09:46 mike251 i want the highstate to run every 30 min... how can i change that?
09:47 _ikke_ mike251: There is no scheduling of running highstate in salt. You can run a cron yourself to execute the highstate
09:50 gasbakid_ joined #salt
09:51 mike251 ah ok... thanks _ikke_
09:51 mike251 _ikke_: long shot ... have you used returners?
09:51 mike251 i just .. discovered that in the documentation
09:52 _ikke_ mike251: Nope, not yet
09:52 mike251 i was wondering if there is a good tutorial... the docs are ... not enough :)
09:52 mike251 _ikke_:  thanks anyway
09:53 ravibhure joined #salt
09:56 jean-phi1ippe hello
09:56 ravibhure joined #salt
09:57 ravibhure1 joined #salt
09:57 jean-phi1ippe is there a way to define roles for minions directly on the master, instead of having to change the roles on the minion config?
09:57 jean-phi1ippe in the minion config*
09:58 middleman_ joined #salt
09:59 jcockhren jean-phi1ippe: "roles" are really just grains
10:00 jean-phi1ippe ok, but is it possible to set grains on minions thanks to the master?
10:00 jcockhren http://docs.saltstack.com/ref/modules/all/salt.modules.grains.html#module-salt.modules.grains
10:00 jcockhren jean-phi1ippe: yep ^
10:00 mike251 or you can use pillars to do the same thing
10:01 mike251 personally i have for each minion a pillar-minion.sls file where i have roles defined... software etc
10:02 jean-phi1ippe mike251: I guess you match then on pillars instead of grains
10:06 mike251 jean-phi1ippe: sure
10:06 mike251 jean-phi1ippe: for me it is easier.. to see all the info in a file...
10:07 mike251 grains are also good for matching :) the states
10:07 N-Mi_ joined #salt
10:14 jean-phi1ippe going through the documentation, nodegroups can also do the same thing...
10:15 jean-phi1ippe so, there are lots of ways!
10:15 mike251 jean-phi1ippe: this is the GOOD and the BAD about salt.. you can do one thing/action in at least 2-3 ways. It's all about playing around and learning from your own actions... tests
10:17 jean-phi1ippe I have no clue why it could be better to use pillars compared to grains for the roles
10:20 EugeneKay pillars can be changed without restarting the minion
10:20 N-Mi_ joined #salt
10:21 EugeneKay That's sort of the definition of the thing ;-)
10:21 EugeneKay If you want to have the metadata on the minion, put it on the minion.
10:21 mike251 EugeneKay: i DID NOT know that
10:21 EugeneKay If you want it on the master, have it on the master.
10:21 mike251 thanks for sharing with us
10:21 mike251 even if i went twice through docs.. i do not remember that... good to know.
10:22 EugeneKay Not sure if sarcasm.
10:22 mike251 from my ... setup i use grains just to target specific states depending on the OS or on the virtual (we have kvm.. so for the virtual servers we run some states) but for the bare metal ones we have other stats.
10:23 jean-phi1ippe that makes sense
10:23 mike251 EugeneKay: not sarcasm from my side... i did not know that to set up grains you need to restart the minion...
10:23 EugeneKay IRC needs a <inflection> tag
10:24 mike251 EugeneKay:  what is the infection tag?
10:24 EugeneKay I do my "roles" stuff from pillar data(basically, which states to run). Within those states I test against grains(via Jinja) for OS, platform, etc to get the proper setup
10:25 mike251 EugeneKay:  EXACTLY ... the same setup i have at the moment... every minion has it's own pillar file on the master... where i have added roles, software that has to be added EXTRA etc.
10:25 EugeneKay Yup.
10:25 mike251 good... then i am not that stupid :) .. i made a good choice...
10:25 jean-phi1ippe that was my starting point
10:26 mike251 and Jinja is just awesome...
10:26 jean-phi1ippe I will stick to it
10:26 mike251 jean-phi1ippe: try it .. and see how you deal with it.
10:26 jean-phi1ippe but it's good to know his options right? ;)
10:26 mike251 true
10:35 middleman_ joined #salt
10:39 william joined #salt
10:42 ravibhure joined #salt
10:44 mike251 guys ... how can one use a module command in a state... for example i want to run this from a state... salt '*' cron.set_job root '*' '*' '*' '*' 1 /usr/local/weekly
10:44 mike251 is that possible? ... i suppose it should be...
10:49 techdragon joined #salt
10:50 Destro joined #salt
10:51 william_20111 joined #salt
10:52 Koma left #salt
10:53 zandy joined #salt
11:03 jean-phi1ippe joined #salt
11:11 Sheco joined #salt
11:21 zooz joined #salt
11:22 wiggy joined #salt
11:25 Katafalkas joined #salt
11:27 Katafalkas joined #salt
11:31 lemao joined #salt
11:44 diegows joined #salt
11:54 Sheco joined #salt
11:56 techdragon joined #salt
11:57 sroegner__ joined #salt
12:01 middleman_ joined #salt
12:04 zandy joined #salt
12:09 mike251 anyone around?
12:19 pniederw joined #salt
12:24 elfixit joined #salt
12:31 zandy joined #salt
12:36 techdragon joined #salt
12:43 Tiriel joined #salt
12:44 cym3try joined #salt
12:45 Tiriel_ joined #salt
12:45 luminous joined #salt
12:45 Furao joined #salt
12:45 zooz joined #salt
12:46 Tiriel_ Hello everybody
12:47 Tiriel_ Where can I find info on generic formulae? For something that is not pre-packaged, I'm looking at your usual download-untar-edit-move-run kind of workflow
12:47 Furao left #salt
12:51 luminous joined #salt
12:52 sroegner__ joined #salt
12:57 wilywonka joined #salt
12:59 Furao joined #salt
13:00 \ask joined #salt
13:03 blee joined #salt
13:08 techdragon joined #salt
13:09 jsm joined #salt
13:19 modafinil joined #salt
13:23 anitak joined #salt
13:25 mike251 pf.. Tiriel_ not sure if that thing can be found as an example...
13:25 harobed joined #salt
13:26 gkze joined #salt
13:28 scristian joined #salt
13:28 jslatts joined #salt
13:29 jrgifford joined #salt
13:30 octarine joined #salt
13:30 shennyg joined #salt
13:30 goki joined #salt
13:30 xerxas joined #salt
13:32 neilf joined #salt
13:32 Tiriel_ actually the canvas formula does something very similar to what I'm looking for
13:33 Tiriel_ on a different subject, is is possible to use gitFS in masterless mode?
13:33 scalability-junk joined #salt
13:36 brianhicks joined #salt
13:37 pcarrier joined #salt
13:38 akitada joined #salt
13:43 copelco joined #salt
13:44 Ertac joined #salt
13:47 vejdmn joined #salt
13:50 ravibhure joined #salt
13:52 techdragon joined #salt
13:56 elfixit joined #salt
14:04 oz_akan_ joined #salt
14:04 Gifflen joined #salt
14:05 oz_akan_ joined #salt
14:07 littleidea joined #salt
14:08 diegows epel repos looks outdated :P
14:11 pass_by_value joined #salt
14:11 davidone joined #salt
14:13 bezaban is there a good grain to separate linux from windows?
14:13 _ikke_ os?
14:13 bezaban although I should probably also be sorting by dist
14:13 pipps joined #salt
14:13 bezaban returns distribution
14:14 bezaban all are in debian os_family though
14:14 bezaban except a few RHEL which are not saltstack managed
14:14 _ikke_ what does OS return for windows then?
14:14 bezaban windows
14:15 _ikke_ Kernel returns Linux for me
14:15 _ikke_ What does it return for windows?
14:15 bezaban kernel! yes
14:15 bezaban thanks, was thinking that was full kernel version. That did the trick
14:15 sgviking joined #salt
14:15 vkurup joined #salt
14:15 _ikke_ bezaban: I just did salt '*' grains.items
14:16 bezaban oh yeah. I was doing grains.ls and doing them one by one.  I recall doing that earlier too
14:17 bezaban just learning it.  Deployed in test and just started including windows
14:19 bezaban hostnames have no metadata on OS, so kernel will come in handy.
14:20 thelorax123 joined #salt
14:22 mgw joined #salt
14:23 pniederw joined #salt
14:23 pniederw anyone around who is using salt-contrib?
14:31 jergerber joined #salt
14:32 lineman60 joined #salt
14:33 juicer2 joined #salt
14:37 lineman60__ joined #salt
14:40 jasg75 joined #salt
14:41 georgj05 joined #salt
14:43 brianhicks joined #salt
14:51 wilywonka joined #salt
14:54 backjlack joined #salt
14:54 smccarthy joined #salt
14:55 mgw joined #salt
14:55 quickdry21 joined #salt
14:55 PoLuX joined #salt
14:55 JulianGindi joined #salt
14:55 ccase joined #salt
14:55 amahon joined #salt
14:55 yano joined #salt
15:00 cym3try joined #salt
15:01 ipmb joined #salt
15:03 pipps joined #salt
15:05 copelco joined #salt
15:06 chet joined #salt
15:06 abe_music joined #salt
15:10 d10n joined #salt
15:10 d10n joined #salt
15:17 khaije1 salmon... is it still actively maintained developed?
15:20 davidfischer joined #salt
15:22 NotreDev joined #salt
15:22 slav0nic joined #salt
15:27 NotreDev joined #salt
15:29 mikkn joined #salt
15:32 mikkn Hello! I'm completely new to salt, but trying to set up a hgfs-backed setup. Can anyone describe how branches are used for environments and how top.sls files are read in such a setup? If I've understood it correctly, it only reads the first top.sls that contains a base: environment definition?
15:32 mikkn It feels like I'm missing something trivial...
15:38 scristian joined #salt
15:39 VertigoRay mikkn, I use gitfs, but I'm looking at hgfs now to see how it compares.
15:41 VertigoRay mikkn not a lot of info in what I'm reading, but I'll tell you how it works for git ...
15:42 troyready joined #salt
15:42 bastion2202 joined #salt
15:43 VertigoRay `base` env is the master branch and the only place you need to create your top.sls file.  the top file will annotate other envs, such as "prd".  prd needs to be a branch, so it'll be read in at the `prd` env.
15:43 d10n joined #salt
15:43 VertigoRay I realize there's mention of tags and such, but I just stick to branches.
15:45 d10n joined #salt
15:45 VertigoRay lookst like with hgfs, you would set `hgfs_branch_method: branches` then put your top.sls only in the "default" branch -- the default branch is your base env.  Hope this helps...
15:45 tyler-baker joined #salt
15:53 kaptk2 joined #salt
15:54 forrest joined #salt
15:55 cachedout joined #salt
15:55 UtahDave joined #salt
15:56 amahon joined #salt
15:56 blee joined #salt
15:57 cym3try joined #salt
16:00 Linz joined #salt
16:00 N-Mi_ joined #salt
16:00 N-Mi_ joined #salt
16:01 TheRealBill_ joined #salt
16:02 TheRealBill_ joined #salt
16:03 Linz joined #salt
16:04 vkurup is it possible to have a state 'watch' a pillar variable?
16:05 vkurup if i have postgres passwords in a pillar variable, and only want to run postgres.user_update if they change?
16:05 d10n joined #salt
16:06 mike251 vkurup: thinking
16:07 brutasse vkurup: no, runs aren't aware of previous runs. you need to cheat by writing the data to a file and watch that file
16:08 vkurup brutasse: ok, that's what i thought
16:08 vkurup thank you
16:08 UtahDave vkurup: Hm.   If you have a state managing the postgres user, will it not update the password if it is changed?
16:08 mikkn VertigoRay: Ah. But if you branch in mercurial you end up with all files from the branch you came from, so it's hard to keep the top.sls to only be in the default branch...
16:08 pdayton joined #salt
16:08 Nazzy is there something that makes stops you including in an included file?
16:08 xet7 joined #salt
16:09 vkurup UtahDave: well the postgres_user.present state module only checks if a user is present
16:09 vkurup it doesn't update the password
16:09 srage joined #salt
16:09 UtahDave vkurup: have you tested that?
16:10 mike251 it should update as well...
16:10 vkurup yeah. https://github.com/saltstack/salt/blob/develop/salt/states/postgres_user.py#L103
16:10 UtahDave Ah, yeah.
16:11 mikkn joined #salt
16:11 mikkn Sorry, had some problems with irrsi+tmux apparently
16:13 forrest Does anyone remember off-hand when you do a grain lookup, does it consider Ubuntu to be Debian at the highest level?
16:14 vkurup mike251: yeah i thought it should too :) but it doesn't
16:14 vkurup which is consistent with some of the other states that i looked at (mysql, mongo), but not with system accounts
16:16 Linz joined #salt
16:16 jjo__ joined #salt
16:16 srage joined #salt
16:19 UtahDave forrest: Ubuntu is in the Debian os_family
16:19 mike251 but os = Ubuntu
16:20 forrest UtahDave, ok cool, I couldn't remember what Salt returned when you did a grain lookup on an ubuntu machine, if you had an os check for Debian.
16:20 forrest I don't have any VMs spun up at work to check :(
16:20 UtahDave Yeah, Os is ubuntu, but os_family is Debian
16:20 forrest yea so when you do your filtering it will catch an Ubuntu machine in Debian.
16:20 mike251 yeah true
16:21 mike251 depending what you are filtering
16:21 forrest right
16:21 mike251 :)
16:21 sgviking joined #salt
16:21 mike251 usually in the jinjas... salt['grains.filter_by']  i use to match for grain='os', instead of the default one which is os_family
16:22 forrest yea this is strictly for filter_by, so that it will catch
16:23 forrest working on updating the php formula to bring it up to standards and I couldn't remember.
16:23 mike251 forrest:  great
16:23 forrest I don't spin up many ubuntu VMs :P
16:23 jjo__ is there a guide to best practices for salt? recommended setups, etc.?
16:23 forrest jjo__ in what sense?
16:24 forrest mike251, yep, at the very least it should install the right packages based on distro instead of only supporting ubuntu which will be nice.
16:24 druonysus joined #salt
16:24 mike251 jjo__:  i was wondering for that... at the beginning, BUT after you play with salt you will realize that EACH task/action can be done in 2-3 different ways... so each setup has to be tested and your own logic can apply... also what you prefer etc. :)
16:24 jjo__ well, like i've seen people setup states in to directories (eg. states/mysql/services & states/mysql/states)
16:24 druonysus joined #salt
16:24 mike251 forrest: right
16:25 rojem joined #salt
16:25 forrest jjo__, that's dependent on what you prefer, as long as you're doing a main directory (/srv/salt/mysql for example), and putting associated mysql states under that, I don't think it really matters from that point on. You just want to ensure it's modular for most environments.
16:25 mike251 jjo__:  i have states into /states  and configs into /files/conf/
16:26 Khazix joined #salt
16:26 forrest and I do mine totally different, so I have /srv/salt/app/{my states here}, and /srv/salt/app/files/{my files here}
16:26 forrest directory structure isn't so much a best practice, as ensuring that you keep things clean
16:26 jjo__ im developed my own pattern but i was hoping somebody who is battle harded in salt had pointers on things to avoid
16:26 forrest well, avoid your states not being modular
16:27 forrest so don't install php and mysql in the same state.
16:27 forrest or have one GIANT state that does everything
16:27 forrest That seems to be the biggest pitfall people fall into
16:28 srage_ joined #salt
16:28 Nazzy UtahDave: help me out here ... a/init.sls does include(b) to pull in b/init.sls and that does include(c) to pull in c/init.sls ... include(c) returns None instead of the module when I do state.sls a, but works fine when I do state.sls b ... is there a depth limiter on include() that I didn't read about?
16:32 UtahDave Nazzy: Hm. Let me ask a couple people
16:32 robbyt joined #salt
16:33 renoirb Hey guys, while configuring services with SSL certificates, what would be the recommended way to share same self-signed Certificate Authority cert files?
16:34 UtahDave Nazzy: That should work.  Can you pastebin your sls files?  What version of Salt are you on?
16:34 jjo__ is there a salt equivalent to "puppet agent --disable 'my reason'" ?
16:34 bastion2202 joined #salt
16:34 bastion1704_ joined #salt
16:35 Nazzy UtahDave: 0.16.4, I'll sort a pastebin for you
16:35 mike251 can anyone help me a bit with a python/dictionary / jinja issue? should be easy for someone with py background
16:36 forrest just paste it in mike251!
16:36 forrest the question
16:37 srage joined #salt
16:37 mike251 i have a jinja file where i have several levels ... but for one .. i just want to have more values ... like an array..  'nameservers2':
16:37 mike251 - '192.168.0.218'
16:37 mike251 - '192.168.0.121'
16:37 mike251 without ... the keys .... just the values
16:37 sandGorgon joined #salt
16:37 srage__ joined #salt
16:37 forrest so you're doing a for loop now?
16:38 mike251 yeah forrest... a loop ... and i want to get only values.. not also keys
16:38 mike251 forrest: let me show you using a pastebin.. is easier
16:39 forrest yea I think that's better, becuse an array doesn't have keys, so it seems like you might be dealing with a dict?
16:39 mike251 http://pastebin.com/wpz4zERC
16:39 mike251 forrest:  isn't this a dic?
16:39 mike251 the structure in the jinja is not a dic?
16:39 forrest yea sorry I was looking at your thing above and you said like an array
16:39 forrest thought you were saying you were dealing with an array
16:40 forrest the joys of split attention
16:40 hhatfield joined #salt
16:40 troyready joined #salt
16:40 mike251 :) haha i hear you
16:40 forrest so is this a template file?
16:41 mike251 forrest: ... the jinja file.. keeps the configuration... and the resolv.conf is generated in that FOR  LOOP
16:41 mike251 forrest:  :) i don't use template files... or ... i created my own logic...
16:41 forrest but this is a managed file
16:42 mike251 yeah
16:42 xmltok joined #salt
16:43 mike251 forrest:  the difference between nameservers and nameserver 2 ... is that i want for 2 to get rid of the KEYS '0', '1'etc
16:43 whiteinge grep's status has been changed from 'away' to 'awesome'. my expectations have been appropriately set.
16:43 forrest heh
16:43 forrest it's a lie, he never says anything :P
16:43 whiteinge grep_awesome: don't let me down, bud!
16:43 mike251 forrest: i know how to make it work with nameservers... i want to see how to use a tuple .. or array or whatever the name is in py :)
16:44 forrest mike251, so currently when you return the value, you're getting "'0': '182.168.0.218'" as the value right?
16:45 mike251 is an error :)
16:45 mike251 BUT i manage to sort it!!!!
16:45 mike251 {% for   value in jinjamap.nameservers2 %}
16:45 mike251 nameservers    {{ value -}}
16:45 mike251 {% endfor %}
16:45 forrest ahh cool
16:46 mike251 the iteritems.. seems that is for dics..
16:46 mike251 for simple elements.. like array or what the heck they are ... see my above line :)
16:47 pdayton joined #salt
16:47 forrest so due to how you're doing this, with the ' you're going to somehow have to strip that data, then split the value at the space or something, then only return the second part
16:47 srage joined #salt
16:48 mike251 forrest: no... it is simple now...
16:48 forrest ok
16:48 mike251 let me give you another paste
16:48 srage_ joined #salt
16:48 forrest so mike251, why don't you just store the nameservers in your pillar, and then pull the data from there?
16:48 sijis joined #salt
16:49 mike251 forrest: ... for each server?
16:49 Nazzy UtahDave: simplest repeatable failure with output: http://pastebin.com/1vh2mAk8
16:49 sijis is there a way to exclude hosts form a list? 'salt * --exclude=web test.ping' type of thing?
16:49 mike251 forrest: .. there will be different nameservers for different roles...
16:49 srage__ joined #salt
16:49 mike251 forrest:  http://pastebin.com/EHuCRhpd
16:50 forrest mike251, right, so you can use nested items like this: https://github.com/saltstack-formulas/mysql-formula/blob/master/pillar.example
16:50 forrest but instad of mysql: server:
16:50 forrest you could do server_type: nameservers:
16:50 forrest or whatever
16:50 mike251 aha.. let me see forrest
16:50 kaptk2 joined #salt
16:51 forrest check out https://github.com/jesusaurus/hpcs-salt-state/blob/master/apt/sample.pillar and https://github.com/jesusaurus/hpcs-salt-state/blob/master/apt/repo/distro
16:51 mike251 and why is my aproach bad?   forrest
16:51 forrest I'm not saying it is
16:51 forrest just seems like more work
16:51 forrest when you could instead just loop through a list.
16:51 forrest *shrug*
16:51 mike251 but i am looping through a list that is stored into a jinja..
16:52 forrest Yea like I said, there's nothing wrong with your approach, just seems more difficult to me
16:52 mike251 COULD be... now i am thinking at your aproach :)
16:52 mike251 i am not say it is the best :)
16:52 mike251 i am testing different scenarios
16:53 forrest yea I don't have an example that uses a list of nameservers, I don't know if someone does, if they did that would be cool
16:53 forrest yea for sure.
16:54 Nazzy UtahDave: in building that tree I'm noticing that it seems to be more related to both c.sls and d.sls both doing include("e"), rather than the depth ... commenting out one of the includes (and it's check line) in b.sls will make the test succeed
16:54 forrest UtahDave, do you have any examples similar to https://gist.github.com/UtahDave/3785738 that have actual lists for the args as opposed to single values by any chance?
16:54 forrest Nazzy, that shouldn't be happening
16:54 ajw0100 joined #salt
16:55 forrest Nazzy, or at least I don't think it should...
16:55 jacksontj joined #salt
16:55 forrest Nazzy, look at this: https://github.com/terminalmage/djangocon2013-sls/blob/master/foo/vhost.sls that includes apache, and apache.mod_wsgi, but then https://github.com/terminalmage/djangocon2013-sls/blob/master/apache/mod_wsgi.sls includes apache
16:55 forrest which recreates your scenario right? And this was written for 0.16.4
16:57 bastion1704_ Hey Guys, I have a prob with 3 minions since upgrading all minions and master. when starting the minion I can see that it talks to the minion (tcpdump. but after that I cannot run any command test.ping for exemple
16:57 UtahDave forrest: I can't think of one off the top of my head
16:57 forrest UtahDave, ok
16:57 * mike251 enough for today - time to go home
16:57 forrest later mike251
16:57 zandy joined #salt
16:57 * mike251 have a great day guys!
16:57 mike251 left #salt
16:57 bastion1704_ I run the minion in debug but cannot see any useful info in the minion log
16:57 jacksontj_ joined #salt
16:57 forrest bastion1704_, did you confirm you can telnet to the ports from the minion to the master?
16:57 forrest and also your master is listening on 4505 and 4506 right?
16:57 bastion1704_ I can connect to 4505 and 4506 tcp
16:57 Nazzy forrest: yea, though that's not pydsl, so the problem might be specific to how the pydsl render is behaving ... though I didn't see any logic, unless it's off in the sls wrapper that I didn't think to check
16:57 mikkn Right. So. Uh. How do people actually use gitfs? VertigoRay explained to me earlier how it works, but I'm confused as to why you'd want your state files in branches if you can't have the top.sls file in branches? Is the top.sls file basically static? You add a few role-descriptive states there per environment and then you mod the role-descriptive states instead? :)
16:58 forrest Nazzy, oh I didn't realize you were working with pydsl, my apologies.
17:01 Nazzy forrest: s'ok, it's a good point :)
17:01 mikkn I don't like the idea of having to switch branches to do changes to the top.sls, but I guess it's not a big issue if you never do changes to it...
17:01 bastion1704_ I update 60 servers and only had prob with 3 of them. --versions-reports is the same for all servers
17:01 forrest bastion1704_, ok, so what happens with the job IDs that get spun up when you try a test.ping?
17:01 forrest and also, is there anything funky going on when you do salt-key -L ?
17:01 forrest bah I have a meeting, let me know if you figure it out
17:01 harobed_ joined #salt
17:01 mikkn sounds like a routing problem if I'd have to guess bastion1704_, but I'm new to salt. :)
17:01 mikkn I'd try connecting to another service, like http or such on the salt master
17:01 bastion1704_ mikkn: not possible all the other services are running fine and the minion talked to the master when using tcpdump
17:01 mikkn it might work one way but not the other way
17:01 mikkn the routing problem might be from the master to the minion
17:01 mikkn try pinging in both directions I guess :)
17:02 bastion1704_ mikkn: master can talk to all the other minions in this dc. Worked fine until I upgrade from 0.16 to 017
17:02 mikkn Ah, fair enough
17:02 mikkn Then it is probably salt specific and that's beyond me. :D
17:03 bastion1704_ forrest:
17:03 bastion1704_ Minion did not return
17:03 bastion1704_ from the master
17:04 bastion1704_ and no tcpdump traffic during the test.ping.
17:04 cnelsonsic joined #salt
17:04 VertigoRay mikkn, gitfs is explained well here (http://docs.saltstack.com/topics/tutorials/gitfs.html#branches-environments-and-top-sls-files).  You can have top.sls in multiple branches, but it'll be merged into one top.sls when it's downloaded.  So you need to be careful that you're not creating conflicts.
17:05 VertigoRay mikkn, due to the merging, I found it simpler to manage one top.sls file in the base env.
17:05 Furao_ joined #salt
17:05 mikkn From what I've understood it just merges in environments that are not defined in the base top.sls?
17:07 Jarus joined #salt
17:07 joshe joined #salt
17:07 mikkn VertigoRay: Oh, well. It feels sort of crutchy to just have one top.sls that you can write to, but I can't come up with another solution right now, so I guess I can live with it. :)
17:07 VertigoRay mikkn, not in my usage with gitfs
17:08 mikkn VertigoRay: How have you set it up with folder structure and such? :)
17:08 VertigoRay mikkn, you can use multiple top.sls files, just don't create environment definitions in multiple ones.  My usage with OSX management causes me to want just one top.sls.  However, for our server infra, we use one per env.
17:09 mikkn VertigoRay: I see!
17:10 mikkn VertigoRay: I'm sure I'll figure something out, thanks. :)
17:10 stewpot joined #salt
17:10 VertigoRay mikkn, I have an 'apps' folder where I put all the states in.  I use that cause I don't like all the clutter at the root.  Then in the top.sls I ref the state folder (for example apps/vim/init.sls) with `apps.vim`
17:11 mannyt joined #salt
17:11 grep_awesome whiteinge: considering downgrading from "awesome" to "excellent", would this be a let down?
17:11 VertigoRay mikkn, I also have  custom _grains and _modules and a global.sls at the root.
17:12 redondos joined #salt
17:12 VertigoRay mikkn, with pillar_ext, I use 'conf' as the root folder.  this way in logs it's very clear to me if it's issues with states or pillar ... even though I've always been able to see sls or pillar in the log stream as well.
17:14 whiteinge grep_awesome: it's too late! grep is indeed awesome and there's no diluting that.
17:14 mikkn Ah, how come you're using apps straight in the top.sls and not role based sls?
17:14 mikkn ... VertigoRay
17:14 moos3 anyone using salt with aws auto scaling
17:15 bemehow joined #salt
17:15 grep_awesome whiteinge: man... the pressure is on. I gotta renice my process
17:15 VertigoRay mikkn, global apps ... u said u were new so I didn't want to get to in depth with you
17:15 xmltok joined #salt
17:16 jdenning joined #salt
17:17 mikkn VertigoRay: I learn fast. :)
17:17 elfixit joined #salt
17:18 mikkn VertigoRay: I want to wrap my head around the full picture before I start toying around with it too much
17:18 Linz joined #salt
17:19 mikkn VertigoRay: Are references like 'apps.vim' absolute to the root folder? So I could use them in roles/db/init.sls as well?
17:19 mikkn VertigoRay: Now that was a bad example, but you hopefully get what I mean. :)
17:19 renoirb Quick question regarding pillars and multiple roots (and probably state and multiple roots for that matter)
17:20 VertigoRay mikkn, well then realistically, roles are just arbitrary ways of grouping the machines.  You're still defining the environments by roles or creating multiple roles in a single environment.  It's just grain matching (such as `salt -G 'role:web' test.ping`
17:21 VertigoRay mikkn, yes, ur right
17:21 renoirb If I have in master config pillar_roots: { base: [/srv/a, /srv/b] }
17:21 VertigoRay brb
17:21 renoirb … do I have to make a top.sls in both (e.g. /srv/a/top.sls)
17:22 mikkn renoirb: http://docs.saltstack.com/ref/states/top.html#how-top-files-are-compiled
17:22 mikkn Oh, sorry. That was states. :(
17:22 renoirb … Because it doesn't show anything I added even after a 'service salt-master restart' and a salt 'target' saltutil.sync_all
17:23 KyleG joined #salt
17:23 KyleG joined #salt
17:24 rubberne_ joined #salt
17:24 pniederw joined #salt
17:25 rubberne_ I need to use a managed file for a package installed. The file I use will be different depending on what version of package is installed. Is there a grain for this or something?
17:25 VertigoRay mikkn, yes, it's from the root folder, you can def refence that in top sls with `roles.db`  you could also have a 'roles/db/postgre.sls' file and ref it with `roles.db.postgre`
17:26 pniederw anybody around who knows how to use (deploy) salt-contrib?
17:27 aleszoulek joined #salt
17:27 pniederw I need something like the package.extracted state, but couldn't find anything in salt proper
17:27 zandy joined #salt
17:27 pniederw I mean archive.extracted
17:27 renoirb mikkn: it makes sense. Just that I wonder when the set of files are not the same. i.e. Calling a file that in the /srv/a as the main one that doesn't exist, but extending it in /srv/b   … using the /srv/b as the one with private data (my use case)
17:28 renoirb mikkn: it works, just like it is said, only one top file :)
17:28 elfixit joined #salt
17:29 VertigoRay renoirb, private data per machine?  the pillars are only sent to the targetted machine, so is good for private data without having to break it out into a seperate pillar_root
17:29 mikkn VertigoRay: You can use grains for defining roles as well? That seems sort of circular because I guess you would set the grain from a state, then read the grain from another sate?
17:29 renoirb VertigoRay: my use case is that I am going to export my config set to the public, but I do not want to expose the SSL certificates, that kind of private data
17:30 VertigoRay renoirb, oic, makes sense then
17:31 renoirb VertigoRay: found that https://github.com/saltstack/salt/issues/1543, but I am still with salt 0.16.3
17:31 renoirb … so I decided to create a init.sls with my few ca-certs.pem file to relay on all my mysql servers for a while
17:32 renoirb … as pillars, in a distinct file structure
17:32 VertigoRay mikkn, where are u reading on roles that aren't defined as grains?  I agree it is curcular, but is the only way I've seen it done.
17:33 renoirb What is the yaml version salt is using? PyYaml… yaml.org with v 1.1?
17:33 VertigoRay renoirb, PyYAML: 3.10
17:33 renoirb thx :)
17:33 VertigoRay renoirb, salt --versions
17:33 renoirb I knew it had a command for it, thanks!!
17:34 mikkn VertigoRay: Well, yes. I'm mainly saying obvious things to see if I understood them correctly. :)
17:34 renoirb it follows then the 1.1 spec (http://yaml.org/spec/1.1/)
17:35 VertigoRay mikkn, then yes. it is curcular and can result in multiple state.highstates to get the job done.
17:36 VertigoRay wow, I keep typoing circular
17:36 amckinley joined #salt
17:36 VertigoRay okay, gotta jump off chat for a bit.  Catching a movie in an hour and working on debugging some scripts real fast. ;)
17:37 mikkn VertigoRay: Thank you for all your help. :)
17:37 mikkn VertigoRay: Enjoy the movie!
17:37 elfixit joined #salt
17:40 bastion1704_ is there a way to test if a minion is registered ? what is happening where minion start ? it is in the salt-key already
17:41 renoirb Is there anybody who has deployment experience with salt.modules.tls ?
17:41 dwyerj joined #salt
17:41 renoirb not coding it, deploying with it :)
17:41 druonysus joined #salt
17:41 renoirb but let's consider my last statement as a non exclusive OR
17:43 dwyerj Hey, im trying to append to sysctl.conf, but salt doesnt give me any output.
17:43 _ikke_ dwyerj: Need more deteail
17:43 dwyerj http://pastebin.com/tMJfD7fC thats the state file, and the output. could any one give me an idea about why its not working
17:44 dwyerj the file.touch is only there as i wanted ot see if that had any output
17:44 amahon joined #salt
17:45 _ikke_ dwyerj: Check your log files (both for minion and master) when you have put them in debug mode
17:46 zandy joined #salt
17:46 amahon joined #salt
17:47 pdayton joined #salt
17:47 zandy_ joined #salt
17:48 jbub joined #salt
17:48 amahon joined #salt
17:49 renoirb a good way to do dwyerj  is to create a file in /etc/salt/minion.d/logging.conf  with http://docs.saltstack.com/ref/configuration/minion.html#log-level
17:49 VSpike left #salt
17:49 dwyerj yeah i got master logging, but my minions are throwing exceptionss and dieing
17:49 dwyerj AttributeError: 'pwd.struct_passwd' object has no attribute 'gid'
17:50 renoirb You could make a salt 'minion-id' cmd.run 'echo "log_level: debug" > /etc/salt/minion.d/logging.conf'
17:50 Chrisje joined #salt
17:51 dwyerj im going to deploy the minion again, and see if the exception goes away
17:52 ConceitedCode joined #salt
17:54 amahon joined #salt
17:57 amahon joined #salt
17:57 dwyerj when i create users with salt, do i have to pass the gid ?
17:58 KyleG Personally I like to err on the side of caution. For consistency I would.
17:59 dwyerj should i then create a group, so i know it exist and I know the id ?
17:59 jjo__ what, /etc/salt/minion.d exists???
17:59 KyleG dwyerj: You can specify any GID or UID as long as it's not already taken as far as I'm aware.
17:59 KyleG For the new group/user
18:00 dwyerj yeah alright
18:00 mikkn Can I echo the environment the salt state is defined in from within the salt state?
18:01 littleidea joined #salt
18:01 mikkn Ah, found it. it's just 'env', a bit too simple. :P
18:03 pipps joined #salt
18:05 clintberry joined #salt
18:12 dwyerj No matching sls found for 'sysctl-limits.sls' in env 'base'
18:12 dwyerj Thats the error i get on the minion
18:12 taterbase joined #salt
18:12 taterbase left #salt
18:14 littleidea joined #salt
18:16 diegows joined #salt
18:16 pass_by_value joined #salt
18:16 [diecast] joined #salt
18:16 foxx joined #salt
18:20 forrest bastion1704_, did you get that figured out?
18:20 whiskybar joined #salt
18:21 giantlock joined #salt
18:21 cdcalef joined #salt
18:23 rojem joined #salt
18:26 renoirb Hey guys, is there a way to dump content from a pillar and escaping yaml error. My situation is that i have pillars with ------BEGIN CERTIFICATE------ and that's what makes it complain
18:27 dvogt joined #salt
18:29 forrest can you not quote it renoirb?
18:29 renoirb uhm
18:29 forrest so you can do cert: "-------------BEGIN CERT----------"
18:29 renoirb wait, i'm making a paste bin forrest
18:29 renoirb the pillar has something like filename.pem: |
18:30 renoirb so the "|" should make it tolerant, right?
18:30 renoirb I see the certificate file contents in pillar.items
18:31 renoirb but when trying to apply the state file, it breaks
18:34 forrest The pipe is used to preserve newlines
18:35 forrest and when you say 'it breaks' do you mean it errors? Or that it writes into the file, but complains afterwards?
18:36 renoirb forrest: have a look https://gist.github.com/renoirb/7680862
18:37 bastion1704_ forrest:
18:38 bastion1704_ forrest: not yet here is the debug from the minion :http://pastebin.com/jUnntLAY
18:38 forrest yea so renoirb, can you try to use the | like you currently are, but wrap the cert itself in quotes?
18:38 torrancew renoirb: odd, I do just that in hiera yaml files with no issue
18:38 forrest torrancew, with the dashes at the front?
18:38 renoirb forrest: you mean    "-----BEGIN BLA----  (whatever, it is with lines) -----END BLA-----"
18:39 renoirb or for each line?
18:39 forrest one set of quotes for the whole thing like your example
18:39 renoirb ok, lemme try
18:39 forrest bastion1704_, I assume you cleaned this so IP_ADDRESS is something you added for line 9?
18:39 torrancew forrest: I use that YAML syntax to populate PEM-formatted x509 certs in the exact same way as renoirb's paste
18:40 forrest interesting, but they are part of states not pillars?
18:40 torrancew ala http://pastebin.com/QyWKTKA5
18:41 forrest Weird, what release are you on?
18:41 torrancew forrest: in my case, they're used in hiera data files for a puppet env
18:41 torrancew But it's standard YAML
18:41 torrancew the | bit, that is
18:41 renoirb I think the crux is here: - contents: {{ salt['pillar.get']('mysql:ssl:server.pem') }}
18:41 forrest yea that's my confusion
18:41 renoirb it did not complain!
18:41 * renoirb looking at the test machine result
18:41 forrest but did the file get populated with the quotes I wonder
18:42 forrest torrancew, hmm, what version are you on?
18:42 forrest oh sorry I already wrote that, jeez
18:42 torrancew forrest: :)
18:42 torrancew again, i don't use it in a salt pillar or state directly, but I use it in other YAML datasources
18:42 renoirb Yeah it worked, just made a ONE LINE thing out of it though
18:42 bastion1704_ forrest: yest
18:42 bastion1704_ forrest: yes
18:42 forrest renoirb, ahh that is lame
18:43 renoirb i guess because of the "… "
18:43 renoirb can I set a filter to {{ salt['pillar.get']('mysql:ssl:server.pem') }}
18:43 forrest yea the quotes are probably screwing up how the YAML | is working
18:43 bastion1704_ forrest: is the minion supposed to have an established connection to the master on 4506 and 4505 ? I only see 4506
18:43 JulianGindi joined #salt
18:44 forrest bastion1704_, off the top of my head I can't remember.
18:45 renoirb {% import_yaml "foo.sls" as foo %}
18:45 renoirb - contents: {{ foo.mysql.server|WHAT?? }}
18:45 renoirb Referring to http://docs.saltstack.com/ref/renderers/all/salt.renderers.jinja.html
18:46 renoirb And filters...
18:46 zandy joined #salt
18:47 forrest bastion1704_, so when you ran salt-key -L, were these boxes that aren't working showing up in here?
18:47 renoirb forrest: found that issue that seem to suggest a filter https://github.com/saltstack/salt/issues/5480
18:47 forrest are you on 0.16.4?
18:48 Nazzy UtahDave: any ideas on the paste from earlier?
18:48 elfixit joined #salt
18:48 renoirb no, 0.16.3  and about to change cloud provider, need to move everything as it is, then upgrade salt
18:49 sijis left #salt
18:49 forrest renoirb ahh gotcha
18:49 renoirb I am afraid to make an upgrade :/
18:49 forrest I don't blame you
18:49 forrest gotta test it first for sure
18:49 bastion1704_ forrest: yes there are on the list. They are minions for months. I just got the problem since the upgrade to 0.17 and zeromq from 2.x to 3.2 (gentoo box)
18:50 dwyerj joined #salt
18:50 renoirb I cannot guarantee current state and pillar syntax to work, I had issues with one.
18:51 xl1 left #salt
18:51 renoirb forrest: this note seems to apply to my case then https://github.com/whiteinge/salt/commit/acbfae658f7e7726dd0575559887baa8fb33753c
18:52 sdr_ joined #salt
18:52 dwyerj do you need to set the file_roots in both master and minions for multiple enviroments?
18:52 forrest dwyerj, nope.
18:52 pentabular joined #salt
18:52 bastion1704_ and on the minion : /var/run/salt/minion is empty so no sockets
18:52 dwyerj only the minion yea, nad i can set the enviroment in the top.sls
18:53 renoirb In jinja-like syntax that I am used with PHP/Symfony2/Twig, we have     {{ whatever|raw }}  that do not parse what we get
18:53 forrest dwyerj, I thought you just set it on the master.
18:54 dwyerj ah ok, i myst be reading it wrong. i thought i set the file_roots for the env on the minion side.
18:54 MortonIII joined #salt
18:55 forrest nope, just set it on the master
18:55 forrest Maybe you were specifically looking at the local file server stuff?
18:55 forrest that's only realy used when you don't have a master server.
18:55 forrest *reallyu
18:55 forrest ugh can't type
18:55 StDiluted joined #salt
18:55 xet7 joined #salt
18:56 forrest renoirb, yea sometimes YAML can be a bit of a pain
18:56 forrest bastion1704_, hmm, that seems weird, when you run the test.ping from the master, did you add -l debug to it?
18:58 dwyerj how do i target another env, like salt '*' state.other_env ?
18:58 pass_by_value joined #salt
18:58 NotreDev joined #salt
18:58 forrest dwyerj, do you mean environments you have created in your top file?
18:59 sdr_ Working on setting up salt dev env for windows. When building frozen binary dist with "python setup.py bdist_esky", I get "No module named zmq.core". Any ideas? pyzmq is installed.
18:59 dwyerj yeah, so i have 2 enviroments. base & multi
18:59 dwyerj i want base to be on all the minoions
18:59 dwyerj but only some do i want multi
18:59 forrest ok
18:59 renoirb forrest: I just seen we have salt '*' pillar.raw
18:59 pipps joined #salt
18:59 bastion1704_ forrest: yes it it stucked at [DEBUG   ] LocalClientEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
18:59 forrest so your top file should target that environment right dwyerj?
19:00 dwyerj forrest, im not sure what you mean
19:00 renoirb Do you think states can have {{ salt['pillar.raw']('mysql:ssl:server.pem') }} could work?
19:00 forrest Maybe, I haven't tried that before
19:01 forrest sdr_, did you make sure to add the Python directories to your system path?
19:01 forrest and does zmq.core actually exist as a module?
19:02 forrest bastion1704_, huh that's... odd. Can you actually see a Salt process kicking off on the minion?
19:04 bastion1704_ forrest: yes and salt-call test.ping --local works
19:05 forrest weird, so it's still as though they aren't communicating. Did you already try deleting the keys, and rejoining those specific machines to the master?
19:06 blee joined #salt
19:07 cym3try joined #salt
19:08 renoirb Doesn't work with {{ salt['pillar.raw']('what:ever:thing') }}  nor with   {{ pillar['what']['ever']['thing'] }} in salt 0.16.3  when the file is a SSL cert
19:09 renoirb but I found https://github.com/saltstack/salt/blob/develop/salt/states/file.py#L1035
19:09 renoirb contents_pillar:  but only in 0.17.0
19:09 xmltok joined #salt
19:10 sdr_ Yup, python dirs in system path. I see zmq.core, but for whatever reason it's not picking it up. I installed pyzma via easy_install.
19:10 Ryan_Lane so, is halite in a state in which I can extend it any?
19:10 Ryan_Lane I'm going to write a web interface for my deployment system and halite seems like a sane place for it
19:10 Ryan_Lane since it needs to make salt calls and such
19:11 forrest Ryan_Lane, you'd probably want ot talk to pass_by_value
19:11 forrest and learn node :P
19:11 pass_by_value any particular functions that you wanna call from halite?
19:11 Ryan_Lane just a couple runners
19:12 Ryan_Lane ah. it's node?
19:12 renoirb Hey Ryan_Lane :)
19:12 Ryan_Lane well, I already know JS mostly
19:12 renoirb I'm trying to spread SSL certificates through salt, how do you do it at WMF?
19:12 forrest yea there is some node, I have yet to try and convince pass_by_value to get rid of that :P
19:12 Ryan_Lane renoirb: we don't :)
19:13 Ryan_Lane renoirb: pillars is likely a good place for it, though
19:13 renoirb hum, should I not then?
19:13 pass_by_value https://github.com/saltstack/halite/blob/master/halite/app/view/console.coffee#L374
19:13 renoirb THat's what I thought
19:13 renoirb like your nick pass_by_value
19:13 pass_by_value function calls salt's runner function
19:13 pass_by_value :)
19:13 Ryan_Lane pass_by_value: well, I wanted to put a new tab into the interface
19:13 pass_by_value sure that can be done as well
19:13 Ryan_Lane and show data and let people deploy git tags
19:14 pass_by_value https://github.com/saltstack/halite/blob/master/halite/app/appConfigSrvc.coffee#L31
19:14 Ryan_Lane ok, cool. I'll take a look when I get started and I'll let you know if I have any specific questions
19:14 pass_by_value that defines the console and project tabs
19:14 renoirb Ryan_Lane I created a secondary pillars directory, added the /etc/salt/master config file, and adjusted pillars, when I do salt 'db8*' pillar.items  I see my certificates
19:14 pass_by_value sure Ryan_Lane
19:14 Ryan_Lane I just wanted to make sure the project was in a state that was ready for what I wanted to do :)
19:14 renoirb If you want to see, just come peek a bit at /srv/private/pillar/mysql/init.sls
19:15 renoirb in our salt master server :)
19:15 Ryan_Lane renoirb: right, so use the pillar value in a state
19:15 Ryan_Lane to install it
19:15 renoirb I'm hitting a snag where code improved since 0.16.3
19:16 Ryan_Lane upgrade, then :)
19:16 Ryan_Lane make sure to upgrade the master first
19:16 pentabular joined #salt
19:16 renoirb see links here: https://github.com/saltstack/salt/blob/develop/salt/states/file.py#L1035,   https://github.com/saltstack/salt/issues/5480
19:16 renoirb yay!
19:17 renoirb So, should I do like salt 'saltmaster' pkg. latest refresh=True
19:17 renoirb Ryan_Lane: ?
19:18 renoirb You think no problem will happen ? :/
19:18 forrest lol
19:18 Ryan_Lane on the master, do apt-get install salt-master
19:18 Ryan_Lane then, do: salt '*' pkg.install 'salt-minion'
19:18 Ryan_Lane err
19:18 Ryan_Lane then, do: salt '*' pkg.install 'salt-minion' refresh=True
19:19 bastion1704_ forrest: if I delete the key it is unable to rejoin
19:19 renoirb How many times did you do that yourself, i'm afraid of the states definitions… i do not have a parallel environment to test that
19:19 forrest bastion1704_, ok there has to be something else going on then, is the master even seeing the attempt?
19:19 renoirb Ryan_Lane: I thought you suggested to … oh, you did refresh=True
19:19 renoirb ok
19:19 pass_by_value good observation (on the runner.manage.status) btw renoirb
19:20 renoirb thx pass_by_value <- ref by pointer
19:20 renoirb :)
19:21 renoirb Look how I'm doing it the sharing of SSL certs Ryan_Lane https://gist.github.com/renoirb/7680862
19:21 Ryan_Lane yeah, looks sane
19:21 Ryan_Lane can you reference grains from pillars?
19:22 cym3try joined #salt
19:22 renoirb I think yes, it doesn't complain there
19:22 Ryan_Lane ah. you can. I forgot I'm doing that elsewhere :D
19:22 renoirb it creates the files. when I "-----BEGIN (whatever) --- END CERTIFICATE -----"   but as ONE line
19:23 forrest bastion1704_, I've gotta head out man, I'll try to log in when I get home, but no promises as I've gotta get some stuff done, stupid holidays
19:23 renoirb all with appropriate file name and content
19:24 amahon joined #salt
19:26 r0cketman joined #salt
19:28 elfixit joined #salt
19:29 jalbretsen joined #salt
19:32 dwyerj hey, so i was playing around with making users.  I cant make a used with a gid unless the gid already exists
19:32 dwyerj would that just be a centos thing ?
19:32 kamal_ Does anyone use saltstack for managing iptables?
19:35 torrancew dwyerj: no, that's pretty common
19:35 dwyerj yeah i thought that was the case, but others were saying i could just slap in a gid.
19:36 renoirb Problem Ryan_Lane is that if I create a file in both /srv/private/pillar AND /srv/pillar/top.sls, for db/srv/private/pillar/mysql/db8.sls
19:36 srage joined #salt
19:36 pass_by_value kamal_ These might be helpful (if you have not already gone through them)
19:36 pass_by_value http://docs.saltstack.com/ref/modules/all/salt.modules.iptables.html
19:36 pass_by_value http://docs.saltstack.com/ref/states/all/salt.states.iptables.html
19:37 renoirb Ryan_Lane: have you ever done such a salt stack upgrade on webplatform servers before?
19:37 Ryan_Lane yes, often
19:37 Ryan_Lane do the master, then the minions
19:37 renoirb ok
19:37 kamal_ Thanks pass_by_value, but I've already gone through them, the iptables state didn't really work out well for me
19:38 cym3try joined #salt
19:38 kamal_ pass_by_value: I was thinking of just doing file.manage /etc/default/iptables or so, and prepending iptables-restore < /etc/default/iptables to /etc/rc.local
19:38 kamal_ That's how I do it manually, but I'm curious how others would do it with SaltStack
19:39 kamal_ I'm probably not using the iptables state properly
19:40 pass_by_value Hmm this blog post (http://www.nineproductions.com/saltstack-iptables-state/) might be some help
19:41 kamal_ nice, thanks
19:42 kamal_ hmm that's what I just said, awesome
19:42 kamal_ Thanks again pass_by_value
19:43 pass_by_value np, I hope it helps :)
19:46 zandy joined #salt
19:48 Voziv left #salt
19:52 mgw joined #salt
19:53 r0cketman left #salt
19:56 Corey scrollback end
20:00 Nazca__ joined #salt
20:01 jcsp1 joined #salt
20:01 littleidea joined #salt
20:04 Corey So what is this infracoders thingy?
20:06 dwyerj is it possible to have a state file in top.sls. but that is not ran, only copied across
20:06 dwyerj then i can run that single state on a few machines ?
20:07 mgw has anyone had trouble using virt.set_autostart?
20:08 mgw dwyerj: you cn have an xyz.sls and then excute it lke this: 'salt -L minion1,minion2 state.sls xyz'
20:09 Nazca joined #salt
20:09 lemoi joined #salt
20:09 lemoi UtahDave ping
20:11 kermit joined #salt
20:11 rlarkin is it fair to say saltstarters.org is the 'goto' place for examples?
20:14 renoirb Hey guys, I am trying to upgrade salt stack on a minion node, my master has the new version, but the minion (with 0.16.3 installed with git I suppose) do not work with salt 'db8*' pkg.install salt-minion refresh=True version='0.17.2'
20:14 dwyerj hey mgw, i still get  No matching sls found for 'sysctl-limits.sls' in env 'base'
20:14 dwyerj unless i have it in my top.sls
20:15 renoirb oh, no, in cat /etc/apt/sources.list.d/ I have something for salt stack on the minion
20:17 Nazca ccccccbjtbbdtndcjjujgdbdfefedddufbvldtuflctr
20:17 Nazca *glares at window focus*
20:18 mgw dwyerj: where is sysctl-limits.sls in relation to your file_roots?
20:18 mgw and what command are you running?
20:18 mgw be sure you run state.sls sysctl-limits, not state.sls sysctl-limits.sls
20:18 mgw dwyerj: ^
20:20 rojem joined #salt
20:29 littleidea joined #salt
20:29 srage_ joined #salt
20:29 pipps joined #salt
20:32 iMil heya guys
20:32 iMil it's out at last ! http://boutique.ed-diamond.com/598-thickbox_default/lm166.jpg
20:32 iMil 2 articles of mine in GNU/Linux France Magazine about Salt
20:35 bastion1704_ what would explain that /var/run/salt/minion/ is empty, no socket ?
20:38 _ikke_ minion not running, socket being created on a different place, no permissions to create socket, bug in code, configuration error
20:38 _ikke_ misaligned expectations
20:38 pass_by_value congrats iMil
20:39 iMil congrats Salt!
20:39 iMil I write a lot for that magazine
20:39 iMil it is pretty reknown here in france
20:40 iMil expect more users :)
20:40 iMil -which salt deserves-
20:40 renoirb Is there a known issue to upgrade salt 0.16.3 to 0.17.  Package says it is at version 0.17, but salt-call test.version says still 0.16
20:41 renoirb Fun enough, on minion, even when there is no salt-minion running, salt-call test.version would return local: 0.16.3
20:41 zooz joined #salt
20:41 iMil for those not speaking french, it says "orchestraton without using a monster"
20:41 renoirb no idea what it can be
20:41 swiftie joined #salt
20:43 kiorky renoirb: did you restarted all daemons ?
20:43 kiorky renoirb: your minion, specially.
20:43 renoirb kiorky: on the minion?
20:44 renoirb sure, like I said, I even killed locally the salt-minion, then ran salt-call test.version and it returned something
20:45 swiftie Install salt-cloud, get errors about /tmp/somefolder/setup.py doesn't exist
20:45 renoirb The way I installed that minion was with:  wget -O - http://bootstrap.saltstack.org | sh -s -- -P git v0.16.3
20:45 kiorky renoirb: are you sure the upgrade did it, how are you isntalling it? via your package manager ?
20:46 zandy joined #salt
20:46 renoirb kiorky: salt-minion 0.17.2-2lucid1  when I do dpkg --list | grep salt
20:47 kiorky renoirb: find / -name salt-minion
20:47 renoirb I upgraded from the master with: salt 'nodename' pkg.install salt-minion refresh=True
20:47 kiorky renoirb: (just checking that you dont have any concurrent install left over)
20:47 renoirb kiorky: are you searching for a folder or a file name?
20:48 renoirb find / -name salt-minion -type d
20:48 renoirb find / -name salt-minion -type d
20:48 kiorky renoirb: no, a file.
20:48 renoirb only one. Sorry, I should had said it instead of pasting :/
20:48 kiorky renoirb: the salt-minion script.
20:49 pipps_ joined #salt
20:50 renoirb I got: /tmp/git/salt/scripts/salt-minion, /tmp/git/salt/pkg/rpm/salt-minion, /tmp/git/salt/pkg/suse/salt-minion, /tmp/git/salt/build/scripts-2.6/salt-minion, /usr/bin/salt-minion, /var/lib/update-rc.d/salt-minion
20:51 snave joined #salt
20:51 kiorky renoirb: what python -c "import salt;print salt.version.__saltstack_version__"
20:51 kiorky returns
20:51 elfixit joined #salt
20:56 renoirb kiorky: an error 'module' object has no attribute '__saltstack_version__'
20:58 cachedout joined #salt
21:00 rojem joined #salt
21:03 KyleG I just wanted to put a random plug in here that my place of employment is looking for 2 Python developers here in Los Angeles. So if anybody here is looking or knows someone who is looking…let me know.
21:08 snuffeluffegus joined #salt
21:10 zach joined #salt
21:12 kiorky renoirb: typo
21:12 kiorky uhm no
21:12 kiorky renoirb: python
21:12 kiorky import salt
21:12 kiorky -> give the output
21:13 kho joined #salt
21:13 renoirb kiorky: no worries. I made the mistake to install using the wget method
21:13 renoirb wget -O - http://bootstrap.saltstack.org | sh -s -- -P git v0.16.3
21:14 renoirb and that problem occurs only on a test machine, I'll drop the installation and do the same way as the other nodes using the PPA :)
21:14 renoirb I won't run wget … | sh ever again :)
21:14 kryptt joined #salt
21:14 kiorky renoirb: 0.16.3
21:14 kiorky its what you isntalled
21:15 kiorky the 0.16.3 tag that explain things
21:15 renoirb At the time I did, yes. Because my master, and the other minions were at this version a few minutes ago.
21:15 renoirb sure, it explains it.   I figured out it was the cause.
21:16 kiorky renoirb: replace the 0.16.3 thing by the release you want :)
21:16 kryptt how should I do something like: http://pastebin.com/vpwXV8bS ?
21:16 kiorky renoirb: https://github.com/saltstack/salt/releases
21:17 kryptt state2 doesn't have access to state1's x variable
21:17 kryptt I want to pass a parameter to an included salt state
21:18 kiorky load state2 as a macro and make you file.managed thing wrapped aroung a macro that you can call with your x as a variable.
21:18 renoirb Thanks a bunch kiorky
21:18 * renoirb is leaving
21:20 kiorky kryptt: http://pastebin.com/Ppr9Eq69 something like that
21:21 kryptt great, that should work, thanks!
21:29 kryptt I'm getting  TypeError: 'TemplateModule' object is not callable
21:30 kryptt in rendering state1.sls
21:30 kiorky paste your 2 files.
21:31 cewood joined #salt
21:31 xmltok joined #salt
21:32 kryptt state2: http://pastebin.com/VSQwGYG2
21:33 mwmnj joined #salt
21:33 kryptt state1: http://pastebin.com/rF4NAVek
21:35 harobed_ joined #salt
21:35 srage joined #salt
21:35 kiorky kryptt: sbt.sbt ...
21:35 harobed_ joined #salt
21:36 kryptt grr, thanks
21:36 kiorky you should read http://jinja.pocoo.org/docs/templates/#import-context-behavior
21:37 kiorky kryptt: :)
21:37 kiorky ** http://jinja.pocoo.org/docs/templates/#import
21:37 srage__ joined #salt
21:41 kryptt cool, thanks
21:42 srage joined #salt
21:43 kryptt on another line: if I have my statefiles via gitfs how do i refresh it?
21:43 kryptt so my changes get picked up quicker ?
21:45 srage_ joined #salt
21:46 zandy joined #salt
21:46 srage__ joined #salt
21:52 pniederw I think there is a config option for the polling interval
21:53 kryptt cool, thanks
21:53 cdcalef joined #salt
21:56 lemoi joined #salt
21:57 lemoi UtahDave ping
21:57 jslatts joined #salt
21:57 Gifflen joined #salt
21:57 UtahDave lemoi: pong!
21:58 lemoi remember we were talking about some nodes which refuse to connect to the master, or rather the master doesn't see their connection attempts?
21:58 lemoi well, we setup a new master and it exhibits the same behaviour
21:58 UtahDave lemoi: yeah, did you figure out what was going on?
21:58 lemoi I see traffic via tcpdump but it stops after ~~30 packets or so
21:59 lemoi salt-key -L doesn't show anything
21:59 lemoi a simple test.ping returns nothing
21:59 mgw joined #salt
21:59 UtahDave lemoi: is it the exact same servers?
21:59 lemoi we have the same exact same setup on at least another dozen nodes and it works just fine
21:59 lemoi yes, always same three nodes
21:59 UtahDave lemoi: are they physical servers or virtual?
22:00 pipps_ joined #salt
22:00 lemoi physical
22:01 UtahDave lemoi: could there be something odd going on with the nics? Do those servers have the same nics and same driver patches?
22:02 mgw Any ideas why virt.set_autostart seems to do nothing at all? It always returns False.
22:02 lemoi I highly doubt it. these boxes are in production, working just fine
22:03 lemoi as I said, there's initial communication when the minion is started,ie. it does attempt connecting to the salt-master
22:03 UtahDave mgw: I'm really not sure. Haven't used virt yet.
22:04 * Gareth waves
22:04 Gifflen_ joined #salt
22:04 UtahDave lemoi: what's the output of     salt-call -l debug       ?
22:04 sroegner__ joined #salt
22:04 lemoi one sec
22:06 lemoi brings up the --help stuff
22:10 Gifflen joined #salt
22:10 redbeard2 joined #salt
22:10 redbeard2 left #salt
22:14 lendar joined #salt
22:16 JasonSwindle joined #salt
22:18 worstadmin joined #salt
22:21 swiftie salt-call returns command not found. What did I forget to install or setup?
22:21 lemoi OS?
22:22 zandy joined #salt
22:22 swiftie ubuntu
22:23 swiftie 12.04
22:24 pass_by_value does salt --versions-report print data swiftie?
22:25 swiftie yes it does.           Salt: 0.17.2          Python: 2.7.3 (default, Sep 26 2013, 20:03:06)          Jinja2: 2.6        M2Crypto: 0.21.1  msgpack-python: 0.1.10    msgpack-pure: Not Installed        pycrypto: 2.4.1          PyYAML: 3.10           PyZMQ: 13.0.0             ZMQ: 3.2.2
22:27 dangerousbeans joined #salt
22:27 UtahDave swiftie: did you install salt-minion  ?
22:27 dangerousbeans left #salt
22:27 swiftie no I didn't,
22:30 swiftie Thanks! would anyone know a thing about spawning a windows ec2 instance from aws
22:34 scoates joined #salt
22:34 scoates Hello.
22:35 scoates Is there any way to specify an additional [set of] identity file[s] when using git.latest's submodule:True ? GitHub does one deploy key per repo.
22:36 pass_by_value left #salt
22:38 pniederw one last time, anybody around who knows how to use/deploy salt-contrib? I need something like the archive.extracted state.
22:40 jesusaurus is there a known bug around highstate returning true if the minion encounters an unhandled exception?
22:42 ggoZ joined #salt
22:43 forrest joined #salt
22:44 forrest bastion1704_, did you figure that out?
22:45 mgw UtahDave: thanks, i looked at the code and I don't see an obvious explanation
22:46 zandy joined #salt
22:54 UtahDave pniederw: just drop the module  you want in   /srv/salt/_modules on your salt master
22:55 pniederw that easy? thanks a lot
22:56 jrgifford joined #salt
22:57 pniederw which brings up the question, does gitfs handle git submodules?
22:58 UtahDave pniederw: I don't know for sure, but I'd be surprised if it does.
23:01 opapo joined #salt
23:02 pniederw damn, that would have been too elegant :-)
23:04 UtahDave pniederw: Salt often surprises me, though, so you might want to try it
23:07 lemoi UtahDave http://pastebin.com/4pZ0mLRA
23:07 lemoi have you seen this before?
23:07 minaguib joined #salt
23:10 pentabular1 joined #salt
23:15 sroegner__ joined #salt
23:17 littleidea joined #salt
23:21 redondos joined #salt
23:21 Steve__ joined #salt
23:22 Steve__ Hi, does anyone know the correct syntax for ext_pillar for a git repository?
23:22 Steve__ I've tried a bunch of different iterations with no luck
23:22 Steve__ - git: master git+ssh://git@github.com/xxxx/PillarAWS.git
23:22 Steve__ above is most recent one
23:26 __number5__ Steve__: have you try git:// instead of git+ssh://?
23:27 Steve__ I have but can git it another try
23:28 __number5__ what's the error you have by the way?
23:28 Steve__ GitCommandError: 'git fetch' returned exit status 128: fatal: remote error:    Repository not found.
23:28 Steve__ - git: master git://github.com/xxx/PillarAWS.git
23:28 Steve__ with that configuration
23:29 Steve__ Repository is there
23:30 pipps_ joined #salt
23:32 __number5__ try - git: master https://github.com/...
23:33 Steve__ i'm using ssh keys for auth
23:33 scoates Steve__: that will happen if you have a deploy (or user) key for another repository in your ssh config, and ssh tries to send that…
23:35 Steve__ have github configured to use a deploy account so same keys for both repositories (salt and pillar)
23:35 scoates deploy keys are repository-unique, so if you're trying to send the deploy key for [x when
23:35 scoates fatfingered
23:36 scoates deploy keys are repository-unique, so if you're trying to send the deploy key for [x] when trying to check out [y], github will complain that the repo is not found
23:36 scoates it's a HUGE pain for submodules.
23:36 Steve__ understand hence deploy user
23:36 scoates ah. sorry. I misread.
23:36 Steve__ i have deploy user assigned to both repo's
23:37 Steve__ I can clone the repo from cmdline
23:37 Steve__ from same account
23:41 sebest joined #salt
23:41 Steve__ this works git clone git@github.com:xxx/PillarAWS.git
23:46 zandy joined #salt
23:49 sebest Hello, anyone using the virtualenv module?
23:50 kryptt does the npm module work ?
23:52 UtahDave sebest: very little, unfortunately
23:52 UtahDave kryptt: yeah, I believe the npm module works
23:53 kryptt do04:
23:53 kryptt 'npm.install' is not available.
23:53 kryptt but node and npm are both installed in that box
23:53 kryptt is there a specific version requirement?
23:53 kryptt python module or something I am missing?
23:53 UtahDave kryptt: what version of Salt?
23:54 forrest yea I use it sebest, what's up
23:54 forrest sebest oh the module? I usually use the state, sorry
23:55 sebest forrest: yes i think it is the state
23:55 forrest what's your question?
23:55 forrest oh ok
23:55 sebest forrest: i'd like to use a custom pypi server: our internal pypi server
23:56 sebest forrest: with pip it is pip instal -i MY_SERVER PKG
23:56 Gifflen joined #salt
23:58 forrest sebest, hmmm, have you tried using any of the options? I can't remember what the index_url value is for pip...
23:59 Linz joined #salt
23:59 kermit joined #salt
23:59 kryptt 0.17.2
23:59 carmony hey scoates :)

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