Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-06-07

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

All times shown according to UTC.

Time Nick Message
00:00 chrisjones joined #salt
00:09 bhosmer joined #salt
00:09 bhosmer_ joined #salt
00:09 Voziv joined #salt
00:16 ZombieFeynman joined #salt
00:17 tdegrunt joined #salt
00:18 taion809 joined #salt
00:19 Voziv joined #salt
00:20 tdegrunt_ joined #salt
00:20 CeBe1 joined #salt
00:21 elfixit1 joined #salt
00:23 TyrfingMjolnir joined #salt
00:25 taion809 joined #salt
00:26 obimod joined #salt
00:30 l0x3py joined #salt
00:30 LordOfLA joined #salt
00:31 Voziv joined #salt
00:33 bhosmer joined #salt
00:35 shaggy_surfer joined #salt
00:37 alunduil joined #salt
00:37 alunduil joined #salt
00:38 ericsysmin joined #salt
00:38 ericsysmin hey guys, is there anything out there for salt that’s like puppets r10k, which allows you to use the salt-formulas to help manage your infrastructure along with environments automatically?
00:39 ericsysmin Looking for a better way to deploy multiple environments and to be able to test out the same salt states but in different environments
00:41 ipalreadytaken joined #salt
00:47 jaycedars joined #salt
00:48 ZombieFeynman joined #salt
00:53 TyrfingMjolnir joined #salt
00:53 CeBe1 joined #salt
00:54 CeBe2 joined #salt
00:55 CeBe1 joined #salt
00:57 ericsysmin left #salt
01:01 vortec joined #salt
01:04 rgbkrk joined #salt
01:08 ekristen basepi: clean install of 2014.1.3 works!
01:08 ekristen basepi: so there is definitely something about .4 that breaks it
01:14 DaveQB joined #salt
01:15 davet joined #salt
01:22 davet1 joined #salt
01:22 rgbkrk joined #salt
01:23 davet joined #salt
01:24 zirpubolci joined #salt
01:24 Networkn3rd joined #salt
01:27 tdegrunt joined #salt
01:33 ZombieFeynman joined #salt
01:34 micko joined #salt
01:35 mateoconfeugo joined #salt
01:41 dsolsona joined #salt
02:06 CeBe2 joined #salt
02:19 jslatts joined #salt
02:27 n8n joined #salt
02:27 tdegrunt joined #salt
02:36 dsolsona joined #salt
02:36 to_json joined #salt
02:56 jslatts joined #salt
03:08 mogman1 joined #salt
03:10 mateoconfeugo joined #salt
03:12 catpiggest joined #salt
03:14 KyleG joined #salt
03:14 KyleG joined #salt
03:26 KGardevoir joined #salt
03:28 tdegrunt joined #salt
03:36 mgw joined #salt
03:49 mateoconfeugo joined #salt
03:49 KyleG joined #salt
03:49 KyleG joined #salt
03:59 ipalreadytaken joined #salt
04:02 ckao joined #salt
04:11 sunkist joined #salt
04:19 sunkist joined #salt
04:29 tdegrunt joined #salt
04:31 lz-dylan joined #salt
04:31 MTecknology joined #salt
04:37 Ahlee joined #salt
04:41 quickdry21 joined #salt
04:50 ndrei joined #salt
04:53 toddejohnson joined #salt
04:53 joehillen joined #salt
04:56 ZombieFeynman joined #salt
05:04 ZombieFe_ joined #salt
05:07 toddejohnson joined #salt
05:08 DammitJim joined #salt
05:08 DammitJim does my master have to be the same version as my minion?
05:08 DammitJim my debian jessie has version 0.17.5 of the master
05:08 DammitJim and wheezy has 2014.1.4 of the minion
05:10 toddejohnson DammitJim: There are compatibility issues between versions.  http://docs.saltstack.com/en/latest/topics/releases/2014.1.0.html
05:10 DammitJim toddejohnson, what do you suggest I do?
05:11 mgw joined #salt
05:11 toddejohnson I'd suggest reading the release notes.  I upgraded my infrastructure when I had this problem.
05:12 UtahDave DammitJim: We recommend making sure the master is always the same or newer version
05:12 DammitJim ok
05:13 DammitJim I guess I should uninstall the master first
05:13 DammitJim since I'll be adding a new repo
05:13 DammitJim or I wonder if it willl just upgrade
05:23 travisfischer joined #salt
05:30 tdegrunt joined #salt
05:32 mateoconfeugo joined #salt
05:42 ramteid joined #salt
05:56 tomtomtomtom joined #salt
05:58 tomtomtomtom hi all
06:00 tomtomtomtom I have a setup where I need to supply each new minion with a unique randomly generated password
06:00 tomtomtomtom I was thinking of using the reactor system to somehow generate a new password with each new minion that gets its key accepted
06:01 tomtomtomtom and then storing that password in a pillar file
06:03 tomtomtomtom I'm not sure how to make the call in the reactor .sls file to update pillar information though.
06:03 tomtomtomtom is this possible?
06:03 tomtomtomtom or is there a much simpler way of achieving what I want to do?
06:03 tomtomtomtom bit of a noob question probably
06:03 tomtomtomtom any help appreciated
06:10 TyrfingMjolnir joined #salt
06:13 schimmy joined #salt
06:16 dimeshake joined #salt
06:17 schimmy1 joined #salt
06:30 tdegrunt joined #salt
06:43 dsolsona joined #salt
07:11 TyrfingMjolnir joined #salt
07:25 zaba_ joined #salt
07:28 agronholm tomtomtomtom: do you use external pillars?
07:28 agronholm those would be helpful if you want to manage pillar data automatically
07:29 Ryan_Lane joined #salt
07:31 tdegrunt joined #salt
07:43 tomtomtomtom hmm yeah I guess I could define an external pillar that gives the minion's key based on id, and if the id hasn't been seen before it generates a new one
07:45 tomtomtomtom cheers
07:46 Furao joined #salt
07:59 mogman1 joined #salt
08:05 Husio_ joined #salt
08:05 bhosmer joined #salt
08:07 jamesog joined #salt
08:16 Daviey joined #salt
08:20 ipalreadytaken joined #salt
08:30 tdegrunt joined #salt
08:58 TyrfingMjolnir joined #salt
08:58 MTecknology joined #salt
08:58 davet joined #salt
08:58 alunduil joined #salt
08:58 Voziv joined #salt
08:58 sdebot_ joined #salt
08:58 borgstrom joined #salt
08:58 jforest joined #salt
08:58 zain joined #salt
08:58 zain_ joined #salt
08:58 Teknix joined #salt
08:58 ahale_ joined #salt
08:58 xt joined #salt
08:58 kaictl joined #salt
08:58 georgemarshall joined #salt
08:58 kossy_ joined #salt
08:58 nliadm joined #salt
08:58 dpac|away joined #salt
08:58 codekoala joined #salt
08:58 [vaelen] joined #salt
08:58 Jahkeup joined #salt
08:58 berto- joined #salt
08:58 dmick joined #salt
08:58 djinni` joined #salt
08:58 CaptTofu joined #salt
08:58 chutzpah joined #salt
08:58 rlarkin joined #salt
08:58 gmoro joined #salt
08:58 flebel joined #salt
08:58 z3uS joined #salt
08:58 chuffpdx joined #salt
08:58 MK_FG joined #salt
08:58 anteaya joined #salt
08:58 pjs joined #salt
08:58 agh joined #salt
08:58 Dattas joined #salt
08:58 JordanTesting joined #salt
08:58 NV joined #salt
08:58 seventy3 joined #salt
08:58 Sypher joined #salt
08:58 smferris joined #salt
08:58 FarrisG joined #salt
08:58 cwyse joined #salt
08:58 neilf_ joined #salt
08:58 _blackjid joined #salt
08:58 rawtaz joined #salt
08:58 whitepaws joined #salt
08:58 hoodow joined #salt
08:58 Dinde joined #salt
08:58 d3vz3r0 joined #salt
08:58 r4vi joined #salt
08:58 renoirb joined #salt
08:58 __alex joined #salt
08:58 drags joined #salt
08:58 etw joined #salt
08:58 AlcariTheMad joined #salt
08:58 stotch_ joined #salt
08:58 delkins joined #salt
08:58 hillna_ joined #salt
08:58 eightyeight joined #salt
08:58 torrancew joined #salt
08:58 nadley joined #salt
08:58 manfred joined #salt
08:58 marcinkuzminski joined #salt
08:58 shano joined #salt
08:58 retr0h joined #salt
08:58 terminalmage joined #salt
08:58 mariusv joined #salt
08:58 balltongu_ joined #salt
08:58 ze- joined #salt
08:58 emostar joined #salt
08:58 tmmt joined #salt
08:58 Sway joined #salt
08:58 jmccree joined #salt
08:58 modafinil joined #salt
08:58 copelco joined #salt
08:58 gamingrobot joined #salt
08:58 basepi joined #salt
08:58 twinshadow joined #salt
09:00 malinoff joined #salt
09:01 zirpu joined #salt
09:01 vsyrakis joined #salt
09:01 thomaso joined #salt
09:01 gldnspud joined #salt
09:01 dusel joined #salt
09:01 jeremyBass joined #salt
09:01 jnials joined #salt
09:01 joehh joined #salt
09:01 bwq- joined #salt
09:01 whiteinge joined #salt
09:01 jchen joined #salt
09:01 patrek_ joined #salt
09:01 FL1SK joined #salt
09:01 antonw joined #salt
09:01 smkelly joined #salt
09:01 sirtaj joined #salt
09:01 aqua^^ joined #salt
09:01 ScrumpyJack joined #salt
09:01 Sacro joined #salt
09:01 Gareth joined #salt
09:01 dstokes joined #salt
09:01 dcmorton joined #salt
09:01 jasonrm joined #salt
09:01 tharkun joined #salt
09:01 joshbaptiste joined #salt
09:01 ixokai joined #salt
09:01 terinjokes joined #salt
09:01 AlexM850 joined #salt
09:01 goodwill joined #salt
09:01 wiqd_ joined #salt
09:01 frozenice joined #salt
09:01 64MAAQFHR joined #salt
09:01 scooby2 joined #salt
09:01 codysoyland joined #salt
09:01 tonthon joined #salt
09:01 emilisto_ joined #salt
09:01 __number5__ joined #salt
09:01 alainv joined #salt
09:01 luminous joined #salt
09:01 londo joined #salt
09:01 Doqnach joined #salt
09:01 dcolish joined #salt
09:01 nhubbard joined #salt
09:01 zdong joined #salt
09:01 fxdgear joined #salt
09:01 carmony joined #salt
09:01 tedski joined #salt
09:01 johtso joined #salt
09:04 kossy joined #salt
09:04 davet joined #salt
09:04 alunduil joined #salt
09:04 Voziv joined #salt
09:04 sdebot_ joined #salt
09:04 borgstrom joined #salt
09:04 Teknix joined #salt
09:04 gmoro joined #salt
09:04 z3uS joined #salt
09:04 MK_FG joined #salt
09:04 anteaya joined #salt
09:04 pjs joined #salt
09:04 seventy3 joined #salt
09:04 smferris joined #salt
09:05 kossy joined #salt
09:07 techdragon joined #salt
09:08 ixokai joined #salt
09:09 MTecknology joined #salt
09:09 jforest joined #salt
09:09 zain joined #salt
09:09 zain_ joined #salt
09:09 ahale_ joined #salt
09:09 xt joined #salt
09:09 rlarkin joined #salt
09:09 flebel joined #salt
09:09 FarrisG joined #salt
09:09 cwyse joined #salt
09:09 renoirb joined #salt
09:09 drags joined #salt
09:09 torrancew joined #salt
09:09 nadley joined #salt
09:09 modafinil joined #salt
09:09 copelco joined #salt
09:09 gamingrobot joined #salt
09:09 basepi joined #salt
09:09 twinshadow joined #salt
09:10 blast_hardcheese joined #salt
09:22 ajw0100 joined #salt
09:24 tdegrunt joined #salt
09:31 tdegrunt joined #salt
09:50 tdegrunt joined #salt
09:54 bhosmer joined #salt
09:56 wm-bot4 joined #salt
09:59 happytux joined #salt
10:29 ndrei joined #salt
10:38 chiui joined #salt
10:41 ekristen joined #salt
10:56 tdegrunt joined #salt
11:00 vortec joined #salt
11:04 taion809 joined #salt
11:10 bhosmer joined #salt
11:20 ml_1 joined #salt
11:38 nvmme joined #salt
11:38 dsolsona joined #salt
11:43 bhosmer_ joined #salt
11:50 tdegrunt joined #salt
11:51 jdmf joined #salt
12:18 taion809 joined #salt
12:29 bhosmer joined #salt
12:42 diegows joined #salt
12:45 bhosmer joined #salt
12:51 tdegrunt joined #salt
12:56 JeroenH_ joined #salt
13:03 ZombieFeynman joined #salt
13:11 nvmme joined #salt
13:18 jslatts joined #salt
13:20 bhosmer joined #salt
13:27 elfixit1 joined #salt
13:27 deddu joined #salt
13:28 deddu hi guys, do anyone have an introductory book to suggest about saltstack?
13:32 bhosmer joined #salt
13:37 bmonty joined #salt
13:37 bhosmer joined #salt
13:46 linjan joined #salt
13:46 antix joined #salt
13:52 tdegrunt joined #salt
13:56 TyrfingMjolnir deddu:
13:56 TyrfingMjolnir I suggest the API
13:57 TyrfingMjolnir http://nodejs.org/api/
13:57 TyrfingMjolnir deddu: Which narrative would you like for your book?
14:01 deddu sorry, I do not understand. I want to get started with salt - and I am looking for an introductory book
14:16 klondike joined #salt
14:16 klondike left #salt
14:21 chiui joined #salt
14:34 toastedpenguin joined #salt
14:35 philipsd6 deddu: I think the best way to get started is to visit http://docs.saltstack.com/en/latest/#getting-started
14:35 llirkaz joined #salt
14:36 deddu philipsd6: yeah that is what I was doing..
14:38 philipsd6 Go through the Official Salt Walkthrough to get an overview, then read Getting Started with States to get a feel for how things are done in the state system.
14:38 philipsd6 I'm not aware of any books covering Salt at this point.
14:39 philipsd6 Personally, I wouldn't want a book yet, I think Salt is still changing too quickly (in mostly good ways) that you'd miss out on new stuff in a book.
14:52 tdegrunt joined #salt
15:03 mgw joined #salt
15:06 techdragon joined #salt
15:14 kyr0 joined #salt
15:15 Furao joined #salt
15:16 bhosmer joined #salt
15:16 bhosmer_ joined #salt
15:16 ajolo joined #salt
15:18 kyr0 joined #salt
15:18 kyr0 joined #salt
15:21 bhosmer joined #salt
15:22 ajprog_laptop joined #salt
15:47 bhosmer joined #salt
15:47 mateoconfeugo joined #salt
15:48 oz_akan_ joined #salt
15:53 tdegrunt joined #salt
15:56 kyr0__ joined #salt
15:58 kyr0__ joined #salt
16:01 kyr0__ left #salt
16:01 kyr0__ joined #salt
16:01 ghartz_ joined #salt
16:20 ajolo_ joined #salt
16:23 ZombieFeynman joined #salt
16:26 ekristen joined #salt
16:28 fragamus joined #salt
16:31 ZombieFe_ joined #salt
16:36 ajw0100 joined #salt
16:42 taterbase joined #salt
16:52 ipalreadytaken joined #salt
16:54 tdegrunt joined #salt
16:56 kyr0 joined #salt
17:06 EugeneKay joined #salt
17:09 malinoff joined #salt
17:09 ZombieFeynman joined #salt
17:10 bhosmer joined #salt
17:13 kyr0 joined #salt
17:16 ajprog_laptop joined #salt
17:19 EugeneK joined #salt
17:20 ajolo__ joined #salt
17:26 ipalreadytaken joined #salt
17:35 fisted__ joined #salt
17:39 koentje joined #salt
17:40 koentje does salt-ssh support pillar in the same way regular salt over zeromq does? Cause I can't seem to get it to work...
17:42 manfred it does not iirc
17:42 manfred like 95% sure
17:43 manfred i think it works with external pillars in develop, but i could be wrong on that
17:43 koentje ah, ok. I'll check that out
17:43 koentje thnx!
17:45 schimmy joined #salt
17:55 tdegrunt joined #salt
18:01 vejdmn joined #salt
18:02 fisted__0 joined #salt
18:04 bhosmer joined #salt
18:09 mogman1 joined #salt
18:11 agliodbs joined #salt
18:15 mgw joined #salt
18:20 ajolo joined #salt
18:24 aberdine joined #salt
18:27 TyrfingMjolnir joined #salt
18:32 tdegrunt joined #salt
18:46 smcquay joined #salt
18:49 bhosmer joined #salt
18:56 obimod joined #salt
18:59 bhosmer joined #salt
19:11 viq joined #salt
19:18 ajw0100 joined #salt
19:21 ajolo joined #salt
19:21 ipalreadytaken joined #salt
19:25 ajw0100 joined #salt
19:26 schimmy joined #salt
19:27 jalaziz joined #salt
19:31 schimmy joined #salt
19:32 fragamus joined #salt
19:32 jY for a while I was looking for a solution to encrypt pillar data.. i wrote my own.. but this is what i was looking for https://github.com/gtmtechltd/salthiera
19:32 jY tossing it out to others as this repo doesn't seem to get much notice
19:37 viq Though last commit over a month ago...
19:39 jergerber joined #salt
19:43 viq So I guess the recommended way to structure files in formulas is by functionality, not necessarily by stages...
19:44 viq I guess this means I'll have to restructure the gitlab formula, and man will the main part be long
19:49 ajw0100 joined #salt
20:01 nvmme joined #salt
20:05 tdegrunt joined #salt
20:08 ajprog_laptop joined #salt
20:18 viq How could I put in a state "you didn't define this properly, EXIT NOW" ?
20:20 jdmf joined #salt
20:20 manfred anyone wanna take a look at the runner.cloud.profile, and see if you can see why I get an error from http://ix.io/cR3 ...
20:20 manfred 2014-06-07 20:09:59,976 [salt.utils.event ][DEBUG   ] Sending event - data = {'jid': '20140607200959960373', 'return': 'Exception occurred in runner cloud.profile: SaltInvocationError: profile takes at least 2 arguments (1 given)', 'success': False, '_stamp': '2014-06-07T20:09:59.975575', 'user': 'UNKNOWN', 'fun': 'runner.cloud.profile'}
20:20 ajolo_ joined #salt
20:20 manfred salt-run cloud.profile ubuntu-8-nova names="['one.gluster.gtmanfred.com']"  works fine from the command line
20:21 manfred just to see if I am missing something silly
20:22 manfred 2014-06-07 20:09:59,905 [salt.template    ][DEBUG   ] Rendered data from file: /srv/reactor/create-ubuntu.sls:
20:22 manfred one.gluster.gtmanfred.com:
20:22 manfred runner.cloud.profile:
20:22 manfred - prof: ubuntu-8-nova
20:22 manfred - names: one.gluster.gtmanfred.com
20:22 manfred that was one after I changed it
20:22 manfred but everything is rendering correctly
20:23 manfred ['{"names": ["one.gluster.gtmanfred.com"]}',
20:26 mateoconfeugo joined #salt
20:28 toddejohnson_ joined #salt
20:30 torbock joined #salt
20:34 manfred it has them in the arg in salt-run  'arg': ['ubuntu-8-nova', "names=['one.gluster.gtmanfred.com']"],
20:35 darrend joined #salt
20:35 manfred OrderedDict([('one.gluster.gtmanfred.com', OrderedDict([('runner.cloud.profile', [OrderedDict([('prof', 'ubuntu-8-nova')]), OrderedDict([('names', ['one.gluster.gtmanfred.com'])])])]))])
20:35 manfred ¯\(°_o)/¯
20:38 nvmme_ joined #salt
20:39 viq How could I put in a state "you didn't define this properly, EXIT NOW" ?
20:43 manfred use jinja to evaluate grains?
20:43 manfred or setup your requires correctly
20:43 manfred so that if one key part fails, the whole state fails
20:45 viq mhmm
20:46 viq gitlab-formula, pondering how to do "you can define database engine in a pillar, but if it isn't one of those values crash and burn"
20:46 manfred oh
20:47 manfred just wrap everything in a {% if salt['pillar.get']('variable') is 'mysql' %}
20:47 manfred and only render everything if they have that variable set
20:47 manfred here
20:47 manfred one second
20:47 manfred viq: https://github.com/saltstack-formulas/newrelic-formula/blob/master/newrelic/init.sls#L3
20:47 bhosmer joined #salt
20:47 manfred that only includes the .php and .daemon if they have php installed
20:48 nvmme joined #salt
20:48 manfred that was why I used include, so i could only include ones based on stuff that was in their environment
20:49 viq mhmm
20:50 viq gitlab can be installed using postgresql and mysql, I am thinking of letting people write postgres or postgresql or mysql and have it do the right thing
20:55 manfred yeah, you should be able to just wrap the whole include: with an if statement, and have an {% else %} that just returns some message state about not having the grains set correctly
20:58 ajw0100 joined #salt
20:59 viq What could I use for that?
21:00 manfred just wrap it with an if statement that checks pillars.get in jinja like I did in that newrelic one, but with a pkg.list_pkgs
21:00 N-Mi joined #salt
21:00 viq I was asking what to use for that "return message", but I guess cmd.run echo would work, or something like that
21:01 manfred oh
21:01 N-Mi joined #salt
21:01 manfred yeah just cmd.run
21:03 nvmme joined #salt
21:04 viq hm, http://docs.saltstack.com/en/latest/ref/states/all/salt.states.test.html
21:04 manfred oh nice
21:04 manfred never seen that
21:05 manfred that won't be until helium though
21:05 viq yeah
21:06 MatthewsFace joined #salt
21:09 mortis_ joined #salt
21:09 Eugene joined #salt
21:11 rjc joined #salt
21:11 hotbox joined #salt
21:11 rnts joined #salt
21:32 benturner joined #salt
21:52 redondos joined #salt
21:52 redondos joined #salt
22:04 londo__ joined #salt
22:05 redondos joined #salt
22:14 nvmme joined #salt
22:18 cowyn_ joined #salt
22:19 londo_ joined #salt
22:25 nvmme joined #salt
22:27 zain_ joined #salt
22:27 smcquay joined #salt
22:35 llirkaz joined #salt
22:36 bhosmer joined #salt
22:41 diegows joined #salt
22:45 Eugene joined #salt
23:00 nvmme joined #salt
23:07 nvmme joined #salt
23:09 JeroenH_ joined #salt
23:16 nvmme joined #salt
23:17 ajprog_laptop joined #salt
23:28 mateoconfeugo joined #salt
23:32 irctc944 joined #salt
23:33 rjc joined #salt
23:34 bhosmer joined #salt
23:35 nvmme joined #salt
23:42 nvmme joined #salt
23:48 nvmme joined #salt
23:51 jalaziz joined #salt
23:55 taterbase joined #salt
23:57 viq joined #salt

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