Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-07-10

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

All times shown according to UTC.

Time Nick Message
00:00 jslatts joined #salt
00:00 jschadlick left #salt
00:02 UtahDave nliadm: let me look
00:05 nliadm UtahDave: I'm referencing the try/except KeyError in Finder.__init__
00:09 jacksontj joined #salt
00:11 adrianrego joined #salt
00:14 logix812 joined #salt
00:23 StDiluted joined #salt
00:27 Xeago_ joined #salt
00:28 StDiluted so who is using environments properly
00:28 StDiluted lol
00:34 jaequery joined #salt
00:37 krissaxton joined #salt
00:40 glenbot joined #salt
00:48 oz_akan_ joined #salt
00:50 Gwayne joined #salt
00:50 Gwayne joined #salt
00:56 teskew1 joined #salt
01:13 Nexpro1 joined #salt
01:21 liuyq joined #salt
01:27 Jahkeup_ joined #salt
01:33 berto- joined #salt
01:37 krissaxton joined #salt
01:38 jslatts joined #salt
01:41 pfrog joined #salt
01:42 liuyq joined #salt
01:43 ydavid joined #salt
01:56 tpe11etier joined #salt
02:01 UtahDave joined #salt
02:02 jaequery joined #salt
02:03 carmony joined #salt
02:06 atweiden after provisioning dozens of digital ocean servers, i can no longer communicate with any of them
02:06 atweiden http://pastebin.com/DK09RMfb
02:06 atweiden i asked do support if this was an issue on their end, but i was running salt-cloud -p profile nickname concurrently x12
02:06 UtahDave use single quotes around your command instead of double quotes
02:07 alazylearner joined #salt
02:07 atweiden UtahDave: test.ping fails
02:07 UtahDave atweiden: there's a limit to the number of virtual machines that digital ocean will allow you to create.
02:07 UtahDave did you create all 12 at once?
02:07 atweiden yes, i def went over do's limit
02:07 atweiden (fwiw support told me they increased my limit but turns out they hadn't yet)
02:08 atweiden i was running salt-cloud -p profile nickname in 12 separate tmux panes
02:08 atweiden provisioning 16 servers each
02:08 atweiden :)
02:08 UtahDave yeah, so salt-cloud wasn't able to create all the vms
02:08 UtahDave delete them from your
02:09 UtahDave from your DO account and recreate them with salt-cloud
02:09 UtahDave or you can manually install Salt on them and add them to
02:09 atweiden k
02:09 UtahDave Salt
02:09 UtahDave I did this exact thing today
02:09 atweiden strange because i can delete with salt-cloud, but can't communicate with `salt`
02:09 atweiden ah i see
02:09 atweiden yea there were errors during the creation
02:09 atweiden but the boxes got created nonetheless
02:09 atweiden still, i can't even ping boxes that i *know* salt is installed on
02:12 jaequery joined #salt
02:13 UtahDave atweiden: right, so salt-cloud interfaces directly with the cloud.  The vms got created
02:15 mgw joined #salt
02:16 UtahDave but when you hit that limit and salt-cloud hit that exception, the salt-minion didn't get installed on the vms
02:23 atweiden yep
02:35 kleinishere joined #salt
02:36 StDiluted joined #salt
02:38 krissaxton joined #salt
02:41 Jahkeup_ joined #salt
02:45 falican joined #salt
02:54 ronc joined #salt
02:57 kho joined #salt
03:01 kho joined #salt
03:07 whit joined #salt
03:10 oz_akan_ joined #salt
03:15 jeddi joined #salt
03:18 liuyq joined #salt
03:19 wilkystyle joined #salt
03:29 StDiluted Anyone awake?
03:30 koolhead17 joined #salt
03:30 koolhead17 joined #salt
03:31 emocakes joined #salt
03:32 dthom91 joined #salt
03:34 oz_akan_ joined #salt
03:34 wilkystyle StDiluted: barely :P
03:36 StDiluted hehe
03:36 falican very
03:36 StDiluted I think I have an idea how to handle what I'm doing
03:36 StDiluted so go back to sleep :)
03:37 wilkystyle :)
03:39 krissaxton joined #salt
03:40 mgw1 joined #salt
03:42 mgw1 StDiluted: always
03:43 StDiluted lol
03:43 StDiluted :)
03:54 dthom91 joined #salt
04:00 aat joined #salt
04:01 Katafalkas joined #salt
04:02 mikedawson joined #salt
04:16 wilkystyle left #salt
04:17 kleinishere joined #salt
04:17 jayd3e joined #salt
04:18 linjan_ joined #salt
04:24 jaequery joined #salt
04:24 luff joined #salt
04:26 luff left #salt
04:28 dthom91 joined #salt
04:32 raydeo joined #salt
04:37 pfrog joined #salt
04:39 krissaxton joined #salt
04:44 oz_akan_ joined #salt
04:49 lazyguru_ joined #salt
04:49 alazylearner joined #salt
04:52 jalbretsen joined #salt
04:54 lazyguru joined #salt
04:58 morganfainberg left #salt
05:04 d10n joined #salt
05:04 mjulian joined #salt
05:04 mjulian joined #salt
05:05 herlo joined #salt
05:06 herlo joined #salt
05:13 mgw joined #salt
05:16 jdenning joined #salt
05:22 kleinish_ joined #salt
05:28 knightsamar joined #salt
05:31 jaequery joined #salt
05:32 morganfainberg joined #salt
05:36 druonysus joined #salt
05:36 druonysus joined #salt
05:40 krissaxton joined #salt
05:50 ronc joined #salt
05:51 ronc joined #salt
05:51 kleinishere joined #salt
05:57 dthom91 joined #salt
06:04 liuyq joined #salt
06:18 liuyq joined #salt
06:22 Newt[cz] joined #salt
06:27 kleinishere joined #salt
06:31 auser joined #salt
06:31 middleman_ joined #salt
06:40 kolaman joined #salt
06:40 krissaxton joined #salt
06:49 aranhoide joined #salt
06:58 dthom91 joined #salt
07:10 kadel joined #salt
07:14 krissaxton joined #salt
07:15 pfrog joined #salt
07:19 carlos joined #salt
07:25 efixit joined #salt
07:26 balboah joined #salt
07:30 bluemoon joined #salt
07:33 druonysus joined #salt
07:33 druonysus joined #salt
07:38 scott_w joined #salt
07:57 mackstic1 joined #salt
08:06 krissaxton joined #salt
08:08 backjlack joined #salt
08:17 pjs_ joined #salt
08:19 up_the_irons joined #salt
08:24 felixhummel joined #salt
08:28 zooz joined #salt
08:30 isomorphic joined #salt
08:32 kleinishere joined #salt
08:35 Furao joined #salt
08:35 krak3n` joined #salt
08:45 yota joined #salt
08:49 adrianrego left #salt
08:52 krak3n` joined #salt
08:52 jpaetzel joined #salt
08:53 ydavid joined #salt
08:55 bemehow joined #salt
09:00 fredvd joined #salt
09:06 Furao left #salt
09:20 fredvd joined #salt
09:25 aranhoide joined #salt
09:25 nickray i'm having difficulty running salt-master (0.15.3) as non-root. e.g., it's complaining about /var/run/salt-master.pid
09:26 dzen nickray: do you have some logs ? you must have some permissions issues
09:26 dzen try setting the pid file path to /tmp in the master configuration
09:28 nickray ah yes... and /etc/salt/master to that user too. i was following http://docs.saltstack.com/topics/nonroot.html a bit too blindly instead of thinking.
09:29 nickray i have the following use case that i'm wondering whether it's reasonable... performing real-time monitoring of active processes (algo-trading), the idea being that the minions send updates, say every 2-3 seconds.
09:30 whiskybar joined #salt
09:32 Paull joined #salt
09:34 krissaxton joined #salt
09:35 jeddi nickray: i suspect there are better tools for this purpose.
09:36 nickray jeddi: maybe, maybe not... after all this is zeromq/msgpack based, and if i already have processes running on all production servers, i might as well make good use of them?
09:37 EsmuPliks joined #salt
09:39 EsmuPliks hey guys, I found the config option on the master node for ACLs, the doc / comments show how to restrict access for a particular user to particular modules / commands
09:39 EsmuPliks is there a way to restrict a user's access to particular nodes or a group?
09:40 bluemoon joined #salt
09:45 mephx joined #salt
09:49 schvin joined #salt
09:49 tmmt_ joined #salt
09:52 carxwol_ joined #salt
09:52 nickray_ joined #salt
09:52 JordanRi1ke joined #salt
09:52 oc_ joined #salt
09:52 seubert_ joined #salt
09:52 bttf_ joined #salt
09:52 viq_ joined #salt
09:52 viq_ joined #salt
09:52 setient_ joined #salt
09:52 jchen joined #salt
09:52 t4ls0 joined #salt
09:52 eskp_ joined #salt
09:52 eskp_ joined #salt
09:53 martineg1 joined #salt
09:53 Linuturk_ joined #salt
09:53 Linuturk_ joined #salt
09:57 jaequery joined #salt
09:58 Xeago_ joined #salt
10:00 Sypher joined #salt
10:03 baoboa joined #salt
10:03 krissaxton joined #salt
10:05 jesusaurus joined #salt
10:05 rhand joined #salt
10:05 krissaxton joined #salt
10:12 LucasCozy joined #salt
10:12 LucasCozy joined #salt
10:16 Mrono joined #salt
10:16 Mrono joined #salt
10:18 nickray_ left #salt
10:18 nickray_ joined #salt
10:19 jeddi joined #salt
10:19 Ivo joined #salt
10:22 Koma joined #salt
10:22 mickours joined #salt
10:28 MrTango joined #salt
10:34 david_a joined #salt
10:37 Mrono joined #salt
10:37 Mrono joined #salt
10:42 jspc Anybody take a look at https://github.com/saltstack/salt/pull/6080 please?
10:45 bluemoon joined #salt
10:48 jbunting joined #salt
10:54 Ivo joined #salt
10:55 giantlock joined #salt
10:56 emocakes joined #salt
11:07 jbunting1 joined #salt
11:12 ruimarinho joined #salt
11:13 ruimarinho when running the highstate, even if I require the python-augeas package, I still get "Module function augeas.setvalue is not available"
11:13 ruimarinho I tried restarting the minion itself, but no go
11:13 ruimarinho what am I missing?
11:24 zooz joined #salt
11:29 kadel joined #salt
11:31 felixhummel joined #salt
11:54 blee joined #salt
11:55 justThisGuy joined #salt
11:56 justThisGuy howdy
11:57 justThisGuy can any pillar expert in the house tell me what I'm doing wrong with http://pastebin.com/TL0pFm49?
11:57 justThisGuy I mean, http://pastebin.com/TL0pFm49
11:57 diegows joined #salt
11:58 agend joined #salt
12:01 jspc justThisGuy: indentation on lines 6 and 7
12:02 kadel joined #salt
12:04 Nexpro1 joined #salt
12:06 logix812 joined #salt
12:11 Kholloway joined #salt
12:11 bemehow joined #salt
12:12 bemehow joined #salt
12:13 unicoletti_ joined #salt
12:15 Jahkeup_ joined #salt
12:17 Jahkeup__ joined #salt
12:26 KennethWilke joined #salt
12:29 justThisGuy unicoletti: thanks
12:29 justThisGuy let's check
12:30 justThisGuy TypeError: argument of type 'StrictUndefined' is not iterable
12:30 justThisGuy apparently it's not that... damn
12:30 jslatts joined #salt
12:30 justThisGuy still, had identation issues as well, so thanks
12:34 jbunting joined #salt
12:37 jonconley joined #salt
12:44 Gifflen joined #salt
12:47 kadel joined #salt
12:50 emocakes joined #salt
12:58 ronc joined #salt
12:59 juicer2 joined #salt
13:00 anteaya joined #salt
13:02 oz_akan_ joined #salt
13:07 mattmb joined #salt
13:10 brianhicks joined #salt
13:11 mikedawson joined #salt
13:13 rigdon joined #salt
13:16 timl0101 joined #salt
13:17 rigdon I'm trying to do an automated Python install build and install for CentOS and have a state with the list of packages (Just from group "Development Tools" plus a couple extra) http://pastebin.com/jPhT5VM5 . How do I require this from another state? Here is my init with my failed attempt http://pastebin.com/8iGtvGV3
13:18 lemao joined #salt
13:20 dh__ joined #salt
13:22 Sacro joined #salt
13:22 mperry_ joined #salt
13:22 joonas_ joined #salt
13:22 cwright_ joined #salt
13:22 Ixan joined #salt
13:22 oz_akan_ joined #salt
13:23 gadams_ joined #salt
13:23 lex__ joined #salt
13:23 tpe11etier joined #salt
13:24 dh joined #salt
13:24 lynxman_ joined #salt
13:24 SirScott_ joined #salt
13:24 elements joined #salt
13:24 retr0h_ joined #salt
13:24 rcassidy_ joined #salt
13:25 TheSojourner joined #salt
13:25 TheSojourner joined #salt
13:25 madduck_ joined #salt
13:25 madduck_ joined #salt
13:25 godog_ joined #salt
13:26 Nexpro1 joined #salt
13:26 aat joined #salt
13:29 echos_ joined #salt
13:29 bturner joined #salt
13:29 joonas joined #salt
13:29 [vaelen]_ joined #salt
13:29 toastedpenguin joined #salt
13:30 N-Mi joined #salt
13:30 N-Mi joined #salt
13:30 morganfainberg joined #salt
13:30 beardo__ joined #salt
13:30 Jarus joined #salt
13:31 djinni` joined #salt
13:31 teskew1 joined #salt
13:31 dhgbrg joined #salt
13:31 g3cko joined #salt
13:31 pnl joined #salt
13:32 EugeneKay joined #salt
13:32 mzito___ joined #salt
13:33 rcassidy joined #salt
13:34 eskp joined #salt
13:34 eskp joined #salt
13:34 codysoyland joined #salt
13:35 LyndsySimon joined #salt
13:40 jaequery joined #salt
13:41 Jarus joined #salt
13:41 dhgbrg joined #salt
13:42 EugeneKay joined #salt
13:42 racooper joined #salt
13:43 Nexpro joined #salt
13:44 _FL1SK joined #salt
13:45 eculver joined #salt
13:45 karlp_ joined #salt
13:45 rsimpkin1 joined #salt
13:45 Mrono_ joined #salt
13:45 gadams joined #salt
13:45 diegows_ joined #salt
13:45 mdrnstm joined #salt
13:46 mickours_ joined #salt
13:46 ferai joined #salt
13:46 kaptk2 joined #salt
13:46 mjulian joined #salt
13:46 puppet joined #salt
13:47 godog joined #salt
13:48 Linuturk joined #salt
13:48 lyddonb_ joined #salt
13:49 m_georgez joined #salt
13:50 jpaetzel_ joined #salt
13:51 [vaelen] joined #salt
13:52 __d10n__ joined #salt
13:53 mgw joined #salt
13:54 kallek joined #salt
13:55 aranhoide joined #salt
13:56 xerxas_ joined #salt
13:56 g3cko joined #salt
13:58 zooz joined #salt
13:58 beardo__ joined #salt
13:59 lex__ joined #salt
13:59 godber joined #salt
13:59 toastedpenguin when using pkgrepo.managed can you define it in a states file like any other states e.g. create a dir called repo, init.sls etc.?
13:59 N-Mi joined #salt
14:01 twiedenbein joined #salt
14:01 up_the_irons joined #salt
14:04 timoguin_work joined #salt
14:04 m_georgez left #salt
14:07 opapo joined #salt
14:08 fivethre1o joined #salt
14:08 mikedawson_ joined #salt
14:09 s4muel_ joined #salt
14:09 lbotti joined #salt
14:09 Valda joined #salt
14:10 Kamal joined #salt
14:10 probably1ine joined #salt
14:10 ange_ joined #salt
14:10 Mrono joined #salt
14:11 Gifflen joined #salt
14:11 nickray_ with the mongo returner... who writes? the minion?
14:12 _ioni joined #salt
14:12 g3cko joined #salt
14:12 Gifflen joined #salt
14:12 darrend_ joined #salt
14:13 lmnts joined #salt
14:14 Bastion2202 joined #salt
14:14 yml_ joined #salt
14:15 jeffrub`` joined #salt
14:15 _ioni joined #salt
14:15 soukihei_ joined #salt
14:16 thingles joined #salt
14:16 zooz joined #salt
14:16 Tekni joined #salt
14:17 SEJeff_work nickray_, yes
14:17 that_guy_ joined #salt
14:17 johnsocp_ joined #salt
14:18 defunctzombie_zz joined #salt
14:18 twiedenbein joined #salt
14:19 MTecknology joined #salt
14:21 farra joined #salt
14:23 Guest45590 joined #salt
14:25 LyndsySimon If I have "watch: pkg: <package>" on a state declaration, is "require: pkg: <package" redundant?
14:25 mgw joined #salt
14:27 Jahkeup_ joined #salt
14:27 aberant joined #salt
14:29 oliv_mc joined #salt
14:31 jeddi joined #salt
14:33 aranhoide how do I specify the instance size/image in a digital ocean cloud-profiles entry
14:33 aranhoide ?
14:33 pcarrier joined #salt
14:33 aranhoide the readthedocs documentation only seems to address providing my client id and api key
14:34 jbunting joined #salt
14:34 zooz_ joined #salt
14:34 aranhoide I mean, the providers config, not the profiles
14:35 kho joined #salt
14:36 teskew joined #salt
14:37 Tekni joined #salt
14:37 kho joined #salt
14:37 octarine joined #salt
14:37 DredTiger joined #salt
14:40 LyndsySimon You should be able to say "size: <name of teir>".
14:41 mgw joined #salt
14:41 Tekni joined #salt
14:41 LyndsySimon I'm far from an expert, but IIRC that's what I did for Linode, and it's not in the docs there either.
14:41 kermit joined #salt
14:42 StDiluted joined #salt
14:48 timoguin_work aranhoide, I just did this yesterday. Lemme look at my config
14:48 cnelsonsic joined #salt
14:48 cnelsonsic left #salt
14:49 jacksontj joined #salt
14:49 aranhoide LyndsySimon, timoguin_work: thanks a lot! I think I found how to query it,  salt-cloud --list-images digital_ocean and salt-cloud --list-sizes digital_ocean
14:49 timoguin_work you don't specify the size in providers.d, but in profiles.d
14:50 timoguin_work in my providers.d i put digitalocean.conf that creates the alias "do"
14:50 timoguin_work do:
14:50 timoguin_work provider: digital_ocean
14:50 timoguin_work then the client key and api key
14:50 aranhoide timoguin_work: I see, thanks
14:51 aranhoide that part I had already found in the docs
14:51 timoguin_work in cloud.profiles.d i have [arbitraryname].conf
14:51 aranhoide what I was missing was how to find the size and image to feed to the profile, and I think I found that (see above).  I'm currently deploying an instance, let's see how it goes..
14:52 timoguin_work cool. "size: 512MB" is what i have in mine cloud.profiles.d under my two definitions
14:52 timoguin_work lemme know if you need a pastebin or something
14:53 aranhoide yup, but that doesn't seem to be available in the Amsterdam datacenter, for some reason
14:53 aranhoide may be temporary
14:53 aranhoide no, it's OK, I just launched a 1GB instance for testing and that seems to work
14:53 aranhoide timoguin_work: thanks a lt! :)
14:53 aranhoide *lot
14:53 nrub joined #salt
14:56 StDiluted morning all
14:56 jacksontj morning :)
14:57 Tekni joined #salt
14:57 teskew joined #salt
14:58 noob2 joined #salt
14:58 toguin_ joined #salt
14:59 noob2 silly question but how does one reference the grains ip_interfaces in a jinja template?  i was thinking {{ grains['ip_interfaces']['eth0']}} does that look right?
14:59 pfrog joined #salt
15:00 kleinishere joined #salt
15:01 lineman60 joined #salt
15:01 jalbretsen joined #salt
15:03 toastedpenguin trying to use the pkgrepo.managed states and I am getting this error: Failed to confirm config of repo local: coercing to Unicode: need string or buffer, NoneType found
15:03 ChanServ joined #salt
15:03 UForgotten joined #salt
15:03 Newt[cz] joined #salt
15:03 Nexpro1 joined #salt
15:03 jacksontj noob2: i believe that is correct, grains is just going to be a dictionary that you can pull stuff out of
15:03 ChanServ left #salt
15:04 noob2 ok cool :)
15:04 noob2 thanks
15:04 p3rror joined #salt
15:04 opapo joined #salt
15:04 krak3n` joined #salt
15:04 Xeago joined #salt
15:04 StDiluted that looks right, noob
15:04 jaequery joined #salt
15:04 jacksontj i also believe you can use dot notation in jinja-- but i stick with the dict style interface-- less confusing :)
15:05 mnemonikk joined #salt
15:05 FreeSpencer joined #salt
15:05 noob2 yeah that's easiest to understand
15:05 noob2 templates default to jinja right?
15:06 StDiluted Is anyone using environments that has time to explain to me how they work?
15:06 StDiluted template: jinja in your managed file state will tell it to use jinja
15:08 whiskybar joined #salt
15:08 lynxman joined #salt
15:11 aranhoide timoguin_work: when trying to initialize a digital ocean instance with the default setup script it will ask me for a root password.  did you get that problem?
15:11 aranhoide (that is, when the script tries to ssh into the newly created machine)
15:12 jslatts joined #salt
15:13 chrisgilmerproj joined #salt
15:20 makoun joined #salt
15:20 KuduIO joined #salt
15:21 Tekni joined #salt
15:21 nliadm StDiluted: they're slightly insane, imho
15:21 Gifflen joined #salt
15:22 nliadm in your top file, the "second level" of keys matches both up and down
15:22 jacksontj StDiluted: they can be useful -- but from what i gather not a lot of people use them
15:22 jacksontj i'll give you an example-- lets say i have 2 datacenters, each has a pre-prod and a prod environment in them
15:22 jacksontj then i can use the env to use the same salt master for both environments within the datacenter
15:22 elfar joined #salt
15:22 StDiluted sure, that I understand
15:23 nliadm that is, if the minion matches the glob, it selects for the environment the glob is under AND all the states under hte glob
15:23 StDiluted I'm trying to understand how the structure of the file_roots works
15:23 StDiluted when using environments
15:23 StDiluted we have 6 or 7 environments
15:23 StDiluted and about 10 roles under that
15:23 jacksontj you would have a directory per env
15:24 jacksontj i'd actually suggest ussing the gitfs backend
15:24 jacksontj then its a branch per env-- and then you can nicely merge from pre-prod to prod :)
15:24 jacksontj oh, g2g
15:24 jacksontj train is arriving!
15:24 StDiluted but I want to be able to have a dev environment that has different states (maybe different software versions, or such) that can be pushed to instances depending on a tag in EC2
15:24 StDiluted kk
15:24 nliadm I would suggest against the gitfs backend
15:25 nliadm the env system works extremely counter-intuitive to how git works
15:26 Jahkeup_ joined #salt
15:26 makoun joined #salt
15:28 nliadm in my env, we had weird behaviour, explained it in an issue, and got told it was expected behaviour :/
15:29 nliadm which it is, I just happen to think it's bad behaviour
15:30 jschadlick joined #salt
15:30 SEJeff_work nliadm, Yes, the gitfs backend needs to be rewritten using libgit2 wholesale
15:30 nliadm it's not even that
15:31 nliadm it's that the top.sls is inside environments, but is composited across all environments
15:31 azbarcea joined #salt
15:31 nliadm so if I want to try a new state, I can't change the top in one environment, because it shows up in production instantly
15:32 SEJeff_work That is very strange
15:32 nliadm you have to build branches AND add envs to the master/base top.sls
15:33 tpe11etier joined #salt
15:33 nliadm which negates the benefit of using git
15:33 Gifflen joined #salt
15:34 nliadm it also seems like envs are most useful when you've got completely separate states in each env, which is not generally how git is used
15:37 Tekni joined #salt
15:40 StDiluted that was my main question, i guess.. should i replicate all the staes in each env and then make necessary changes in each?
15:40 Tekni joined #salt
15:40 aranhoide has anyone successfully provisioned a digital ocean instance using salt-cloud automatically?  that is, without having to check e-mail to find the root password and entering it manually
15:41 aranhoide the main point of using salt-cloud for me is that I can provision instances automatically.  that works in EC2, but not digital ocean, AFAICT?
15:42 nkuttler aranhoide: it's probably a bad idea and not what you want to hear :) but parse the incoming emails + update pillar?
15:43 nkuttler oh wait, never mind..
15:48 unicoletti left #salt
15:48 Tekni joined #salt
15:48 loolglool joined #salt
15:49 jacksontj joined #salt
15:50 aranhoide nkuttler: something roughly like that would perhaps be workable as a last resource.  fortunately, it seems you can provide SSH keys in their web interface.  I had already done so, but not for the machine that launches these instances.  will try that.  thanks anyway!
15:52 StDiluted aranhoide: http://russell.ballestrini.net/create-your-own-fleet-of-servers-with-digital-ocean-and-salt-cloud/
15:52 StDiluted there is a section there about how to set up SSH keys
15:53 aranhoide StDiluted: thanks a lot! on to read that..
15:56 andrewclegg joined #salt
15:57 MrTango joined #salt
15:57 jackalheart joined #salt
15:58 ydavid joined #salt
16:02 AviMarcus joined #salt
16:06 timoguin_work joined #salt
16:08 jacksontj StDiluted: i'm back-- sorry about dropping off mid conversation-- did your envs question get answered?
16:08 maxleonca joined #salt
16:08 gordonm joined #salt
16:08 maxleonca Hello everyone.
16:08 bemehow joined #salt
16:09 maxleonca I have a small issue trying to apply states matching nodegroups via the top file.
16:09 maxleonca when I dan the highstate call there are no error but the changes that apply to a nodegroup are not being applied.
16:11 KuduIO left #salt
16:14 Katafalkas joined #salt
16:15 conan_the_destro joined #salt
16:16 conan_the_destro joined #salt
16:17 conan_the_destro joined #salt
16:17 joshe joined #salt
16:19 UtahDave joined #salt
16:19 Nexpro2 joined #salt
16:20 conan_the_destro joined #salt
16:24 justThisGuy quick queston guys... can we have relative paths on the salt:\\ directive?
16:25 justThisGuy -source:
16:25 jacksontj joined #salt
16:25 rlb I'm trying to get the reactor to work, but it's failing with an UnboundLocalError like this: https://www.refheap.com/9fd98070bc1bc1bccf6c94baa
16:25 rlb I'm sure I'm just doing something wrong...
16:26 mikedawson joined #salt
16:30 Tekni joined #salt
16:31 nickray_ left #salt
16:32 ydavid joined #salt
16:32 JordanRinke joined #salt
16:33 whiskybar joined #salt
16:36 Tekni joined #salt
16:37 bfrog so really like how fast salt is
16:37 bfrog salt '*' state.highstate
16:37 bfrog bam
16:37 bfrog basically done in record time
16:37 bfrog UtahDave: awesome sauce
16:38 defunctzombie joined #salt
16:38 d10n joined #salt
16:38 UtahDave :)  Yes, awesome sauce!
16:38 maxleonca Any idea on why the nodegroup match on the top file may being ignore?
16:39 maxleonca the test.ping for the nodegroup is working as expected
16:39 kaptk2 How would I define a iptables rule in a state file?
16:39 kaptk2 I want to add a simple masquerade statement like this: iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
16:41 StDiluted iptables isn't implemented yet
16:41 kaptk2 StDiluted: bummer
16:43 StDiluted you could use cmd.run
16:44 backjlack joined #salt
16:45 conan_the_destro joined #salt
16:45 backjlack joined #salt
16:46 StDiluted hey UtahDave
16:46 StDiluted I made some changes to make my EC2 tags grain more portable across regions
16:47 StDiluted it still requires boto
16:47 noob2 joined #salt
16:47 StDiluted but there's not really a way around that
16:49 backjlack joined #salt
16:51 backjlack joined #salt
16:53 koolhead17 joined #salt
16:56 Nexpro1 joined #salt
16:59 Tekni joined #salt
17:00 Gifflen joined #salt
17:01 autx_sono joined #salt
17:02 druonysus joined #salt
17:02 aus_sono joined #salt
17:02 KyleG joined #salt
17:03 conan_the_destro joined #salt
17:03 alazylearner joined #salt
17:03 fridder joined #salt
17:03 philpep left #salt
17:04 AviMarcus uhm btw: I had salt-master with "default" threads
17:04 AviMarcus I just lowered it to 2 and ram usage went from 520mb to 120mb
17:04 AviMarcus of python
17:05 UtahDave StDiluted: cool!  Would you mind adding that to the salt-contrib repo?  That's pretty awesome
17:05 AviMarcus erm 150.
17:05 jackalheart joined #salt
17:05 StDiluted UtahDave, sure, I've never submitted a pull request, I'll try to figure it out
17:05 UtahDave maxleonca: can you pastebin your top.sls?
17:05 jacksontj joined #salt
17:06 UtahDave rlb: what version of Salt are you using?  That error looks like a bug
17:07 nliadm kaptk2: I use jinja to template a rules file and then have it imported when it changes
17:08 AviMarcus is there a salt-stack somewhere for installing newrelic system monitoring?
17:08 AviMarcus erm sls pre-made
17:09 KyleG I mean, you could write a script that checks for the newrelic-daemon binary and if it's not there execute an installation procedure
17:10 KyleG That's how I do it with splunk
17:10 KyleG It checks to see if the splunk binary is where it needs to be, and if not it downloads a script and tar file from my package repo and runs it.
17:10 toastedpenguin using pkgrepo.managed, how would I go about keeping all the repos listed in CentOS-Base e.g. Base, updates, extras, plus, contrib?  I currently have a dir under /srv/salt/repos and an init.sls file with a single local repo listed, if I follow suite any repo listed in this file will get a separate .repo file added to /etc/yum.repo.d/
17:10 atweiden UtahDave: have you tried making 100+ droplets on digital ocean ?
17:11 aus_sono Avimrcus: I install the new relic repo, followed by installing their package "rewrelic-sysmond"
17:11 AviMarcus they have a debian packages list.. and then after a config line. I guess it's not that hard but I never used the repo option yet
17:11 atweiden http://pastebin.com/7aS0rWtR
17:11 atweiden couldn't get past 105
17:11 atweiden my limit is 120
17:11 atweiden let it run overnight doing one vm at a time, 120 total
17:11 UtahDave atweiden: no, not yet.
17:12 atweiden http://pastebin.com/GWQbhXWT
17:12 UtahDave looks like DO had a hiccup with their REST service and that caused salt-cloud to stacktrace
17:12 [diecast] joined #salt
17:12 atweiden ay! do ... do do ...
17:12 timoguin_work their API was down for a while yesterday.
17:13 UtahDave yeah, the got DDOSed pretty hard yesterday
17:13 timoguin_work I had JUST gotten to the point where I was ready to test VM creation with salt-cloud
17:13 atweiden guess i'll have to make smaller batches?
17:13 timoguin_work and, DDoS
17:13 timoguin_work i was very disappoint
17:13 [diecast] hmm, why does the function "latest" for state pkg fail when a package is already up to date. shouldn't it report success?
17:13 aus_sono @Avimarcus:  My last step is run a command that sets the license.
17:14 AviMarcus aus_sono, you have it as a state?
17:14 [diecast] "Comment:   Package nginx failed to update. The following packages were already up-to-date: nginx-common, nginx-full"
17:14 UtahDave timoguin_work: Yeah, I have a demo that I use for sales calls that uses DO and the DDOS started RIGHT before a big sales call.  I had to quickly move the configs to run it on EC2
17:14 timoguin_work I would have been boned. :)
17:15 UtahDave [diecast]: what version of Salt are you using?
17:15 bemehow_ joined #salt
17:15 aus_sono @AviMarcus:  Yes as a state.  1. Install new relic repo, 2 Install package and start the service, 3 Apply license key via cmd.run with a requisite that the new relic package is installed
17:15 [diecast] 0.16.0 master, 0.15.3 minion
17:15 [diecast] UtahDave
17:15 AviMarcus aus_sono, can you post it so I don't have to look up the syntax for everything? :)
17:15 StDiluted UtahDave, I submitted a pull request.
17:15 UtahDave timoguin_work: :)  I did have a few tense minutes while I was rushing to make the changes. Plus it sucks to demo something I haven't tested
17:15 aus_sono Let me santizie a tad and I  gist it ;)
17:15 AviMarcus aus_sono, thx!
17:15 timoguin_work last minute demo hiccups are always stressful
17:16 UtahDave [diecast]: any way you can update that minion to 0.16.0?  There have been some updates to the pkg state. That might be fixed.
17:16 [diecast] i'll check that
17:16 UtahDave StDiluted: Thanks!
17:17 jspc UtahDave: could you have a look at https://github.com/saltstack/salt/pull/6080 for me? Or point me towards someone who can?
17:17 UtahDave jspc: yeah, just a sec.
17:17 jspc UtahDave: cheers
17:18 johntron joined #salt
17:18 aus_sono @AviMarcus:  New Relic Install: https://gist.github.com/chhibber/5968213
17:18 bfrog ooo salt-ui?
17:19 AviMarcus aus_sono, should't the cmd.run be a wait thing instead?
17:20 AviMarcus and only running after the license is installed :P
17:20 aus_sono You need the daemon running to apply the license I believe.  I could be wrong.
17:21 aus_sono Either way it works :)
17:21 AviMarcus hehe thanks
17:21 StDiluted you could also store the license key in a pillar
17:21 AviMarcus they have a pretty spiffy website. and their free tier seems pretty nice..
17:21 StDiluted it gets pricy once you want to start keeping your data around
17:22 AviMarcus yeah... I noticed. Looks pretty nice for free, though.
17:22 aus_sono You don't pay a per host cost for the system monitoring though.
17:23 UtahDave jspc: looks good to me. got someone else double checking for me
17:24 jspc UtahDave: good stuff, cheers
17:25 aus_sono StDiluted is right you could definately throw it into pillar data, but the key is static to our account and not per environment.  So it makes sense to keep it with state file in my case.
17:27 AviMarcus Yeah, it's for all systems so not necessary
17:28 devinus_ joined #salt
17:28 devinus_ is there a way to add a yum repo in salt?
17:28 devinus_ it seems there's a del_repo but no add_repo
17:28 devinus_ am i right?
17:30 racooper devinus_,  look at pkg.mod_repo
17:30 devinus_ racooper: nice, thank you
17:31 Tekni joined #salt
17:34 KyleG1 joined #salt
17:39 thingles joined #salt
17:45 diegows_ joined #salt
17:47 AviMarcus aus_sono, StDiluted this seems to work in proper order for debian/ubuntu: https://gist.github.com/avimar/5968480
17:47 AviMarcus and no changes upon re-try
17:52 admineric joined #salt
17:55 kstaken joined #salt
18:01 aranhoide joined #salt
18:05 thingles joined #salt
18:09 mikedawson joined #salt
18:14 brianhicks joined #salt
18:14 AviMarcus weird. I'm getting: Exception: Error: aptsources.sourceslist python module not found on  salt-minion (0.16.0-1precise)
18:21 AviMarcus suggestions?
18:23 noob2 left #salt
18:24 StDiluted pip install aptsources.sourceslist ?
18:25 AviMarcus nope, seems to be: apt-get install python-apt
18:25 StDiluted that's a guess
18:25 StDiluted ah
18:25 AviMarcus which since this was a package is weird...
18:25 StDiluted what was a package, salt?
18:25 AviMarcus yes. should have had that as a dependency I'd have though.
18:26 StDiluted salt-minion doesn't seem to have many dependencies
18:26 StDiluted other than python
18:26 StDiluted I'd have thought that python-apt would have been in the stock install of the OS though
18:26 AviMarcus so.. it is on 4/5 of my machines
18:27 StDiluted hum
18:27 AviMarcus and on this one it had to remove lzma to install it, and replaced it with xz-lzma
18:27 lex__ joined #salt
18:27 atweiden does linode apikey go in /etc/salt/cloud?
18:28 atweiden or cloud.providers
18:28 atweiden do is nonstarter right now
18:28 AviMarcus what's do?
18:28 linjan_ joined #salt
18:28 StDiluted digital ocean
18:29 AviMarcus ah, them.
18:29 StDiluted they are experiencing DDoS and huge growth so things are slow
18:29 spicyWith joined #salt
18:29 AviMarcus my stuff is on linode UK.. been pretty darn good there.
18:30 atweiden AviMarcus: linode has been good to me
18:30 AviMarcus the only problem.. is you have to keep restarting every few months to get free upgrades of extra HD, double RAM, double CPUs...!!
18:30 atweiden how do you setup salt-cloud with linode? docs are a bit sparse
18:33 timoguin_work joined #salt
18:34 rlb UtahDave: version is deb 0.16.0-1
18:36 rlb UtahDave: really all I'd like for now is to get any reactor event to work.
18:36 UtahDave rlb: ok, let me take a look
18:36 UtahDave atweiden: http://salt-cloud.readthedocs.org/en/latest/topics/config.html#linode
18:37 UtahDave so in your /etc/salt/cloud.providers you would put something like what you see in my-linode-config:
18:38 UtahDave rlb: can you pastebin your full stacktrace you're getting?
18:38 atweiden is there any way to choose datacenter?
18:39 TheRealBill joined #salt
18:40 UtahDave atweiden: Yeah, I think so.
18:40 EugeneKay joined #salt
18:40 UtahDave atweiden: try "location"  (i'm not 100% sure what the term is that's used on linode
18:41 atweiden also, in  cloud.providers, is the password the box's default root password, or your linode manager's password?
18:41 atweiden i'll try that
18:41 mprymek joined #salt
18:45 atweiden it may be datacenterid
18:46 AviMarcus atweiden, erm wouldn't it be your api key?
18:46 AviMarcus not that I've used salt-cloud at all
18:47 atweiden i'll see if it works without password
18:47 atweiden but docs suggest pw
18:47 mprymek hi guys! Please is there any way to send events from minion to master? I'd like to send some events from nagios to master.
18:48 mprymek from the docs I would say this is not possible. Am I right?
18:49 UtahDave mprymek: you'll want to use   event.fire_master
18:50 blee_ joined #salt
18:50 mprymek UtahDave: but the doc http://docs.saltstack.com/ref/modules/all/salt.modules.event.html#module-salt.modules.event says:
18:50 mprymek salt '*' event.fire_master 'stuff to be in the event' 'tag'
18:50 mprymek this looks to me like the master command...
18:51 Nexpro joined #salt
18:51 UtahDave mprymek: no, all modules are executed on the minions
18:51 mprymek I need to fire something on the minion and catch on the master
18:51 UtahDave event.fire just fires on the local minion event bus
18:51 UtahDave event.fire_master send the event up to the master
18:52 mprymek ok, so I can do "salt-call event.fire_master ..." on the minion machine and catch it on the master machine?
18:52 UtahDave yep!
18:52 UtahDave mprymek: on the master you'll need to set up the reactor to listen for your events coming across the bus.
18:53 rlb UtahDave: I can't easily, but when I get a chance I'll try to get it.  It's also strange that the first time I run the command I get that error -- afterward, no error, but no event (that I can see either), until I restart the master, then the first time I get the error again.
18:53 rlb it's alsmost like the first error kills something that doesn't come back until I restart the master
18:53 mprymek ok, I'll try that, thank you very much for assistance
18:54 mprymek and btw, Salt is a realy fantastic piece of software, many thanks!
18:54 UtahDave rlb: ok, I'm setting up a vm to test it right now
18:54 UtahDave thank you, mprymek!
18:55 UtahDave jspc: did you see that get merged?  Thanks for the fix!
18:57 jschadlick joined #salt
18:57 aranhoide left #salt
18:57 rlb UtahDave: ok, thanks -- and note that I'm not at all sure I have the reactor stuff configured right -- I just tried to do what the reactor docs seemed to imply.
18:59 mprymek_ joined #salt
19:00 AviMarcus salt has gotten much more complicated since I started using it...
19:00 KennethWilke overall does anyone have issues with the memory footprint of the salt-minion?
19:01 KennethWilke also, are there any statistics documenting it's general usage?
19:01 AviMarcus I just set the workers for the salt-master to be lower and that helped the memory on my master... but no problem on the minions.
19:03 eightyeight how can i bring my nodes up from 0.15.1 to 0.15.3 using the PPA?
19:03 eightyeight i don't want to upgrade to 0.16 until the .1 release hits
19:08 andrew__ joined #salt
19:12 mgw1 joined #salt
19:13 kermit1 joined #salt
19:15 UtahDave eightyeight: unfortunately the PPAs only allow for the latest release
19:16 UtahDave we're working on hosting our own repo as well that has older versions, but it hasn't been completed yet.
19:18 jschadlick joined #salt
19:20 kevino joined #salt
19:28 mgw joined #salt
19:32 eightyeight ok
19:33 UtahDave eightyeight: debian.saltstack.com is already up, though. I don't know if that helps or not.
19:34 eightyeight checking, although these are ubuntu servers i'm working on
19:34 mgw1 joined #salt
19:35 eightyeight hmm. that might work
19:38 tgecho joined #salt
19:40 tgecho joined #salt
19:46 Bastion2202 joined #salt
19:49 logix812 joined #salt
19:49 tgecho I'm adding an apt repo using pkgrepo.managed, however it keeps running even after the repo has already been added. Is this a bug or am I missing something?
19:52 jschadlick joined #salt
19:52 felskrone joined #salt
19:59 mprymek UtahDave: it works flawlessly! One more question: what's the best way to let custom code react for events *on the master*?
20:00 mprymek UtahDave: I'm testing the code in http://docs.saltstack.com/topics/event/index.html but this means another server code.
20:00 mprymek Is there any way to tell Salt "this is the handler code, run it whenever an event occurs"?
20:00 backjlack joined #salt
20:01 timoguin_work joined #salt
20:02 timoguin_work so those of you who been messing with salt-cloud and digital ocean, do you know how to specify an SSH key for the new droplet to use?
20:02 backjlack joined #salt
20:02 mjulian joined #salt
20:03 backjlack joined #salt
20:03 conan_the_destro joined #salt
20:04 bluemoon joined #salt
20:04 jslatts joined #salt
20:04 UForgotten joined #salt
20:05 mgw1 where is the doc cache stored? -d is giving me docs for an outdated version of my module
20:05 ronc joined #salt
20:07 auser joined #salt
20:08 StDiluted hey auser
20:08 auser hey StDiluted
20:08 Bastion2202 he guys, crazy question, can we have something like $1 (in bash) in a SLS file ? so inside the SLS it would include $1
20:08 auser how goes sir
20:08 UtahDave mgw1: it introspects the module.
20:09 StDiluted Bastion, use pillars?
20:09 StDiluted auser: goes ok, and you?
20:09 auser oh alright, attempting to to fix some changes I broke to my hadoop setup
20:09 auser you?
20:09 StDiluted ah
20:10 StDiluted trying to get a check_mk multisite set up
20:10 david_a joined #salt
20:11 mgw1 UathDave: that's what I thought…. but it's literally showing docs for a func that's been removed as well as for the replacement
20:14 auser ah
20:14 auser how can I help StDiluted
20:14 StDiluted :) I'm coin good, actually
20:14 StDiluted doin*
20:14 StDiluted it's almost done
20:14 StDiluted I think next week I will be building states to install icinga and check_mk, as well as config files, etc
20:15 Bastion2202 the all idea is to manage users with salt. So in pillar I have a users.sls that includes some users' sls files but not all because I do no want to create all the users by default. But i'd like to be able to create users on demand using state.sls
20:15 jslatts joined #salt
20:17 StDiluted Bastion2202, you'll probably have to build some logic in using roles or something
20:19 mollerstrand joined #salt
20:19 Ixan joined #salt
20:20 andrew joined #salt
20:21 atweiden moved to ec2
20:21 atweiden linode and do :/
20:22 atweiden i'm still getting the config wrong tho
20:22 atweiden http://pastebin.com/Y0uaxPm7
20:22 atweiden asking for ipaddress?
20:23 UtahDave atweiden: can you pastebin your sanitized /etc/salt/cloud.providers  ?
20:24 bayou joined #salt
20:24 timoguin_work aws has the most features, but is still on the expensive side for personal use
20:24 timoguin_work which is why i went with do
20:24 mgw1 UtahDave: apparently the docs get cached in memory in the minion
20:25 UtahDave mgw1: yes, the entire module gets cached.
20:25 UtahDave in memory
20:25 mgw1 but sync_module reloads
20:25 mgw1 sync_modules
20:25 mgw1 but the docs appear to be cumulative
20:25 UtahDave really?  Hm.
20:25 mgw1 it's a minor thing
20:26 mgw1 since in production you wouldn't be removing funcs
20:26 mgw1 also, if you remove a module from _modules and run sync_modules, I don't think it's removed from the minions
20:27 Katafalkas joined #salt
20:30 stevetodd joined #salt
20:30 atweiden UtahDave: http://git.io/fvzRYA
20:31 mgw1 UtahDave: It's worse, actually (for development): If the fingerprint is changed, errors are thrown. I just spent about an hour trying to figure out why my args were being rejected.
20:32 ydavid joined #salt
20:39 ronc joined #salt
20:42 Bastion2202 UtahDave: can we use nodgroup inside pillar ?
20:42 cybermiron joined #salt
20:42 auser is it possible to call `os.path.dirname` inside of a template? this would be amazing if it were
20:43 auser just saying
20:43 stevetodd joined #salt
20:43 StDiluted Bastion2202: pillars are just data storage, they don't do anything. What are you trying to do?
20:43 kaptk2 I have this in my state file: http://fpaste.org/24402/
20:44 kaptk2 but the value of ip_forward is not changed in /etc/sysctl.conf
20:44 kaptk2 why is that?
20:44 ek6_ joined #salt
20:44 TheRealBill auser: what would you be lookign for in that case? The location of the file on the server, the temporary directory on the minion, or the ultimate destiantion of the file on the minion?
20:44 Bastion2202 I would create user on server base on nodegrpoup. example user1 on nodegroup hadoop for exmaple
20:45 auser I specify a file in my pillar and I want to ensure that directory exists
20:45 TheRealBill auser: why not explicitly put a require function in the state for that directory?
20:45 sciyoshi1 joined #salt
20:46 auser no, perhaps I didn't explain it -- I specify a file in my pillar, like: /usr/local/something/crazy.txt, I want my state to include a file.directory for /usr/local/something
20:46 auser so rather than needing to specify a directory AND a file, I can just specify a file
20:46 Nitron_ joined #salt
20:47 spoktor joined #salt
20:47 Micromus_ joined #salt
20:47 StDiluted Bastion2202: so create a state that targets that nodegroup, and reference the users in the pillar that should be created for that nodegroup
20:47 jpcw_ joined #salt
20:48 tseNkiN1 joined #salt
20:48 TheRealBill auser: that's what I understood you to be saying. Generically speaking, what if something else needed to manage that directory, perhaps recursively? Explicitly stating you require the directory causes it to be created is generally better than implicitly creating them.
20:49 _ioni joined #salt
20:49 Heartsbane_ joined #salt
20:49 TheRealBill for example, what permissions would you assign the directory in your example case? How would the system know?
20:49 a1j_ joined #salt
20:49 cluther joined #salt
20:50 jeblair_ joined #salt
20:50 t0rrant_ joined #salt
20:50 kvbik_ joined #salt
20:50 tamentis_ joined #salt
20:50 auser the flexibility of being able to specify a file in that directory is enough and does implicitly require an explicit `create`. It would take on the defaults, just as if you didn't specify the specific attribute traits anyway
20:51 auser that's my assumption, at least
20:51 TheRealBill but what are those defaults? They will be custom for whatever you are implementing.
20:51 MTecknology joined #salt
20:52 Nexpro3 joined #salt
20:52 TheRealBill you could infer user/group ownership as the same as the file, but that may be incorrect (and in many cases will be)
20:52 jeffrubi` joined #salt
20:53 coolj joined #salt
20:54 ahammond joined #salt
20:54 quantumsummers|c joined #salt
20:54 akshayms joined #salt
20:54 d10n joined #salt
20:54 Psi-Jack_ joined #salt
20:55 quantumsummers|c joined #salt
20:55 d10n joined #salt
20:55 [ilin] joined #salt
20:56 __number5__ joined #salt
20:56 nage joined #salt
20:56 nage joined #salt
20:56 devinus_ does anybody share salt states between development vagrant boxes and a production box?
20:57 auser devinus_: tell me more
20:57 joshe it's common to use salt environments for that
20:58 joshe ie: put most of the state in the base environment and override only a few bits for production or dev
20:58 devinus_ auser: i'm basically trying to write salt states that bring a vagrant box up to running our software for both development vagrant boxes and our production vmware esxi boxes
20:58 devinus_ joshe: http://docs.saltstack.com/ref/states/top.html ?
20:59 auser yep, I do
20:59 auser using the top.sls file
20:59 joshe yes, something like that
21:00 joshe often I'll have the base state include an env.sls file which a specific environment then provides
21:00 devinus_ auser: are there any good examples you could point me to?
21:00 auser well… not yet, but I can make one this week
21:01 giantlock joined #salt
21:01 gmoro_ joined #salt
21:02 joshe I don't know of any example where it's explicitly spelled out, no
21:02 Guest86982 joined #salt
21:03 devinus_ the thing about dev/prod that will be different are mainly some config options
21:03 _jslatts joined #salt
21:03 devinus_ so i don't know if that should be handled by some jjinja tempting with some file.managed and maybe looking at the env?
21:04 devinus_ that's all my imagination is giving me right now
21:04 bemehow joined #salt
21:07 devinus_ or maybe each config file can be in it's own env?
21:07 devinus_ can i take care of that with a salt:// url?
21:07 devinus_ e.g.
21:07 devinus_ salt://{{env}}/nginx.conf or something
21:09 joshe you set up the file roots so environments overlay the base
21:09 auser devinus_: you shouldn't have to be that explicit about it, you can use environments to specify that
21:09 joshe ie: you say salt://mystate/mything.conf and in the dev env it will first look in /srv/salt/dev/mystate/ then  /srv/salt/base/mystate/
21:10 efixit joined #salt
21:10 auser yep
21:10 __d10n__ joined #salt
21:10 Corey Have a link to gitfs and how it replaces using the salt fileserver?
21:11 ydavid joined #salt
21:14 ydavid joined #salt
21:14 rnts_ joined #salt
21:14 LucasCozy joined #salt
21:14 LucasCozy joined #salt
21:16 TheRealBill Corey: searching in the docs for gitfs reveals this link just below the table of contents link: http://docs.saltstack.com/topics/tutorials/gitfs.html is that what you are looking for?
21:17 d10n joined #salt
21:21 KFDM joined #salt
21:21 mperry_ left #salt
21:22 MK_FG joined #salt
21:23 mjulian joined #salt
21:24 mirko joined #salt
21:24 Koma joined #salt
21:25 gadams joined #salt
21:25 gadams joined #salt
21:27 quantumsummers|c joined #salt
21:27 quantumsummers|c joined #salt
21:28 Guest44039 joined #salt
21:31 morganfainberg joined #salt
21:31 napperjabber joined #salt
21:32 lyddonb joined #salt
21:33 [vaelen] joined #salt
21:33 EugeneKay joined #salt
21:35 Xeago__ joined #salt
21:35 bemehow joined #salt
21:36 echos joined #salt
21:36 up_the_irons joined #salt
21:36 tseNkiN joined #salt
21:37 octarine joined #salt
21:39 Avatar[01] joined #salt
21:45 MK_FG joined #salt
21:47 stevetodd joined #salt
21:50 MTecknology joined #salt
22:04 jacksontj joined #salt
22:05 efixit joined #salt
22:05 kstaken joined #salt
22:06 druonysus joined #salt
22:06 druonysus joined #salt
22:07 jeddi joined #salt
22:07 logix812 joined #salt
22:10 elasticdog joined #salt
22:20 kermit joined #salt
22:21 timoguin joined #salt
22:22 devinus_ joined #salt
22:26 bluemoon joined #salt
22:26 talso joined #salt
22:26 paraglade joined #salt
22:31 elasticdog joined #salt
22:39 mgw joined #salt
22:41 auser weird
22:41 emocakes joined #salt
22:43 auser I have two directories in my base file_roots config and it appears as though salt isn't looking in the second directory for the file
22:46 napperjabber joined #salt
22:46 ruimarinho joined #salt
22:46 cybermiron joined #salt
22:47 Ryan_Lane joined #salt
22:52 jacksontj joined #salt
22:56 timl0101 joined #salt
22:58 andrewclegg joined #salt
22:59 jacksontj joined #salt
23:01 Ryan_Lane joined #salt
23:02 Xeago joined #salt
23:06 pentabular joined #salt
23:07 alazylearner joined #salt
23:09 napperjabber joined #salt
23:12 tpe11etier joined #salt
23:16 raydeo joined #salt
23:16 auser joined #salt
23:17 kho_ joined #salt
23:20 kho joined #salt
23:22 napperjabber joined #salt
23:22 jbunting joined #salt
23:32 oliv_mc joined #salt
23:34 cxz joined #salt
23:35 cxz joined #salt
23:37 druonysus joined #salt
23:46 jacksontj joined #salt
23:48 jbunting joined #salt
23:53 jschadlick left #salt

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