Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-10-13

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

All times shown according to UTC.

Time Nick Message
00:22 Jahkeup joined #salt
00:36 cshuman joined #salt
00:38 Gifflen joined #salt
00:39 mlanner_ playing around with the new salt-ssh functionality a bit. i configured a few servers in my roster file and i'm able to send commands using the -r (raw) switch. when i try something like "salt-ssh '*' pkg.list_upgrades" i'm getting a traceback with the error "NameError: global name 'thintar' is not defined". anyone have any ideas what i'm doing wrong or what it's about?
00:41 cshuman joined #salt
00:48 oz_akan_ joined #salt
00:56 rgbkrk joined #salt
00:57 forrest I haven't seen that error before mlanner_
00:57 jslatts joined #salt
00:57 forrest do you have different types of minions in your roster file?
01:00 mlanner_ forrest: nope. all of the minions are ubuntu 12.04 server
01:00 forrest interesting, can you run that through with the debug option enabled?
01:01 mlanner_ i'm getting one of those errors for each configured server.
01:01 mlanner_ sure. what's the debug flag? -d?
01:01 mlanner_ -l debug i guess ...
01:01 forrest yea -l debug
01:03 forrest are you able to run other pkg.* commands?
01:03 oz_akan_ joined #salt
01:03 cbloss has anyone used saltstack-formulas / hosts-formula?
01:04 forrest Looks like it still uses the old style cbloss, what's up?
01:05 mlanner_ forrest: i haven't tried any other ones. let me try.
01:05 cbloss Was just trying to use it
01:05 forrest mlanner_, sounds good, try something that isn't pkg. as well, I assume you restarted the salt-master after installing salt-ssh right?
01:05 cbloss Doesn't seem to work, was just trying to see if someone used it to make sure I wasn't doing anything wrong
01:06 mlanner_ pkg.refresh_db is running into the same issue.
01:06 mlanner_ yeah, i've restarted salt-master since install.
01:07 forrest that seems really odd mlanner_
01:07 mlanner_ here's the traceback: http://pastebin.com/xM2FuGuc
01:09 mlanner_ forrest: disk.usage gives the same.
01:09 forrest hmm
01:09 forrest https://github.com/saltstack/salt/issues/7765
01:10 forrest Looks like dangarthwaite is also having an issue on Ubuntu
01:10 forrest can you see if you also have 0.17.0.1-1lucid?
01:11 forrest cbloss, Yea I don't know enough about how that hosts formula works to offer much assistance, there'a a module defined for it as well it seems.
01:11 forrest oh, joehealy just commented, sweet
01:12 forrest mlanner_, that issue just got updated, dude thinks it is a packaging issue
01:12 forrest joehh, can you let us know what you discover?
01:13 oz_akan_ joined #salt
01:13 mlanner_ yup, salt-master is 0.17.0.1-1precise
01:13 forrest Ok cool, that's good
01:14 forrest Might be worth commenting that you're also seeing that issue if joehh needs more examples.
01:14 liamc joined #salt
01:16 mlanner_ what's the issue id on GH?
01:16 forrest I linked it above, 7765
01:17 forrest https://github.com/saltstack/salt/issues/7765
01:17 mlanner_ sorry, didn't see it. will +1 that.
01:17 forrest no biggie.
01:19 joehh forrest, mlanner_: got to the bottom of it
01:19 forrest what was it joehh?
01:19 joehh a patch was needed to be applied to thin.py to make it work in debian/ubuntu
01:19 forrest was that patch already in the repo?
01:20 forrest or was it an actual patch file
01:20 joehh this patch was applied manually to the wrong line in the ubuntu packages
01:20 forrest ahah ok
01:21 joehh a pull request was applied after 0.17.0 was cut, and this was worked around by applying a patch in debian
01:21 mlanner_ joehh: so, no need adding to the issue then, i assume?
01:22 joehh in ubuntu the current patches are done manually and there are two similar looking lines - it was done to the wrong one
01:22 joehh I'll add something - hopefully that will clear it up
01:23 forrest Cool, thank's for the quick turn around joehh
01:23 joehh https://github.com/saltstack/salt/commit/51a7d6cbb67cbbb61a3a4c94763017de50b014f9 is the patch
01:24 joehh that change got applied at line 19 rather than 45
01:24 mlanner_ amazingly fast! :)
01:25 diegows joined #salt
01:26 joehh fluke - that one has been bugging me for a few days and you caught me at the right moment
01:26 forrest heh
01:33 mlanner_ how often are new ppa packages usually published?
01:33 mlanner_ just for every new version?
01:35 joehh I thought the next question would be in that line... :)
01:35 joehh generally once per version/release
01:36 joehh if a bug bights the maintainer enough and the fix is easy enough they may do more
01:36 joehh bights? bites
01:37 joehh Given 0.17.1 is "imminent", there is likely to be less enthusiasm
01:37 mlanner_ hehe, ya ... kinda follows, eh?
01:38 joehh In my situation, I'm happy to wait for 0.17.1, but that is me
01:38 mlanner_ that's totally fine. i was just getting excited playing around with it today.
01:38 joehh you could apply that patch manually - ie get the correct version of thin.py from github
01:38 joehh and copy it in (file.managed) and it will work nicely
01:39 joehh I think that is the best fix right now
01:39 mlanner_ yeah, i was thinking about that. was that the only change since 0.17.0 that you know of?
01:42 joehh look at https://github.com/saltstack/salt/commits/0.17/salt/utils/thin.py
01:44 joehh I know if you get it after my commit it works on debian
01:44 joehh After the next one might be needed as well in some circumstances
01:44 joehh I'd try the newest version on the 0.17.0 branch to start with
01:56 zwe joined #salt
01:58 linuxnewbie if i have this: openssh-server:
01:58 linuxnewbie pkg:
01:58 linuxnewbie - installed
01:58 linuxnewbie {% if grains['os'] == 'RedHat' or grains['os'] == 'Fedora' or grains['os'] == 'CentOS'%}
01:58 linuxnewbie - name: sshd
01:58 linuxnewbie {% elif grains['os'] == 'Debian' or grains['os'] == 'Ubuntu'%}
01:58 linuxnewbie - name: ssh
01:58 mlanner_ ya, the latest got me a little down the road. at least it's not bombing out. however, the SSH keys loaded on the minions don't seem to work when using modules like pkg.
01:59 linuxnewbie on the service ...and i'll have let's say centos ...on the service section shall i make another if statement ...or it will know that is centos so the service name will be sshd ?!
01:59 forrest linuxnewbie it won't know
01:59 forrest but don't do it that way
01:59 forrest take a look at https://github.com/saltstack-formulas/ssh-formula
01:59 linuxnewbie forrest, thank you i'll have a look
02:00 forrest that uses the newer map.jinja style to set those variables external to the state, it's a LOT easier and cleaner that way
02:00 forrest yea np
02:01 joehh mlanner_: yeah - I only tested it with setting the passwords in the roster file
02:01 mlanner_ joehh: weehaa, one of the machines actually did work with: salt-ssh '*' pkg.refresh_db
02:02 mlanner_ now, the diff there is that the machine that worked is using 'root' in the roster file.
02:02 mlanner_ the other two test machines are using other accounts with sudo privs.
02:04 mlanner_ i wasn't too keen on putting my passwords in clear text in that file, so i used keys.
02:05 mlanner_ and typically any servers i work with do not allow ssh login for root.
02:23 Narven joined #salt
02:23 oz_akan_ joined #salt
02:27 jslatts joined #salt
02:32 xmltok joined #salt
02:47 joshe joined #salt
02:49 joehh mlanner_: yeah - I've had probs with non root users too, first up it wants to create /etc/salt/...
02:49 joehh I'm not sure it needs that at all
02:52 Katafalkas joined #salt
02:58 mlanner_ joehh: yup, same prob here.
03:00 mlanner_ have you seen any issues logged for it? if not, i'd be happy to add some.
03:05 joehh https://github.com/saltstack/salt/issues/7531
03:08 NetworkN3rd joined #salt
03:52 mwillhite joined #salt
03:53 m0hit joined #salt
03:53 joehh joined #salt
03:57 jslatts joined #salt
04:07 josephholsten joined #salt
04:12 bigmstone Can someone explain the use of the xapi module? Does a minion run in DOM0 of Xenserver? Not much documentation I can find on getting that running.
04:48 Boohbah joined #salt
05:01 m0hit joined #salt
05:04 berto- joined #salt
05:10 forrest mlanner_ are you still around?
05:19 cmthornton joined #salt
05:26 gildegoma joined #salt
05:27 steveoliver left #salt
05:27 jslatts joined #salt
05:31 carmony you know whats kinda scary? I've kinda almost made an on-demand bot-net with Vagrant + Salt :P
05:31 steveoliver joined #salt
05:31 carmony I have a config file where I can set how many minions I want, and then type "vagrant up --provider=<aws_or_rackspace>"
05:32 carmony and it can spin up 2 or 50 servers, depending on what I set my  num of minions variable to be
05:36 * goodwill looks at forrest
05:36 forrest what's up goodwill?
05:36 forrest Hey have you gotten halite working?
05:38 goodwill me?
05:38 * goodwill does not use it
05:38 goodwill at least at the moment
05:38 forrest :\
05:38 goodwill sorry buddy
05:38 forrest trying to write some actual docs to supplement the github docs, and just getting it running is a real pain in the ass with the current docs
05:39 goodwill yeah
05:39 goodwill can not say I am surprized
05:39 goodwill for one its pre-alpha
05:40 goodwill for another I've seen its code
05:40 joehh forrest: biggest issue for me on debian was needing python-cherrypy3 rather than python-cherrypy
05:40 goodwill forrest: as far as I like salt, halite is PITA
05:40 goodwill far=much
05:41 goodwill the technology stack is super weird too
05:41 goodwill bottle
05:41 goodwill !!!
05:41 goodwill really?
05:41 forrest joehh, yea I'm working on writing the docs so they support both debian and cent/RH/fedora, were you able to get auth working for the root user?
05:41 forrest the docs say to add your username in the PAM section, but that works for shit
05:41 goodwill salt-ui was a good project
05:42 joehh I remember using my own username
05:42 goodwill but it seems to have gone the way of the dodo
05:42 steveoliver left #salt
05:42 steveoliver joined #salt
05:42 forrest goodwill. Bottle is really quick to stand an application up in, mayber Whiteinge didn't want to mess with Pyramid/Django
05:42 joehh that may have been because root didn't work, or because thats what I put in the auth config
05:42 goodwill whiteinge is not in charge of halite
05:42 forrest Yea I'm wondering if root just doesn't work
05:43 forrest I know goodwill, SmithSamuelM is it seems
05:43 goodwill yeah
05:43 forrest but I have no idea who that is
05:43 goodwill noone I've ever seen in the community
05:43 Corey goodwill: Did that repo work?
05:43 forrest He lives in Utah
05:43 redondos joined #salt
05:43 goodwill Corey: yes sir!!! thank you very much
05:43 Corey goodwill: Glad to hear it.
05:44 joehh basepi did comment that an upgrade to the pam library may be needed, but I'm not sure
05:44 joehh https://github.com/saltstack/salt/issues/7747#issuecomment-26174524
05:44 forrest joehh, can you paste your external_auth section that works for halite so you can login? Or is it identical to the example just with your user?
05:44 forrest I don't really see how that + the additional groups work, what's the point of including @runner and @wheel you know?
05:44 forrest probably just need to read up on it some more
05:44 joehh It will have been pretty close, I'll see if I can dig it up
05:44 forrest cool thanks
05:44 goodwill forrest: I am telling ya ... its super alpha
05:45 forrest goodwill, I know, but people still want to test it out
05:45 goodwill forrest: I am pretty sure it does not really work
05:45 goodwill it has like next to 0 tests
05:45 forrest I already updated the release notes so they don't lead people to believe that it comes by default with salt-master
05:45 basepi joehh: known bug that prevents you from authing as root through PAM. That the problem?
05:45 forrest goodwill, it works, just yea super alpha
05:46 goodwill yeah
05:46 joehh I think so
05:46 forrest I'd still like to write up some docs though goodwiil
05:46 forrest *will
05:46 goodwill like I said halite totally bummed me out
05:46 joehh responding to forrest about auth as root through halite
05:46 forrest because if I'm getting annoyed going through the docs on github, I feel sorry for the average user.
05:46 basepi Ya, I traced it down to an unknown error code from PAM, that's as far as I got.
05:46 forrest joehh, nice thanks for the data.
05:47 goodwill if the smith guy was actually part of the community we could ask him
05:47 forrest I didn't even create secondary users for these VMs I'm doing the testing on, so I'll have to do so.
05:47 forrest he might be
05:47 forrest maybe he hates IRC
05:48 joehh forrest: no luck looks like I either threw away the vm or purged the config testing upgrades between releases
05:48 forrest goodwill, pretty sure it's this guy http://www.linkedin.com/pub/samuel-m-smith-phd/1/275/465
05:48 joehh it will have been pretty close to the docs though
05:48 goodwill yeah I know who he is
05:48 forrest joehh, thanks anyways, I'll just create an actual user and see if that works.
05:48 forrest joehh, I didn't know it was broken for root
05:49 goodwill I am just bummed something like this is being developed without any communication with the community
05:49 forrest I also noticed that if you install via pip, and try to run it from waaaaaaaaay down in the libs dir for halite, it just totally breaks, doesn't build any of the html files it needs.
05:49 forrest well, you could always fork it and build something better :P
05:49 goodwill I would dream of forking hilite
05:49 goodwill halite
05:49 joehh me either
05:49 goodwill bottle, node, coffeescript
05:49 forrest yea
05:49 forrest I know
05:50 goodwill no tests
05:50 forrest I don't get the node/coffeescript
05:50 forrest and yea no tests is painful
05:50 goodwill I've read the code
05:51 m0hit joined #salt
05:51 forrest well, email him and complain :P
05:51 goodwill nah
05:51 goodwill not worth it
05:51 goodwill if he wanted feedback he'd be on IRC or mailing lists
05:52 goodwill I can not even find a single comment in the code
05:52 forrest basepi, is halite officially being supported by SaltStack now?
05:53 goodwill well its developed by I paid employee I think
05:53 forrest whiteing has a few commits.
05:53 forrest I'm pretty sure that was just to make it work though
05:53 basepi Yep, Sam Smith is the main developer on it. Another is starting Monday.
05:53 forrest does Sam work at saltstack?
05:54 basepi It's in rapid development, dunno how much he has pushed yet though.
05:54 basepi Yes.
05:54 goodwill basepi: does rapid development mean no tests, comments, docs or much of anything else?
05:54 goodwill sorry to sound bitter
05:54 forrest lol
05:54 basepi Totally understand. It's good feedback. Pretty sure you're right, very limited docs/tests
05:55 goodwill and why in the world would it use bottle
05:55 goodwill I know tom is all about cherrypy
05:55 goodwill and the combine bottle with node
05:55 basepi It's been an exercise in "get something going now."  Hoping for rapid improvement going forward now that we'll have two dedicated guys.
05:55 goodwill and layer angular on top
05:55 basepi As far as architecture choices, you'd have to ask Sam.
05:56 goodwill it looks like a POC for someones home project of trying tech
05:56 m0hit joined #salt
05:56 forrest If I ever see him in IRC I will
05:56 basepi I wasn't involved and don't know the technologies.
05:56 goodwill he is never on IRC
05:56 basepi He'as
05:56 basepi He's not big on IRC.
05:56 basepi (Sorry, typing on my phone)
05:56 goodwill in fact all the salt guys have disappeared from IRC
05:56 basepi Nah, just this week.
05:56 basepi Everyone has been at conferences and customers.
05:56 forrest UtahDave was saying he was OOTO all week working
05:56 basepi You should see people back online starting this week.
05:57 goodwill I mean I know tom is batman
05:57 basepi But we should probably see if we can schedule some sort of time when we can get Sam online and people can ask him questions.
05:57 goodwill maybe
05:58 goodwill I lost interest after seen the code quality
05:58 basepi Lots of excitement about halite but he's not online that much to talk about it.
05:58 goodwill there is literally NO COMMENTS
05:58 basepi Bummer. =\
05:58 goodwill except for commented out code
05:58 basepi I'll pass on your feedback,  goodwill. Didn't realize it was that bad.
05:59 goodwill no need to stress tom out
05:59 basepi I don't touch that stuff. Not a fan of web Dev.
05:59 goodwill I am sure he got enough troubles
05:59 joehh If you're after feedback...
05:59 joehh I really liked the pam bit
05:59 basepi Hehe, well, luckily it's Sam who will get the feedback, less Tom. =)
05:59 joehh being able to log in as different users efficiently was very good
06:00 forrest the pam feedback is part of salt-master
06:00 basepi Nice!
06:00 forrest err pam auth
06:00 joehh but (you knew it was coming...) I felt the whole thing was too low level
06:00 goodwill basepi: you do not have to believe me ... look at the code
06:00 joehh I was hoping to be able to give it to my support guys and have it be fairly intuitive
06:01 basepi For the record, you guys can always reach out with feedback. My email is colton@saltstack.com. I'll pass it on as needed.
06:01 goodwill https://github.com/saltstack/halite/blob/master/halite/server_bottle.py
06:01 basepi goodwill: I'll have to do that.
06:01 joehh but there was too much info about the interactions
06:01 goodwill NOT A SINGLE COMMENT
06:01 goodwill for 665 lines
06:02 joehh It seemed to require a detailed knowledge of salt to use
06:02 joehh BUT I recognise it is very early days for it
06:02 basepi Well, looks like the doc strings are mostly present.
06:02 basepi And comments here and there. Definitely needs improvement.
06:02 joehh basepi: good point about the email I've got in the habit of doing so for salt, hadn't crossed my mind for halite
06:03 goodwill doc string a little better
06:03 goodwill it got imports on funciton level
06:03 goodwill dunders
06:04 goodwill hell its naming convention seems to be java
06:04 * goodwill shuts up now
06:04 forrest lol
06:04 basepi Ya, some interesting choices.
06:04 basepi Well gents, I have to go to bed or I'm going to regret it. But thanks for the feedback, I'll pass that on to Sam.
06:04 forrest later basepi
06:04 goodwill OMG it uses "global"
06:04 basepi Later. =)
06:05 basepi Hahaha so much for shutting up,  goodwill? ;-)
06:05 goodwill I have not seen global in code in like forever
06:05 basepi Jk jk.
06:05 goodwill yeah
06:05 goodwill sorry
06:05 joehh later - you seem to have been keeping crazy hours laterly -
06:05 goodwill just have not seen global in forever
06:05 goodwill did not know people still used it
06:06 joehh forrest: yeah - part of salt, but still requires ssh
06:06 basepi Meh, sometimes I get on at weird times. Mostly just when I get mentioned.
06:06 * basepi goes to bed.
06:07 joehh I suspect we are going to write our own very simplified front end (ie press button to run script on master sort of thing)
06:07 forrest joehh, yea I was thinking about the same thing, redhat is incorporating support in satellite for *shudders* puppet
06:08 forrest so I'm trying to push us away from that
06:08 packeteer satelite is crap
06:08 packeteer well, the config management component is
06:08 packeteer hence the need for something better
06:08 Corey Concur.
06:09 forrest oh yea man
06:09 forrest I hate it
06:09 forrest makes me want to kill myself every day
06:09 forrest no regex searches
06:09 forrest there is no config management component
06:13 plumcrate_ joined #salt
06:19 plumcrate_ left #salt
06:25 packeteer there is, but it rarely works correctly
06:25 forrest What part are you considering config management packeteer?
06:28 packeteer in channels
06:28 packeteer we used it for rolling out configs
06:29 forrest ehhhhhhhhhhh
06:29 forrest that really sucks
06:29 forrest really really sucks
06:29 packeteer of course
06:30 plumcrate1 joined #salt
06:34 plumcrate1 left #salt
06:35 plumcrate joined #salt
06:54 taylorgumgum joined #salt
06:54 druonysus joined #salt
06:57 jslatts joined #salt
07:03 taylorgumgum joined #salt
07:09 taylorgumgum joined #salt
07:17 ckao joined #salt
07:45 redondos joined #salt
07:45 redondos joined #salt
07:49 matanya_ joined #salt
07:52 m0hit joined #salt
07:54 taylorgumgum joined #salt
07:55 druonysus joined #salt
07:55 druonysus joined #salt
08:06 Gifflen joined #salt
08:09 m0hit_ joined #salt
08:10 pdayton joined #salt
08:12 taylorgumgum joined #salt
08:16 xerxas joined #salt
08:17 pcarrier joined #salt
08:22 aleszoulek joined #salt
08:23 Gifflen joined #salt
08:27 jslatts joined #salt
08:31 lesnail joined #salt
08:37 lesnail hey everyone, I'm having trouble firing events programatically from a minion to the master
08:37 lesnail I'm using salt 0.16.3
08:37 lesnail It is working with the using salt-call from command line using the wiki example -> salt-call event.fire_master 'message for the master' 'tag'
08:38 lesnail somehow I can't figure out how to send an event via the salt api using python
08:40 lesnail so far I tried several variations of the example in the wiki, but without success
08:40 lesnail http://pastebin.com/RLkgk5tn
08:41 lesnail maybe someone can point me to the missing link, maybe it's a matter of targeting the master
08:45 matanya_ joined #salt
08:51 matanya_ joined #salt
09:01 lesnail using tcpdump, I found that using the python script no data is sent to the master
09:02 taylorgumgum joined #salt
09:38 druonysus joined #salt
09:38 druonysus joined #salt
09:54 druonysus joined #salt
09:57 jslatts joined #salt
09:57 taylorgumgum joined #salt
10:02 taylorgumgum joined #salt
10:05 packeteer oh sweet, the ubuntu ppa package is now 17.01
10:06 Furao packeteer: that's a big jump from 0.17
10:07 Furao https://github.com/saltstack/salt/tree/0.17
10:08 packeteer dont make me go back through the changelog  :)
10:09 taylorgumgum joined #salt
10:10 packeteer oh btw, work has decided to use opsworks for that project i mentioned. apparently half the work had already been done and another branch has also done some work on it
10:10 packeteer so no salt for now :/
10:10 Furao hehe ok
10:10 Furao I don't see any fixes for the biggest 2 issues in 0.17
10:11 packeteer but i'm working on salty-vagrant for local devs  :)
10:11 packeteer bugga, i should have read the changelog properly
10:28 Narven joined #salt
10:33 packeteer anyway, sleep time. l8rz
10:49 bhosmer joined #salt
10:56 gaoyang_ joined #salt
10:59 SpX joined #salt
11:00 jslatts joined #salt
11:02 Boohbah joined #salt
11:09 Furao left #salt
11:09 rawzone joined #salt
11:09 SpX joined #salt
11:11 druonysus joined #salt
11:16 aleszoulek joined #salt
11:22 druonysus joined #salt
11:24 druonysus joined #salt
11:24 druonysus joined #salt
11:24 rawzone joined #salt
11:38 bhosmer joined #salt
11:40 druonysus joined #salt
11:48 Jahkeup joined #salt
11:50 Jahkeup_ joined #salt
11:52 elfixit joined #salt
11:53 rawzone joined #salt
11:58 linuxnewbie joined #salt
11:58 linuxnewbie joined #salt
12:10 druonysus joined #salt
12:13 rgbkrk joined #salt
12:20 rawzone joined #salt
12:28 jslatts joined #salt
12:32 bhosmer joined #salt
12:33 tomeff joined #salt
12:45 A21BC joined #salt
12:46 linuxnewbie using salt-call -g i can find all the grains value ...is there any way to query just a single one ...like grain os ?
12:46 linuxnewbie or mem_total:
12:49 markm joined #salt
12:51 Jahkeup joined #salt
13:02 joehh linuxnewbie: I'm not too familliar with salt call, but can you not just use regular module functions?
13:02 joehh ie salt-call grains.get os
13:04 joehh just tested - works for me!
13:06 linuxnewbie joehh, thank you ...i'll try it now
13:08 adepasquale joined #salt
13:11 rawzone^ joined #salt
13:18 diegows joined #salt
13:26 linuxnewbie can someone point me to documentation where there are explained what options i have when i define a package ...ex: let's say i want to install apache ...i know i can use -pkg.installed ....but where can i find what else can help me to better write the sls ?
13:30 bhosmer joined #salt
13:40 fxhp salt 0.17.0 uses hostname for ID instead of FQDN
13:40 fxhp anyclue why, or how I can switch this back?
13:40 fxhp (my targets are not going to match anymore)
13:45 joehh fxhp: ubuntu/debian?
13:45 joehh will be fixed in 0.17.1
13:46 joehh best bet now is probably to use file.managed to set an id config value in /etc/salt/minion.conf.d/...
13:59 anuvrat joined #salt
14:00 jslatts joined #salt
14:09 sgviking joined #salt
14:11 oz_akan_ joined #salt
14:16 rgbkrk joined #salt
14:20 oz_akan_ joined #salt
14:29 groovehunter joined #salt
14:31 groovehunter rejected minion's key - with vagrant-salt-0.4.0 , installed from source
14:32 cro joined #salt
14:32 jumperswitch joined #salt
14:34 rgbkrk joined #salt
14:38 plumcrate joined #salt
14:39 plumcrate left #salt
14:43 linuxnewbie joined #salt
14:43 linuxnewbie joined #salt
14:43 NV joined #salt
14:43 cshuman joined #salt
14:45 logix812 joined #salt
14:48 dork joined #salt
14:53 bhosmer joined #salt
14:59 rawzone joined #salt
15:07 cshuman joined #salt
15:11 backjlack joined #salt
15:11 rawzone joined #salt
15:18 mwillhite joined #salt
15:21 adepasquale joined #salt
15:27 groovehunter joined #salt
15:30 jslatts joined #salt
15:43 groovehunter joined #salt
15:43 oz_akan_ joined #salt
15:58 rgbkrk joined #salt
16:00 kiorky "/B 2*
16:06 jumperswitch_ joined #salt
16:12 bhosmer joined #salt
16:16 xmltok joined #salt
16:23 az87c joined #salt
16:26 sgviking joined #salt
16:42 oz_akan_ joined #salt
16:48 shomodj joined #salt
16:53 lesnail joined #salt
17:00 mwillhite joined #salt
17:00 jslatts joined #salt
17:05 gildegoma joined #salt
17:14 berto- joined #salt
17:15 ggoZ joined #salt
17:20 m0hit joined #salt
17:30 higgs001 joined #salt
17:32 TheCodeAssassin joined #salt
17:43 the_drow joined #salt
17:44 m0hit joined #salt
17:45 rawzone^ joined #salt
17:45 the_drow Hi, is it possible to download a salt minion for all machines that match a wildcard ip using a salt master if a minion is not present?
17:46 berto- joined #salt
17:48 fxhp joehh - great to know
17:49 the_drow Will the grains even identify the machine if the minion is not installed?
17:49 oz_akan_ joined #salt
17:50 logix812 joined #salt
17:52 fxhp the_drow - no
17:52 fxhp the_drow - grains are collected and compiled by the salt-minion process
17:52 the_drow ok so how is this possible: http://intothesaltmine.org/presents/salt-cloud/_build/slides/index.html#24
17:54 the_drow fxhp: I'd like to atchive the same with our developement machines
17:55 the_drow fxhp: also, can't I use salt-ssh?
17:55 fxhp the_drow: ask cedwards
17:55 fxhp the_drow: thats his blog
17:56 the_drow cedwards: hi :) How do I provision a salt minion to a machine that has no minion?
17:58 fxhp the_drow: are you attempting to use salt-cloud?
17:58 the_drow fxhp: Yes, but that's later on. I'd like all our developers to get all our dependencies when they open their computer for the first time.
18:00 fxhp the_drow: we are attempting to get our user to use a shared vagrant project which has been rigged up to use salt-vagrant and production states/pillars
18:00 fxhp so we can mock up systems in production
18:01 the_drow fxhp: can't I use salt-ssh?
18:02 fxhp the_drow: that is brand new this release
18:03 fxhp I have not tested it
18:06 jefimenko joined #salt
18:07 mwillhite joined #salt
18:09 m_george|away joined #salt
18:11 Jahkeup joined #salt
18:12 rawzone joined #salt
18:16 m_george left #salt
18:19 oz_akan_ joined #salt
18:28 cshuman joined #salt
18:30 cshuman joined #salt
18:30 jslatts joined #salt
18:31 cshuman joined #salt
18:33 jumperswitch joined #salt
18:34 Damoun joined #salt
18:53 anuvrat joined #salt
19:02 Gifflen joined #salt
19:06 druonysus joined #salt
19:06 druonysus joined #salt
19:11 bhosmer joined #salt
19:13 cedwards the_drow: you could use salt-bootstrap?
19:24 mgw joined #salt
19:25 tseNkiN joined #salt
19:32 backjlack joined #salt
19:34 linuxnewbie joined #salt
19:37 bhosmer_ joined #salt
19:55 bhosmer joined #salt
19:56 xmltok joined #salt
19:56 druonysus joined #salt
19:56 druonysus joined #salt
19:57 liamc joined #salt
20:00 jslatts joined #salt
20:02 taylorgumgum joined #salt
20:02 akamel joined #salt
20:02 berto- joined #salt
20:03 akamel hello, i have made a state sls that should keep the salt-minion service running if it was stopped, but i have stopped it forcely from 20 minute and till now it didn't come back
20:03 akamel here is what's inside my state file
20:04 akamel {% if grains['os_family'] == 'RedHat' %} include:   - repos.epel {% endif %}  salt-minion:   pkg:     - latest  /etc/salt/minion:   file:     - managed     - watch:       - pkg: salt-minion     - require:       - pkg: salt-minion  the_service:   service:     - running     - name: salt-minion     - require:       - pkg: salt-minion
20:04 akamel sorry
20:04 akamel http://pastebin.com/JVaNtktD
20:04 akamel can someone help me?
20:08 bhosmer joined #salt
20:09 shomodj what is the error?
20:10 tseNkiN joined #salt
20:10 andrej akamel : maybe I'm missing something here, but what I hear is the equivalent of setting up a cron-job to check for cron, and then killing cron and wondering why it's not running?
20:10 akamel :D
20:11 akamel ok, you know a way to watch salt-minion service?
20:11 akamel and keep it running after an accidental crash?
20:12 andrej That will largely depend on your dsitro ... in *buntu upstart should be able to tackle this nicely (if you wrote the scirpt appropriately), in other distros you could a) use cron to check for it on a regular basis, restart if needed or b) make it present in inittab
20:14 akamel you suggest just normal workaround then, what make me think it can happen by a state is this issue link https://github.com/saltstack/salt/issues/1888
20:14 akamel and this, https://github.com/saltstack/salt/issues/568
20:16 akamel would be nice, if you have a comment after reading those issue links if you don't mind, and i would love to know the frequency of checking for the package and updating it by the state function pkg.latest if you know please?
20:18 _ikke_ akamel: monit can also do that
20:21 Jahkeup joined #salt
20:21 akamel yea but monit require root access to run
20:23 noob2 joined #salt
20:23 druonysus joined #salt
20:23 druonysus joined #salt
20:23 noob2 salt: i have a repo that is working fine in 0.16.x but failing to confirm in 0.17.
20:24 ggoZ joined #salt
20:30 Jahkeup joined #salt
20:32 Jahkeup_ joined #salt
20:32 mwillhite joined #salt
20:32 tseNkiN joined #salt
20:34 sgviking joined #salt
20:35 liamc joined #salt
20:44 mrpc joined #salt
20:45 noob2 the 0.17 pkg.repo format seems to have changed
20:48 mwillhite joined #salt
20:55 rgbkrk joined #salt
21:00 cewood joined #salt
21:00 noob21 joined #salt
21:08 msil joined #salt
21:09 rgbkrk joined #salt
21:17 bhosmer joined #salt
21:30 jslatts joined #salt
21:40 Ryan_Lane joined #salt
21:46 akasto joined #salt
21:51 cshuman joined #salt
21:59 m0hit joined #salt
22:08 mianos joined #salt
22:10 akasto joined #salt
22:13 snuffeluffegus joined #salt
22:13 nocturn joined #salt
22:21 pgollakota joined #salt
22:22 cshuman joined #salt
22:24 V-King joined #salt
22:28 gldnspud joined #salt
22:29 gldnspud joined #salt
22:32 rgbkrk joined #salt
22:32 mafrosis joined #salt
22:34 liamc joined #salt
22:46 cshuman joined #salt
22:50 akasto joined #salt
23:00 jslatts joined #salt
23:04 m0hit joined #salt
23:08 pgollakota joined #salt
23:14 cshuman joined #salt
23:19 noob2 joined #salt
23:19 noob2 left #salt
23:25 Lue_4911 joined #salt
23:32 cshuman joined #salt
23:42 berto- joined #salt
23:45 Jahkeup joined #salt
23:46 Jahkeup__ joined #salt
23:47 aletourneau joined #salt

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