Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-10-27

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

All times shown according to UTC.

Time Nick Message
00:15 jdenning joined #salt
00:25 ajw0100 joined #salt
00:32 pdayton joined #salt
00:49 honestly #salt should really, really, throw out the jid when it times out waiting for minion responses.
00:52 talso joined #salt
00:55 pdayton joined #salt
00:59 pdayton1 joined #salt
01:02 xerxas_ joined #salt
01:03 pdayton1 joined #salt
01:03 throwane1ception joined #salt
01:03 SoR_ joined #salt
01:03 mike_per1ide joined #salt
01:04 ldleworker joined #salt
01:04 mgw joined #salt
01:06 Aphelia joined #salt
01:07 d10n_ joined #salt
01:08 crane_ joined #salt
01:08 dcolish_ joined #salt
01:08 Heartmender joined #salt
01:13 taylorgumgum joined #salt
01:15 diegows joined #salt
01:15 VSpike joined #salt
01:16 Thiggy joined #salt
01:16 fishpen0 joined #salt
01:16 Thiggy joined #salt
01:19 mgw joined #salt
01:27 Snow-Man left #salt
01:31 pt|Zool joined #salt
01:34 ajw0100 joined #salt
01:36 deepakmd_oc joined #salt
01:37 mgw joined #salt
01:47 oz_akan_ joined #salt
01:47 oz_akan_ joined #salt
01:49 dcrouch joined #salt
01:57 ajw0100 joined #salt
01:59 oz_akan_ joined #salt
02:00 oz_akan_ joined #salt
02:00 jdenning joined #salt
02:07 mwillhite joined #salt
02:19 [vaelen] joined #salt
02:22 basepi joined #salt
02:22 jalbretsen joined #salt
02:30 jslatts joined #salt
02:30 cachedout joined #salt
02:35 cachedout joined #salt
02:40 bhosmer joined #salt
02:40 dcrouch joined #salt
02:46 _ilbot joined #salt
02:46 Topic for #salt is now Welcome to #salt - SaltConf in January!! http://saltconf.com | 0.17.1 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/
02:53 lesnail joined #salt
03:04 joehh lesnail: not sure what you mean by debian still at 0.16.3, both 0.16.4 and 0.17.1 should be available
03:07 lesnail joehh: OMG you're right, I blacklisted them for updating, my fault
03:08 lesnail thanks ^^
03:08 joehh good to hear - how have you "blacklisted" them?
03:08 joehh I agree you need to upgrade carefully
03:09 steveoliver do i /need/ to implement whitespace modifier dashes when i indent expressions within condition tags?  Or can I indent however I want?  (I'm seeing the compile error: "TypeError: argument of type 'StrictUndefined' is not iterable")
03:21 pdayton joined #salt
03:34 micko joined #salt
03:38 jdenning joined #salt
03:38 lesnail joined #salt
03:39 lesnail joehh: the blacklisting just referred to unattended-upgrades, also I had the misconception apt-cache show would show available updates
03:42 kermit joined #salt
03:49 forrest joined #salt
03:59 bemehow joined #salt
04:09 smccarthy joined #salt
04:23 pdayton joined #salt
05:03 taylorgumgum joined #salt
05:06 dcrouch joined #salt
05:24 monokrome joined #salt
05:34 micko joined #salt
05:40 mwillhite joined #salt
05:43 ajw0100 joined #salt
05:53 xl1 joined #salt
06:25 ninkotech joined #salt
06:38 anuvrat joined #salt
07:07 xl1 left #salt
07:08 bemehow joined #salt
07:22 az87c joined #salt
07:32 hjubal joined #salt
07:39 bemehow joined #salt
07:40 nn0101 joined #salt
07:56 taylorgumgum joined #salt
08:05 bhosmer joined #salt
08:05 yano joined #salt
08:10 linjan_ joined #salt
08:14 bemehow joined #salt
08:47 ajw0100 joined #salt
09:07 xl1 joined #salt
09:09 xl1 left #salt
09:15 bemehow joined #salt
09:41 taylorgumgum joined #salt
09:43 poirier joined #salt
10:14 risca joined #salt
10:15 bemehow joined #salt
10:17 sebgoa joined #salt
10:22 az87c joined #salt
10:23 az87c_ joined #salt
10:26 pdayton joined #salt
10:50 bemehow joined #salt
10:52 joehh lesnail: good idea on blacklisting for unattended-upgrades
11:09 taylorgumgum joined #salt
11:41 Furao joined #salt
11:49 pdayton joined #salt
11:51 bemehow joined #salt
11:56 matanya joined #salt
12:10 sebgoa joined #salt
12:18 viq joined #salt
12:20 diegows joined #salt
12:20 nocturn joined #salt
12:22 m0hit joined #salt
12:37 Damoun joined #salt
12:51 bemehow joined #salt
13:00 faldridge joined #salt
13:17 hazzadous joined #salt
13:30 bhosmer joined #salt
13:31 jslatts joined #salt
13:35 jslatts joined #salt
13:42 jslatts joined #salt
13:53 smz joined #salt
13:56 Linz joined #salt
14:03 luminous akoumjian: hey, if/when you are around, question about salt package manager for formula.. are you still the one hacking on this and/or taking the lead here? I would be interested in knowing more about your work here. feel free to send me to a place where I can read about it if there is such a place, else I would appreciate talking about the details a little
14:07 linjan_ joined #salt
14:07 pouledodue joined #salt
14:09 Linz joined #salt
14:14 jumperswitch joined #salt
14:25 honestly woah, this is a weird exception
14:26 honestly https://gist.github.com/duk3luk3/7182795
14:26 cachedout joined #salt
14:27 honestly https://github.com/saltstack/salt/issues/4916 again?
14:48 anuvrat joined #salt
14:53 bemehow joined #salt
15:02 Linz joined #salt
15:08 pouledodue joined #salt
15:11 sebgoa joined #salt
15:22 bhosmer joined #salt
15:27 dcrouch joined #salt
15:45 jumperswitch_ joined #salt
15:52 mwillhite joined #salt
15:52 bhosmer joined #salt
15:55 bemehow joined #salt
15:56 qba73_ joined #salt
16:05 jumperswitch joined #salt
16:12 gildegoma joined #salt
16:17 smccarthy joined #salt
16:25 bemehow joined #salt
16:34 HeadAIX joined #salt
16:34 pouledodue joined #salt
16:43 redondos joined #salt
16:43 redondos joined #salt
16:45 teebes joined #salt
16:54 jimallman joined #salt
16:56 redondos_ joined #salt
16:59 pouledodue joined #salt
17:01 cachedout joined #salt
17:04 redondos joined #salt
17:04 pouledodue left #salt
17:08 linuxnewbie joined #salt
17:09 Trebortech joined #salt
17:16 Trebortech Starting to create my own modules and having a hard time getting it to work. Created the foo.py file in /usr/share/pyshared/salt/modules after I couldn't get it to work in _modules (would like to move it to _modules in file tree). I'm able to execute salt-call foo.bar on the master/minion box. The minions are returning Function foo.bar is not available. In the salt/modules directory on minion the foo.py does not exists. I've also tried to execute salt '
17:16 Trebortech saltutil.sync_all to push out the updates. I've also restarted the salt-minion service on the clients as well. Not sure what I'm missing.
17:19 jumperswitch joined #salt
17:20 lesnail joined #salt
17:23 teebes joined #salt
17:27 asachs joined #salt
17:28 asachs Hi all, documentation or packaging bug (salt.states.rabbitmq_plugin) is not present in ubuntu precise 0.17.1 but is listed in the docs as present
17:28 linuxnewbie left #salt
17:30 LarsN can someone point me to a link that explains Highstate vs Lowstate vs Overstate?
17:30 LarsN or, if I had some set of .sls files I only wanted executed once against any particular node, how would I go about doing that?
17:30 LarsN I think I could hack something based on grains...  but if there's a better way....
17:32 Thiggy joined #salt
17:35 asachs oops my bad - looks like that code is only available on the develop branch
17:36 Thiggy joined #salt
17:39 jankowiak joined #salt
17:40 oz_akan_ joined #salt
17:43 NV LarsN: use the top.sls to determine what states are executed on a node when highstate is called
17:46 LarsN NV:  I got that part.
17:46 LarsN let me explain what I'm trying to do, maybe that will help.
17:48 LarsN I have a user/init.sls that makes sure my user is created and added to appropriate groups.  I have a personal git server that houses a repo for ~/.ssh/ that I would ultimately like to deploy, as well as a bunch of other repos into various folders in my user environment.
17:48 LarsN so, I was thinking if I can manage the ~/.ssh/ folder for my user long enough to drop a temporary passwordless private key, and config.
17:49 LarsN I can use that to git clone everything into the environment, and then the last step would be to move the ~/Git/keys to ~/.ssh/
17:49 bhosmer joined #salt
17:49 LarsN at which point I need to make sure a future highstate doesn't overwrite the config.
17:50 LarsN or when I manage git from a state file, does it use the git creds on the salt master, in which case this isn't an issue?
17:53 NV that seems like a rather convoluted way
17:53 NV the first simple thing is why not just use salt to manage your authorized keys?
17:54 LarsN I was doing that.
17:54 NV if for some reason that isn't possible, why do you need salt to put in a temp details in .ssh in the first place? just use salt to manage cloning of the git repo (although really, seem point a - just use salts inbuilt authorized keys management stuff)
17:55 LarsN and I could have salt manage the whole ssh folder,  but it's really nice to be able to edit the config, and commit it to git.
17:56 LarsN I suppose it would have been good to start with...  currently I'm using salt to manage my personal computers, rather than servers.
17:57 LarsN being able to re-install the OS on my laptop, bootstrap the minion on it, and come back in two hours to a ready to use machine is my ultimate goal :)
17:57 NV hehe
17:57 LarsN well, the later goal is to use cobbler to do the installation, and to bootstrap salt
17:57 LarsN so...  ideally I would pxeboot, come back in three hours and be done.
17:57 NV it's the authors opinion that trusting your private keys in a git repo is a bad idea(tm)
17:57 NV in fact, i don't move fhtme from the machine they're kept on
17:58 NV for my personal machines I actually use a really cool tool called monkeysphere
17:58 NV it uses your gpg identity to setup authorized_keys files
17:58 LarsN In this case, my git server & my salt server are the same server.
17:59 LarsN I suppose ideally I would move my private keys into pillars
17:59 NV really cool because once its setup you can just add/remove authentication subkeys and publish the publics up to a keyserver and bam machines will trust it :D
17:59 LarsN making a note of monkeysphere
17:59 berto- joined #salt
17:59 NV i should write a standalone salt module that does the same thing
17:59 NV <.< >.>
17:59 LarsN http://web.monkeysphere.info/ <--- that the right one?
18:00 NV yup
18:00 LarsN k
18:00 NV it does a bunch of other stuff too (you can do known_hosts trusting stuff and https cert trusting for example)
18:00 NV but i just use the ssh authorized_keys stuff
18:02 LarsN so how do you get your private keys to your workstation(s)
18:02 LarsN manually scping them over?
18:03 NV nah generate a new one on the new machine
18:04 NV that's the joyous part - each machine has its own private key
18:04 LarsN I see.
18:04 NV and as long as the corresponding public key is signed on my keychain (and published up to a keyserver) monkeysphere just makes it work
18:05 NV and if say i lose my phone, i just revoke that key and it stops working while the rest carry on without missing a beat
18:06 LarsN all but one of my keys are password protected with passwords of silly length.
18:06 Thiggy joined #salt
18:07 LarsN you've given me some things to think about though.
18:07 bhosmer joined #salt
18:08 LarsN now I need to determine how I want to move forward.
18:08 NV yeah my keys are password protected as well, but i'd rather clean up the cruft :P
18:08 LarsN on a sort of related note...
18:08 LarsN what's the "file.managed" equivilent for igit?
18:08 NV i also keep my gpg main key offline on a few usb sticks
18:08 LarsN stupid hotel wifi.
18:08 NV git.latest iirc?
18:09 LarsN rgr, I'll give it a go.
18:12 ckao joined #salt
18:14 redondos joined #salt
18:19 ajw0100 joined #salt
18:19 alekibango joined #salt
18:21 alekibango joined #salt
18:32 dccc joined #salt
18:32 hazzadous joined #salt
18:33 m_george left #salt
18:35 s0undt3ch joined #salt
18:36 mwillhite joined #salt
18:49 luminous NV: thanks for the reminder about monkeysphere. I need to look into that
18:49 NV hehe
18:58 jankowiak joined #salt
18:59 jumperswitch joined #salt
19:21 HeadAIX joined #salt
19:21 jankowiak joined #salt
19:34 MacDuke joined #salt
19:40 mnemonikk joined #salt
19:41 networkpadawan joined #salt
19:44 [M7] joined #salt
19:47 m_george|away joined #salt
19:58 MTecknology So... this company that wants me to interview for a position with being a salt admin... they apparently seem very excited to be talking to me. :S
19:58 MTecknology utahcon: I assume you're dave? Would you hire me to be a salt admin?
20:06 m_george left #salt
20:09 viq Can I get a pillar value in another pillar?
20:10 viq Specifically: in one pillar define whether sudo_group is sudo on debian and wheel on everything else, and then when defining pillar with users use that for groups they belong to
20:14 bwq hi
20:14 bwq is there something wrong with the docs in pdf format?
20:14 bwq i can't open it
20:18 networkpadawan joined #salt
20:18 networkpadawan left #salt
20:19 viq bwq: doesn't open for me either, just tried
20:24 elfixit joined #salt
20:29 bemehow joined #salt
20:37 UtahDave joined #salt
20:37 jalbretsen joined #salt
20:39 bwq thanks viq
20:39 bwq hi UtahDave
20:39 UtahDave hey, bwq!
20:39 bwq looks like there's something wrong with the salt docs in pdf format
20:39 bwq they're corrupted, iBooks can't open them, same on my laptop
20:40 UtahDave Oh, yeah? Do you know how long this has been happening?
20:41 bwq nope, i've just tried to download them today
20:41 bwq about 30 mins ago
20:41 UtahDave ok.  Would you mind opening an issue on that? I'll make sure whiteinge sees it
20:42 bwq sure
20:43 bwq k, done
20:44 UtahDave thanks!
20:44 bwq also, i'm getting this pretty strange error that i didn't have when i first tested salt a couple months ago
20:44 bwq np
20:44 bwq i'm getting
20:44 bwq Failed to authenticate, is this user permitted to execute commands?
20:44 bwq but it only happens sporadically
20:44 UtahDave bwq: what os?
20:44 bwq debian
20:44 bwq lemme get uname
20:45 UtahDave are you using sudo?
20:45 bwq Linux 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux
20:45 bwq that's the master
20:45 bwq Linux 3.8.13-xxxx-grs-ipv6-64-filer #1 SMP Mon May 13 14:41:18 CEST 2013 x86_64 GNU/Linux
20:45 bwq that's the minion
20:45 bwq nope, i'm logged in as root with the master
20:46 BraveSirRobin joined #salt
20:47 UtahDave what version of Salt, bwq?
20:47 bwq the latest, i used the bootstrap sh
20:49 BraveSirRobin left #salt
20:49 Trebortech Need some noob help with custom modules. I've read docs online and watched video but can not get a foo.py module with bar method to work on minion. I get the following "Function foo.bar is not available." with salt-call on minion but it works on master. I've also executed saltutil.sync_all and state.highstate.
20:52 bwq UtahDave: i've just restarted my salt-minion since i wanted to see if salt-minion's "test.ping" would pick it up when it became available again and i've received an error related to the keys. I've pasted the full traceback output here: http://bpaste.net/show/oU8EGBNHZx8pZrobkI1m/
20:56 UtahDave bwq: can you pastebin the output of salt --versions-report     from your master and minion?
20:56 UtahDave Trebortech: did you put your module in   /srv/salt/_modules/    on your master server before running salt \* saltutil.sync_all    ?
20:57 bwq UtahDave: http://pastebin.com/hULRvXej
20:58 bwq different versions, the minion was already there
20:58 bwq i've installed a new master
20:59 UtahDave bwq: Ok, so there were some security fixes between 0.17.0 and 0.17.1 that changed a bit of the communication between masters and minions
20:59 UtahDave once you upgrade your master to 0.17.1 you must upgrade all your minions to 0.17.1 as well
20:59 Trebortech UtahDave: I updated my file_roots to /x/saltme on the master and created /x/saltme/_modules/
21:00 bemehow joined #salt
21:01 bwq ah, i see
21:01 bwq can i run the bootstrap minion install on my minion? will that preserve its config?
21:01 bwq gotcha, that makes sense
21:02 bwq works fine now, no more exception in both master and minion
21:02 bwq i'm still getting that random "Failed to authenticate" error though
21:02 UtahDave I'm pretty sure it will preserve your configs
21:03 bwq yup, it did, no changes required
21:03 jdenning joined #salt
21:04 UtahDave bwq: are you using any kind of eauth or client-acl?
21:05 bwq i had to look those up, so i doubt it :p
21:05 bwq just logging in through ssh
21:07 UtahDave Hm. Not sure what's going on there.  I haven't seen that error.   I'll spin up some debian boxes in a little bit and try to reproduce it
21:07 isomorphic joined #salt
21:07 bwq cool, thanks
21:07 bwq from what i can tell, debug output is exactly the same in both cases
21:13 cewood joined #salt
21:31 chutzpah joined #salt
21:44 jslatts joined #salt
21:49 jacksontj joined #salt
22:03 HeadAIX joined #salt
22:16 bemehow joined #salt
22:17 smccarthy joined #salt
22:22 networkpadawan joined #salt
22:24 andersb joined #salt
22:36 oc joined #salt
22:38 andersb joined #salt
22:41 xmltok joined #salt
22:43 Trebortech UtahDave: I've decided to start clean on different systems (master and minion) and the custom module sync error no longer happens. Looks like I have hosed setup. Log files were light on possible sync issues.
22:44 UtahDave ah, ok. Glad you got it working.  We should probably review the logging in they syncing functions.
22:45 Trebortech If I can figure out where it is happening and provide valid messages I'll send a pull request. Since I have a hosed box it's best I take advantage of it :-)
22:46 UtahDave that would be really helpful, Trebortech. Thanks!
22:47 forrest joined #salt
23:15 bhosmer joined #salt
23:18 mattmtl joined #salt
23:18 honestly 15:26:00 < honestly> https://gist.github.com/duk3luk3/7182795
23:18 honestly 15:27:16 < honestly> https://github.com/saltstack/salt/issues/4916 again?
23:18 honestly UtahDave: ^
23:27 Fandekasp joined #salt
23:28 UtahDave honestly: what version of Salt is that?
23:29 honestly newest
23:29 honestly lemme check so I don't lie
23:29 UtahDave 0.17.1?  or develop branch?
23:30 honestly newest stable
23:30 joehh debian?
23:30 honestly ubuntu
23:30 joehh which release?
23:30 honestly master: Version: 0.17.1-1precise
23:30 UtahDave honestly: any way you can test that on the latest from the develop branch?
23:31 honestly minion version as soon as aptitude is done churning...
23:31 honestly Version: 0.17.1-1quantal
23:31 honestly UtahDave: maybe.
23:31 honestly I'll get back to you tomorrow?
23:32 honestly can't do it now
23:32 honestly this is with templates in file.managed
23:32 honestly the file consists only of {{ content }}
23:33 honestly executing with test=True works, it shows a proper diff too
23:33 UtahDave ok.  cool.  I'm actually testing that right now, too
23:34 honestly lemme give you the formula
23:34 UtahDave perfect
23:34 honestly https://github.com/duk3luk3/dirty-user-sync-formula
23:34 honestly it's the master "branch"
23:34 honestly ie what gets execute on the server
23:35 honestly (the formula is server/client specific)
23:35 bemehow joined #salt
23:36 UtahDave thanks
23:37 UtahDave honestly: in users.sls?
23:38 honestly yeah
23:38 honestly salt-call state.sls dirty-users.users
23:38 honestly (the architecture of the formula may be a bit backwards)
23:38 UtahDave can you pastebin the errors/output you're getting/
23:38 UtahDave ?
23:39 honestly I did, didn't I?
23:39 UtahDave ah, yeah, you did.
23:39 UtahDave sorry
23:39 honestly (:
23:39 honestly I don't have more
23:39 honestly didn't think to save any more output at the time
23:39 UtahDave I'm testing it right now.  I think this got fixed already
23:40 UtahDave but I'll test
23:41 honestly it works fine when it creates the file
23:41 honestly but fails when it has to update it
23:41 honestly so set the whole thing up
23:41 honestly with one server and one client
23:41 honestly run the formula
23:41 bemehow joined #salt
23:41 honestly then add another client to the pillar
23:41 honestly (you don't need a real client, you can just run the server part)
23:42 honestly and run it again
23:43 UtahDave cool
23:48 honestly I'm working on putting all my salt stuff into formula format
23:49 honestly makes it much easier to handle
23:49 honestly and whiteinge gets more formulas (:
23:51 HeadAIX joined #salt
23:56 forrest woot formulas

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