Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-07-19

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

All times shown according to UTC.

Time Nick Message
00:03 kivihtin joined #salt
00:09 Hell_Fire joined #salt
00:16 druonysus joined #salt
00:16 druonysus joined #salt
00:21 vbabiy joined #salt
00:23 yomilk joined #salt
00:27 diegows joined #salt
00:31 tkharju1 joined #salt
00:32 dude051 joined #salt
00:32 dude051 joined #salt
00:47 ajprog_laptop1 joined #salt
00:52 vbabiy joined #salt
00:53 acabrera_ joined #salt
00:56 kumarat9pm left #salt
00:57 bhosmer joined #salt
01:03 yomilk joined #salt
01:06 Luke joined #salt
01:10 Hell_Fire Guess not :/ bugger
01:12 endersavage joined #salt
01:12 joehoyle joined #salt
01:12 endersavage would you guys agree or disagree that salt can be used for patch management?
01:13 joehoyle Hey, is it possible to use file.prepend to an existing file.managed file? When trying to do this I get "State file.prepend found in sls projects.newton is unavailable"
01:13 manfred endersavage: http://www.saltstack.com/salt-blog/2014/4/11/some-salt-for-that-heartbleed
01:14 manfred joehoyle: file.prepend isn't available until 2014.7
01:14 manfred joehoyle: which was just tagged
01:14 cachedout joined #salt
01:14 manfred so unless you are using that or develop, you won't have access to it
01:14 joehoyle ohhh, that makes sense!
01:14 endersavage thannks manfred.  definitely read that. which is another reason i am pushing the use of salt
01:14 joehoyle manfred: is there anything "older" where I can acheive the same thing?
01:15 napper joined #salt
01:15 manfred joehoyle: there is not an equivalent
01:15 beneggett I'm trying to write a state cmd unless conditional that checks something like this:
01:15 beneggett - unless: "[ 'ruby-2.1.1@amt' == `rvm alias show default` ]"
01:15 beneggett but I'm not sure how to check if something equals
01:15 manfred you can try dropping the file.py for states in /srv/salt/_states and see if it works, but i would be supprised
01:15 Hell_Fire Hrmm, wonder how I can get mine.get into the master minion
01:15 manfred joehoyle: http://docs.saltstack.com/en/latest/ref/file_server/dynamic-modules.html
01:15 beneggett can i see if my exec cmd == 'text' somehow in the unless conditional?
01:16 joehoyle manfred: ahh interesting idea
01:16 manfred beneggett: it needs to be a shell command
01:16 joehoyle manfred: thanks!
01:17 brandon_ joined #salt
01:18 brandon_ random question about tpkg.installed if anyone is free
01:18 manfred shoot
01:18 beneggett manfred: yeah, so is there a conditional  == operator in shell ?
01:18 beneggett or not really?
01:18 manfred == is dependent on being in [[ ]] for bash
01:19 manfred so you might be able to run [[ 'ruby-2.1.1@amt' == $(rvm alias show default) ]]
01:19 manfred but [ ] won't work
01:20 brandon_ so if you have a list of pkgs: instead of a pkg. installed: block, and their is a dependency... is their a way just to opt into the dependencies.  EX: php55u-mcrypt failed because it required libmcrypt.  Do you have to write out each package and dependcies?
01:20 manfred well maybe it will... bash is weird, you really should use [[ ]] for that
01:20 brandon_ *inside of a pkg. installed I mean
01:20 manfred brandon_: you shouldn't, yum should pull in libmcrypt
01:21 brandon_ that is what I thought too... odd, minion log failed and was complaining about it\
01:21 joehoyle hmm, can't seem to access docs for anythign other than "latest" salt.rtfd.org just redirects tp http://salt.readthedocs.org/en/latest/
01:21 beneggett manfred: yeah. I'll double wrap it, I think that get's me a step further.. thanks
01:22 manfred joehoyle: there is a problem with them, but they do label them on when they were added
01:22 manfred joehoyle: file.prepend says added in 2014.7.0
01:22 brandon_ I am getting stuff like this in the minion log: Error: Package: php55u-gd-5.5.14-1.ius.centos6.x86_64 (jus) Requires: libpng12.so.0()(64bit)
01:22 joehoyle yeah, though it seems to use code names?
01:23 joehoyle manfred: yeah, i wasn't disputing that, just didn't want to make the same mistake again with other stuff :)
01:23 manfred joehoyle: it should only use codenames for the next feature release, cause we don't know what month it will be released in
01:23 manfred brandon_: gimme a second
01:24 brandon_ but.. this isn't on RS
01:24 Hell_Fire I've got an orch sls, and a bunch of minions with a grain, but I want to target just one throughout the call of the file, so I try {% set target = salt['mine.get']('role:targetted', 'network.ipaddrs', 'grain').keys()[0] %}, but I'm guessing the reason why I get no returning values is mine.get isn't valid in salt-run state.orch
01:24 DaveQB joined #salt
01:24 manfred brandon_: i am just checking it on a state in my salt environment
01:24 brandon_ so nothing official... it may be a digital ocean thing (playing around for personal stuff)
01:24 brandon_ k
01:26 manfred can you paste your pkg.installed state somewhere?
01:27 Lewoco_ joined #salt
01:28 beneggett manfred: strange, I got it working fine with onlyif, but not with unless
01:28 beneggett - onlyif: '[[ "ruby-2.1.1@amt" != $(rvm alias show default) ]]' # This works
01:28 beneggett - unless: '[[ "ruby-2.1.1@amt" == $(rvm alias show default) ]]' # This doesn't
01:28 manfred ¯\(°_o)/¯
01:28 manfred aliens
01:29 * beneggett just breaking salt with corner cases...
01:30 beneggett get out of here aliens
01:30 endersavage joined #salt
01:31 endersavage is there a documentation page describng the Salt architecture and how the zer0mq system works
01:31 beneggett strange though, negating the positive works on conditionals, and not the other way around
01:39 aquinas joined #salt
01:44 mackstick joined #salt
01:50 arthabaska joined #salt
01:50 krow joined #salt
01:52 endersavage "Salt uses public keys for authentication with the master daemon," i was looking for a bit more detail on that portion
01:53 sadpanda joined #salt
01:53 manfred endersavage: there isn't a good place in the docs about it
01:54 manfred that I am aware of
01:54 manfred it just generates a private key on the minion that is used to decrypt info signed by the master with the public key
01:55 endersavage i take it thats how the AES msgpacks are decrypted?
01:55 manfred i believe so
01:55 manfred i think there was a salt air on youtube about it, but I can't rememebr
01:55 manfred endersavage: here is the protocol that salt is adding https://www.youtube.com/watch?v=SI5J43UkarM
01:55 manfred nice video discussing it
01:56 manfred and I am heading home now o/
01:56 endersavage thanks for your help!!
01:56 endersavage enjoy your weekend
01:59 ajprog_laptop1 joined #salt
02:07 krow joined #salt
02:14 matthiaswahl joined #salt
02:15 agronholm joined #salt
02:16 endersavage joined #salt
02:20 TheThing joined #salt
02:25 wic joined #salt
02:29 wic newb question. How do you manage sensitive pillar files? If a pillar has user-specific private information in it, how do you manage the "template" for that pillar file in source control? Just give them an example and then let them create their own pillar file?
02:30 manfred wic: yes
02:31 wic Thanks. That's what I would do in other configuration situations, but I just wondered if Salt had any more standard or magical way of doing it.
02:33 badon joined #salt
02:40 otter768 joined #salt
02:41 bhosmer joined #salt
02:41 ckao joined #salt
02:46 bhosmer_ joined #salt
02:49 bchung joined #salt
02:53 vbabiy joined #salt
03:33 ajprog_laptop1 joined #salt
03:34 JoeHazzers joined #salt
03:34 JoeHazzers I'm having a bit of an issue. I run a salt master and a salt minion on the same machine nonetheless
03:34 JoeHazzers the master is listening on the default 0.0.0.0 and the minion has a configured master of 127.0.0.1
03:35 JoeHazzers however, the minion never connects to the master. neither processes give any hint as to the issue except for the salt minion saying that the request timed out
03:36 JoeHazzers which seems to be the same as this issue https://github.com/saltstack/salt/issues/14126
03:37 manfred are you on 2014.1.5?
03:39 manfred cause 2014.1.7 is the newest of the 2014.1 branch
03:46 JoeHazzers i'm on 2014.1.7
03:46 JoeHazzers as per EPEL 7
03:48 wic joined #salt
03:50 wic I have a deb package I need installed via a state. Where do I put it and how do I reference it to be installed?
03:51 tkharju1 joined #salt
03:51 wic where does salt:// refer to?
03:51 wic sorry newb questions
03:54 vbabiy joined #salt
04:09 stevednd manfred: Do you know how fall through work for environments works with gitfs branches(if at all)?
04:16 cachedout joined #salt
04:27 \ask joined #salt
04:34 bhosmer joined #salt
04:41 tkharju2 joined #salt
04:43 napper joined #salt
04:55 vbabiy joined #salt
05:08 Sauvin joined #salt
05:14 snuffeluffegus joined #salt
05:15 cingeyedog joined #salt
05:20 ronc joined #salt
05:20 Voziv joined #salt
05:28 bchung joined #salt
05:29 geekmush joined #salt
05:35 yomilk joined #salt
05:40 \ask joined #salt
05:56 vbabiy joined #salt
06:02 n8n joined #salt
06:05 vu joined #salt
06:06 jalaziz joined #salt
06:37 vu joined #salt
06:49 drags joined #salt
06:52 yomilk joined #salt
06:57 vbabiy joined #salt
07:05 Hell_Fire joined #salt
07:14 matthiaswahl joined #salt
07:26 beneggett joined #salt
07:40 beneggett joined #salt
07:41 vbabiy joined #salt
08:06 bhosmer joined #salt
08:07 poogles joined #salt
08:12 bhosmer joined #salt
08:20 yomilk joined #salt
08:31 chiui joined #salt
08:34 fke joined #salt
08:38 sectionme joined #salt
08:42 vbabiy joined #salt
08:44 vu joined #salt
09:11 ajw0100 joined #salt
09:11 cingeyedog joined #salt
09:21 Hell_Fire joined #salt
09:27 vu joined #salt
09:31 Hell_Fire joined #salt
09:33 ada joined #salt
09:43 vbabiy joined #salt
09:46 poogles joined #salt
09:50 vu joined #salt
10:01 bhosmer joined #salt
10:07 CeBe joined #salt
10:13 bhosmer joined #salt
10:32 usillos joined #salt
10:38 vu joined #salt
10:39 beando joined #salt
10:40 tkharju3 joined #salt
10:43 Flashtek joined #salt
10:43 matthiaswahl joined #salt
10:44 vbabiy joined #salt
10:52 bhosmer_ joined #salt
10:57 ggoZ joined #salt
11:11 tkharju4 joined #salt
11:11 vu joined #salt
11:17 cingeyedog joined #salt
11:26 Outlander joined #salt
11:38 yomilk joined #salt
11:40 tkharju joined #salt
12:04 TheThing joined #salt
12:11 kivihtin joined #salt
12:14 vu joined #salt
12:24 war2 joined #salt
12:27 vu joined #salt
12:30 vu joined #salt
12:45 vbabiy joined #salt
12:45 ndrei joined #salt
12:51 bhosmer joined #salt
12:53 TheThing joined #salt
12:57 kosii joined #salt
12:57 TheThing joined #salt
13:02 bhosmer joined #salt
13:03 war2 joined #salt
13:04 usillos joined #salt
13:05 sectionme joined #salt
13:11 tkharju1 joined #salt
13:20 cingeyedog joined #salt
13:37 ndrei joined #salt
13:40 tkharju2 joined #salt
13:41 diegows joined #salt
13:44 vu joined #salt
13:46 vbabiy joined #salt
13:59 ndrei joined #salt
14:08 higgs001 joined #salt
14:11 tkharju3 joined #salt
14:12 kosii hey, i'm trying to launch a salt master with salt-cloud on GCE
14:12 kosii the instance is lauched, but the deploy script not
14:13 kosii I launched salt-cloud with -l all, but there is no error, and it seems that salt-cloud can ssh in to the instance too:
14:13 kosii [DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /Users/kosii/.ssh/google_compute_engine kosii@130.211.65.168 date
14:13 kosii Warning: Permanently added '130.211.65.168' (RSA) to the list of known hosts.
14:14 kosii [DEBUG   ] Warning: Permanently added '130.211.65.168' (RSA) to the list of known hosts.
14:14 kosii my salt/cloud file: https://gist.github.com/kosii/4c6481c11d73442124c9
14:14 kosii my salt/cloud.profile: https://gist.github.com/kosii/143c9cb2d351dcb900ce
14:15 kosii I use --keep-tmp too, but nothing is created in the /tmp on the instance
14:16 kosii oh, i also tried to run salt-cloud -u
14:16 kosii and my salt is 2014.1.6
14:30 cingeyedog joined #salt
14:31 ekristen joined #salt
14:36 TheThing joined #salt
14:39 sectionme joined #salt
14:39 bhosmer joined #salt
14:40 tkharju4 joined #salt
14:46 aquinas joined #salt
14:47 vbabiy joined #salt
14:52 vu joined #salt
15:00 markm joined #salt
15:03 vu joined #salt
15:07 tkharju joined #salt
15:11 kivihtin joined #salt
15:15 acabrera_ joined #salt
15:21 Luke joined #salt
15:24 DaveQB joined #salt
15:29 dccc joined #salt
15:32 vu joined #salt
15:35 dude051 joined #salt
15:36 napper joined #salt
15:40 higgs001 joined #salt
15:40 tkharju1 joined #salt
15:51 dude051 joined #salt
15:52 tkharju2 joined #salt
15:54 dude051 joined #salt
15:55 vu joined #salt
16:03 kosii left #salt
16:08 sarkis joined #salt
16:08 sarkis hola
16:08 sarkis is homebrew recommended way to get things going on osx?
16:08 vbabiy joined #salt
16:11 manfred stevednd: i do not
16:11 tkharju3 joined #salt
16:13 higgs001 joined #salt
16:15 dude051 joined #salt
16:18 tkharju3 joined #salt
16:25 faust joined #salt
16:28 bhosmer joined #salt
16:31 TheThing joined #salt
16:31 faust left #salt
16:39 bhosmer joined #salt
16:41 tkharju3 joined #salt
16:42 vu joined #salt
16:45 tkharju4 joined #salt
16:47 tkharju joined #salt
16:51 kivihtin joined #salt
17:03 ph8 joined #salt
17:04 diegows joined #salt
17:07 tkharju1 joined #salt
17:11 tkharju2 joined #salt
17:14 beginer joined #salt
17:16 beginer joined #salt
17:17 beginer joined #salt
17:17 beginer joined #salt
17:17 tkharju3 joined #salt
17:17 beginer joined #salt
17:18 beginer joined #salt
17:26 tkharju4 joined #salt
17:29 usillos joined #salt
17:36 allanparsons joined #salt
17:39 oz_akan joined #salt
17:40 tkharju joined #salt
17:49 Ryan_Lane joined #salt
17:55 vbabiy joined #salt
18:00 usillos joined #salt
18:17 kivihtin joined #salt
18:17 bhosmer joined #salt
18:41 sarkis joined #salt
18:49 linjan joined #salt
18:52 VictorLin joined #salt
18:54 higgs001 joined #salt
18:55 allanparsons joined #salt
18:56 vbabiy joined #salt
18:56 diegows joined #salt
18:58 KyleG joined #salt
18:58 KyleG joined #salt
19:02 bhosmer joined #salt
19:02 roolo joined #salt
19:04 higgs001 joined #salt
19:13 johngrasty Ok. Today is one of those days. I can get this to run from the cli. salt-call imgadm.import_image 8639203c-d515-11e3-9571-5bf3a74f354f --local
19:13 johngrasty I cannot for the life of me figure out how to structure it in a state file.
19:13 mateoconfeugo joined #salt
19:13 mateoconfeugo left #salt
19:24 ml_1 joined #salt
19:26 yomilk joined #salt
19:28 diegows joined #salt
19:43 viq johngrasty: I think you want http://docs.saltstack.com/en/latest/ref/states/all/salt.states.module.html
19:45 johngrasty viq: Yep. I completely have missed that. I will give that a try now.
19:50 johngrasty viq: Bingo. Now I just have to write a loop.
19:53 oz_akan joined #salt
19:55 oz_akan_ joined #salt
19:57 vbabiy joined #salt
19:58 TheThing joined #salt
19:59 saravanans joined #salt
19:59 saravanans joined #salt
20:06 jujube joined #salt
20:06 bhosmer_ joined #salt
20:06 higgs001 joined #salt
20:07 johngrasty viq: You may be a bad influence. It looks like I may be writing a salt state module next week. :-D Thanks for the help.
20:10 viq :P
20:10 viq have fun ;)
20:11 jujube Hello, I am on salt 2014.1.5.  I am using salt-cloud to provision servers on rackspace.  When i run salt-cloud the server is created and I see the server under the master Accepted Keys.  However, running -v test.ping results in 'Minion did not return'.  When i log in to the created minion, and look at /var/log/salt/minion I see the following repeated: [WARNING ] SaltReqTimeoutError: Waited 60 seconds [INFO    ] Waiting for minion key t
20:11 jujube Any Ideas on what could be wrong?
20:14 sectionme joined #salt
20:17 endersavage joined #salt
20:23 viq jujube: salt-key -L does show it's key as accepted?
20:23 jujube yes
20:23 jujube [root@salt-master srv]# salt-key Accepted Keys: Cassandra1 Cassandra2 Unaccepted Keys: Rejected Keys:
20:24 jujube i provisioned two servers, both are experiencing the same issue
20:24 viq and what are the timestamps on the "waiting" messages? it keeps trying?
20:24 jujube yes, since they were provisioned 12 hours ago, just keeps repeating
20:25 diegows joined #salt
20:26 viq try restarting the minion? try removing the key on the master?
20:27 bhosmer joined #salt
20:27 jujube i restarted minion, i didnt try removing key from the master
20:40 oz_akan joined #salt
20:41 DaveQB joined #salt
20:46 milky joined #salt
20:51 felskrone joined #salt
20:55 acabrera_ joined #salt
20:55 mateoconfeugo joined #salt
20:56 n8n joined #salt
21:05 ggoZ joined #salt
21:08 bhosmer joined #salt
21:09 jalbretsen joined #salt
21:09 saravanans joined #salt
21:10 milky left #salt
21:13 dude051 joined #salt
21:14 dude051 joined #salt
21:18 alekibango joined #salt
21:18 sarkis joined #salt
21:18 sarkis joined #salt
21:21 dude051 joined #salt
21:26 ml_1 joined #salt
21:35 Hell_Fire joined #salt
21:36 joehillen joined #salt
21:40 oz_akan joined #salt
21:45 dude051 joined #salt
21:53 BbT0n left #salt
21:53 krow joined #salt
21:53 dude^2 joined #salt
21:55 bhosmer joined #salt
21:55 ajolo joined #salt
22:06 jujube joined #salt
22:07 jujube Hello, my issue is solved, It was an issue with my firewall.  Thank you for you're input.
22:07 jujube *your
22:38 endersavage joined #salt
22:40 endersavage cp.get_file works on my ubuntu machines but not for centos... any ideas?
22:41 oz_akan joined #salt
22:58 higgs001 joined #salt
23:16 krow joined #salt
23:17 oz_akan joined #salt
23:28 krow joined #salt
23:28 endersavage am i the only one who salts on weekends? :P
23:29 endersavage when i have the minion in debug, it doesn't even say that its attempting to fetch the file like the ubuntu minions do
23:44 TheThing joined #salt
23:44 bhosmer joined #salt
23:44 higgs001 joined #salt
23:47 jujube im using centos, but i'm just starting out, just started salting yesterday
23:48 jujube is this message in my logs significant? there is a bunch. [WARNING ] Caught signal 15, stopping the Salt Master
23:54 jujube I get 6 of those on service salt-master start
23:55 jujube actually on stop
23:55 jujube ok, i guess thats normal then
23:56 kermit joined #salt

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