Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-07-12

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

All times shown according to UTC.

Time Nick Message
00:10 keimlink joined #salt
00:15 intel joined #salt
00:36 pfallenop joined #salt
00:48 yomilk joined #salt
00:49 Sypher joined #salt
00:58 gnudon joined #salt
01:09 kula Anyone having any issues with custom grains disappearing after a state.highstate call?
01:10 kula I'm running 2015.5.2, I can saltutil.sync_grains, see the file appear on the minion and run grains.item the grain and get it back.
01:11 kula I run a state.highstate (that isn't using the grain at all) and afterwards the custom grain disappears from the minion and grains.item returns nothing for the grain
01:11 kula https://gist.github.com/kula/f3c36d561ed4e3d92133
01:12 kula ^ has all the details.
01:12 kula https://github.com/saltstack/salt/issues/14691 seems very similar, except, you know, Windows.
01:13 kula Restarting the minion doesn't help
01:14 kula Anyways, time to migrate from the coffeeshop to home, but I'll check back here later, and I can make a bug report if necessary.
01:18 otter768 joined #salt
01:21 beauby joined #salt
01:38 beauby joined #salt
01:41 MrMorden Any word when 0mq 4.1.3 will be released?
01:41 MrMorden looking for that IPv6 patch to show up in an actual release.
01:42 kitsnail joined #salt
01:47 ilbot3 joined #salt
01:47 Topic for #salt is now Welcome to #salt | 2015.5.2 is the latest | Please use https://gist.github.com for code, don't paste directly into the channel | 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/
01:53 beauby joined #salt
01:59 sgargan joined #salt
02:06 Nazca__ joined #salt
02:09 beauby joined #salt
02:10 yomilk joined #salt
02:18 alektant joined #salt
02:19 favadi joined #salt
02:25 CeBe1 joined #salt
02:33 teryx510 joined #salt
02:34 beauby joined #salt
02:51 georgeaf99 joined #salt
02:53 clintberry joined #salt
02:56 beauby joined #salt
02:56 aqua^c joined #salt
03:09 beauby joined #salt
03:11 darknight87 joined #salt
03:17 cberndt joined #salt
03:19 otter768 joined #salt
03:21 pfallenop joined #salt
03:26 amcorreia_ joined #salt
03:42 favadi joined #salt
03:43 teryx510 /msg NickServ VERIFY REGISTER teryx510 lyxqxslifrld
03:46 yomilk joined #salt
03:58 invalidexception joined #salt
04:00 yomilk joined #salt
04:29 yomilk joined #salt
04:30 illern joined #salt
04:35 apollo-42 joined #salt
04:36 evle joined #salt
04:37 apollo-42 Hello, I am writing my first salt configuration and I was wondering how to install Oracle Java?
04:39 invalidexception joined #salt
04:45 aqua^c joined #salt
04:51 yomilk joined #salt
05:20 otter768 joined #salt
05:31 cast apollo-42: how do you normally install it
05:33 apollo-42 Normally on Linux machines I add the webupd8team apt repo and on Mac I just download it and click install
05:34 skullone really, just have to step it out, adding an apt repo and installing a deb is easy
05:34 skullone osx, they have some sort of package manager i think
05:35 apollo-42 ahh okay, so I have to have a separate set of instructions for each OS in this case
05:38 skullone yah
05:38 skullone or, if you can distill it to something that would work on either
05:38 skullone i only use redhat, and use oracle java rpm
05:42 clintberry joined #salt
05:47 gnudon joined #salt
05:55 catpiggest joined #salt
05:56 karlthane Since halite is deprecated, what is the dashboard that is prefered now?
05:57 TOoSmOotH joined #salt
05:57 campee joined #salt
05:58 napsterX joined #salt
06:10 favadi joined #salt
06:18 clintberry joined #salt
06:24 yomilk joined #salt
06:34 ndrei joined #salt
06:36 invalidexception joined #salt
06:38 baweaver_ joined #salt
06:39 baweave__ joined #salt
06:44 kitsnail joined #salt
06:48 stoogenmeyer joined #salt
06:51 hasues joined #salt
06:52 hasues left #salt
06:54 rvhi joined #salt
06:54 rvhi hi, anyone knows where 2015.5.3 will be available in ppa?
06:54 rvhi i updated it, still get 2015.5.2
07:01 lictor36 joined #salt
07:01 teryx510 joined #salt
07:02 invalidexception joined #salt
07:15 napsterX joined #salt
07:21 otter768 joined #salt
07:30 Antiarc joined #salt
08:00 eclipse75 joined #salt
08:00 yomilk joined #salt
08:02 kitsnail joined #salt
08:04 eclipse75 hey guys. i was wondering about salt. but first i'd just like to say that i really like it. well, not too much. but enough. i find it really intriguing to say the least. and it has many great applications. i use it nearly darn every day. i imagine you guys do good work and thank you for that. but i'm digressing. what i'd like to know is, how much salt should i use in my cookies?
08:05 eclipse75 it makes 6 dozen. 3 cups of flour power. what are your personal tastes?
08:07 eclipse75 hm. no reply. bye guys
08:07 eclipse75 left #salt
08:14 stoogenmeyer_ joined #salt
08:17 clintberry joined #salt
08:28 ndrei joined #salt
08:30 keimlink joined #salt
08:38 Antiarc joined #salt
08:48 stoogenmeyer__ joined #salt
08:54 yomilk joined #salt
09:10 j-saturne joined #salt
09:11 yomilk joined #salt
09:22 otter768 joined #salt
09:22 markm joined #salt
09:25 ingslovak joined #salt
09:30 ndrei joined #salt
09:34 linjan_ joined #salt
09:37 yomilk_ joined #salt
09:48 ingslovak joined #salt
09:50 zer0def joined #salt
09:55 ndrei joined #salt
10:02 X67r joined #salt
10:05 cberndt joined #salt
10:11 aqua^c joined #salt
10:16 Fiber^ joined #salt
10:17 X67r_ joined #salt
10:25 X67r joined #salt
10:25 ssbarnea joined #salt
10:51 darknight87 joined #salt
10:51 ndrei joined #salt
10:55 wanghui joined #salt
10:56 wanghui joined #salt
10:57 wanghui joined #salt
10:58 wanghui joined #salt
11:10 seamyd joined #salt
11:23 otter768 joined #salt
11:34 okle100 joined #salt
11:35 okle100 guys can somone point me to some document / page /tutorial for deploying basic infrastructure wiht salt, in terms of best practices and such
11:36 okle100 not the techical part on how you would write states, pillar, but the conceptual design
11:44 X67r joined #salt
11:49 bluenemo joined #salt
11:49 bluenemo joined #salt
11:49 TyrfingMjolnir joined #salt
11:57 X67r_ joined #salt
11:59 yidhra_ joined #salt
12:00 aqua^c joined #salt
12:26 bastiandg joined #salt
12:40 Jimlad joined #salt
12:47 yomilk joined #salt
12:51 yomilk_ joined #salt
13:02 omerk joined #salt
13:03 omerk hello, wondering if anyone has used salt to provision ec2 spot instances... is this the right place?
13:12 soren joined #salt
13:24 otter768 joined #salt
13:30 dopesong joined #salt
13:31 peters-tx joined #salt
13:38 CeBe joined #salt
13:43 X67r joined #salt
13:50 mohae_ joined #salt
14:02 froztbyte omerk: what do you mean?
14:04 omerk froztbyte: I want to use salt-cloud in order to create spot instances and not on-demand or reserved instances for various offline and integration setups where I don't care if the instances sometimes fail to create or are taken away
14:05 froztbyte oh, salt-cloud specifically. I speak under correction, but I think that's partly a side extra component
14:05 bastiandg joined #salt
14:05 froztbyte not sure if it makes much of a difference in its use, though
14:06 froztbyte presumably you should only have to set the correct EC2/AWS flags
14:25 mohae joined #salt
14:25 markm joined #salt
14:28 tpaul joined #salt
15:23 apollo-42 joined #salt
15:25 otter768 joined #salt
15:29 desposo joined #salt
15:31 desposo1 joined #salt
15:37 aqua^c joined #salt
15:41 apollo-42 I'm having the following issue when provisioning my vagrantbox: The state "sqlalchemy" in sls common.simple_dev is not formed as a list
15:43 apollo-42 I am trying to pip install sqlalchemy with the following syntax: sqlalchemy:     pip.installed:         require:             - pkg:  python-pip
15:53 xmj joined #salt
15:53 xmj left #salt
15:56 xmj joined #salt
15:57 pirogoeth joined #salt
15:57 pirogoeth Hey all
15:58 pirogoeth Is anyone else having issues with the salt minion on freebsd?
16:07 xmj cedwards would probably know
16:07 llua what kind of issues
16:08 pirogoeth minion starts for a few moments and then just dies.
16:08 xmj or terminalmage, or XenophonF, or smkelly, or Mohshani, or viq, or NV
16:08 stoogenmeyer__ joined #salt
16:08 llua did you look into the logs to see why it dies?
16:09 pirogoeth the logs aren'
16:09 pirogoeth aren't very informative*
16:09 pirogoeth https://gist.github.com/pirogoeth/c4a9cf9d45e54830e4db
16:09 pirogoeth the minion *was* working correctly
16:10 pirogoeth i did package upgrades and now it fails.
16:10 pirogoeth python27 2.7.9_1 -> 2.7.10
16:10 xmj oh?
16:10 pirogoeth py27-salt 2015.5.1 -> 2015.5.2
16:10 pirogoeth py27-pyzmq 14.6.0 -> 14.6.0_1
16:11 xmj hm
16:11 pirogoeth there are a few other python modules that get updated, but not sure of their importance
16:11 xmj i wouldn't be surprised if that was a python 2.7.10 regression
16:13 llua start the minion with a different log level, like debug or something
16:14 pirogoeth llua, one moment :)
16:15 pirogoeth xmj, doesn't look like it's a 2.7.10 regression.
16:16 tpaul pirogoeth: If it's any help, I am not seeing that issue on NetBSD
16:17 xmj we recently updated python to 2.7.10, so maybe it's that.
16:18 xmj and yea, run the minion as root without the rc.d script, increase the loglevel, look for the stuff it outputs before dying
16:19 tpaul pirogoeth: I'm also on Python 2.7.10 here
16:20 pirogoeth tpaul, what versions of libzmq and py27-pyzmq?
16:21 pirogoeth llua, https://gist.github.com/pirogoeth/53e42c80e94b5e8a9656
16:21 pirogoeth running at trace.\
16:21 pirogoeth still nothing too terribly informative :\
16:22 tpaul zeromq = 4.0.5, py27-zmq = 14.4.1
16:22 tpaul salt = 2015.5.2
16:23 tpaul I have several issues with salt on netbsd, but I'm not seeing the minion die
16:24 viq pirogoeth: works for me on an up-to-date freebsd box
16:25 tpaul Does FreeBSD have ssh-copy-id in the base systems? Thought I'd ask while we have some FreeBSD people in here :)
16:25 viq pirogoeth: anything in master logs? Is the key accepted?
16:25 xmj tpaul: yes
16:25 xmj tpaul: we do
16:25 viq tpaul: what issues?
16:25 tpaul xmj: thanks, I'm trying to use salt-ssh from pkgsrc on NetBSD and OSX, and neither have that in base
16:26 pirogoeth viq, the key had already been accepted a while back
16:26 pirogoeth sorry, gotta disappear for a few
16:26 tpaul I sent a message to pkgsrc mailing list to find the best way to handle that, for now I just have a separate package for that script
16:26 xmj which reminds me
16:26 xmj i'm actually on some salt package list
16:28 tpaul viq: I had some trouble getting salt-ssh to work until I manually copied my ssh key over, and a few salt modules weren't working. But I haven't had the time lately to sit down and organize the issues, I should have some time next week thought
16:29 xmj pirogoeth: let me get you a patch to update salt to the latest.
16:29 xmj pirogoeth: wanna play guinea pig and test 2015.5.3 ?
16:31 favadi joined #salt
16:35 impi joined #salt
16:37 Guest7680 joined #salt
16:50 pirogoeth xmj, heck yeaaaah
16:51 xmj oh i forgot
16:51 xmj here's a diff
16:52 amcorreia_ joined #salt
16:52 xmj http://ix.io/jHm
16:52 xmj cd sysutils/py-salt && fetch -o diff "http://ix.io/jHm" && svn patch diff
16:52 xmj && rm diff
16:53 freelock joined #salt
16:56 ageorgop joined #salt
16:57 zleslie joined #salt
16:58 X67r joined #salt
16:59 pirogoeth xmj, aye aye cap'n
17:03 impi joined #salt
17:04 pirogoeth xmj, no such luck.
17:05 pirogoeth 2015.5.3 still dies a horrible death
17:05 xmj but the patch works?
17:06 pirogoeth well, it patched correctly and then the install worked, so i assume the answer you're looking for is "yes"?
17:08 xmj yes
17:09 xmj :)
17:09 pirogoeth then, yes, the patch works
17:09 pirogoeth +1
17:11 xmj cool
17:12 ljt joined #salt
17:20 pirogoeth tpaul, ping
17:23 xmj tpaul: how many people are using salt on netbsd that you know of? :)
17:25 iggy 0
17:26 otter768 joined #salt
17:26 aqua^c joined #salt
17:26 tpaul Not sure, I just started using it on nerves recently, been using in centos/fedora for maybe 2 years now
17:27 tpaul *Started using it on netbsd recently
17:27 xmj yeah, on EL6ish/EL7ish it works nicely
17:27 xmj iggy: very obviously '0' is wrong, given that tpaul is already 1.
17:27 kert joined #salt
17:28 tpaul I will start running a SmartOS master soon as well to replace the centos master
17:31 kert sanity check before i try and code this : is passing pillar data to custom grains functions dangerous/bad plan ? would i get into some circular grains->pillar->grains dependencies ?  im looking at salt-contrib/grains/ec2_tags.py which wrestles with aws credentials in all possible ways, except retrieving them through pillar, for which pillar is designed ..
17:37 TyrfingMjolnir joined #salt
17:38 LeProvokateur joined #salt
17:40 X67r joined #salt
17:43 gladiatr joined #salt
17:47 amcorreia__ joined #salt
17:53 amcorreia_ joined #salt
17:56 michelangelo joined #salt
17:57 fisuk o
17:57 fisuk left #salt
18:04 iggy kert: it probably has more to do with what's expected to already exist from the boto_* modules/states
18:06 iggy tpaul: I'm sure the mailing list would like to hear what issues you run into running a master on !Linux (as I think master-on-Linux is the only "supported" master)
18:09 kert iggy: im not sure i followed this. i was trying to get to a point where i can do grains matching on ec2 instances based on tags. unfortunately ec2 tags are only available when provided credentials ( except when you have IAM roles ) . so to have an ec2-tag grain , you need to provide credentials. salt has pillar for passing around the credentials, but grains functions do not receive pillar data ..
18:09 viq joined #salt
18:10 tpaul iggy: will do, week after next I will be spending a lot of time at work with SmartOS + salt
18:12 tpaul Netbsd + salt is for my personal machines and double checking pkgsrc patches but I will definitely share any troubles I run into on either
18:14 ALLmightySPIFF joined #salt
18:22 iggy kert: I don't actually know much about aws+salt, but I'm pretty sure most people use iam heavily with it
18:29 ALLmightySPIFF joined #salt
18:29 kert let me try it another way. does pillars subsystem have a dependency on grains ? does grains subsystem have a dependency on pillars ? would introducing pillars dependency on grains break things ?
18:32 iggy grains are processed first (before pillar)
18:38 X67r_ joined #salt
18:41 kert ok, so that means you actually cant have grains that are dependent on any credential data in pillars. saved me a a few hours of figuring this out :)
18:51 X67r joined #salt
18:52 timoguin joined #salt
19:08 soren joined #salt
19:15 aqua^c joined #salt
19:15 X67r joined #salt
19:18 gnudon` joined #salt
19:22 X67r_ joined #salt
19:26 otter768 joined #salt
19:32 intel joined #salt
19:36 Sniper^ joined #salt
19:37 X67r joined #salt
19:38 primechuck joined #salt
19:41 john_den joined #salt
19:44 john_den I need some help setting up a masterless vagrant config. Salt can't find my source file located at salt://vimrc (I put my vimrc in /saltstack)
19:47 john_den * saltstack/salt
19:47 int3l joined #salt
19:48 john_den Nevermind... fixed it
19:52 dopesong joined #salt
19:58 vstoniest joined #salt
19:59 Deevolution1 joined #salt
20:11 dustywusty joined #salt
20:25 intel joined #salt
20:27 ajw0100 joined #salt
20:46 Ztyx joined #salt
20:49 ingslovak joined #salt
20:53 Ph-x joined #salt
20:58 Sketch joined #salt
20:59 ALLmightySPIFF joined #salt
21:03 aqua^c joined #salt
21:13 ljt joined #salt
21:21 smcquay joined #salt
21:27 otter768 joined #salt
21:38 kevinquinnyo joined #salt
21:40 kevinquinnyo if i'm using grains to identify certain types of hosts, should i have the if grains['something'] == 'identity' ... inside my main top.sls or should it be in each sub state  (or both?)  How do you all typically handle this?
21:41 kevinquinnyo my thinking right now as i build all of this out was that it should only be in the top.sls so that my 'highstate' behaves predictably if run on all minions, but then one would have the option to manually run a state on any minion if necessary (so only put that grains / identifying logic in the top.sls) but not sure if that's best
21:51 ninkotech_ joined #salt
21:52 baweaver joined #salt
21:52 invalidexception joined #salt
21:53 baweaver_ joined #salt
22:03 teryx510 kevinquinnyo: If you wanted to keep the top.sls a bit more orderly rather than having an entry for every minion, perhaps a check in the state sls to see if there is any pillar data for that particular minion for that particular state, no pillar data and the state just exits…i dunno just spit balling.
22:08 tmclaugh[work] joined #salt
22:09 kevinquinnyo teryx510: i'm just checking roles of the minions as defined by grains, for example if grains['role']['web-cluster'] ...
22:23 loz-- joined #salt
22:38 iggy you can target by pillar key in top.sls too
22:39 iggy base:\n  'nginx:*':\n    - nginx
22:46 yomilk joined #salt
22:51 invalidexception joined #salt
22:54 mrbigglesworth joined #salt
23:09 aparsons joined #salt
23:13 mosen joined #salt
23:15 aparsons joined #salt
23:26 und1sk0_ joined #salt
23:27 baweaver joined #salt
23:28 bretep joined #salt
23:28 klocek joined #salt
23:28 cast joined #salt
23:28 Emantor joined #salt
23:28 otter768 joined #salt
23:28 Sacro joined #salt
23:28 joehh joined #salt
23:33 msciciel1 joined #salt
23:35 mortis_ joined #salt
23:38 ekkelett joined #salt
23:38 ekkelett joined #salt
23:38 sgargan joined #salt
23:38 dec joined #salt
23:38 tmclaugh[work] joined #salt
23:39 nobrak joined #salt
23:39 nobrak joined #salt
23:40 Bryanstein joined #salt
23:45 TyrfingMjolnir joined #salt
23:49 quasiben joined #salt
23:49 amcorreia_ joined #salt
23:51 yomilk_ joined #salt
23:55 aqua^c joined #salt

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