Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-07-31

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

All times shown according to UTC.

Time Nick Message
00:00 gcfhvjbkn joined #salt
00:00 linjan_ joined #salt
00:00 gcfhvjbkn joined #salt
00:01 gcfhvjbkn joined #salt
00:02 gcfhvjbkn joined #salt
00:02 cberndt joined #salt
00:02 gcfhvjbkn joined #salt
00:04 gcfhvjbkn joined #salt
00:04 gcfhvjbkn joined #salt
00:05 pcdummy joined #salt
00:05 gcfhvjbkn joined #salt
00:06 gcfhvjbkn joined #salt
00:06 gcfhvjbkn joined #salt
00:07 dhscholb iggy: yeah, a returner combined with something else to send the notif sounds like what I want. Thanks
00:07 gcfhvjbkn joined #salt
00:07 gcfhvjbkn joined #salt
00:08 ageorgop joined #salt
00:08 gcfhvjbkn joined #salt
00:09 iggy mosen: there's syslog returner (that would feed GCE's logging at least)
00:09 gcfhvjbkn joined #salt
00:09 pcdummy joined #salt
00:09 gcfhvjbkn joined #salt
00:10 gcfhvjbkn joined #salt
00:11 gcfhvjbkn joined #salt
00:11 gcfhvjbkn joined #salt
00:12 amcorreia_ joined #salt
00:12 gcfhvjbkn joined #salt
00:12 mosen iggy: ahh yeah, that'd work for a lot of things
00:12 gcfhvjbkn joined #salt
00:13 gcfhvjbkn joined #salt
00:14 gcfhvjbkn joined #salt
00:14 digitalhero joined #salt
00:14 gcfhvjbkn joined #salt
00:15 gcfhvjbkn joined #salt
00:16 gcfhvjbkn joined #salt
00:16 gcfhvjbkn joined #salt
00:17 gcfhvjbkn joined #salt
00:18 gcfhvjbkn joined #salt
00:18 gcfhvjbkn joined #salt
00:19 gcfhvjbkn joined #salt
00:19 gcfhvjbkn joined #salt
00:20 gcfhvjbkn joined #salt
00:21 napsterX joined #salt
00:21 gcfhvjbkn joined #salt
00:21 gcfhvjbkn joined #salt
00:22 gcfhvjbkn joined #salt
00:22 Steven- joined #salt
00:23 gcfhvjbkn joined #salt
00:23 gcfhvjbkn joined #salt
00:24 gcfhvjbkn joined #salt
00:25 gcfhvjbkn joined #salt
00:26 gcfhvjbkn joined #salt
00:26 gcfhvjbkn joined #salt
00:27 gcfhvjbkn joined #salt
00:28 gcfhvjbkn joined #salt
00:28 gcfhvjbkn joined #salt
00:29 gcfhvjbkn joined #salt
00:29 gcfhvjbkn joined #salt
00:30 gcfhvjbkn joined #salt
00:31 gcfhvjbkn joined #salt
00:31 gcfhvjbkn joined #salt
00:32 gcfhvjbkn joined #salt
00:33 gcfhvjbkn joined #salt
00:33 gcfhvjbkn joined #salt
00:33 Diaoul joined #salt
00:34 gcfhvjbkn joined #salt
00:34 gcfhvjbkn joined #salt
00:35 gcfhvjbkn joined #salt
00:36 gcfhvjbkn joined #salt
00:36 gcfhvjbkn joined #salt
00:37 gcfhvjbkn joined #salt
00:38 gcfhvjbkn joined #salt
00:38 gcfhvjbkn joined #salt
00:39 gcfhvjbkn joined #salt
00:40 gcfhvjbkn joined #salt
00:40 gcfhvjbkn joined #salt
00:41 gcfhvjbkn joined #salt
00:41 gcfhvjbkn joined #salt
00:42 gcfhvjbkn joined #salt
00:43 gcfhvjbkn joined #salt
00:44 gcfhvjbkn joined #salt
00:45 gcfhvjbkn joined #salt
00:45 gcfhvjbkn joined #salt
00:46 gcfhvjbkn joined #salt
00:46 gcfhvjbkn joined #salt
00:47 gcfhvjbkn joined #salt
00:48 gcfhvjbkn joined #salt
00:48 gcfhvjbkn joined #salt
00:49 gcfhvjbkn joined #salt
00:50 gcfhvjbkn joined #salt
00:50 gcfhvjbkn joined #salt
00:50 tzero joined #salt
00:51 gcfhvjbkn joined #salt
00:52 gcfhvjbkn joined #salt
00:52 gcfhvjbkn joined #salt
00:53 gcfhvjbkn joined #salt
00:53 gcfhvjbkn joined #salt
00:54 gcfhvjbkn joined #salt
00:55 gcfhvjbkn joined #salt
00:55 digitalhero joined #salt
00:55 gcfhvjbkn joined #salt
00:56 gcfhvjbkn joined #salt
00:56 gcfhvjbkn joined #salt
00:57 gcfhvjbkn joined #salt
00:58 gcfhvjbkn joined #salt
00:58 gcfhvjbkn joined #salt
00:59 gcfhvjbkn joined #salt
01:00 gcfhvjbkn joined #salt
01:00 gcfhvjbkn joined #salt
01:01 gcfhvjbkn joined #salt
01:02 gcfhvjbkn joined #salt
01:02 MatthewsFace joined #salt
01:02 gcfhvjbkn joined #salt
01:03 gcfhvjbkn joined #salt
01:04 nexus joined #salt
01:04 gcfhvjbkn joined #salt
01:05 gcfhvjbkn joined #salt
01:05 gcfhvjbkn joined #salt
01:06 gcfhvjbkn joined #salt
01:07 gcfhvjbkn joined #salt
01:07 gcfhvjbkn joined #salt
01:08 gcfhvjbkn joined #salt
01:08 gcfhvjbkn joined #salt
01:09 gcfhvjbkn joined #salt
01:09 Vynce1 joined #salt
01:10 Vynce1 is there an example showing proper indentation of a pillar file with nested ifs?
01:10 gcfhvjbkn joined #salt
01:10 gcfhvjbkn joined #salt
01:11 nzero joined #salt
01:11 gcfhvjbkn joined #salt
01:12 gcfhvjbkn joined #salt
01:12 gcfhvjbkn joined #salt
01:13 gcfhvjbkn joined #salt
01:13 gcfhvjbkn joined #salt
01:14 gcfhvjbkn joined #salt
01:14 nzero joined #salt
01:15 gcfhvjbkn joined #salt
01:15 gcfhvjbkn joined #salt
01:16 gcfhvjbkn joined #salt
01:17 gcfhvjbkn joined #salt
01:17 tzero joined #salt
01:17 loz-- joined #salt
01:17 gcfhvjbkn joined #salt
01:18 gcfhvjbkn joined #salt
01:18 gcfhvjbkn joined #salt
01:19 gcfhvjbkn joined #salt
01:20 gcfhvjbkn joined #salt
01:20 gcfhvjbkn joined #salt
01:21 jaybocc2 joined #salt
01:21 gcfhvjbkn joined #salt
01:21 napsterX joined #salt
01:22 gcfhvjbkn joined #salt
01:22 gcfhvjbkn joined #salt
01:22 loz-- joined #salt
01:23 gcfhvjbkn joined #salt
01:24 gcfhvjbkn joined #salt
01:24 gcfhvjbkn joined #salt
01:25 gcfhvjbkn joined #salt
01:25 gcfhvjbkn joined #salt
01:26 gcfhvjbkn joined #salt
01:27 gcfhvjbkn joined #salt
01:27 gcfhvjbkn joined #salt
01:28 gcfhvjbkn joined #salt
01:29 gcfhvjbkn joined #salt
01:29 gcfhvjbkn joined #salt
01:30 gcfhvjbkn joined #salt
01:30 loz-- joined #salt
01:30 gcfhvjbkn joined #salt
01:31 theo joined #salt
01:31 gcfhvjbkn joined #salt
01:31 amcorreia_ joined #salt
01:32 gcfhvjbkn joined #salt
01:32 gcfhvjbkn joined #salt
01:33 gcfhvjbkn joined #salt
01:34 hasues joined #salt
01:34 gcfhvjbkn joined #salt
01:34 hasues left #salt
01:34 gcfhvjbkn joined #salt
01:35 gcfhvjbkn joined #salt
01:35 gcfhvjbkn joined #salt
01:36 gcfhvjbkn joined #salt
01:37 malinoff joined #salt
01:37 gcfhvjbkn joined #salt
01:37 gcfhvjbkn joined #salt
01:38 gcfhvjbkn joined #salt
01:39 gcfhvjbkn joined #salt
01:39 gcfhvjbkn joined #salt
01:40 gcfhvjbkn joined #salt
01:41 gcfhvjbkn joined #salt
01:41 gcfhvjbkn joined #salt
01:42 gcfhvjbkn joined #salt
01:45 gcfhvjbkn joined #salt
01:45 nzero joined #salt
01:45 gcfhvjbkn joined #salt
01:45 gcfhvjbkn joined #salt
01:45 gcfhvjbkn joined #salt
01:45 gcfhvjbkn joined #salt
01:46 gcfhvjbkn joined #salt
01:46 gcfhvjbkn joined #salt
01:47 gcfhvjbkn joined #salt
01:47 gcfhvjbkn joined #salt
01:48 napsterX joined #salt
01:48 gcfhvjbkn joined #salt
01:49 gcfhvjbkn joined #salt
01:49 gcfhvjbkn joined #salt
01:50 gcfhvjbkn joined #salt
01:51 gcfhvjbkn joined #salt
01:51 gcfhvjbkn joined #salt
01:52 gcfhvjbkn joined #salt
01:52 gcfhvjbkn joined #salt
01:53 gcfhvjbkn joined #salt
01:54 gcfhvjbkn joined #salt
01:54 gcfhvjbkn joined #salt
01:55 gcfhvjbkn joined #salt
01:56 gcfhvjbkn joined #salt
01:56 Vynce hm.  I have a minion that is refusing to actually do its highstate.  whether i run test=True or test=False, there's one file it says is "set to be changed" but then doesn't actually change.
01:56 gcfhvjbkn joined #salt
01:57 mosen I've noticed certain states that dont really give you a correct estimation with test=True, but not with both
01:57 gcfhvjbkn joined #salt
01:57 Vynce yeah, this is a simple file.manage and the target file just… doesn't get affected.
01:57 gcfhvjbkn joined #salt
01:58 mosen thats prettty strange
01:58 gcfhvjbkn joined #salt
01:59 digitalhero joined #salt
01:59 Vynce and, as it's the authorized_keys file for the only account on the box, this is somewhat disheartening
01:59 gcfhvjbkn joined #salt
02:00 otter768 joined #salt
02:00 gcfhvjbkn joined #salt
02:01 gcfhvjbkn joined #salt
02:01 gcfhvjbkn joined #salt
02:02 gcfhvjbkn joined #salt
02:03 gcfhvjbkn joined #salt
02:03 gcfhvjbkn joined #salt
02:04 gcfhvjbkn joined #salt
02:04 gcfhvjbkn joined #salt
02:05 Vynce i was able to file.append it directly, but i still don't know why file.managed isn't working for it.
02:05 gcfhvjbkn joined #salt
02:06 gcfhvjbkn joined #salt
02:06 subsignal joined #salt
02:06 gcfhvjbkn joined #salt
02:07 gcfhvjbkn joined #salt
02:08 gcfhvjbkn joined #salt
02:08 gcfhvjbkn joined #salt
02:09 gcfhvjbkn joined #salt
02:09 gcfhvjbkn joined #salt
02:11 gcfhvjbkn joined #salt
02:12 gcfhvjbkn joined #salt
02:13 gcfhvjbkn joined #salt
02:13 gcfhvjbkn joined #salt
02:14 gcfhvjbkn joined #salt
02:15 gcfhvjbkn joined #salt
02:15 gcfhvjbkn joined #salt
02:16 gcfhvjbkn joined #salt
02:16 gcfhvjbkn joined #salt
02:17 gcfhvjbkn joined #salt
02:18 gcfhvjbkn joined #salt
02:18 gcfhvjbkn joined #salt
02:19 gcfhvjbkn joined #salt
02:20 gcfhvjbkn joined #salt
02:20 gcfhvjbkn joined #salt
02:21 gcfhvjbkn joined #salt
02:21 gcfhvjbkn joined #salt
02:22 gcfhvjbkn joined #salt
02:22 otter768 joined #salt
02:23 gcfhvjbkn joined #salt
02:23 gcfhvjbkn joined #salt
02:24 gcfhvjbkn joined #salt
02:25 gcfhvjbkn joined #salt
02:25 gcfhvjbkn joined #salt
02:26 gcfhvjbkn joined #salt
02:26 gcfhvjbkn joined #salt
02:27 gcfhvjbkn joined #salt
02:28 gcfhvjbkn joined #salt
02:28 gcfhvjbkn joined #salt
02:29 gcfhvjbkn joined #salt
02:30 gcfhvjbkn joined #salt
02:30 Johntron joined #salt
02:30 gcfhvjbkn joined #salt
02:31 gcfhvjbkn joined #salt
02:32 gcfhvjbkn joined #salt
02:32 gcfhvjbkn joined #salt
02:32 nzero Vynce - http://docs.saltstack.com/en/latest/ref/states/all/salt.states.ssh_auth.html
02:33 gcfhvjbkn joined #salt
02:33 gcfhvjbkn joined #salt
02:34 gcfhvjbkn joined #salt
02:35 gcfhvjbkn joined #salt
02:35 evle joined #salt
02:35 Vynce nzero: interesting. I may convert to that later, but at the moment, all my other hosts are doing fine with file.managed and this one is Just Being Weird.
02:35 gcfhvjbkn joined #salt
02:36 colegatron joined #salt
02:36 gcfhvjbkn joined #salt
02:37 gcfhvjbkn joined #salt
02:37 otter768 joined #salt
02:37 gcfhvjbkn joined #salt
02:37 Vynce (i mean, if file.managed is going to act like test=True when test=False for this file, with no further explanation, then i feel really strange about trusting any of the setup.
02:37 Vynce )
02:38 gcfhvjbkn joined #salt
02:38 gcfhvjbkn joined #salt
02:39 quasiben joined #salt
02:39 gcfhvjbkn joined #salt
02:40 nzero vynce - what version are you using
02:40 gcfhvjbkn joined #salt
02:40 Vynce 2014.7.2 apparently?
02:40 gcfhvjbkn joined #salt
02:41 gcfhvjbkn joined #salt
02:41 nzero https://github.com/saltstack/salt/issues/20687
02:41 saltstackbot [#20687]title: file.managed not working on 2014.7.2 | I just upgraded to 2014.7.2, and I'm running into an issue where most of my previously working file.managed states are now broken. I haven't fully determined a root cause yet, but I did figure out that templated files work ok....
02:42 Vynce hm.  i feel like there should be a simple salt.version or something i can call to get all the minions' versions, other than cmd.run 'salt-minion —version'
02:42 gcfhvjbkn joined #salt
02:42 Vynce nzero: like i said, most of them are working.
02:42 gcfhvjbkn joined #salt
02:42 Vynce but yeah, good to know there's a bug.
02:43 gcfhvjbkn joined #salt
02:43 nzero vynce - salt '*' test.version
02:43 gcfhvjbkn joined #salt
02:44 hblah joined #salt
02:44 gcfhvjbkn joined #salt
02:44 Vynce ah.  i tried salt.version; it hadn't occurred to me to try test
02:44 nzero maybe the ones that work are on a different version
02:45 gcfhvjbkn joined #salt
02:45 Vynce oh, look.  for some reason,t eh client that isn't working has a ridiculously older version.
02:45 nzero ah
02:46 Vynce like, 2014 major revisions older. (;
02:46 nzero well, that will probably fix it
02:46 gcfhvjbkn joined #salt
02:46 Vynce i'll look into the upgrade path for that after i get the swamp drained.
02:47 gcfhvjbkn joined #salt
02:47 nzero i had some servers get stuck on the old version because the apt sources was no longer pointing to a valid server.
02:47 gcfhvjbkn joined #salt
02:48 gcfhvjbkn joined #salt
02:48 gcfhvjbkn joined #salt
02:49 gcfhvjbkn joined #salt
02:50 gcfhvjbkn joined #salt
02:50 gcfhvjbkn joined #salt
02:51 gcfhvjbkn joined #salt
02:52 gcfhvjbkn joined #salt
02:52 colegatron joined #salt
02:52 gcfhvjbkn joined #salt
02:53 gcfhvjbkn joined #salt
02:54 gcfhvjbkn joined #salt
02:54 gcfhvjbkn joined #salt
02:55 gcfhvjbkn joined #salt
02:55 gcfhvjbkn joined #salt
02:56 gcfhvjbkn joined #salt
02:57 gcfhvjbkn joined #salt
02:57 gcfhvjbkn joined #salt
02:58 gcfhvjbkn joined #salt
02:59 gcfhvjbkn joined #salt
02:59 gcfhvjbkn joined #salt
03:00 gcfhvjbkn joined #salt
03:00 gcfhvjbkn joined #salt
03:01 gcfhvjbkn joined #salt
03:02 gcfhvjbkn joined #salt
03:02 gcfhvjbkn joined #salt
03:03 peters-tx joined #salt
03:04 Aidin left #salt
03:04 gcfhvjbkn joined #salt
03:05 digitalhero joined #salt
03:05 gcfhvjbkn joined #salt
03:05 Alekti joined #salt
03:06 gcfhvjbkn joined #salt
03:06 gcfhvjbkn joined #salt
03:06 favadi joined #salt
03:07 gcfhvjbkn joined #salt
03:07 gcfhvjbkn joined #salt
03:08 gcfhvjbkn joined #salt
03:09 gcfhvjbkn joined #salt
03:09 gcfhvjbkn joined #salt
03:10 gcfhvjbkn joined #salt
03:11 sakaYK joined #salt
03:11 gcfhvjbkn joined #salt
03:12 jaybocc2 joined #salt
03:12 gcfhvjbkn joined #salt
03:12 gcfhvjbkn joined #salt
03:13 gcfhvjbkn joined #salt
03:14 gcfhvjbkn joined #salt
03:14 gcfhvjbkn joined #salt
03:15 gcfhvjbkn joined #salt
03:16 gcfhvjbkn joined #salt
03:16 gcfhvjbkn joined #salt
03:17 gcfhvjbkn joined #salt
03:18 gcfhvjbkn joined #salt
03:18 gcfhvjbkn joined #salt
03:19 gcfhvjbkn joined #salt
03:19 gcfhvjbkn joined #salt
03:20 gcfhvjbkn joined #salt
03:21 gcfhvjbkn joined #salt
03:22 gcfhvjbkn joined #salt
03:23 gcfhvjbkn joined #salt
03:23 gcfhvjbkn joined #salt
03:24 gcfhvjbkn joined #salt
03:24 gcfhvjbkn joined #salt
03:25 gcfhvjbkn joined #salt
03:26 gcfhvjbkn joined #salt
03:26 gcfhvjbkn joined #salt
03:27 gcfhvjbkn joined #salt
03:28 gcfhvjbkn joined #salt
03:28 gcfhvjbkn joined #salt
03:29 gcfhvjbkn joined #salt
03:29 gcfhvjbkn joined #salt
03:30 gcfhvjbkn joined #salt
03:31 gcfhvjbkn joined #salt
03:31 gcfhvjbkn joined #salt
03:32 gcfhvjbkn joined #salt
03:33 gcfhvjbkn joined #salt
03:34 gcfhvjbkn joined #salt
03:35 gcfhvjbkn joined #salt
03:35 gcfhvjbkn joined #salt
03:36 gcfhvjbkn joined #salt
03:36 gcfhvjbkn joined #salt
03:37 gcfhvjbkn joined #salt
03:38 gcfhvjbkn joined #salt
03:38 gcfhvjbkn joined #salt
03:39 gcfhvjbkn joined #salt
03:40 gcfhvjbkn joined #salt
03:40 gcfhvjbkn joined #salt
03:41 gcfhvjbkn joined #salt
03:41 gcfhvjbkn joined #salt
03:42 gcfhvjbkn joined #salt
03:43 gcfhvjbkn joined #salt
03:44 gcfhvjbkn joined #salt
03:45 gcfhvjbkn joined #salt
03:45 hblah joined #salt
03:46 gcfhvjbkn joined #salt
03:47 gcfhvjbkn joined #salt
03:47 gcfhvjbkn joined #salt
03:48 gcfhvjbkn joined #salt
03:48 gcfhvjbkn joined #salt
03:49 gcfhvjbkn joined #salt
03:50 gcfhvjbkn joined #salt
03:50 gcfhvjbkn joined #salt
03:51 gcfhvjbkn joined #salt
03:52 gcfhvjbkn joined #salt
03:52 gcfhvjbkn joined #salt
03:53 gcfhvjbkn joined #salt
03:53 ajmath joined #salt
03:53 gcfhvjbkn joined #salt
03:54 gcfhvjbkn joined #salt
03:54 ageorgop joined #salt
03:55 gcfhvjbkn joined #salt
03:55 gcfhvjbkn joined #salt
03:56 gcfhvjbkn joined #salt
03:57 gcfhvjbkn joined #salt
03:57 gcfhvjbkn joined #salt
03:58 gcfhvjbkn joined #salt
03:59 gcfhvjbkn joined #salt
04:00 gcfhvjbkn joined #salt
04:00 gcfhvjbkn joined #salt
04:01 gcfhvjbkn joined #salt
04:02 gcfhvjbkn joined #salt
04:03 gcfhvjbkn joined #salt
04:04 gcfhvjbkn joined #salt
04:04 gcfhvjbkn joined #salt
04:05 gcfhvjbkn joined #salt
04:05 gcfhvjbkn joined #salt
04:06 rm_jorge joined #salt
04:06 gcfhvjbkn joined #salt
04:07 gcfhvjbkn joined #salt
04:07 gcfhvjbkn joined #salt
04:08 gcfhvjbkn joined #salt
04:09 gcfhvjbkn joined #salt
04:09 gcfhvjbkn joined #salt
04:10 gcfhvjbkn joined #salt
04:11 gcfhvjbkn joined #salt
04:12 gcfhvjbkn joined #salt
04:12 gcfhvjbkn joined #salt
04:14 gcfhvjbkn joined #salt
04:14 gcfhvjbkn joined #salt
04:15 gcfhvjbkn joined #salt
04:16 gcfhvjbkn joined #salt
04:16 gcfhvjbkn joined #salt
04:17 gcfhvjbkn joined #salt
04:19 gcfhvjbkn joined #salt
04:19 gcfhvjbkn joined #salt
04:20 gcfhvjbkn joined #salt
04:21 gcfhvjbkn joined #salt
04:21 gcfhvjbkn joined #salt
04:22 gcfhvjbkn joined #salt
04:22 gcfhvjbkn joined #salt
04:23 gcfhvjbkn joined #salt
04:24 gcfhvjbkn joined #salt
04:24 gcfhvjbkn joined #salt
04:25 gcfhvjbkn joined #salt
04:26 gcfhvjbkn joined #salt
04:26 gcfhvjbkn joined #salt
04:27 gcfhvjbkn joined #salt
04:27 gcfhvjbkn joined #salt
04:28 gcfhvjbkn joined #salt
04:29 gcfhvjbkn joined #salt
04:29 gcfhvjbkn joined #salt
04:30 gcfhvjbkn joined #salt
04:31 gcfhvjbkn joined #salt
04:31 gcfhvjbkn joined #salt
04:32 gcfhvjbkn joined #salt
04:33 gcfhvjbkn joined #salt
04:33 gcfhvjbkn joined #salt
04:34 gcfhvjbkn joined #salt
04:34 gcfhvjbkn joined #salt
04:35 gcfhvjbkn joined #salt
04:36 gcfhvjbkn joined #salt
04:36 gcfhvjbkn joined #salt
04:37 gcfhvjbkn joined #salt
04:38 gcfhvjbkn joined #salt
04:38 gcfhvjbkn joined #salt
04:39 gcfhvjbkn joined #salt
04:39 gcfhvjbkn joined #salt
04:40 gcfhvjbkn joined #salt
04:41 gcfhvjbkn joined #salt
04:41 gcfhvjbkn joined #salt
04:42 gcfhvjbkn joined #salt
04:43 gcfhvjbkn joined #salt
04:43 gcfhvjbkn joined #salt
04:44 gcfhvjbkn joined #salt
04:45 gcfhvjbkn joined #salt
04:45 gcfhvjbkn joined #salt
04:46 gcfhvjbkn joined #salt
04:46 gcfhvjbkn joined #salt
04:47 gcfhvjbkn joined #salt
04:47 troyready joined #salt
04:48 gcfhvjbkn joined #salt
04:48 gcfhvjbkn joined #salt
04:49 gcfhvjbkn joined #salt
04:50 gcfhvjbkn joined #salt
04:50 gcfhvjbkn joined #salt
04:51 gcfhvjbkn joined #salt
04:51 gcfhvjbkn joined #salt
04:52 gcfhvjbkn joined #salt
04:53 gcfhvjbkn joined #salt
04:53 gcfhvjbkn joined #salt
04:54 gcfhvjbkn joined #salt
04:55 gcfhvjbkn joined #salt
04:55 gcfhvjbkn joined #salt
04:56 gcfhvjbkn joined #salt
04:56 gcfhvjbkn joined #salt
04:57 gcfhvjbkn joined #salt
04:58 gcfhvjbkn joined #salt
04:58 gcfhvjbkn joined #salt
04:59 gcfhvjbkn joined #salt
05:00 gcfhvjbkn joined #salt
05:01 gcfhvjbkn joined #salt
05:01 gcfhvjbkn joined #salt
05:02 gcfhvjbkn joined #salt
05:03 gcfhvjbkn joined #salt
05:03 gcfhvjbkn joined #salt
05:04 gcfhvjbkn joined #salt
05:05 gcfhvjbkn joined #salt
05:05 ageorgop joined #salt
05:05 Bryson joined #salt
05:05 gcfhvjbkn joined #salt
05:06 gcfhvjbkn joined #salt
05:07 gcfhvjbkn joined #salt
05:07 gcfhvjbkn joined #salt
05:08 gcfhvjbkn joined #salt
05:09 gcfhvjbkn joined #salt
05:10 gcfhvjbkn joined #salt
05:10 gcfhvjbkn joined #salt
05:11 gcfhvjbkn joined #salt
05:12 gcfhvjbkn joined #salt
05:12 gcfhvjbkn joined #salt
05:13 gcfhvjbkn joined #salt
05:13 gcfhvjbkn joined #salt
05:14 gcfhvjbkn joined #salt
05:15 gcfhvjbkn joined #salt
05:15 gcfhvjbkn joined #salt
05:16 gcfhvjbkn joined #salt
05:17 gcfhvjbkn joined #salt
05:17 gcfhvjbkn joined #salt
05:18 gcfhvjbkn joined #salt
05:19 gcfhvjbkn joined #salt
05:19 gcfhvjbkn joined #salt
05:20 gcfhvjbkn joined #salt
05:20 forrest joined #salt
05:20 gcfhvjbkn joined #salt
05:21 gcfhvjbkn joined #salt
05:22 gcfhvjbkn joined #salt
05:22 gcfhvjbkn joined #salt
05:23 gcfhvjbkn joined #salt
05:24 gcfhvjbkn joined #salt
05:24 gcfhvjbkn joined #salt
05:25 gcfhvjbkn joined #salt
05:25 gcfhvjbkn joined #salt
05:26 gcfhvjbkn joined #salt
05:26 calvinh joined #salt
05:27 gcfhvjbkn joined #salt
05:27 gcfhvjbkn joined #salt
05:28 gcfhvjbkn joined #salt
05:29 gcfhvjbkn joined #salt
05:29 catpigger joined #salt
05:29 gcfhvjbkn joined #salt
05:30 hblah733 joined #salt
05:30 gcfhvjbkn joined #salt
05:30 calvinh joined #salt
05:31 gcfhvjbkn joined #salt
05:31 gcfhvjbkn joined #salt
05:32 gcfhvjbkn joined #salt
05:32 gcfhvjbkn joined #salt
05:33 troyready joined #salt
05:33 gcfhvjbkn joined #salt
05:34 gcfhvjbkn joined #salt
05:34 gcfhvjbkn joined #salt
05:35 gcfhvjbkn joined #salt
05:36 gcfhvjbkn joined #salt
05:36 gcfhvjbkn joined #salt
05:37 gcfhvjbkn joined #salt
05:37 gcfhvjbkn joined #salt
05:38 gcfhvjbkn joined #salt
05:39 gcfhvjbkn joined #salt
05:39 gcfhvjbkn joined #salt
05:40 gcfhvjbkn joined #salt
05:40 napsterX joined #salt
05:41 gcfhvjbkn joined #salt
05:41 gcfhvjbkn joined #salt
05:42 gcfhvjbkn joined #salt
05:42 gcfhvjbkn joined #salt
05:44 Nazca__ joined #salt
05:44 gcfhvjbkn joined #salt
05:44 digitalhero joined #salt
05:45 subsignal joined #salt
05:46 gcfhvjbkn joined #salt
05:47 gcfhvjbkn joined #salt
05:47 napsterX joined #salt
05:48 gcfhvjbkn joined #salt
05:48 gcfhvjbkn joined #salt
05:49 gcfhvjbkn joined #salt
05:49 gcfhvjbkn joined #salt
05:50 gcfhvjbkn joined #salt
05:51 gcfhvjbkn joined #salt
05:51 gcfhvjbkn joined #salt
05:52 gcfhvjbkn joined #salt
05:53 gcfhvjbkn joined #salt
05:53 gcfhvjbkn joined #salt
05:54 gcfhvjbkn joined #salt
05:54 gcfhvjbkn joined #salt
05:55 gcfhvjbkn joined #salt
05:56 gcfhvjbkn joined #salt
05:56 gcfhvjbkn joined #salt
05:57 gcfhvjbkn joined #salt
05:58 gcfhvjbkn joined #salt
05:58 gcfhvjbkn joined #salt
06:05 _JZ_ joined #salt
06:06 AndreasLutro joined #salt
06:10 calvinh_ joined #salt
06:13 ajmath joined #salt
06:20 calvinh joined #salt
06:21 seenae joined #salt
06:22 seenae Is it possible to use pillar data inside the custome module ?
06:24 seenae hmm I guess we can use salt command salt "*" pillar.item <item-name> inside the module :)
06:26 kawa2014 joined #salt
06:26 calvinh_ joined #salt
06:27 dopesong joined #salt
06:29 sakaYK joined #salt
06:29 gcfhvjbkn joined #salt
06:30 gcfhvjbkn joined #salt
06:31 gcfhvjbkn joined #salt
06:31 gcfhvjbkn joined #salt
06:32 gcfhvjbkn joined #salt
06:32 malinoff joined #salt
06:33 gcfhvjbkn joined #salt
06:33 jaybocc2 joined #salt
06:33 gcfhvjbkn joined #salt
06:34 gcfhvjbkn joined #salt
06:35 gcfhvjbkn joined #salt
06:35 Vynce joined #salt
06:35 gcfhvjbkn joined #salt
06:36 gcfhvjbkn joined #salt
06:36 gcfhvjbkn joined #salt
06:37 gcfhvjbkn joined #salt
06:37 xintron joined #salt
06:38 gcfhvjbkn joined #salt
06:38 KermitTheFragger joined #salt
06:38 gcfhvjbkn joined #salt
06:39 gcfhvjbkn joined #salt
06:44 markm joined #salt
06:44 otter768 joined #salt
06:46 subsignal joined #salt
06:46 seena joined #salt
06:47 seena Can we use pillar data inside module ?
06:47 seena key_id= __salt__['pillar.item']('s3.key') key_val= __salt__['pillar.item']('s3.keyid')
06:48 seena salt "*" pillar.items s3.key
06:48 seena salt "*" pillar.items s3.keyid
06:48 seena works fine for me
06:50 calvinh joined #salt
06:54 sakaYK joined #salt
07:03 napsterX joined #salt
07:07 babilen seena: So: Happiness? (would have used pillar.get, but if that works fine for you then: yay!)
07:08 babilen seena: fwiw, __pillar__ is being monkey patched into the modules later: http://docs.saltstack.com/en/latest/topics/development/dunder_dictionaries.html#pillar
07:08 dopesong_ joined #salt
07:09 jaybocc2 joined #salt
07:09 calvinh_ joined #salt
07:10 fe92 joined #salt
07:10 Ztyx joined #salt
07:12 calvinh_ joined #salt
07:15 jakubm joined #salt
07:17 seena babilen: no i am not able to access using pillar.item
07:17 seena babilen: let me check the other option
07:17 duncanmv joined #salt
07:18 duncanmv anyone knows something like the "at" module, but that works with arbitrary execution modules?
07:21 seena babilen: Is there any way to debug the module and get the exact error ?
07:21 monkey661 left #salt
07:23 shiin joined #salt
07:25 jaybocc2 joined #salt
07:25 babilen duncanmv: https://docs.saltstack.com/en/develop/topics/jobs/index.html#scheduling-jobs -- http://docs.saltstack.com/en/latest/ref/states/all/salt.states.schedule.html
07:25 Ztyx left #salt
07:26 babilen seena: Well, as I said: You have access to __pillar__ later on. (You probably want to initialise it with "__pillar__ = None" so that static code linters (such as pyflakes) shut up.
07:27 _JZ_ joined #salt
07:27 babilen )
07:28 ITChap joined #salt
07:32 seena babilen: I have tried k=__pillar__['s3.keyid'] too , not working
07:38 gcfhvjbkn joined #salt
07:38 babilen Where do you have that statement?
07:38 babilen (could you paste your execution module?)
07:39 babilen fwiw, I would expect both "__pillar__['s3.keyid']" and "__salt__['pillar.get']('s3:keyid')" to work
07:41 AndreasLutro isn't __pillar__ just a dict?
07:41 seena babilen: When I am enabling the those line , after syncing . its not getting listed  in salt '*' sys.list_functions
07:42 seena babilen: AndreasLutro I don't know  what error it has , wanted to find a way to see what is the exact error .
07:43 babilen seena: May I *pleeaaaase* see your execution module?
07:44 babilen (or, at least, get a precise answer to my earlier question as to where you have that statement)
07:44 babilen I also don't quite understand why you expect a pillar value to appear in sys.list_functions
07:46 subsignal joined #salt
07:47 Vynce left #salt
07:49 jakubm joined #salt
07:50 seena babilen: Yea I am adding to gist , give me a min
07:51 seena babilen: sys.list_functions I am expecting the module if the code is fine
07:51 seena babilen: https://gist.github.com/seenae/67ce561cf636a73cc8cd  this is my code
07:52 seena Right now I am providing s3 authentication directly in the code , but wanted to access those details from pillar
07:52 seena babilen: you can see different methode I have tried to access the pillar data ( I have commented )
07:53 seena babilen: When uncommenting any of the module is not getting loaded
07:54 seena babilen: ** when uncommenting any of the line , the module is not getting loaded
07:55 joeto joined #salt
07:56 sakaYK joined #salt
07:57 remzed joined #salt
07:58 Xevian joined #salt
07:58 gcfhvjbkn joined #salt
07:58 dgutu_ joined #salt
08:03 seena joined #salt
08:03 babilen (and now he's gone)
08:03 babilen *sigh*
08:04 CeBe joined #salt
08:04 babilen So, the solution to this is easy: You cannot access __pillar__ in module scope as, when the module is initially loaded and the variables are initialised, the monkey patching has not *yet* happened.
08:04 babilen This means that one has to perform such lookups within a function ..
08:05 dgutu_ left #salt
08:05 babilen Stupid monkey patching
08:06 babilen And, fwiw, you want to use "s3:keyid" with pillar.get and "__pillar__.get('s3', {}).get('keyid', DEFAULTVALUE)"
08:07 chiui joined #salt
08:07 ericof joined #salt
08:07 babilen seena: Ah, you came back ^^^
08:07 babilen ... with __pillar__ was missing there :)
08:12 babilen I'd also recommend to use os.path.join(...) to join paths rather than string concatenation with +. You also want a space after ',' in comma and two empty lines between functions and ... (guess I stop here, ryn pyflakes on your code)
08:13 seena babilen: https://gist.github.com/seenae/409b78379ace16364fc4 , this is my pillar so I can't use s3:keyid
08:14 aqua^c joined #salt
08:16 babilen Ah, okay .. The . is not normally used in the key of a pillar, but denotes "levels" (i.e. new dictionaries) in a nested structure
08:16 N-Mi joined #salt
08:16 seena babilen: Looks like scope was the issue , when I am trying inside function (def) its not giving error , let me try
08:17 babilen Which would make your pillar something like: https://www.refheap.com/107309
08:17 babilen Yes, scope was most definitely the issue
08:17 babilen This monkey patching is very unfortunate and issues such as this are the effect of that
08:19 seena babilen:  :) Worked
08:20 babilen I'd still restructure your pillar to be in line with normal naming conventions
08:21 jaybocc2 joined #salt
08:21 seena babilen: s3 authentication will work only when I am defining this way
08:21 seena babilen: I tried the other way earlier
08:21 seena then authentication was not happening
08:22 babilen Really? That's ... novel
08:22 seena http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.s3.html
08:23 seena babilen: Yea alrady spent hrs to troubleshoot that :)
08:23 babilen Who the hell implemented that? m(
08:24 seena babilen: How you effectively troubleshoot the salt custom module to find the errors?
08:24 babilen seena: You take a look at the minion (debug) log
08:25 calvinh joined #salt
08:27 seena babilen: you mean starting salt-minion -l debug ?
08:27 seena babilen: or it there any log file?
08:29 napsterX_ joined #salt
08:31 babilen seena: /var/log/salt/minion
08:31 babilen But yeah, starting the minion with "salt-minion -ldebug" is another option (in particular if you want debug logs without configuring that permanently)
08:35 impi joined #salt
08:36 remzed joined #salt
08:36 jaybocc2 joined #salt
08:37 debian112 joined #salt
08:40 losh joined #salt
08:41 colegatron good morning, more or les...
08:41 colegatron today I destroyed a salt-cloud ec2 instance created last tuesday to recreate it from scratch. unexpectedly I'm getting "* ERROR: salt-minion was not found running". I've not modifed (as far as I remember) anything on the profile and aws provider. After ssh into the minion, the salt-minion is installed, but not running. The error message tells to run bootstrap with -D option to have more information. My doubt is: [how c
08:41 colegatron an I know|what is exactly] the command salt-cloud ran to bootstrap the minion to reproduce it into the minion manually with the debug option?
08:43 colegatron Maybe it is a simple "curl -L https://bootstrap.saltstack.com | sudo sh", but I ask to be sure reproduce the same behaviour.
08:45 otter768 joined #salt
08:46 babilen The bootstrap script might be broken at the moment
08:48 subsignal joined #salt
08:48 AndreasLutro colegatron: start at the bootstrap function in salt/utils/cloud.py I guess
08:49 colegatron AndreasLutro, tnx I dont want to go that deep. The bootstrap launched with -P reports same problem. without it fails to install.
08:50 colegatron babilen, tnx. Do you know if bootstrap by default installs the master branch?
08:51 babilen colegatron: IIRC it installs the last stable release. But the bootstrap script itself is always git HEAD
08:52 colegatron IIRC?
08:52 babilen (your nick makes me think of a robotic overlord that dominates the world by brushing people's teeth)
08:52 babilen if i remember correctly
08:53 colegatron hahah, funny to know :)
08:56 duncanmv babilen: but that schedule is for recurrent jobs, and I can't fire it using the standard cmd line or api. I cant say, do me a pkg.install foo in 30 minutes
08:57 duncanmv or can I?
08:57 duncanmv I can only statically define in the master: "do a pkg.install foo _every_ 30 minutes"
08:57 babilen Ah, right, yeah
08:58 sakaYK joined #salt
09:00 forrest joined #salt
09:00 bigg01 joined #salt
09:02 the_drow joined #salt
09:03 babilen duncanmv: I can't think of a module that implements this functionality (nor of a good reason why you would want to do that particular thing)
09:07 colegatron what is the correct way to specify a git tag using salt-cloud? I've tried 'sudo salt-cloud -l debug -p frontal-web1 frontal5 --script-args="git v2015.07.22"' but it failed with error error: pathspec 'v2015.07.22' did not match any file(s) known to git
09:09 babilen That version doesn't exist
09:09 stoogenmeyer__ joined #salt
09:09 babilen https://github.com/saltstack/salt/tags
09:10 colegatron oooh, sorry. I thought it had to be the bootstrap version.
09:11 rofl____ are there any release notes for 2015.8.0?
09:11 rofl____ cant locate them on the intarwebz
09:12 babilen rofl____: That hasn't been released yet, has it?
09:12 rofl____ babilen: rc2?
09:13 duncanmv babilen: we are porting Spacewalk to use salt as the core
09:13 duncanmv babilen: in Spacewalk, you can schedule jobs, and you can say "now", or "specific time" (eg, schedule a package install during the maintenance window)
09:15 babilen duncanmv: Sure, I simply don't know if that can be done at this point in time or if that requires additional features that aren't available in salt yet. You might want to write to the mailing list or open a feature request issue on GH
09:15 the_drow duncanmv: Looks interesting. Why doesn't it work for debian/ubuntu?
09:15 babilen rofl____: Don't think that exist
09:16 duncanmv the_drow: what do you mean with "Why doesn't it work for debian/ubuntu?"?
09:16 babilen (and https://docs.saltstack.com/en/latest/topics/releases/2015.8.0rc2.html results in a 404 as expected)
09:17 the_drow duncanmv: The website says spacewalk is only for redhat based distributions
09:17 duncanmv the_drow: Spacewalk?.... well, Spacewalk did support debian, but because nobody maintained that part I am not sure if it is still there.
09:17 duncanmv the_drow: it even supported solaris. I am almost sure Debian support is still there
09:17 dankrs hey all, anyone heard of any issues with pkg.list_upgrades on Fedora 22 other than outputting the DNF stderr? Specifically..
09:18 dankrs I ran a pkg.upgrade, and never got a list of old/new packages. When doing pkg.list_upgrades, now I get a response that is the same as before the upgrade, though ssh'ing to the box and running dnf upgrade shows it is up to date
09:19 dankrs I've rm'd the /var/cache/salt/minion and /var/cache/salt/master on the respective systems, and restarted the minion and master
09:19 dankrs running salt-call on the minion gives the same output as running it on the master
09:20 rofl____ babilen:/
09:20 dankrs and the debug logs are outputting that the command is running, then a reauth, then lazyloaded nested.out
09:20 dankrs *put
09:20 dankrs sorry for the wall there
09:23 sakaYK joined #salt
09:28 c10b10 joined #salt
09:29 jakubm joined #salt
09:41 ingslovak joined #salt
09:44 _mel_ joined #salt
09:45 duncanmv babilen: I posted on salt-users group
09:46 babilen I've seen it :)
09:46 jaybocc2 joined #salt
09:47 TyrfingMjolnir joined #salt
09:50 colegatron finally I could launch the instance with stable 2015.5, but did not work with stable latest/stable 2015.8
09:52 colegatron should I open an issue (it not open)? (I've readed somewhere this bug happens from time to time)
09:52 AndreasLutro colegatron: probably!
09:53 colegatron ok
09:53 jakubm joined #salt
09:53 jakubm bonjour
09:56 jakubm Has anyone encountered "Passing a salt environment should be done using 'saltenv' not 'env'." with file.managed ?
09:57 jakubm Changing 'env' to 'saltenv' fails miserably
09:59 aqua^c joined #salt
10:06 AndreasLutro what are you trying to do with env jakubm ?
10:09 jakubm AndreasLutro: nothing fancy - just declare it explicitly. I think I made a boo boo in my logic somewhere as I'm taking the env from pillar
10:10 AndreasLutro no I mean
10:11 AndreasLutro do you use it to set environment variables?
10:19 GrueMaster joined #salt
10:22 jaybocc2 joined #salt
10:29 xf10e joined #salt
10:29 xf10e tzag everyone
10:34 jakubm AndreasLutro: yes i do
10:34 AndreasLutro jakubm: then you should pass a list, not a string
10:37 jaybocc2 joined #salt
10:45 evle1 joined #salt
10:46 otter768 joined #salt
10:50 amcorreia_ joined #salt
10:50 CeBe joined #salt
10:54 sakaYK joined #salt
10:58 sakaYK joined #salt
11:00 jakubm joined #salt
11:06 keimlink joined #salt
11:22 monkey66 joined #salt
11:22 CeBe joined #salt
11:25 c10b10 joined #salt
11:28 c10b10 joined #salt
11:30 omegamike joined #salt
11:40 BradThurber joined #salt
11:44 favadi joined #salt
11:48 c10b10 joined #salt
11:50 subsignal joined #salt
11:53 shiin joined #salt
12:10 rideh joined #salt
12:16 oznah joined #salt
12:16 oznah23 joined #salt
12:19 mapu joined #salt
12:19 c10b10 joined #salt
12:21 fredvd joined #salt
12:24 hoonetorg joined #salt
12:26 hoonetorg iggy: yeah i will do, but not now (a lot other stuff to do currently) and then send a pr
12:27 remzed_ joined #salt
12:30 dbanck joined #salt
12:30 rideh joined #salt
12:35 otter768 joined #salt
12:35 jaybocc2 joined #salt
12:41 furrowedbrow joined #salt
12:44 GrueMaster joined #salt
12:44 numkem joined #salt
12:44 jdesilet joined #salt
13:01 ferbla joined #salt
13:03 subsignal joined #salt
13:04 icflournoy joined #salt
13:04 icflourn1y joined #salt
13:06 bhosmer joined #salt
13:09 rideh joined #salt
13:12 sunkist joined #salt
13:13 subsignal joined #salt
13:15 gcfhvjbkn http://pastie.org/private/fyr9h2cqdqe9b8xztlqq
13:16 gcfhvjbkn is it supposed to work this way?
13:16 gcfhvjbkn http://pastie.org/private/xtaxeupw9ihxuetwjoiq
13:16 gcfhvjbkn warning in question
13:18 jakubm joined #salt
13:19 icflournoy joined #salt
13:20 Tecnico1931 joined #salt
13:21 favadi joined #salt
13:21 babilen gcfhvjbkn: Is what supposed to work that way?
13:22 AirOnSkin joined #salt
13:26 primechuck joined #salt
13:28 gcfhvjbkn babilen: it happens when you pass "repo" (which is apparently obsolete) to pip.installed
13:28 gcfhvjbkn missed the context, sorry
13:28 numkem_ joined #salt
13:29 joeto joined #salt
13:29 DammitJim joined #salt
13:31 murrdoc joined #salt
13:32 cpowell joined #salt
13:34 vando joined #salt
13:36 aqua^c joined #salt
13:40 anotherZero joined #salt
13:44 drawsmcgraw Coworker sent me this gem: http://devopsreactions.tumblr.com/post/125157942970/when-your-salt-states-bring-a-machine-up-with-one
13:45 babilen gcfhvjbkn: So, yes. That is supposed to happen as you are running Lithium
13:45 malinoff joined #salt
13:46 babilen (I particularly love the "supposed to be shown until version 5.5.0 (Lithium) is released. Current version is now 2015.5.2 (Lithium)" bit)
13:46 babilen 2015.5.5 that is
13:46 giannello joined #salt
13:46 babilen Lithiumception!
13:47 permalac joined #salt
13:49 gcfhvjbkn soo it's like you could have removed the argument but decided you can keep the exception just as well
13:52 khebbie joined #salt
13:55 digitalhero joined #salt
13:58 perfectsine joined #salt
13:58 kaptk2 joined #salt
14:00 jakubm joined #salt
14:01 jaybocc2 joined #salt
14:03 timoguin joined #salt
14:04 rideh joined #salt
14:05 bhosmer joined #salt
14:10 edrocks joined #salt
14:34 _JZ__ joined #salt
14:34 murrdoc joined #salt
14:38 asoc_ Is there a way to run part of a state in parallel instead of serially?
14:39 cowpunk22 joined #salt
14:39 asoc I have a state that downlads and extracts a bunch of zips and would like to do them all at once to save time.
14:39 racooper joined #salt
14:39 PredatorVI joined #salt
14:39 dude051 joined #salt
14:41 c10b10 joined #salt
14:42 kawa2014 joined #salt
14:43 AndreasLutro asoc: no, but you could create a single cmd.script that handles the parallellism
14:44 asoc AndreasLutro: ok I figured that might be the case. Thanks
14:45 Brew joined #salt
14:46 Horgix hi, kind of stupid question, but what does "SLS" means ? I'm talking about the modules. I get what it *is* but not what the acronym stands for. It may be for "SaLtStack" but then I would be surprised that it's only used when talking about modules
14:49 AndreasLutro Horgix: as far as I know, "SaLt State", but the term/extension was probably coined before the extension was used for pillars as well
14:54 jalbretsen joined #salt
14:56 Horgix AndreasLutro: seems to match yes, thanks :)
14:58 Heartsbane joined #salt
14:58 Heartsbane joined #salt
14:59 numkem joined #salt
15:00 alwaysatthenoc joined #salt
15:02 digitalhero joined #salt
15:03 digitalhero joined #salt
15:03 digitalhero joined #salt
15:06 Bryanstein joined #salt
15:09 djstorm joined #salt
15:11 pipps joined #salt
15:12 pipps99 joined #salt
15:13 sunkist joined #salt
15:14 linjan__ joined #salt
15:14 zmalone joined #salt
15:17 beneggett joined #salt
15:18 bhosmer joined #salt
15:22 cpowell joined #salt
15:23 Viper233 joined #salt
15:26 SubOracle joined #salt
15:32 murrdoc joined #salt
15:32 Eureka703 joined #salt
15:32 XenophonF joined #salt
15:33 digitalhero joined #salt
15:33 zsoftich1 joined #salt
15:36 BradThurber joined #salt
15:38 budman joined #salt
15:38 nzero joined #salt
15:40 vando joined #salt
15:40 iggy afaik, AndreasLutro is correct
15:41 murrdoc about
15:41 c10b10 joined #salt
15:42 cowpunk22 joined #salt
15:42 shiin left #salt
15:43 bhosmer joined #salt
15:44 digitalhero joined #salt
15:44 jondonas joined #salt
15:45 kawa2014 joined #salt
15:48 nzero joined #salt
15:49 sjwoodr joined #salt
15:51 lrojas joined #salt
15:52 lrojas hi all
15:52 sjwoodr sorry if this has been asked already, but is the 2015.5.3 release that ubuntu is distributing broken?   All of my existing, known-good cloud profiles are erroring out with: Error: There was a profile error
15:52 vando hello there
15:52 lrojas i am bootstraping salt on ubuntu trusty64 ( 12.02 LTS )
15:53 vando I want to configure a bridge interface in Debian without using "file.managed"
15:53 lrojas but i am getting a weird message in the logs
15:53 lrojas http://pastebin.com/nVBhD5HB
15:53 lrojas something about --salt-config-dir now being a global option and that it will stop working after salt boron
15:53 lrojas what's salt boron and when is it coming out?
15:54 wendall911 joined #salt
15:55 iggy nobody knows
15:55 iggy it'll be the first release in 2016 most likely
15:55 napsterX joined #salt
15:56 murrdoc nobody in the community knows
15:56 murrdoc ftfy
15:57 scottpgallagher joined #salt
15:57 whytewolf lrojas: basicly 2015.8 [the current rc] is Beryllium, the next element after that is Boron. so that is the code name for the next release
15:58 lrojas ok, i been trying to make sense of what that message means --salt-config-dir being a global option now but cant find documentation
15:58 c10b10 joined #salt
15:58 bhosmer joined #salt
15:59 lrojas is there anything i need to do or do the next version of salt will include a fix in the bootstrap script?
15:59 digitalhero joined #salt
15:59 khebbie joined #salt
16:01 iggy the bootstrap script sees releases every couple of weeks
16:01 iggy so I think you're okay there
16:02 lrojas is there a way to get the latest version when bootstrapping a machine?
16:02 iggy they are probably just waiting till closer to Boron release to make sure they don't break any old installs
16:02 iggy how are you bootstrapping?
16:03 lrojas vagrant environment
16:03 lrojas i got the bootstrap script from a forum post
16:04 Bryson joined #salt
16:04 lrojas because the one on the vagrant provisioner was failing
16:05 mpanetta joined #salt
16:06 mpanetta joined #salt
16:09 sjwoodr adding this to the cloud profile gets around my problem:    script: bootstrap-salt   \n   script_args: git v2015.5.2
16:10 sjwoodr 2015.5.3 is busted on ubuntu :(
16:10 lrojas i'm using ubuntu but... bot sure how that's working for you
16:10 PredatorVI iggy:  Sorry to bring this up again, but I reworked the tomcat7 clean state.  It still may be 'bass ackwards' :-) but I hope I'm on the right track.  Can you glance at it when you get a minute?  https://gist.github.com/PredatorVI/de554f64f26f85ddce2c
16:11 digitalhero joined #salt
16:11 murrdoc whats a good way to check if the salt minion is connected to the master
16:11 rm_jorge joined #salt
16:11 PredatorVI test.ping
16:12 khebbie joined #salt
16:13 murrdoc from the minion
16:13 iggy netstat?
16:13 iggy I think test.ping is still valid
16:13 murrdoc ps aux | grep salt-minion; salt-call config.get master
16:13 murrdoc ?
16:14 lrojas pwd
16:14 quasiben joined #salt
16:14 lrojas ooops
16:18 aqua^c joined #salt
16:20 xf10e have a nice weekend...
16:24 djj- joined #salt
16:25 gcfhvjbkn joined #salt
16:25 clintberry joined #salt
16:27 ajw0100 joined #salt
16:28 cowpunk22 joined #salt
16:31 bmcorser joined #salt
16:33 primechuck joined #salt
16:33 primechuck joined #salt
16:37 MatthewsFace joined #salt
16:37 jodv joined #salt
16:38 jodv_ joined #salt
16:39 ajw0100 joined #salt
16:39 Guest80 joined #salt
16:40 ageorgop joined #salt
16:40 kossy joined #salt
16:40 adelcast joined #salt
16:42 kula joined #salt
16:43 rideh joined #salt
16:45 edrocks joined #salt
16:47 PredatorVI If I include another state such as '- mystate.state1' and I want to require the entire SLS 'state1', do I need the full state path '- sls: mystate.state1' or can I just use '-sls: state1'?
16:50 omegamike joined #salt
16:52 Deevolution Has anyone seen an issue where some schedules disappear from a host (pillar based schedules, and not all of them disappeared).  The pillar file is still present, but schedule.list stopped showing them.
16:56 phx do we have any committers around?
16:58 danlsgiga joined #salt
16:59 bhosmer joined #salt
16:59 danlsgiga Hi everyone... is there any way to print a custom message in the state run?
17:01 nzero joined #salt
17:02 aparsons joined #salt
17:04 khebbie joined #salt
17:04 dec joined #salt
17:04 KyleG joined #salt
17:04 KyleG joined #salt
17:12 Bryson joined #salt
17:19 Ahlee lovely. NameError: global name '__salt__' is not defined
17:19 bhosmer joined #salt
17:22 murrdoc noob
17:22 murrdoc l2import
17:23 Ahlee murrdoc: right? https://gist.github.com/jalons/f61013c8e310d9e7dd24
17:24 murrdoc based pi is the noob here
17:25 Ahlee we're tlaking about pulling salt off the windows minions
17:25 Ahlee back of napkin calculations show us spending more time fixing minions than we're saving
17:25 impi joined #salt
17:29 bhosmer joined #salt
17:29 forrest joined #salt
17:29 Dr_Death left #salt
17:30 TaiSHi Ahlee: perhaps you could teach the minions to fix themselves, that seemed to work for Gru
17:31 zer0def joined #salt
17:36 bhosmer joined #salt
17:39 jaybocc2 joined #salt
17:43 theologian joined #salt
17:47 bhosmer_ joined #salt
17:49 BradThurber joined #salt
17:49 ajw0100 joined #salt
17:53 Ahlee yay calling a batch file to reinstall a minion
17:53 digitalhero joined #salt
17:56 oznah trying to get gitfs working. getting error. see https://gist.github.com/f9bee60768fd7ceb03a1.git. it doesn't like the ":salt" in the git path. I feel like the answer may be here http://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html#gitfs-per-remote-config but i'm not sure which setting to use.
17:56 oznah I should have said failing dns lookup
17:57 oznah dns resolution is good though
17:59 baweaver joined #salt
18:01 CeBe1 joined #salt
18:03 ferbla joined #salt
18:04 dopesong joined #salt
18:05 nzero joined #salt
18:07 _JZ_ joined #salt
18:11 dthom91 joined #salt
18:12 dthom91 joined #salt
18:13 theologian joined #salt
18:13 whytewolf oznah: you either have to remove the ssh:// or use full path.
18:14 whytewolf oznah: http://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html#ssh
18:14 baweaver joined #salt
18:16 murrdoc joined #salt
18:17 ajw0100 joined #salt
18:18 teryx510 joined #salt
18:18 linjan__ joined #salt
18:19 _JZ_ joined #salt
18:19 oznah whytewolf: i took out the ssh:// and now it throws an error that has my ssh banner warning on it
18:22 whytewolf okay, than use the other method. [there are 2 ways to configure git ssh access] ssh://git@github.com/user/repo.git or git@github.com:user/repo.git, notice that there is only one : in etiher of these examples
18:24 Zachary_DuBois joined #salt
18:26 BradThurber joined #salt
18:26 nzero joined #salt
18:29 Zachary_DuBois joined #salt
18:30 cowpunk22 joined #salt
18:33 dthom91 joined #salt
18:33 perfectsine joined #salt
18:37 jhauser_ joined #salt
18:40 baweaver joined #salt
18:52 murrdoc joined #salt
18:53 djj- anybody used the firewalld module much?
18:54 djj- I'm attempting to add a service via salt and it reports success, but a list immediately following shows no change in the listed services
18:54 bhosmer_ joined #salt
18:54 rideh joined #salt
18:54 oznah whytewolf: it looks like my sshd banner was causing a length error. master restarted is clean this time. Now how can I tell if it's actually working or not?
18:56 digitalhero joined #salt
18:57 mapu joined #salt
19:00 ajw0100 joined #salt
19:00 Ztyx joined #salt
19:01 whytewolf oznah: honestly. I don't remeber. been a while since i used gitfs.
19:03 digitalhero joined #salt
19:03 oznah whytewolf: how do you get your code to your master then? just curious
19:03 baweaver joined #salt
19:04 whytewolf oznah: I got lazy and just did a git pull to /srv/salt
19:04 whytewolf since i am on that box all the time anyway
19:04 oznah whytewolf: were you having problems w/ gitfs?
19:05 whytewolf no, just rebuilt the salt master and didn't want to reset it up
19:05 sjorge joined #salt
19:05 whytewolf again, lazy
19:05 oznah whytewolf: i always say, 'never trust a sysadmin who isn't lazy'
19:07 whytewolf lol. this is also just for my personal stuff gitfs was just a bit much for a personal salt server
19:07 DammitJim when adding a user on linux, do I have to specify the uid/gid?
19:07 manfred no
19:08 DammitJim if I don't specify it, it just picks one up?
19:08 manfred it just uses useradd
19:08 oznah whytewolf: fair enough
19:08 DammitJim what do I do if I don't want to have a home folder for the user?
19:08 indispeq joined #salt
19:08 manfred and useradd just uses the next available
19:08 manfred DammitJim:  http://docs.saltstack.com/en/latest/ref/states/all/salt.states.user.html#salt.states.user.present
19:08 manfred set createhome to false
19:08 johnkeates joined #salt
19:09 DammitJim thanks
19:10 indispeq Hello, I was wondering if somebody could help me: I am using a jinja macro in my pillar but I find I have to be pasting it several times into the SLS file for each environment. Is there a way to have a common lib for jinja macros that can be used in all pillar files?
19:10 whytewolf salt wheel
19:10 whytewolf ack wrong window
19:11 johnkeates indispeq: yes, add something like base and link it to all environments
19:11 johnkeates left #salt
19:11 chiui joined #salt
19:11 whytewolf indispeq: or use this http://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.jinja.html#include-and-import
19:12 N-Mi joined #salt
19:13 napsterX joined #salt
19:13 indispeq thank you very much, that helps!
19:18 djj- firewalld module anyone? I'm getting:
19:18 djj- -bash-4.2$ sudo salt 'host' firewalld.add_service https public
19:18 djj- host:
19:18 djj- success
19:18 djj- -bash-4.2$ sudo salt 'host' firewalld.list_services public
19:18 djj- host:
19:18 djj- - dhcpv6-client
19:18 djj- - ssh
19:19 Fiber^ joined #salt
19:21 murrdoc eugh
19:21 murrdoc did dis dude just paste into chat
19:21 murrdoc did dis dude do dis
19:21 Ztyx1 joined #salt
19:21 murrdoc :)
19:21 Tecnico1931 joined #salt
19:22 Ztyx1 left #salt
19:22 djj- 7 lines redacted are too much for you murrdoc :)
19:23 djj- any feedback on them… ?
19:25 murrdoc they are
19:25 murrdoc uh
19:25 murrdoc i have no context
19:25 murrdoc whats the problem
19:25 sn00py joined #salt
19:25 djj- just trying to use the firewalld module to add a service to the firewall on a minion
19:26 djj- it reports success, but the services list shows no change
19:26 bhosmer_ joined #salt
19:28 whytewolf we should have this posted in the title for people to ignore http://geoff.greer.fm/2012/05/19/programmer-irc-etiquette/
19:29 cowpunk22 joined #salt
19:29 drawsmcgraw I'm having an existential crisis here...
19:30 drawsmcgraw Pycrypto is installed... and Salt isn't seeing it
19:30 drawsmcgraw http://dpaste.com/04NTHCA
19:30 mapu joined #salt
19:30 drawsmcgraw Note: I have the exact same setup on a functional Master in production. No issues over on that one.
19:31 PredatorVI If I have a module that has a 'require' section and a 'prereq' section, will it only execute the 'require' states if one of the 'prereq' states changes?
19:31 PredatorVI Or does it always execute the 'require' states?
19:32 ntropy djj-: not played with firewalld state much, but i get the same results with 2015.5.2
19:33 drawsmcgraw Crap.... maybe it's because my production Salt master is older than my (newly created) dev one: https://github.com/saltstack/salt/issues/23526
19:33 saltstackbot [#23526]title: Starting salt-minion: ImportError: No module named Random | ```...
19:34 ajw0100 joined #salt
19:36 whytewolf drawsmcgraw: ahh i was just looking for that. I knew i remebered some sort of pycrypto error on redhat based distros.
19:39 drawsmcgraw Yeah. Holy crap. I've spent the last two days wrestling with a bunch of pip installs (unrelated to Salt) and it kept *breaking* Salt.
19:47 djj- ntropy: thanks for looking. I've been tailing the log and their is no log entry for the 'success' and no visible change locally
19:47 djj- ntropy: executing the firewall-cmd locally on the host works fine
19:47 djj- going to turn up debug on the minion and see if I can see where it's breaking
19:50 baweaver joined #salt
19:55 druonysus joined #salt
19:55 druonysus joined #salt
19:56 baweaver How do I make sure all newly built servers get modules from salt master?
19:58 iggy use the reactor to sync_all on minion start
20:02 mnaser joined #salt
20:03 baweaver Thanks iggy, I'll give it a shot
20:03 mnaser is it possible to merge pillar data instead of override, 1st pillar has svcs: ['a', 'b', 'c'], 2nd pillar has svc: ['d'] .. salt defines svcs as ['a', 'b', 'c', 'd']
20:06 ferbla joined #salt
20:06 iggy pillar_source_merging_strategy: smart
20:08 dthom91 joined #salt
20:08 mnaser thanks iggy
20:09 ayee Can someone explain to me how to setup 'auth' external auth, so anyone can auth?
20:09 ayee er, 'auto' not 'auth'
20:09 murrdoc turn off auth
20:09 ayee murrdoc: How do I do that?
20:13 bhosmer_ joined #salt
20:14 MindDrive joined #salt
20:15 napsterX joined #salt
20:19 Alekti joined #salt
20:20 baweaver joined #salt
20:21 drawsmcgraw ayee: You mean allow non-root users to use the 'salt' command ?
20:22 ayee drawsmcgraw: I want to get the salt-api to work
20:22 drawsmcgraw ah
20:22 drawsmcgraw Huhn.... I'm not sure I've seen salt-api without an auth... hang on a second
20:23 ayee drawsmcgraw: ahh, perhaps that's why I'm having trouble.
20:23 drawsmcgraw This is a great post about using salt-api: http://bencane.com/2014/07/17/integrating-saltstack-with-other-services-via-salt-api/
20:23 ayee drawsmcgraw: I ultimately want to use ldap, but first I wanted to just get anything working on the salt-api
20:23 drawsmcgraw I don't think(?) he uses any auth. He has a home-made version with a hard-coded auth token.
20:23 pcn For the salt-api auth, has anyone looked at specifying an alt. pam auth module?
20:23 drawsmcgraw pcn: I got nothing there :/
20:24 ayee drawsmcgraw: The problem is the log isn't outputting good results
20:24 iggy I think there's an issue about that somewhere
20:24 ayee so it's very difficult to debug
20:24 teryx5101 joined #salt
20:24 ayee I'm also following this: http://docs.saltstack.com/en/latest/topics/eauth/index.html#ldap-and-active-directory
20:24 drawsmcgraw ayee: Yeah salt-api is great but it's a bit of a hassle to deal with.
20:25 ayee My flow is, I fix my /etc/salt/master config, then I restart salt-master and salt-api, then I read the log to find out what is wrong.. and to remediate it.
20:25 ayee but it was telling me I 'failed auth', and not why
20:25 drawsmcgraw oye
20:25 drawsmcgraw I'd factor out the ldap part and just try with simple name/pass for right now
20:25 ayee so I turned on 'trace' debug mode, but now it's messy and I'm not sure what to search for
20:25 ayee I've actually used python-ldap before (which is what salt is using), and understand those error messages
20:25 ayee but those error messages aren't bubbling up
20:26 drawsmcgraw ah
20:26 ayee drawsmcgraw: How can I setup simple name/pass auth/
20:26 ayee drawsmcgraw: You mean through a unix account, with pam?
20:26 drawsmcgraw ayee: Yeah, with a local account via pam. Exactly
20:26 dthom91 joined #salt
20:27 ayee ok, I'll comment out my ldap stuff and switch to pam for now.
20:27 drawsmcgraw ayee: Okay. And you're familiar with the pam auth for salt-api ?
20:27 ayee I'm familiar-ish with pam in general, what is special about the salt-api version?
20:27 drawsmcgraw Not a whole lot. In fact, you don't even really need to know pam to use it (I don't)
20:28 pipps joined #salt
20:28 drawsmcgraw This is a bit old but I believe it's still relevant: http://www.thereluctanttecchie.com/salt_api_a_crash_course/
20:29 ayee honestly at this point I would settle for pam
20:29 ayee ldap would be nice, but beggars can't be choosers
20:30 ayee I'm trying to setup a cleanup process in foreman, to remove salt keys when a node gets formatted
20:30 drawsmcgraw I like to say "Simplest Firstest" :)
20:30 ayee instead of it going to minion_denied
20:30 ayee drawsmcgraw: agreed
20:30 drawsmcgraw ah, nice
20:31 drawsmcgraw I don't suppose Foreman could just drop a message on the Salt bus and you could have a Reactor state for it?
20:31 ayee drawsmcgraw: https://gist.github.com/anonymous/b42569c9855d7af712fb
20:32 denys joined #salt
20:32 drawsmcgraw hrm....
20:32 drawsmcgraw And *nothing* comes out of the logs, right?
20:33 ayee I'll fish through the logs now.
20:33 ayee I'm primarily searching for 'auth' in the logs.
20:33 napsterX joined #salt
20:33 drawsmcgraw If it's at all possible, have the terminal up and tail'ing the logs while you fire the curl command
20:34 ayee <p>SaltReqTimeoutError: after 60 seconds, ran 1 tries</p>
20:34 ayee The weird thing is I'm getting 60 second timeout
20:34 ayee I though the auth would fail sooner
20:34 MatthewsFace joined #salt
20:35 ayee There is nothing about 'auth' in /var/log/messages (with 'trace' debug mode)
20:35 drawsmcgraw Anything interesting in /var/log/salt/master ?
20:36 ayee er, sorry. I meant /var/log/salt/master
20:37 drawsmcgraw ah. Alas...
20:37 ayee trace is little crazy, it's thousands of lines in a few seconds
20:37 ayee I'm going back to info for a bit
20:38 drawsmcgraw not available..... I'm guessing salt never actually gets your curl request....
20:38 drawsmcgraw Yeah I don't like any higher than DEBUG
20:38 drawsmcgraw I've seen messages with just 'debug' on
20:38 ayee https://gist.github.com/anonymous/155bf023b751e130b579
20:39 ayee drawsmcgraw: That is the entire log for 'info', I curl once (successfully to /), then I try to curl /login, and it fails with the 60 second timeout
20:40 drawsmcgraw ayee: Wow. So it *is* getting to Salt. It's just..... timing out...
20:40 ayee <p>SaltReqTimeoutError: after 60 seconds, ran 1 tries</p>
20:40 ayee The log doesn't say it's timing out either
20:40 drawsmcgraw well, how about /var/log/messages or /var/log/secure ?
20:40 ayee but curl is saying it timed out
20:40 ayee mm, I haven't checked those logs
20:40 drawsmcgraw And is it *actually* sitting there for 60 seconds?
20:40 ayee I'll peak there now
20:40 drawsmcgraw k
20:40 tipiak joined #salt
20:41 ayee nothing interesting
20:41 ayee drawsmcgraw: yes, it's sitting there for 60 seconds
20:41 ayee but it's weird, because I can query / fine, and it responds instantly
20:41 drawsmcgraw Yeah but that's not an attempt at logging in
20:41 drawsmcgraw There's some disconnect between Salt and (i'm guessing?) Pam...
20:42 drawsmcgraw Any security systems up? SELinux or the like?
20:42 tipiak left #salt
20:42 djj- ntropy and anyone else who may be interested: the firewalld module changes the permanent record by default so it will not take effect immediately
20:42 djj- to change immediately, permanent must be set to false
20:43 ayee drawsmcgraw: https://gist.github.com/anonymous/1dd13e5ef284a6c41a09
20:43 ayee Those are my salt configs
20:43 ayee drawsmcgraw: no, selinux is disabled
20:44 drawsmcgraw ayee: crazy though, for rest_cherrypy:address
20:44 drawsmcgraw try making it 0.0.0.0 ?
20:44 drawsmcgraw in salt-api.conf
20:48 aqua^c joined #salt
20:50 bhosmer_ joined #salt
20:50 ayee drawsmcgraw: https://gist.github.com/anonymous/25282d288ef6ec0a2f3a
20:51 drawsmcgraw Same result.... :/
20:51 ayee 2015-07-31 20:49:18,159 [salt.master                              ][WARNING ][24918] Authentication failure of type "eauth" occurred.
20:51 drawsmcgraw oh?
20:51 ayee I do get a valid result in the log now though.
20:51 drawsmcgraw Well that's better though
20:51 ayee I wonder if 'trace' is messed up
20:51 ayee I assumed 'trace' included everything debug did and more
20:51 ayee but I think that assumption was false
20:51 ayee I should probably stick to debug methinks
20:51 ayee 2015-07-31 20:49:18,051 [salt.utils.lazy                          ][DEBUG   ][24918] LazyLoaded pam.auth
20:52 ayee I can see it at least loaded the pam.auth stuff
20:52 ayee 2015-07-31 20:49:10,105 [cherrypy.access.30181648                 ][INFO    ][24716] 10.119.172.7 - - [31/Jul/2015:20:49:10] "POST /login HTTP/1.1" 503 775 "" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
20:52 drawsmcgraw Right...
20:52 dthom91 joined #salt
20:53 drawsmcgraw Forgive the question but -> the user salttest does exist on the box?
20:53 ayee # su -c whoami salttest
20:53 ayee salttest
20:53 drawsmcgraw okay, sorry. Had to ask :)
20:54 ayee please, ask the obvious
20:54 ayee I might have missed something obvious
20:54 drawsmcgraw Amma spin up a VM and see if I can get something going
20:54 ayee thanks!
20:54 drawsmcgraw No promises :)
20:55 ayee beggars can't be choosers
20:58 drawsmcgraw Still building, but it looks like we use the Tornado netapi module...
20:58 drawsmcgraw for what it's worth
20:58 ayee If we figure out what's wrong, I'll definitely send a PR to fix up the docs in this area. So people in the future suffer less than I did. ( https://github.com/saltstack/salt/blob/develop/doc/topics/eauth/index.rst )
20:59 drawsmcgraw Yeah. If nothing else, the salt-api docs could use some love.
21:00 dthom91 joined #salt
21:04 perfectsine joined #salt
21:05 drawsmcgraw alright.... let me put together what configs I have...
21:07 drawsmcgraw ayee: https://gist.github.com/drawsmcgraw/4994773104601375afca
21:07 drawsmcgraw It uses Tornado, which I understand has more features (don't ask for more details, I don't really know), but otherwise there's nothing complicated in the config
21:08 murrdoc joined #salt
21:09 amcorreia_ joined #salt
21:10 digitalhero joined #salt
21:13 zsoftich1 joined #salt
21:13 dthom91 joined #salt
21:15 subsignal joined #salt
21:19 drawsmcgraw Gotta run ayee. Hopefully that gets you a little further!
21:21 drawsmcgraw left #salt
21:22 VooDooNOFX joined #salt
21:28 SaltyCharles joined #salt
21:29 teryx510 joined #salt
21:34 cowpunk22 joined #salt
21:34 napsterX joined #salt
21:36 danlsgiga left #salt
21:36 baweaver joined #salt
21:36 digitalhero joined #salt
21:38 ntropy ayee: you could also try adding print statements in salt code to print what you need; probaby also obvious :)
21:39 teryx510 joined #salt
21:40 c10b10 joined #salt
21:41 coderMe joined #salt
21:43 coderMe joined #salt
21:44 coderMe joined #salt
21:44 c10b10 joined #salt
21:45 coderMe joined #salt
21:46 coderMe joined #salt
21:47 dankolb_ joined #salt
21:47 coderMe joined #salt
21:49 coderMe joined #salt
21:50 coderMe joined #salt
21:51 coderMe joined #salt
21:52 coderMe joined #salt
21:54 oznah I can't seem to get pillar data to show up in environment prod. pillar data in base * shows up fine. it must be something simple.
21:58 whytewolf with enviroments it never turns out to be something simple. lets see your pillar top file for base. and also any others that are failing.
21:58 murrdoc iggy:  !
21:59 oznah whytewolf: will do. sanitizing now
21:59 notnotpeter joined #salt
22:00 notnotpeter Ahoy all.  I was wondering if anyone could shed light on why when defining dependencies between pkg.installed and pkgrepo.managed it can only go one way
22:01 oznah https://gist.github.com/cbe5304c98f3f47fe5c4.git
22:02 notnotpeter Specifically why a "requires_in: pkg: whatever" works under a pkgrepo state, but under a pkg.installed using 'require: pkrepo: whatever' doesn't work.
22:03 notnotpeter At least it's documented, but it's annoying. "Set this to a list of pkg.installed or pkg.latest to trigger the running of apt-get update prior to attempting to install these packages. Setting a require in the pkg will not work for this." from pkgrepo.managed:require_in on http://docs.saltstack.com/en/latest/ref/states/all/salt.states.pkgrepo.html
22:03 oznah whytewolf: if i take the salt pillar and move it under base '*' and all my nodes can see the pillar data. move it under prod and the no one can see data. trying to figure out why. https://gist.github.com/cbe5304c98f3f47fe5c4.git
22:04 primechuck joined #salt
22:05 iggy murrdoc: ! (if the ! was for what I think it was for, I followed up)
22:05 murrdoc u call ?
22:06 whytewolf oznah: first. stop grabbing the clone url. it isn't the url you pass to a human that isn't using git to view your gist. just pass the url at the top. also from what i see prod doens't have a file_roots defined. so it can't find the sls files you are passing as prod
22:07 whytewolf oznah: it does look simple. just create a new directory structure. for prod. copy everything except the top file there. and try again
22:07 iggy murrdoc: yes, got sidetracked by stuff here... just now
22:08 murrdoc ok
22:09 oznah whytewolf, sorry about the url. the prod environment should be coming from gitfs branch named prod. I do point file_roots at git?
22:10 oznah whytewolf, I should have said, how do I point file_roots at gitfs? isn't gitfs_remotes enough?
22:10 iggy notnotpeter: I've never been bothered to read the code and find out
22:10 scooby2 joined #salt
22:11 whytewolf oznah: ahhh. the old enviroments as gitfs branches. fun. http://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.git_pillar.html#module-salt.pillar.git_pillar
22:11 oznah whytewolf, you're making me think I may be making some poor architectural choices
22:12 whytewolf oznah: not really. change master to prod in your gitfs setup
22:12 whytewolf and it needs it's own top file
22:13 whytewolf [you or was it __env__
22:13 iggy when the gitfs stuff works, it's great, when it doesn't... "abandon all hope"
22:13 whytewolf or master:prod
22:13 scooby2 is there a way to match netblocks? like if i get fqdn_ip4 and it equals 192.168.100.24 can i some how say if that matches 192.168.100.0/24?
22:14 notnotpeter iggy: I haven't looked at the source either. Every couple months I'll do it the wrong way and it always bugs me.
22:14 bfoxwell joined #salt
22:14 iggy !salt modules.network
22:14 saltstackbot http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.network.html
22:14 iggy scooby2: ^ There are some functions in there to do that kind of stuff
22:14 scooby2 thanks
22:15 whytewolf humm. iggy. does that bot do function anchors?
22:15 iggy !salt states.file.managed
22:15 saltstackbot http://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.managed
22:15 iggy like that?
22:15 oznah whytewolf, it does make it tough to troubleshoot. I am close to doing what you said earlier and doing git pulls
22:15 whytewolf yeap
22:16 iggy whytewolf: let me know if there is anything else you think would be useful
22:16 whytewolf iggy if i think of anything you will be the first to know
22:17 baweaver joined #salt
22:18 whytewolf oznah: enviroments on the whole seem to always complicate everything. gitfs or no gitfs. I think you were on the right track. try changeing the branch to master:prod and put a copy of the top file in that branch
22:19 whytewolf [i mean in the config not rename the master branch]
22:21 oznah whytewolf, on the pillar repo or the states repo?
22:21 whytewolf you're working with pillars right?
22:21 oznah whytewolf, must be pillar. sorry.
22:22 whytewolf no problem. i would forget my own head sometimes if it wasn't velcroed on
22:22 oznah whytewolf, i'm getting tired. I leaning toward dropping gitfs and just setting up a cron job to do the pull. is that crazy
22:23 whytewolf not crazy, but i would just create a hook that auto pushes git. instead of a cron. that way you don't have to worry about constently pulling when nothing is happening
22:23 whytewolf [not covered in salt :P]
22:24 zer0def joined #salt
22:25 oznah whytewolf, either way, I really appreciate the help. as you can tell, I am new. this is still better than the pain I have suffered at the hands of puppet.
22:26 whytewolf understandable. I tried puppet once. after installing it on an already setup machince it proceeded to eat service configs. luckily it wasn't an important server
22:35 napsterX joined #salt
22:43 linjan__ joined #salt
22:45 cowpunk22 joined #salt
22:57 dude051 joined #salt
23:02 mioli joined #salt
23:05 fersur3 joined #salt
23:05 gcfhvjbkn joined #salt
23:06 fersur3 I have a daemon configuration file I want to templatize.   How can I do something like   {{ grains.get['ipv4 eth1'] }} ?
23:06 gcfhvjbkn joined #salt
23:07 gcfhvjbkn joined #salt
23:07 hasues joined #salt
23:07 gcfhvjbkn joined #salt
23:08 gcfhvjbkn joined #salt
23:09 gcfhvjbkn joined #salt
23:09 gcfhvjbkn joined #salt
23:10 gcfhvjbkn joined #salt
23:10 ageorgop joined #salt
23:10 gcfhvjbkn joined #salt
23:11 gcfhvjbkn joined #salt
23:12 gcfhvjbkn joined #salt
23:12 gcfhvjbkn joined #salt
23:13 SaltyCharles fersur3: how about - {{ grains['ip4_interfaces']['eth1'][0] }}
23:13 gcfhvjbkn joined #salt
23:13 gcfhvjbkn joined #salt
23:14 gcfhvjbkn joined #salt
23:15 gcfhvjbkn joined #salt
23:15 gcfhvjbkn joined #salt
23:16 gcfhvjbkn joined #salt
23:16 SaltyCharles should work with {{ grains['ip4_interfaces']['eth1'] }}
23:17 gcfhvjbkn joined #salt
23:17 gcfhvjbkn joined #salt
23:17 fersur3 SaltyCharles, used network.interface_ip eth1
23:18 gcfhvjbkn joined #salt
23:18 SaltyCharles that works too!
23:18 gcfhvjbkn joined #salt
23:19 gcfhvjbkn joined #salt
23:20 gcfhvjbkn joined #salt
23:20 gcfhvjbkn joined #salt
23:21 gcfhvjbkn joined #salt
23:21 gcfhvjbkn joined #salt
23:23 gcfhvjbkn joined #salt
23:23 gcfhvjbkn joined #salt
23:24 gcfhvjbkn joined #salt
23:24 gcfhvjbkn joined #salt
23:25 gcfhvjbkn joined #salt
23:26 gcfhvjbkn joined #salt
23:26 gcfhvjbkn joined #salt
23:27 gcfhvjbkn joined #salt
23:27 gcfhvjbkn joined #salt
23:28 gcfhvjbkn joined #salt
23:28 cowpunk22 joined #salt
23:29 babilen fersur3: I'd strongly advice against hardcoding interface names. Use network.ip_addrs and get the address within a specifc CIDR (you really don't care if it's eth0 or eth1 (or *are* you?))
23:29 gcfhvjbkn joined #salt
23:29 gcfhvjbkn joined #salt
23:29 toastedpenguin joined #salt
23:30 gcfhvjbkn joined #salt
23:30 aqua^c joined #salt
23:31 gcfhvjbkn joined #salt
23:31 gcfhvjbkn joined #salt
23:32 gcfhvjbkn joined #salt
23:32 gcfhvjbkn joined #salt
23:33 fersur3 babilen, I would prefer to pull from CIDR and not eth1 etc -- how should I do that?
23:33 gcfhvjbkn joined #salt
23:34 gcfhvjbkn joined #salt
23:34 gcfhvjbkn joined #salt
23:35 gcfhvjbkn joined #salt
23:35 subsignal joined #salt
23:35 napsterX joined #salt
23:35 gcfhvjbkn joined #salt
23:36 gcfhvjbkn joined #salt
23:37 gcfhvjbkn joined #salt
23:37 gcfhvjbkn joined #salt
23:38 gcfhvjbkn joined #salt
23:39 gcfhvjbkn joined #salt
23:39 fersur3 salt 'localhost*' network.ip_addrs cidr=10.2.0.0/16    worked
23:39 gcfhvjbkn joined #salt
23:40 fersur3 What is the proper way to get that into a Jinja template?
23:40 gcfhvjbkn joined #salt
23:40 gcfhvjbkn joined #salt
23:41 gcfhvjbkn joined #salt
23:42 gcfhvjbkn joined #salt
23:42 gcfhvjbkn joined #salt
23:43 gcfhvjbkn joined #salt
23:44 gcfhvjbkn joined #salt
23:44 gcfhvjbkn joined #salt
23:45 gcfhvjbkn joined #salt
23:45 babilen fersur3: salt.network.ip_addrs(cid.....)
23:45 gcfhvjbkn joined #salt
23:46 gcfhvjbkn joined #salt
23:46 babilen or salt['network.ip_addrs'](...)
23:47 babilen The former is syntactic sugar for the latter and you would do that in {{ ... }}
23:47 gcfhvjbkn joined #salt
23:47 gcfhvjbkn joined #salt
23:48 gcfhvjbkn joined #salt
23:48 gcfhvjbkn joined #salt
23:49 gcfhvjbkn joined #salt
23:50 gcfhvjbkn joined #salt
23:50 gcfhvjbkn joined #salt
23:51 gcfhvjbkn joined #salt
23:52 gcfhvjbkn joined #salt
23:52 gcfhvjbkn joined #salt
23:53 gcfhvjbkn joined #salt
23:53 gcfhvjbkn joined #salt
23:54 gcfhvjbkn joined #salt
23:55 gcfhvjbkn joined #salt
23:55 gcfhvjbkn joined #salt
23:56 gcfhvjbkn joined #salt
23:57 gcfhvjbkn joined #salt
23:57 gcfhvjbkn joined #salt
23:58 gcfhvjbkn joined #salt
23:58 gcfhvjbkn joined #salt
23:59 gcfhvjbkn joined #salt

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