Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-10-08

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

All times shown according to UTC.

Time Nick Message
00:07 fragamus joined #salt
00:10 fragamus joined #salt
00:16 jetblack joined #salt
00:17 redondos joined #salt
00:23 dthom91 joined #salt
00:30 josephholsten joined #salt
00:30 UtahDave joined #salt
00:31 fragamus joined #salt
00:39 taylorgumgum joined #salt
00:43 StDiluted is anyone here familiar with the cron states
00:45 mmilano joined #salt
00:47 lineman60 joined #salt
00:47 cshuman joined #salt
00:50 luminous anyone around familiar with interacting with salt, directly from python, emulating  salt-call --local.. I have a few questions for you
00:52 shinylasers joined #salt
00:57 cshuman joined #salt
01:00 pipps1 joined #salt
01:00 dthom911 joined #salt
01:01 cjh any word on salt 0.17?
01:02 luminous cjh: what are you looking for?
01:02 luminous *what work are...
01:02 cjh wondering when i can install it :D
01:02 luminous bah
01:02 luminous cjh: are you on the mailing list?
01:02 cjh i'm not, i should get on that
01:02 luminous yes
01:02 luminous you would know that it's out
01:02 cjh haha
01:02 luminous ppa might not be updated
01:03 juicer2 joined #salt
01:03 cjh is there a copy of the mailing list to to a website i can watch?
01:03 luminous /topic isn't..
01:03 rgbkrk joined #salt
01:03 luminous cjh: it's google groups :(
01:03 cjh gotcha
01:03 luminous you can also watch gh
01:03 luminous *github
01:04 luminous you can install from git tag, if a release package is not ready for your OS
01:04 cjh ok cool
01:04 cjh looks like from the group, people are testing
01:05 joehh cjh: which os?
01:05 * luminous generally stays a release behind
01:05 cjh ubuntu 13.04
01:05 joehh yeah, I believe corey is working on it today
01:06 cjh joehh: awesome :D
01:07 Corey Indeed, but I've got some kind of nutty bug.
01:07 luminous ah, so it seems you need file_client: local in minion config to get salt.client.Caller() to act like salt-call --local
01:07 luminous nutty! unheard of!
01:09 v0id_ joined #salt
01:12 brianhicks joined #salt
01:12 malinoff joined #salt
01:12 malinoff Hi all
01:13 elfixit joined #salt
01:14 DanGarthwaite joined #salt
01:14 * luminous waves to malinoff
01:16 justlooks joined #salt
01:17 justlooks anything wrong if i write   state['include'] = { 'include': ['hadoop'] }
01:17 luminous hrm?
01:17 luminous what is that, where would you do that?
01:17 luminous are you talking about working with salt directly in python?
01:20 justlooks luminous: https://gist.github.com/justlooks/6877927
01:20 justlooks luminous: yes i write sls use python
01:21 luminous ooof
01:21 dthom91 joined #salt
01:21 * luminous finds jinja2.sls way more readable
01:21 amahon joined #salt
01:22 luminous but, yea, you should be able to use include..
01:22 luminous but I would imagine it still needs to be first
01:22 luminous eg, in .sls, include is generally the first bit
01:22 luminous there's a note on this (maybe why?) in the docs
01:22 luminous justlooks: ^^
01:24 justlooks luminous: can you give me the doc link,thanks
01:25 luminous justlooks: sure: salt.readthedocs.org
01:28 redondos joined #salt
01:31 justlooks luminous: i still can not understand your means,what is correct write?
01:32 luminous justlooks: I'm sorry, but I can not understand what you are asking
01:32 justlooks luminous: can you fix the error?
01:33 luminous can I cook you dinner?
01:33 luminous justlooks: I'm pretty sure.. if you use include, it must be first statement in .sls
01:34 luminous IRC is not a pool of free developers waiting to fix your issues.. it's a community of people (with lives/problems of their own) willing to assist one another
01:34 luminous justlooks: would you like to fix my issues with this script I'm writing?
01:35 luminous I'm not sure why state.highstate is not running
01:35 luminous there's probably a simple mistake somewhere
01:35 * luminous end sarcasm
01:36 packeteer has anybody put together a pillar to manage the names of packages across different distros?
01:37 Nexpro1 joined #salt
01:37 luminous packeteer: I've done some of that, but not a whole lot
01:37 luminous do you have a more specific question in mind?
01:37 packeteer i'm just starting to trial managing different distros ie. centos and ubunutu
01:38 packeteer some packages and service names are different
01:38 luminous yea
01:38 luminous you can use conditionals with grains
01:38 jkleckner joined #salt
01:38 luminous I found that messy
01:39 luminous but it's a little 'smaller'
01:39 luminous eg, you only define the differences
01:39 packeteer yeah
01:39 packeteer thats essentially what i'm doing
01:39 luminous I've also done a conditional grain to include ubuntu_pkg.sls / centos_pkg.sls
01:39 luminous and put a big list there
01:39 packeteer just didn;t want to reinvent the wheel
01:40 efixit joined #salt
01:40 luminous I like the idea of defining the full list of packages installed/absent, for all hosts
01:40 luminous so you could have different defaults, one for each target OS
01:40 packeteer yes
01:40 luminous I'm also moving towards putting pillar in db with a web UI in front
01:40 luminous rather than pillar in .sls
01:41 packeteer oh nice
01:41 luminous but either way, it's pretty much the same
01:42 packeteer is your sls online?
01:44 luminous yea, I'll be thrilled to share the web ui once it is ready for public consumption
01:44 luminous not yet
01:44 deedubs I thought 0.17 was released last week? Why no update on the sites?
01:44 luminous deedubs: not all the packages are ready? maybe?
01:44 luminous ya'll a fiends
01:44 luminous :P
01:44 deedubs Just excited to see Halite
01:44 deedubs and poke around :)
01:44 luminous maintaining packages == thankless responsibility
01:46 _ilbot joined #salt
01:46 Topic for #salt is now Welcome to #salt - SaltConf in January!! http://saltconf.com | 0.16.4 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers - Channel logs are available at http://irclog.perlgeek.de/salt/
01:47 logix812 joined #salt
01:47 luminous deedubs:  you can ask salt-bootstrap to install from it
01:47 luminous *git
01:47 redondos joined #salt
01:48 deedubs Oh no coffeescript
01:48 Marion joined #salt
01:50 luminous deedubs: there's a long discussion on the salt-users ml RE that topic
01:50 * deedubs hunting
01:51 luminous deedubs: look for one of the original HALite announcements
01:51 deedubs found it
01:54 deepakmd_oc joined #salt
01:58 justlooks help https://gist.github.com/justlooks/6877927
01:59 malinoff justlooks: state['include'] = ['hadoop']
01:59 justlooks malinoff:  thanks
02:00 malinoff justlooks: I guess, that will work :)
02:02 justlooks malinoff: yes ,when i execute it ,no error ,but the directory not created
02:02 malinoff justlooks: One thing helped me a lot to write python states - i write a state in beloved YAML; after that i copy-paste it in python's "import yaml; yaml.load(Ctrl+v)" and i see what should i write in python :)
02:03 gyutyuglf joined #salt
02:03 __number5__ malinoff: that's cheating :P
02:03 malinoff __number5__: It's no a competition :P
02:04 malinoff not*
02:07 justlooks malinoff: good way !
02:08 pdayton joined #salt
02:16 packeteer justlooks: is the file.directory section indented?
02:20 justlooks packeteer: https://gist.github.com/justlooks/6878406
02:20 pentabular joined #salt
02:21 justlooks i delete  state['include'] = ['hadoop'] ,everything is ok, if add it ,the script do nothing
02:22 packeteer sorry don;t know, i'm new at this
02:22 packeteer can it find the hadoop sls ?
02:23 justlooks in /opt/salt/hadoop   directory exist file  init.sls  mkdir.sls
02:23 justlooks packeteer: my code in mkdir.sls
02:24 packeteer can u use the state outside of your code?
02:24 Corey Yeah, that's a bit nutty.
02:24 Corey I'm not entirely clear on what you're trying to achieve with that code.
02:25 deedubs luminous: interesting, looks like no-one is married to CS
02:25 deedubs that's good
02:25 justlooks packeteer: i include other module the code is work fine
02:26 justlooks packeteer:  if i write another sls file in same module directory i do not need include the module?
02:27 redondos joined #salt
02:29 pentabular joined #salt
02:31 Lue_4911 joined #salt
02:31 avienu joined #salt
02:33 xl1 joined #salt
02:36 cshuman joined #salt
02:36 Odd_Bloke joined #salt
02:38 packeteer nfi :)
02:41 Ryan_Lane joined #salt
02:47 justlooks https://gist.github.com/justlooks/6878655      problem again
02:48 pipps1 joined #salt
02:52 redondos joined #salt
02:52 chuffpdx joined #salt
02:55 MTecknology justlooks: I see your problem!
02:56 mianos joined #salt
02:56 redondos joined #salt
02:57 pdayton joined #salt
02:57 justlooks MTecknology: why i can not include other sls file?
02:57 MTecknology justlooks: 1) I have no idea what you're trying to do from reading that 2) Why aren't you using file.recurse and copying a directory structure instead? 3) You're including comments in your sls!
02:58 justlooks in init.sls i create a dir, in tk.sls i create subdir under dir which is in init.sls ,and i include the init.sls in tk.sls
02:59 justlooks MTecknology: i just test how  sls file get other sls file 's state
02:59 MTecknology I've never used include in an sls.. I don't think anyway
02:59 MTecknology wait.. maybe I have... I think I'm too tired to be useful. Sorry :(
03:03 mofomikes joined #salt
03:07 dthom911 joined #salt
03:14 qba73 joined #salt
03:16 Ryan_Lane joined #salt
03:20 justlooks MTecknology: i know why it's not work ,my init.sls is not write correctly ,i fix the error in init.sls ,now it's work fine
03:20 MTecknology justlooks: salt-call -l debug state.highstate   <-- helpful
03:20 middleman_ joined #salt
03:20 cshuman joined #salt
03:22 dthom91 joined #salt
03:22 justlooks MTecknology:  my version is salt 0.16.3 ,it seems no salt-call availiable
03:22 MTecknology on the minion, salt-call is available
03:24 CheKoLyN joined #salt
03:25 vipul joined #salt
03:28 cshuman joined #salt
03:34 dthom911 joined #salt
03:38 jaequery joined #salt
03:38 cshuman joined #salt
03:40 carmony so when is 0.17 estimated to be released?
03:41 forrest joined #salt
03:41 dthom91 joined #salt
03:45 malinoff carmony: It is released already.
03:45 malinoff https://groups.google.com/forum/#!topic/salt-users/E19zjqJlym4
03:46 Ryan_Lane joined #salt
03:48 carmony malinoff: ahhh, we should probably update http://docs.saltstack.com/ and change the latest release
03:49 malinoff carmony: Would be awesome :)
03:50 gaoyang joined #salt
03:52 rgbkrk joined #salt
03:52 matanya joined #salt
03:56 justlooks how can i ensure when the parent directory not exist ,it will be created automaticlly?
03:59 joehh carmony, malinoff: also the message in this irc channel :)
04:01 cshuman joined #salt
04:01 george_torwell joined #salt
04:02 forrest justlooks, use the makedirs option.
04:02 forrest http://docs.saltstack.com/ref/states/all/salt.states.file.html#salt.states.file.managed
04:04 taylorgumgum joined #salt
04:06 george_torwell Anyone know why the Debian Wheezy minion I just attempted to bootstrap is using its hostname as its ID/certname, rather than its fqdn?  When I run socket.getfqdn() on the host in question, I get the fqdn, and my minion configuration file is unmodified from the default that comes with the salt-minion package.  Thanks!
04:07 rmt_ george_torwell, yes, apparently 0.17 has started using /etc/hostname directly for debian...
04:07 rmt_ george_torwell, there's a bug filed about it
04:07 george_torwell ah!
04:07 george_torwell good to know!  thanks!
04:08 malinoff george_torwell: https://groups.google.com/forum/#!topic/salt-users/5Qo4nGU_oX8
04:11 justlooks forrest: thanks
04:12 forrest np
04:12 jefimenko joined #salt
04:17 mgw joined #salt
04:28 jkleckner joined #salt
04:29 Tekni joined #salt
04:34 taylorgumgum joined #salt
04:38 rmt_ Hm, I'd really like to have configurable pubsub-subscriptions in Salt (with per-sub crypto).. if an organisation has thousands of machines running hundreds of different apps, it'd be nice to be able to sensibly limit the broadcast scope, and give app-owners (or however you want to split it) their own playground in an otherwise managed system.
04:41 rmt_ I'd also like every machine to have its own private pubsub listening channel, where messages with messages encrypted with its own key. ZMQ broadcast on that sub would effectively be a secure unicast, then.
04:41 cetex joined #salt
04:47 Ryan_Lane joined #salt
04:50 druonysus joined #salt
04:52 druonysus joined #salt
05:07 raghavp joined #salt
05:07 raghavp left #salt
05:08 redondos joined #salt
05:13 oz_akan_ joined #salt
05:14 Furao joined #salt
05:18 Ryan_Lane joined #salt
05:25 qba73_ joined #salt
05:26 Katafalkas joined #salt
05:28 LLckfan joined #salt
05:28 LLckfan Hello0
05:28 LLckfan Does any1 know how to get a stale house smell out of a clean house without opening windows?
05:29 taylorgumgum joined #salt
05:29 Furao joined #salt
05:30 malinoff LLckfan: You should call a cleaning company.
05:30 Furao joined #salt
05:30 LLckfan They say it is too clkean
05:31 * rmt_ just created https://github.com/saltstack/salt/issues/7669 to track his request for per-minion targeted messages with encryption.
05:31 malinoff LLckfan: Don't do anything. They're the experts.
05:35 LLckfan It still smells
05:35 LLckfan They did not clean it
05:37 malinoff LLckfan: You can only put up with the smell, and the imperfection of the world.
05:37 LLckfan I canm not put up with it
05:37 LLckfan It is making me sick
05:37 cetex joined #salt
05:38 rmt_ LLckfan, You said 'stale' .. you mean it smells like fungus?
05:39 LLckfan no
05:39 rmt_ Actually, I'm not sure why you're talking about it here.  Let's join #notsalt
05:53 pentabular joined #salt
05:56 Furao joined #salt
05:57 Lue_4911 joined #salt
05:58 packeteer LLckfan: ozone generator
05:58 cshuman joined #salt
05:58 LLckfan Tried that
06:00 pentabular1 joined #salt
06:01 woebtz joined #salt
06:04 pentabular joined #salt
06:05 druonysus joined #salt
06:05 druonysus joined #salt
06:08 redondos joined #salt
06:09 Furao_ joined #salt
06:11 pentabular1 joined #salt
06:11 gildegoma joined #salt
06:14 rmt_ LLckfan, Have you tried using salt?  It's amazing stuff.  Buy a 20kg bag of the stuff, and sprinkle it liberally around your home.
06:14 justlooks is it possible i write a key: value and in later context reference it?
06:15 LLckfan Salt is no help
06:15 justlooks in pillar file
06:15 pdayton joined #salt
06:15 rmt_ LLckfan, I beg to differ, it is, it totally is!  We use it for EVERYTHING around here.
06:16 fragamus joined #salt
06:16 pdayton joined #salt
06:17 rmt_ (I wonder what kind of AI is behind it .. not terribly smart or engaging, whatever it is)
06:17 LLckfan We have tried it
06:17 LLckfan Just made me sick
06:18 rmt_ 10 points if it's driven by salt, though. ;-)
06:18 joehh seems to pop up about once per month or so
06:20 malinoff justlooks: {% set your_dict = {'key': 'value'} %}
06:21 rmt_ LLckfan, shit!
06:21 LLckfan no
06:22 rmt_ I guess he's tried everything, then. ;-)
06:23 Furao joined #salt
06:27 justlooks malinoff: https://gist.github.com/justlooks/6880353 this is what i want to do
06:28 ml_1 joined #salt
06:29 malinoff justlooks: What's the problem? Use {% set %} as i mentioned above
06:40 justlooks malinoff:  can not work
06:40 justlooks malinoff:  https://gist.github.com/justlooks/6880353 error
06:41 justlooks malinoff: this is my pillar sls file
06:43 robertkeizer left #salt
06:43 malinoff justlooks: http://pastebin.com/kD4Y2dGv
06:44 malinoff justlooks: {{ inner_vars['info'] }} => 'mydemo'
06:45 pentabular joined #salt
06:50 Ryan_Lane joined #salt
06:50 justlooks malinoff:  not correct , i checked use  salt '*' pillar.data ,no inner_vars can be see
06:52 malinoff justlooks: Of course, because it's just local variable.
06:55 halfss joined #salt
06:58 justlooks malinoff:  another problem https://gist.github.com/justlooks/6880655
06:59 balboah joined #salt
07:04 ninkotech joined #salt
07:06 malinoff justlooks: The easiest way to do this: {% set dirs = [{% for i in range(1, 3) %} {{ namemode_dir }}/{{ i }}, {% endfor %} %} and after that {{ dirs | join(', ') }}
07:09 cwarner_ joined #salt
07:10 patrek_ joined #salt
07:10 ahale_ joined #salt
07:12 mianos_ joined #salt
07:12 fitzdsl_ joined #salt
07:12 viq_ joined #salt
07:12 viq_ joined #salt
07:12 tamentis_ joined #salt
07:13 canci_ joined #salt
07:13 retr0h_ joined #salt
07:13 ckao joined #salt
07:14 [M7] joined #salt
07:14 freelock__ joined #salt
07:16 dcolish_ joined #salt
07:16 justlooks malinoff: {% set dirs = [{% for i in range(1,3) %} {{namenode_dir}}/{{i}}, {% endfor %}] %} {{dirs | join(',')}} it seems not work
07:17 brutasse_ joined #salt
07:17 Ixan hmm, is there some way to have makedirs in file.managed behave more practical? if i set mode for the file itself to 600, the dirs will be created as 660 too
07:17 malinoff justlooks: I forgot a brace
07:18 justlooks malinoff:  i add the brace still not work
07:20 malinoff justlooks: Can you show your state?
07:24 N-Mi joined #salt
07:24 N-Mi joined #salt
07:24 Ryan_Lane joined #salt
07:25 justlooks malinoff: https://gist.github.com/justlooks/6880655
07:27 justlooks malinoff:  are your sure the {% %} can be nested?
07:27 octarine joined #salt
07:27 malinoff justlooks: Yes
07:28 fitzdsl_ left #salt
07:29 justlooks malinoff:  sls file content or the command output?
07:30 malinoff justlooks: I have no time to deep in it. http://jinja.pocoo.org/docs/templates/#for - for your reading
07:30 malinoff loop.last will be useful
07:32 felixhummel joined #salt
07:34 zooz joined #salt
07:35 az87c joined #salt
07:38 deepakmd_ joined #salt
07:43 [M7] joined #salt
07:43 justlooks how to concatenation integer and string?
07:43 justlooks in jinjia
07:44 malinoff justlooks: {{ integer }}{{ string }} ?
07:48 justlooks malinoff:   i do this by https://gist.github.com/justlooks/6877927
07:49 malinoff justlooks: Okay
07:51 adepasquale joined #salt
07:51 unicoletti_ joined #salt
07:51 [M7] joined #salt
07:52 scott_w joined #salt
07:54 justlooks malinoff:  how i can write jinjia command like this {% comd1 ; comd2 ; comd3 %} instead of {% comd1 %}{% comd2 %}{% comd3 %} ?
07:55 Ryan_Lane joined #salt
07:57 malinoff justlooks: I think, you can't.
08:00 rmt2 justlooks, mako might be more to your liking as a renderer...
08:01 rmt2 justlooks, or even the 'py' (pure python) renderer.
08:02 deepakmd__ joined #salt
08:03 bud joined #salt
08:06 carmony joined #salt
08:06 deepakmd_ joined #salt
08:14 s0undt3ch joined #salt
08:24 torandu joined #salt
08:25 Ryan_Lane joined #salt
08:34 jkleckner joined #salt
08:39 jeddi joined #salt
08:42 jesusaurus joined #salt
08:45 LLckfan joined #salt
08:54 adepasquale joined #salt
08:56 Ryan_Lane joined #salt
08:59 gyutyuglf joined #salt
09:02 deepakmd_ joined #salt
09:06 sinh joined #salt
09:06 deepakmd_oc joined #salt
09:07 gamingrobot joined #salt
09:07 aparashar joined #salt
09:07 raghavp joined #salt
09:10 jkleckner joined #salt
09:11 nocturn joined #salt
09:15 redondos joined #salt
09:27 Ryan_Lane joined #salt
09:31 justlooks is it possible that i use value list on pillar sls file?
09:33 justlooks for example i want install some components under hadoop node like ' node3: [hadoop_component1,hadoop_component2,hadoop_component3]' ?
09:40 jkleckner joined #salt
09:43 deepakmd_ joined #salt
09:53 pdayton joined #salt
09:56 giantlock joined #salt
09:57 Ryan_Lane joined #salt
10:07 logix812 joined #salt
10:07 ml_1 joined #salt
10:10 rjc joined #salt
10:11 jkleckner joined #salt
10:15 Nazca joined #salt
10:26 bud Hello everyone.
10:26 bud Does anyone use Halite with PAM?
10:27 Ryan_Lane joined #salt
10:30 gyutyuglf joined #salt
10:37 beantown1013 joined #salt
10:40 beantown1013 I am trying to compare salt and chef. One thing we hope to do is install application servers (eg jboss, django, etc), configure them, start them, and deploy to them. Is anyone out there doing this and how easy has it been with salt?
10:41 jkleckner joined #salt
10:45 lynxman joined #salt
10:45 lynxman joined #salt
10:47 lynxman joined #salt
10:47 lynxman joined #salt
10:58 Ryan_Lane joined #salt
11:07 lynxman joined #salt
11:12 jkleckner joined #salt
11:12 packeteer dont have to learn ruby if you use salt
11:12 oz_akan_ joined #salt
11:14 halfss joined #salt
11:15 oz_akan_ joined #salt
11:15 gyutyuglf joined #salt
11:17 honestly salt isn't focused on a particular setup/configure/deploy workflow
11:17 honestly dunno if chef is
11:18 honestly salt is very unconstraining
11:18 honestly but the state system can be a bit inflexible to work with
11:19 lynxman joined #salt
11:19 lynxman joined #salt
11:22 lynxman joined #salt
11:23 jslatts joined #salt
11:23 backjlack joined #salt
11:26 [M7] joined #salt
11:28 Ryan_Lane joined #salt
11:31 pcarrier joined #salt
11:41 pdayton joined #salt
11:42 jkleckner joined #salt
11:44 bhosmer joined #salt
11:49 Brew joined #salt
11:54 jbunting joined #salt
11:54 bhosmer joined #salt
11:59 Ryan_Lane joined #salt
12:00 jetblack joined #salt
12:00 aleszoulek joined #salt
12:07 blee joined #salt
12:08 copelco joined #salt
12:14 gyutyuglf left #salt
12:14 anteaya joined #salt
12:14 diegows joined #salt
12:14 jbunting joined #salt
12:16 patrek joined #salt
12:18 beantown1013 joined #salt
12:27 jslatts joined #salt
12:29 Ryan_Lane joined #salt
12:38 timoguin joined #salt
12:39 ipmb joined #salt
12:45 or1gb1u3 joined #salt
12:46 xl1 left #salt
12:51 derelm joined #salt
12:51 Kholloway joined #salt
12:53 yogi_ joined #salt
12:56 elfixit joined #salt
12:59 Ryan_Lane joined #salt
13:03 xuru joined #salt
13:11 A||SySt3msG0 joined #salt
13:16 racooper joined #salt
13:26 bud [ERROR] Request to sign key for minion "lxcXXX" on hyper "nox"  denied: no authorization.
13:27 bud Does anyone have any idea how can I configure the autosign feature?
13:27 bud Hello everyone, by the way :-).
13:27 Drawsmcgraw bud: There's a line in the Master config
13:27 bud mgw: I have tried lxc from develop, saw you already fix the issues and pushed the code. Everything works so far.
13:28 Drawsmcgraw http://docs.saltstack.com/ref/configuration/master.html#auto-accept
13:28 bud Drawsmcgraw: the autosign_file you mean right
13:28 bud ?
13:29 Drawsmcgraw Ah, sorry. Yeah, what I linked is just the master auto-accepting keys from the minion
13:29 bud The auto_accept in fact. That opens up the master, not good :).
13:29 Drawsmcgraw Right :)
13:29 StDiluted joined #salt
13:30 pdayton joined #salt
13:30 Ryan_Lane joined #salt
13:31 bud I am using mgw's LXC which is in develop and also in 0.17.0 and he has a parameter to lxc.init to seed the minion with salt-minion (lxc.init seed=true). The minion is create and the key ends up in /etc/salt/pki/master/minions_pre.
13:32 mattmtl joined #salt
13:33 faldridge joined #salt
13:35 bud salt.modules.seed on line 77 - https://github.com/saltstack/salt/blob/develop/salt/modules/seed.py
13:36 bud "... or expect a signing request from the target host." How can I configure the Master to expect a signing request from the minion?
13:41 Teknix joined #salt
13:42 mgw bud: you need to use virt runner
13:42 mgw it will handle the master side
13:42 mgw oh, but you're on lxc
13:42 mgw there's no runner yet
13:42 kklymr99 joined #salt
13:42 mgw If you're a python coder, I can send you some code
13:43 mgw but it would just be an extract from my custom runner
13:44 bud mgw: thanks for the heads up, I am learning Python, please send me the code, maybe I can wrap my head around it :).
13:49 tyler-baker joined #salt
13:51 scristian on salt files I saw example only with {% if grains['os'] == 'RedHat' %} , is possible to check roles, e.g. {% if grains['roles'] == 'database' %} ?
13:51 adepasquale joined #salt
13:53 mannyt joined #salt
13:54 adepasquale1 joined #salt
13:54 elfixit joined #salt
13:56 rayendumeldust joined #salt
13:56 kaptk2 joined #salt
13:59 xuru joined #salt
14:00 Ahlee_ yes
14:01 elfixit joined #salt
14:01 Ryan_Lane joined #salt
14:01 adepasquale joined #salt
14:03 mwillhite joined #salt
14:05 Chocobo joined #salt
14:06 m_george|away joined #salt
14:07 mgw any ideas why pip.installed would be doing this for the graphite package:
14:07 mgw ValueError: ('Missing distribution spec', '"graphite"')
14:07 lemao joined #salt
14:08 Ahlee_ pass -r
14:08 Ahlee_ whatever the correllary is, but that's a pip issue
14:08 mgw the quotes inside the quotes looks suspicius
14:08 brimpa joined #salt
14:08 Ahlee_ True
14:08 mgw Ahlee_ yeah, I've seen mention that that's the solution, but I don't see how to do that with the pip state
14:08 m_george left #salt
14:08 micah_chatt joined #salt
14:08 mgw there's a requirements arg
14:09 mgw which defaults to None
14:09 Ahlee_ *shrug* i stay away from pip
14:09 Ahlee_ good luck
14:09 mgw Yeah, I might use the ppa for graphite
14:10 mgw There are no official packages
14:10 kallek joined #salt
14:10 pdayton joined #salt
14:11 Ahlee_ graphite's one of those things i install so infrequently, and is such a pain in the dick to install, that I never wrote a puppet manifest or salt state for it
14:11 jbunting joined #salt
14:13 m_george joined #salt
14:15 cro joined #salt
14:15 jeddi joined #salt
14:16 xuru Can you have the same package/state or what ever you call it, in two environments?   i.e. have myapp.core in base and myapp.vagrant in the vagrant environment
14:18 dthom91 joined #salt
14:21 wkf_ joined #salt
14:21 kallek joined #salt
14:23 cshuman joined #salt
14:24 kklymr99 I have a root master -> syndic master -> minion, and whenever I try to reference a minion from the root master I get no output.  I see that the command output reaches the root master, but no output.
14:24 kklymr99 everything works when I glob '*'
14:24 kklymr99 but when I reference an individual minion host, no output
14:25 kklymr99 anyone seen that before?
14:26 mapu joined #salt
14:30 abe_music joined #salt
14:31 Ryan_Lane joined #salt
14:33 mofomikes joined #salt
14:34 tyler-baker joined #salt
14:35 cshuman joined #salt
14:36 kermit joined #salt
14:36 m_george left #salt
14:36 mofomikes morning all
14:37 mofomikes question: im trying to use the state.svn module in a sls file.. however im getting a module not available error when executing the highstate.   any ideas how this should be troubleshooted?
14:40 fxhp joined #salt
14:40 jergerber joined #salt
14:41 mua joined #salt
14:42 backjlack joined #salt
14:42 teskew joined #salt
14:44 kermit joined #salt
14:44 KennethWilke joined #salt
14:45 Teknix joined #salt
14:47 yidhra joined #salt
14:50 danielbachhuber joined #salt
14:54 Chocobo joined #salt
14:56 deepakmd__ joined #salt
15:01 redondos joined #salt
15:01 Ryan_Lane joined #salt
15:03 unicoletti_ left #salt
15:05 cshuman joined #salt
15:05 jalbretsen joined #salt
15:09 StDiluted joined #salt
15:12 ipmb joined #salt
15:13 Chocobo joined #salt
15:13 Chocobo joined #salt
15:20 dthom91 joined #salt
15:21 avienu joined #salt
15:21 seba joined #salt
15:23 elfixit joined #salt
15:25 JaredR joined #salt
15:25 yidhra joined #salt
15:26 pdayton joined #salt
15:28 juicer2 joined #salt
15:29 mofomikes question: im trying to use the state.svn module in a sls file.. however im getting a module not available error when executing the highstate.   any ideas how this should be troubleshooted?
15:32 Ryan_Lane joined #salt
15:32 faldridge_ joined #salt
15:34 DredTiger joined #salt
15:36 redondos joined #salt
15:36 cachedout_home mofomikes: I'm on my way out the door, but that module won't load unless the 'svn' command can be executed. Take a look at lines 26:32 in svn.py and see if that might be the cause.
15:36 mofomikes cachedout: awesome thanks, i'll add a check to make sure the svn package is installed
15:36 jslatts joined #salt
15:37 jkleckner joined #salt
15:38 mapu I have a probably very silly question. Without using a cmd.run- how do I set the hostname of my minion (i.e. hostname  host.mapu.com). I am probably just overlooking something very simple.
15:38 mwillhite joined #salt
15:38 amahon joined #salt
15:47 jdenning joined #salt
15:50 pentabular joined #salt
15:50 pentabular left #salt
15:51 cshuman joined #salt
15:52 jdenning joined #salt
15:53 Chocobo joined #salt
15:53 Chocobo joined #salt
15:57 druonysus joined #salt
15:57 druonysus joined #salt
15:57 pentabular joined #salt
15:58 troyready joined #salt
15:58 krissaxton joined #salt
15:58 ubercore joined #salt
15:59 ubercore Hi all, I'm a little confused on external pillar modules. Particularly, the parameters for ext_pillar. I'm confused why some have minion_id, while others don't.
16:00 ubercore It seems like there's a switch to passing minion_id, but it's inconsistent and I'm having trouble finding the docs around it
16:01 mgw ubercore: If I'm not mistaken, there was a change in the API
16:02 ubercore Indeed. The current state of salt/pillar/ on develop has both, though
16:02 jeffasinger joined #salt
16:02 ubercore and the new django_orm had minion_id, then went back to pillar, pillarname
16:02 ubercore while cmd_yaml still has cmd_yaml
16:02 Ryan_Lane joined #salt
16:02 pdayton joined #salt
16:02 mgw yeah, pillar detects the api being used by a given ext pillar
16:02 mgw i think
16:02 ubercore based on the parameter name?
16:03 mgw If I recall correctly, the api was updated by madduck
16:03 mgw you might find some light if you look at his pull reqs
16:03 ubercore thanks
16:04 ubercore Even more humorous is the error message I'm currently getting: "TypeError: ext_pillar() takes at least 4 arguments (4 given)"
16:05 StDiluted hehe
16:05 mgw lol
16:05 StDiluted I wrote an external pillar to handle some stuff
16:05 StDiluted but I havent tried using the ones included
16:06 mgw ubercore: https://github.com/saltstack/salt/pull/5911
16:06 ubercore Thanks, that's helpful!
16:06 xuru Does anyone know of a good example of using environments (i.e. prod, staging, qa, etc…)?  And when I say environments, I mean for the web app, not environments for testing salt states
16:07 ubercore xuru: we control that with environment variables
16:08 KyleG joined #salt
16:08 KyleG joined #salt
16:08 pipps joined #salt
16:08 ubercore salt handles setting up the environment variable for the appropriate environment, and the app loads its settings file based on that
16:09 xuru ubercore: Can I have a look at the sls files and the minion config?  I've been trying to get things working, but there's something I'm missing
16:10 ubercore xuru: it wouldn't be very helpful unfortunately, there's a lot that's very specific to us
16:10 ubercore maybe if you post yours
16:10 xuru or how about this…  I'll put up an example repo
16:10 xuru grr too slow ;)
16:10 ubercore mgw: it looks like the problem here has to do with simply the language in the exception
16:11 ubercore searching for "ext_pillar() takes exactly " vs "ext_pillar() takes at least 4 arguments"
16:11 ubercore seems to be a pretty jenky way of doing this, and is I think causing my problems
16:18 arapaho joined #salt
16:19 martoss joined #salt
16:19 martoss hey folks is it possible to specify a major version only?
16:20 martoss somthing like version: ~2.4 which would install any 2.4.x?
16:20 ar joined #salt
16:22 amckinley joined #salt
16:22 brimpa joined #salt
16:24 pentabular joined #salt
16:25 ubercore I think that depends on the underlying packaging system (assuming you're talking about salt.states.pkg)
16:28 redondos joined #salt
16:32 ml_1 joined #salt
16:33 dthom91 joined #salt
16:34 mmilano joined #salt
16:36 Ryan_Lane joined #salt
16:41 isomorphic joined #salt
16:44 Lue_4911 joined #salt
16:45 aleszoulek joined #salt
16:46 teebes joined #salt
16:46 taylorgumgum joined #salt
16:47 cwright is there a way to force salt to always use socket.getfqdn to determine the minion's id?
16:49 dthom91 Isn't that the default behavior, unless something else is defined in minion.conf?
16:49 cwright the docs say /etc/hostname is consoluted first
16:49 jefimenko joined #salt
16:49 cwright consulted
16:50 trueblood joined #salt
16:51 ubercore 0.16.4 docs say socket.getfqdn: http://salt.readthedocs.org/en/v0.16.4/ref/configuration/minion.html#std:conf_minion-id
16:51 cwright http://docs.saltstack.com/topics/tutorials/walkthrough.html#minion-id-generation
16:52 cwright the behavior is changing with 0.17, which is why i want to force socket.getfqdn
16:52 ubercore version 0.17, which is unreleased
16:52 cwright 0.17 is released
16:52 ubercore err, yeah sorry
16:52 dthom91 Yeah, a week or so ago
16:52 pentabular joined #salt
16:54 ubercore that's odd, now that you mention it
16:54 ubercore ahh, nm. the branching/tagging scheme confused me
16:55 dthom91 cwright: you can certainly override by adding an explicit line to your minion conf with id: $FQDN, but not sure if you can include evaluatable expressions to the conf file
16:56 derelm joined #salt
16:57 cwright dthom91: right, but i don't want anything hard coded.  i really just want to continue using the 0.16.4 method of getfqdn instead of /etc/hostname
16:57 cwright many systems don't include the fqdn in /etc/hostname
16:58 dthom91 True; I generally execute an init script at rc3 to ensure that the FQDN is in the hosts file, because it's used by a lot of tools
16:59 ubercore yeah, updating the minion config is the only way
16:59 ubercore (in salt, at least)
16:59 ubercore https://github.com/saltstack/salt/blob/0.17/salt/config.py#L657
17:00 jimallman joined #salt
17:01 dthom91 Note that you don't need to hard code it; you can run a script before starting salt-minion to prepare everything, e.g. adding any new grains to the conf, or running executing something like 'sed -i s/^id:.*/id:`hostname -f`/' /etc/minion
17:02 dthom91 That command needs some tuning, syntax isn't quite correct
17:03 teebes Is there a setting for how long the state.highstate command will wait on the master for the minion to complete its work? Mine keeps on giving up after a minute or so, even though I see in the minion logs that the job is still running...
17:03 teebes Else, is there a way to 'reconnect' the master to the running minion while a highstate is running?
17:04 oz_akan__ joined #salt
17:07 taylorgumgum joined #salt
17:09 eliasp joined #salt
17:10 vimalloc Out of curiosity, how does salt handle circular includes? For example a include a.b, and a.b includes a? Is that possible?
17:10 nahamu try it and report back? :-P
17:11 vimalloc I have been :P I could have swarn that the other day when I tried the extends in a.b were applied, but today when I tried they weren't.
17:11 vimalloc I'm trying to decide if I am crazy or not :P
17:17 nahamu ah. I have no idea, unfortunately.
17:17 taylorgumgum joined #salt
17:17 vimalloc No worries. I can easily break that stuff up into different entries in top.sls. Was more just curious if there was any defined behaivor for soemthing like that.
17:22 dthom91 joined #salt
17:22 cshuman joined #salt
17:28 Chocobo joined #salt
17:31 bhosmer_ joined #salt
17:36 jkleckner joined #salt
17:40 matanya joined #salt
17:42 alunduil joined #salt
17:42 diegows joined #salt
17:44 avienu joined #salt
17:48 Katafalkas joined #salt
17:48 Furao joined #salt
17:50 martoss joined #salt
17:56 jimallman joined #salt
17:57 cshuman_ joined #salt
17:59 LarsN does anyone here know who owns the content at: https://salt-cloud.readthedocs.org/en/latest/\
17:59 LarsN minus the trailing \...
17:59 jcockhren LarsN: opensource we all own it
18:00 krissaxton joined #salt
18:00 klymr99 joined #salt
18:00 jcockhren so in other news, I think another logger for salt would be good
18:01 timoguin LarsN, yuhp, all the docs are generated from the source code repos using sphinx
18:01 LarsN jcockhren: is there a guide somewhere I can read that would point me at how to add additional documentat then? I'd like to see (and that most likely means write) a "getting started with HP Cloud"
18:01 LarsN so what I'm hearing is, I'm going to actually commit something to a public Open Source project?  That's terrifying ;)
18:01 timoguin LarsN, you edit the files under doc/ in the repos and send pull requests just like with code
18:02 timoguin they use restructuredtext
18:02 jcockhren LarsN: lol
18:03 druonysuse joined #salt
18:04 jcockhren so far we have support for sentry and logstash
18:04 jcockhren I'll add support for fluent
18:05 amahon joined #salt
18:05 LarsN timoguin, jcockhren: thanks.  Looks like it's time to pull the repo, and start writing some docs.
18:06 elfixit joined #salt
18:06 klymr99 hi
18:07 klymr99 I'm having a problem with minion output
18:07 klymr99 the env is a basic master > syndic > minion
18:08 danielmcbawse joined #salt
18:08 klymr99 anyone around that can help?
18:12 qba73 joined #salt
18:14 fragamus joined #salt
18:16 redondos joined #salt
18:16 anteaya joined #salt
18:17 giantlock joined #salt
18:19 jgelens joined #salt
18:21 jgelens joined #salt
18:21 a1j https://github.com/saltstack/salt/issues/3991 so many people said "+1" Any plants assigning to milestone?
18:22 a1j oh it is assigned
18:22 a1j nm
18:29 faldridge joined #salt
18:29 joehh cwright: if you are using debian, we did a 0.17.0-2 release on that issue a few hours ago
18:31 cwright joehh: which issue?
18:32 dthom911 joined #salt
18:32 joehh https://github.com/saltstack/salt/issues/7558
18:34 druonysuse joined #salt
18:35 cwright joehh: thanks for pointing that out.  i'm glad to see its being addressed
18:35 cwright joehh: do you know if the ubuntu packages will have this patch as well?
18:40 alunduil joined #salt
18:42 LarsN typically do I upgrade the salt-minion first, or the master?
18:43 timoguin master first
18:43 joehh cwright: probably - i'd be surprised if it didn't
18:43 cwright joehh: great, thanks
18:43 LarsN thanks timoguin
18:46 LarsN any word on when the ubuntu packages for 0.17.0 will be published?
18:51 joehh LarsN: I'm sure it will be soon
18:51 LarsN joehh: I know the package maintainer hangs out here quite a bit.
18:51 LarsN figured maybe he'd be on and LART me for asking.
18:51 LarsN :)
18:52 Thiggy joined #salt
18:53 Chocobo joined #salt
18:53 Chocobo joined #salt
18:53 joehh I've been trying to catch him for a few days, but our clocks seem to be about 180 degrees out
18:55 Froop joined #salt
18:56 abe_music joined #salt
19:04 Chocobo joined #salt
19:04 cro joined #salt
19:09 cro joined #salt
19:22 saviles joined #salt
19:23 faldridge joined #salt
19:23 saviles how can i used cmd.run for something like this: bash <(curl -s http://url) ? i'm trying cmd.run 'bash <(...)' but i'm seeing 'syntax error near unexpected token ('. any suggestions?
19:24 pdayton joined #salt
19:24 adepasqu1 joined #salt
19:24 timoguin saviles, have you tried escaping the parentheses?
19:25 saviles yup.
19:25 saviles i'll try again
19:26 felixhummel joined #salt
19:26 timoguin there may be a number of things to escape. not sure. i've ran into issues with escaping commands when using stuff like fabric
19:27 saviles timoguin: yeah. i even tried " vs ' . although with escaping i'm seeing '(curl: no such file or directory'.
19:27 mwillhite joined #salt
19:28 timoguin saviles, in the past, i've end up just putting a script on the remote system and executing that instead of fooling with escaping everything
19:28 timoguin there are some differences in how bash vs. python escaping works, so i just elected to not fool with it
19:30 saviles yeah, it can be madenning
19:30 zooz joined #salt
19:31 fragamus joined #salt
19:31 redondos joined #salt
19:31 redondos joined #salt
19:34 ccase joined #salt
19:35 cron0 joined #salt
19:43 ranl joined #salt
19:44 taylorgumgum joined #salt
19:44 ranl Hi Guys, I'm trying to use the state.sls runner with a custom state module but it won't recognize it. did it happen to anyone else maybe ?
19:51 mgw ranl: where did you put your module?
19:51 mgw and did you run saltutil.sync_modules?
19:52 ranl its in the _states directory under base & yes I ran saltutil.sync_modules
19:52 mgw any errors in the minion log?
19:52 ranl I've installed a minion agent on the master and salt-call recognize it
19:52 ranl mmmm
19:52 ranl I'll take alook
19:53 mgw when you run sync_modules does it show that it synced it
19:53 mgw ?
19:53 ranl yep
19:54 cdsrv joined #salt
19:54 cdsrv hey.. when do you think the .17 release will show up in EPEL repo?
19:54 ranl cdsrv: it's in epel testing
19:55 cdsrv ok great
19:55 ranl I installed it today
19:55 cdsrv thnx
19:55 Gifflen joined #salt
19:56 martoss is it possible to specify only a major version in a state and always upgrade minor versions?
19:56 vealbeef joined #salt
19:56 vealbeef hello!
19:56 ranl mgw: I see some warning about ext_pillar "2013-10-08 19:49:44,373 [salt.pillar][WARNING ] Deprecation warning: ext_pillar "systemprop" needs to accept minion_id as first argument"
19:57 redondos joined #salt
19:57 redondos joined #salt
19:57 ranl except from that I don't see something interesting
19:57 pdayton joined #salt
19:58 vealbeef Can someone tell me the advantages to salt compared to ansible (not a flame, I need to know as in my company a lot of people promote ansible)
19:58 mofomikes joined #salt
19:59 redondos joined #salt
19:59 redondos joined #salt
19:59 timoguin vealbeef, well one is that salt is a lot faster with communication over ZeroMQ
19:59 timoguin i've also read that salt-ssh is faster than ansible as well, but i can't confirm that
20:00 vealbeef One important point, I think, is the configuration files
20:00 rmt_ vealbeef, ansible is built around reusing existing ssh credentials, and the idea of not having to have many requirements on the destination machine beforehand.  It's actually really great for bootstrapping a barebones system.  Salt is more suited to an enterprise.
20:00 vealbeef They used puppet previously, and hated it
20:00 cdsrv lol veal
20:00 cdsrv the zeromq framework is super fast
20:01 cdsrv in salt.. and the syntax seems alot simpler as well
20:01 rmt_ vealbeef, most people use puppet the wrong way -- they try to use it in a way it's not suited for ... and half the time the puppet community says, "that's a great idea!" and encourages bad design.
20:02 vealbeef I agree
20:02 vealbeef But now puppet have a bad rep
20:02 blee_ joined #salt
20:02 rmt_ vealbeef, salt is a remote execution framework, and it also happens to have a state system ala puppet.  You can also use puppet with salt if you want.  There's a module for it, even. ;-)
20:02 vealbeef here at least
20:03 cdsrv veal, not just there
20:03 rmt_ Anyway.. I've gotta run.  Good luck. :-)
20:03 vealbeef cool :)
20:03 cdsrv veal, suggest try salt with salty-vagrant plugin
20:04 vealbeef What does the vagrant plugins do?
20:04 cdsrv it helps you setup a virtual machine
20:04 cdsrv but really, you don't need it
20:04 timoguin it's great if you already use vagrant
20:04 vealbeef OK
20:05 timoguin otherwise vagrant needs to be learned as well
20:05 cdsrv right.. no need for it.. just setup two VMs that can talk to each other and the internet
20:05 vealbeef Is configurating salt easier than puppet?
20:05 cdsrv yes for sure
20:05 vealbeef cdsrv: Can you elaborate?
20:06 cdsrv just looking at the syntax, rules/manifest, etc in puppet.. its got alot of grammar that just isn't there in salt
20:06 cdsrv and, from using SSH based tools for a long time,
20:06 Froop My team just switched over.  We set up a build server state in salt in about 15 minutes with no prior experience.
20:06 cdsrv the zeroMQ backend really eliminates alot of issues around ssh
20:07 Chocobo joined #salt
20:07 Chocobo joined #salt
20:07 cdsrv its worth a couple of days to pilot a few VMs..
20:07 vealbeef but zeromq only handles communication, not descriptive configuration files!
20:07 cdsrv yes..
20:08 cdsrv the configuration files in salt seem to be infinitely more simple than pupp
20:08 vealbeef The main complaint I heard was the config files for puppet! Hard to understand...
20:09 cdsrv yes, go check out some examples on various salt websites.. it uses yaml (basically no syntax) and a convention of directory structure
20:09 cdsrv so you can customize everything
20:09 cdsrv anyway, take a couple of days to dive in, its worth the effort
20:09 toastedpenguin joined #salt
20:10 vealbeef What about salt vs mcollective?
20:11 timoguin the salt equivalent is ZeroMQ, which is at the core of salt
20:11 timoguin everything is built around the remote execution capabilities
20:11 cdsrv its no comparison .. they tout zeromq as being fast. it really is
20:11 vealbeef And mcollective uses a queue based approach, but what about the config nomenclature?
20:12 timoguin ZeroMQ is a pub/sub messaging queue as well.
20:12 vealbeef So its all bout speed, not ease of use?
20:12 cdsrv go check out some videos on youtube.. listen to what they are talking about.
20:12 cdsrv its both
20:13 cdsrv plenty of config-file examples out there, you can see for yourself
20:13 Corey vealbeef: Salt ties together disparate technologies (ZeroMQ, simplistic YAML config files, a scheduler, etc) into one neat package.
20:13 vealbeef I cannot sell this in my organization based on speed, but only based on ease of use (FYI)
20:14 vealbeef YAML is a good start!
20:14 Corey vealbeef: I gave a talk an hour ago comparing Ansible, Salt, Puppet, Chef, and CFengine. Salt is far ahead in simplicity.
20:14 cdsrv corey, can you share a link to your notes?
20:14 vealbeef is that speech available anywhere?
20:14 timoguin Corey, is that recorded anywhere?
20:14 vealbeef :D
20:14 cdsrv lol
20:14 timoguin speech speech!
20:15 Corey Yes, but unfortunately it was proprietary / internal.
20:15 vealbeef :(
20:15 cdsrv well, veal..
20:15 cdsrv I've been looking at the same stuff for the past several weeks.. there is plenty of material available for you to evaluate and make a case
20:16 vealbeef Yes, but I am lazy :)
20:16 vealbeef + a lot of "have made their minds up" people
20:16 cdsrv we can't help you there, friend
20:16 vealbeef external sources always help!
20:17 vealbeef You have helped me alot already!!!
20:18 Gifflen Any Salt employees signed in right now? Got a question for you.
20:18 cdsrv thanks, however limited capability to cure lazy and stubborn
20:19 vealbeef cdarv; One for me and one for the team :)
20:19 vealbeef cdsrv:
20:19 cdsrv ?
20:20 vealbeef me: lazy, team: stubborn :)
20:20 cdsrv thats what you said earlier..
20:20 cdsrv :)
20:20 cdsrv neither of which anyone can help you with!
20:21 vealbeef cdsrv: So true! But neither is permanent either!
20:21 vealbeef cdsrv: To my defence, I did ask you for your advice!!!
20:22 yano joined #salt
20:22 cdsrv https://salt.readthedocs.org/en/latest/topics/tutorials/walkthrough.html
20:23 cdsrv you can have this running on two VMs in an afternoon if you know what you're doing setting up the VM networking
20:23 vealbeef The problem is not getting it running, its selling it to 10 coworkers!
20:24 timoguin vealbeef, I've given up trying to sell with words. I'm working on getting an infrastructure setup that I can show.
20:25 vealbeef Noone has heard of salt, and sees it as a novelty. I try to make them see the light! Im on your side!
20:26 timoguin vealbeef, i know the feeling
20:26 vealbeef Fair anough, if you have the mandate to choose the infrastructure you want!
20:26 ml_1 joined #salt
20:27 cdsrv best way to show them is to demonstrate first hand..
20:27 vealbeef cdsrv: I wish I worked where you work...
20:28 cdsrv me too!
20:28 vealbeef :D What does that mean???
20:28 cdsrv its all good..
20:29 klymr99 wow, salt-cp sucks!
20:31 Corey yano: You in #salt seems unnatural.
20:32 yano Corey: i want to learn more about the spice
20:33 jrgifford yano: howdy!
20:33 yano jrgifford: hi!
20:33 jrgifford yano: i've been playing with salt, it's pretty slick.
20:36 jdenning joined #salt
20:36 Chocobo joined #salt
20:37 klymr99 Is there any practical docs for salt-cp?  I can't seem to get it to do squat no matter what I do.  I just need someone that has actually used it to give me a working example
20:37 klymr99 cause I can't get a single thing in the docs to generate a single result
20:38 mgw in a state file, is there any reason to use {{ salt['pillar.get'](….) }} vs {{ pillar.get(….) }} ?
20:40 * supplicant would think pillar.get() to be more idiomatic python
20:40 mgw supplicant: It's what I've used, but for some reason (or none) the salt-formulas seem to use the former
20:41 Froop Is it possible to execute a salt module command from a salt state?  I have tried something similar to this and I think I have just messed up the syntax: http://pastebin.com/ripniTmH
20:43 supplicant Froop: I don't think you can use - unless: like that
20:43 supplicant http://docs.saltstack.com/ref/states/all/salt.states.cmd.html
20:43 mgw Froop: I think it's looking for a shell cmd as the value for unless:
20:43 supplicant yeah, I think only a shell command is allowed there
20:44 Froop Oh, I thought unless just looked for a true/false
20:47 pentabular joined #salt
20:48 Katafalkas joined #salt
20:48 jdenning joined #salt
20:51 mgw Froop: If you know some python, you're probably better off writing CompanySoftware execution and state modules
20:54 Gifflen_ joined #salt
20:55 BRYANT__ joined #salt
21:01 jkleckner joined #salt
21:02 Chocobo joined #salt
21:03 SpX joined #salt
21:05 crazysim joined #salt
21:06 Boohbah joined #salt
21:06 z3uS joined #salt
21:06 Valdo joined #salt
21:07 lynxman joined #salt
21:07 monokrome joined #salt
21:08 isomorphic joined #salt
21:14 cro1 joined #salt
21:21 akasto joined #salt
21:25 robbyt joined #salt
21:25 troyready joined #salt
21:28 aantony joined #salt
21:31 thehyperadvisor joined #salt
21:33 mofomikes ahhh  salt.modules.svn and salt.state.svn  doesn't have a svn switch function   :(
21:33 mofomikes why?!  *hands raised to the sky*
21:34 mgw joined #salt
21:36 mofomikes i think a hack is needed
21:39 danielbachhuber joined #salt
21:40 Ryan_Lane joined #salt
21:43 zooz joined #salt
21:47 danielmcbawse joined #salt
21:48 torandu joined #salt
21:54 __number5__ mofomikes: fork and send a pull request :)
21:56 kermit joined #salt
21:57 jcockhren mofomikes: that missing part of the code was left just for you
22:02 dthom91 joined #salt
22:03 carmony joined #salt
22:03 crazysim joined #salt
22:09 rgbkrk joined #salt
22:11 anteaya joined #salt
22:14 mianos joined #salt
22:15 faldridge joined #salt
22:21 whiskybar joined #salt
22:28 danielmcbawse joined #salt
22:33 KyleG joined #salt
22:33 KyleG joined #salt
22:33 druonysuse if I want to have a list of machines stored in pillar can I do it like this? :  http://paste.opensuse.org/21245701
22:35 faldridge joined #salt
22:36 druonysuse or can I do it like this? :  http://paste.opensuse.org/87241406
22:37 woebtz joined #salt
22:41 whiskybar druonysuse: the latter, or [server1, server2, server3] in the former declaration
22:42 whiskybar druonysuse: https://en.wikipedia.org/wiki/YAML#Lists
22:42 tyler-baker joined #salt
22:43 druonysuse whiskybar: awesome
22:43 druonysuse thank you
22:44 mianos joined #salt
22:44 whiskybar can I specify a returner in a reactor formula?
22:51 xmltok joined #salt
22:54 blee joined #salt
23:02 pentabular1 joined #salt
23:02 raghavp left #salt
23:07 pipps joined #salt
23:12 jetblack joined #salt
23:12 cshuman joined #salt
23:13 packeteer if i put grains in /etc/salt/grains file, do they get included by default, or do i still need to call them?
23:16 whiskybar packeteer: they will appear once your reload the salt minion, and override any other grains of the same keys
23:17 Ryan_Lane joined #salt
23:18 packeteer i'm tring to build a single source for package and service names across different distros
23:20 pentabular joined #salt
23:20 danielmcbawse joined #salt
23:27 whiskybar packeteer: you can also write to /etc/salt/grains with the module grains, such as grains.setval and this will make these grains permanent (they will appear in /etc/salt/grains as well) -- http://docs.saltstack.com/ref/modules/all/salt.modules.grains.html#salt.modules.grains.setval
23:29 akasto joined #salt
23:31 puppet Anyone know any good tool to monitor the Nameservers of your domains?
23:31 DanGarthwaite joined #salt
23:31 packeteer whiskybar: why would i do that, when I can just create a top level grains file that contains all of my info
23:33 Marion joined #salt
23:33 whiskybar packeteer: I was guessing you wanted to store the package names somewhat dynamically -- but that would be enough as you say
23:35 Marion hello!  a noob question here, but I'm gonna ask anyways.  In minion config file, having master: localhost, is that saying the master is running on the host machine?
23:36 Parabola joined #salt
23:40 packeteer whiskybar: oic. i figured the names don't change often and the list is short, so static is fine
23:40 DanGarthwaite It means master is running on the same machine.
23:40 packeteer Marion: yes
23:41 mofomikes joined #salt
23:41 rgbkrk joined #salt
23:41 whiskybar packeteer: cool
23:41 packeteer Marion: what DanGarthwaite said is more correct
23:44 Marion I want my host machine to be master and VM to be minion, so on my host I would run salt-master, but I would NOT run salt-minion.  right?  (just trying to put the pieces together and figure out what it is I'm either doing wrong or not doing and should.)
23:44 pipps1 joined #salt
23:44 Marion packeteer: thx
23:45 druonysus joined #salt
23:45 DanGarthwaite Marion:  Is this using virtualbox?  Virtualbox by default throws a few monkey wrenches into the process.
23:45 Ryan_Lane joined #salt
23:46 Marion yes, it is.
23:48 Marion DanGarthwaite: what kind of monkey wrenches?
23:49 Marion DanGarthwaite: and would you recommend using something different from Virtualbox?
23:49 packeteer whiskybar: btw, thanks for that link. I had read it before, but it finally sank in this time. now if only I was running .17
23:49 DanGarthwaite Marion:  vbox by default essential creates a unique virtual NAT router device between the host and guest, and assigns each a static IP address.   The salt-master will likely not respond on that IP address.  It might.  I haven't tried.
23:51 DanGarthwaite Marion: install nmap on the guest.  And see if you can connect to 4505 on the host with:    nmap 10.0.2.1 4505
23:51 packeteer ^^ fwiw, I use vmware and the default nat setup works ^^
23:52 whiskybar packeteer: indeed! impatiently waiting for .17 to appear in ppa:saltstack/salt
23:52 Marion DanGarthwaite:  on my host, in hosts file, I have defined an ip addr
23:53 DanGarthwaite Marion: As long as you can connect to :4505
23:53 packeteer whiskybar: yup. both epel and ppa
23:53 robbyt joined #salt
23:53 pipps joined #salt
23:54 Marion packeteer: Did you have to pay for anything to use vmware, besides vmware fusion?  I have vmware fusion on which I run a windows vm (on my mac).  I know that to use vagrant/puppet, I would have to pay for a vmware provisioner.
23:55 test_ joined #salt
23:55 faldridge joined #salt
23:56 cshuman joined #salt
23:56 packeteer i have the same setup, but no vagrant as yet. i create a master image and then clone as needed. only from that point do I use salt
23:56 packeteer then again, this is all testing/learning. not work related
23:58 druonysus joined #salt
23:58 druonysus joined #salt

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