Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-11-24

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

All times shown according to UTC.

Time Nick Message
00:01 morissette in case your wondering a yum update yum fixes it
00:04 otter768 joined #salt
00:06 baweaver joined #salt
00:06 bfoxwell joined #salt
00:07 kitplummer joined #salt
00:17 notreallyhere joined #salt
00:18 murrdoc Gareth:  u around
00:18 Gareth no.
00:18 Gareth I left.
00:19 murrdoc damnit
00:19 Gareth :)
00:19 Gareth whats up?
00:19 murrdoc i had a quetion bout schedules
00:19 murrdoc as usual
00:19 Gareth I feel so typecast.
00:19 murrdoc i could ask u about the whether up there
00:19 murrdoc for the full experience
00:19 Gareth you could.
00:20 murrdoc :D
00:20 Gareth or politics.  world affairs.  financial advise.
00:20 murrdoc so i got a master of masters, and bunch of masters as minions
00:20 murrdoc how do u feel about the bombin in mali africa btw
00:20 murrdoc i want execute a runner on schedule
00:21 murrdoc is the only option the the master config
00:22 Gareth yeah. at the moment.  I started looking at ways to configurate the scheduler on the master without having to restart the master, but got distracted by something else...getting a job I think it was :)
00:22 murrdoc did u get it
00:23 Gareth yes. I am gainfully employed...by a company using and loving Saltstack no less :)
00:23 murrdoc in the valley ?
00:23 MindDrive joined #salt
00:23 Gareth they're based in NY, I work remote.
00:23 murrdoc oh fuck yeah
00:23 murrdoc what company
00:24 Gareth murrdoc: http://www.croscon.com/
00:25 murrdoc a consultancy
00:25 Gareth indeed.
00:26 murrdoc is it fun
00:26 otter768 joined #salt
00:26 murrdoc none of these guys have a beard
00:27 Gareth one guy probably does now, he had just recently shaved right before that photo was taken.
00:27 antpa joined #salt
00:27 Waggott14 joined #salt
00:28 murrdoc the branch manager seems like he would grow on you
00:28 murrdoc http://www.croscon.com/team/
00:29 MindDrive Can someone tell me what the programmatic (LocalClient using cmd_iter()) equivalent is to this: salt -C G@os_family:RedHat and G@osrelease:$OS_VER.*' pkg.list_pkgs ?
00:29 MindDrive I tried: client..cmd_iter('G@os_family:RedHat and G@osrelease:centos5.4.*', 'pkg.list_pkgs', expr_list='grain_pcre', timeout=45)
00:29 MindDrive (Didn't work.)
00:32 whytewolf client.cmd_iter('G@os_family:RedHat and G@osrelease:centos5.4.*', 'pkg.list_pkgs', expr_list='compound', timeout=45)?
00:33 MindDrive whytewolf: Didn't work, either.  Actually needed '5.*' (not '5.4.*'), but fixing that hasn't helped yet.
00:34 whytewolf MindDrive: what error are you getting when you try that. [the expr_list should be compound for that match string]
00:34 asco1aro joined #salt
00:36 whytewolf oh sorry expr_form not expr_list
00:36 MindDrive Wait, I think the script I'm going off has misled me to what I was using for 'osrelease'...
00:38 ashutoshn joined #salt
00:38 grumm_servire joined #salt
00:38 whytewolf MindDrive: well osrelease for ubuntu is Just the version number I don't know about centos though
00:38 MindDrive Got it: client.cmd_iter('G@os_family:RedHat and G@osrelease:6.*', 'pkg.list_pkgs', expr_list='list', expr_form='compound', timeout=45)
00:38 dayid joined #salt
00:38 MindDrive (The joys of trying to rewrite a shell script...)
00:39 ashutoshn left #salt
00:39 * whytewolf isn't sure that expr_list is doing anything. it is just getting passed into the kwargs
00:42 terratoma joined #salt
00:42 hemebond joined #salt
00:42 MindDrive Yeah, actually that was a typo.  Removed it and things still work fine.
00:42 whytewolf kewl
00:43 MindDrive Thanks for the help.
00:43 whytewolf np
00:46 mapu joined #salt
00:48 dayid joined #salt
00:57 xDamox joined #salt
00:59 aphor joined #salt
00:59 zmalone joined #salt
00:59 zmalone Anyone know what's going on with 2015.8.2?
01:00 onlyanegg Hey all, I have a noob question that I'm having trouble finding the answer to. What does the @ notation mean? For example, salt -C "I@environment:<environment_name>" state.highstate ?
01:00 aphor joined #salt
01:00 hemebond onlyanegg: It's the match type
01:01 hemebond e.g., G@ is grains
01:01 dayid joined #salt
01:01 hemebond It's used when doing a compound match (matching on multiple types)
01:03 ashirogl joined #salt
01:04 ahammond I'd like to use yaml to create a simple directory structure and have salt create the directories. Any suggestions on how to do this?
01:05 brianfeister joined #salt
01:06 onlyanegg joined #salt
01:07 onlyanegg hemebond: ahh, ok. Thank you!
01:07 fxhp joined #salt
01:08 tawm04 joined #salt
01:13 RobertChen joined #salt
01:16 zmalone ahammond: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.directory ?
01:17 ahammond zmalone yeah, I can use that with makedirs: True to create stuff from a leaf, but the representation if you have a lot of leaves, especially deep in the tree, is... uh... ugly
01:18 kitplummer joined #salt
01:18 ahammond What I'd particularly like is something like file.directories which takes a name that is a dict and a basedir and is otherwise somewhat similar to file.directory.
01:19 ahammond however I doubt I'll have the time to write it. :)
01:20 hemebond ahammond: You could use a loop to write the states, or just the names, by recursing over your Pillar branch.
01:22 antpa joined #salt
01:22 ahammond hembond, yeah, I can write a tree traversal or dumb it down to a list, but... yuck.
01:22 jopecko joined #salt
01:23 whytewolf ahammond: thats the only way it is going to work. cause the module you are looking for doesn't exist.
01:24 whytewolf your choices are write a module. or write the ugly loop
01:25 hemebond ahammond: The state module will create all parent directories for you so it shouldn't be too ugly.
01:26 hemebond Though I'm not sure how you get the full pillar path in Jinja.
01:26 hal58th ahammond: https://docs.saltstack.com/en/latest/topics/best_practices.html#variable-flexibility
01:26 whytewolf hemebond: macros calling macro
01:28 terratoma joined #salt
01:34 nickermire left #salt
01:34 ahammond whytewolf yeah, I'll look into writing a module. I'm only at a few dozen directories right now (don't ask, it's stupid)... but that could blossom into thousands... which would lead to performance issues with the state. sigh.
01:35 hemebond ahammond: Sounds like it would be easier to create the directories or use a script to do it all for you.
01:35 hemebond (create the directories on the master, that is, and have Salt recreate it on the minion)
01:36 whytewolf personally I would just crreate a filesystem and use file.recurse. that way i could create files and what not with in the structure.
01:37 hemebond that's the one... although that means it would be in the state, not in a Pillar.
01:37 whytewolf exactly
01:39 brianfeister joined #salt
01:50 ahammond whytewolf yeah, I considered that, but in order to get it into our git tree, there'd have to be files in there, which end up polluting the directories created. Also makes the directory structure information difficult to access from other formula, etc.
01:50 ahammond in other words, grumble. :)
01:58 zmalone joined #salt
01:58 fsteinel_ joined #salt
02:01 kitplummer joined #salt
02:01 ageorgop1 joined #salt
02:04 antpa joined #salt
02:10 racooper joined #salt
02:10 ashirogl joined #salt
02:25 xDamox joined #salt
02:31 Vynce joined #salt
02:32 Vynce joined #salt
02:33 catpiggest joined #salt
02:34 notreallyhere joined #salt
02:35 RobertChen joined #salt
02:37 notnotpeter joined #salt
02:45 Vynce joined #salt
02:45 RobertChen if one pkg has dependencies pkgs, pkg.installed does not install the dependencies? (pkg.installed does not use yum install? )
02:46 otter768 joined #salt
02:55 quix joined #salt
02:55 TyrfingMjolnir joined #salt
02:56 aphor @RobertChen pkg.installed uses yum.
02:57 RobertChen Error: Package: c_tbip-2.0.4-13246.el6.x86_64 (our.6.x86_64.test)
02:57 RobertChen Requires: ipdata
02:57 RobertChen You could try using --skip-broken to work around the problem
02:57 RobertChen from my testing, it does not resolve the dependencies
02:57 zmalone joined #salt
02:58 aphor @RobertChen can you install it with salt 'yrMinion' cmd.run 'yum install c_tbip' ?
02:59 kitplumm_ joined #salt
02:59 aphor It is possible that your upstream yum repos have some junk in them.
03:00 evle joined #salt
03:02 kitplum__ joined #salt
03:04 kitplummer joined #salt
03:04 RobertChen I use yum install c_tbip -b test,  it can install the dependencies
03:04 RobertChen we extend yum install with an option for branch
03:05 RobertChen pkg.installed:
03:05 RobertChen - fromrepo: our.6.x86_64.test
03:05 RobertChen - name: c_tbip
03:06 RobertChen in sls, I already include the branch in fromrepo
03:06 kitplumm_ joined #salt
03:06 grumm_servire joined #salt
03:09 Eureka703 joined #salt
03:10 workthrick joined #salt
03:11 workthrick hi, how can I invoke the same state multiple times in a single state definition?
03:11 workthrick ie.
03:11 workthrick foo:
03:11 Knuta create a loop in jinja? not sure if I understand what you're trying to do
03:11 aphor @RobertChen: have you tried replicating that with vanilla pkg states?
03:11 workthrick Knuta: pastebinning
03:12 aphor @workthrick: create multiple states calling the same state execution module.
03:13 RobertChen what is vanilla ?
03:13 workthrick ie. like this: http://pastebin.com/iR9btDS4
03:13 workthrick aphor: but they belong to the same logical state
03:13 aphor @RobertChen: you said you extended yum install with an option for branch..
03:14 workthrick I need to install a runit service file, then add config, then ensure the service is running
03:14 RobertChen yes, so I put a fromrepo option
03:14 aphor workthrick: maybe they are subordinates/requisites of a larger state?
03:14 _JZ_ joined #salt
03:14 aphor @RobertChen: how can you be sure you haven't subtly broken the pkg state?
03:15 workthrick aphor: so how do I tie them together? States cannot have substates
03:15 workthrick AFAIK
03:15 aphor workthrick: requisites
03:15 workthrick meh
03:15 aphor that's all I got.
03:16 workthrick it's a bit silly, all arguments are passed as lists of dicts, but the one place where it'd actually be useful, it's plain dict keys instead and thus they must be unique
03:16 aphor If you want to execute the same operation multiple times, maybe you just want to call something in an execution module?
03:16 workthrick I don't want to do the same thing twice, I want to describe two different files
03:16 Val_ joined #salt
03:16 workthrick that they both happen to be files shouldn't be an obstacle
03:17 aphor workthrick: the states would be named different, but call the state execution method you want.
03:18 aphor call the states "a" and "b" but give file.managed a "name: c"
03:18 Val_ Someone use Two master with the same pem/pub key ?
03:18 aphor workthrick: maybe you want to do an accumulator?
03:19 workthrick aphor: http://pastebin.com/iR9btDS4
03:19 workthrick this is what I want to do
03:20 Val_ I got this error on the second master,  ValueError: invalid RSA private key  https://gist.github.com/valentin2105/07e059a8faaca67bafd5
03:20 RobertChen @aphor, because if I use command line, it can install the dependencies pkgs
03:24 quix joined #salt
03:25 whytewolf workthrick: but that doens't work. because file.managed would be the same label twice in the dict, which would conflict and if allowed would cause one to over write the other. so it isn't possable
03:26 RobertChen @aphor, seems I need to change the source codes to support the branch.
03:26 RobertChen @aphor, I just tried to install s3cmd, it can install dependencies.
03:26 workthrick whytewolf: I know that, but it should be. There's no logical reason why a single state should allow describing a file and a service, but not a file and another file
03:26 workthrick it's a very counter-intuitive shortcoming
03:28 favadi joined #salt
03:28 Knuta workthrick: why not do this? https://gist.github.com/knuta/82f5185dd42f7ccd6e80
03:28 PeterO joined #salt
03:28 aphor workthrick: or this http://pastebin.com/M3JAWczw
03:29 Knuta workthrick: then you can also wait on either (or both) and do postprocessing
03:29 workthrick it's what I did, but both files are logically a part of the same state
03:30 workthrick there's no difference between "my state consists of ensuring a package and a file" and "my state consists of ensuring a file and another file"
03:30 workthrick well, there is, but it doesn't make sense that there should be, it's just a random implementation detail leaking
03:31 aphor workthrick: what is the difference between a chain of requisite states and a list of state calls reduced by "and"?
03:32 workthrick readability
03:32 whytewolf honestly I think you are whining about a small thing. I typically recomend not group states together to begin with. states should be simple blocks that describe a single operation. "the state of this file is" the "state of the service is running."
03:33 whytewolf workthrick: funny i find grouped states less readable
03:33 aphor whytewolf +1
03:34 workthrick that is obvious a matter of taste, but if it's disallowed, then it should be disallowed *always*
03:34 workthrick not disallowed randomly
03:34 workthrick it's a random nonsensical restriction, and random nonsensical restriction make it harder and less pleasant to learn a new tool. Is all
03:34 aphor @workthrick Python is infamously opinionated about the right way to do something.
03:35 workthrick aka "salt should be consistent"
03:35 workthrick aphor: but it doesn't ever tell me "you cannot accept two ints in your function"
03:35 workthrick salt does
03:36 aphor @workthrick maybe a better exception could be raised.
03:36 workthrick maybe, but it's still a surprise, because salt does *not* prevent me from grouping states in general
03:36 zmalone joined #salt
03:37 aphor There's good and bad design, and there's right and wrong implementation.
03:37 aphor Maybe this is good and wrong?
03:38 PeterO joined #salt
03:38 aphor Make your case in a GitHub issue.
03:38 workthrick will do
03:38 whytewolf workthrick: it really comes down to the fact that file.managed is really a shortcut for file: - managed
03:39 whytewolf and there would be no safe way to seperate out more then one file: - managed
03:39 workthrick whytewolf: and it should be - file.managed
03:39 aphor oboy
03:39 workthrick or rather, if it were, there would be no issue I believe
03:40 aphor @workthrick are you certain that wouldn't be worse?
03:40 aphor possibly for regressions on other stuff?
03:41 workthrick I don't know
03:41 whytewolf changing it now would defintly break things.
03:41 Knuta it sort of makes sense for stuff like "ensure the application is installed, and restart it if these files change"
03:42 aphor @workthrick maybe you should try to master what has already been provided, and then make informed suggestions.
03:42 Knuta personally, I wouldn't throw in file copying in the middle of that mix
03:42 workthrick aphor: I'm trying to understand salt. This is something I find very counterintuitive and thus I'm asking questions
03:42 workthrick if I weren't learning I wouldn't be asking questions
03:43 aphor counterintuitive learning leads to enlightenment
03:43 workthrick or "this makes no sense" realisation :)
03:43 workthrick cf. git
03:43 aphor zen
03:44 aphor Every profound truth is decorated with a paradox.
03:45 ITChap joined #salt
03:49 falenn joined #salt
04:01 antpa joined #salt
04:02 rdas joined #salt
04:07 kitplummer joined #salt
04:09 salt-noob joined #salt
04:09 salt-noob Is there any example of autoscaling that work with rackspace?
04:10 kitplumm_ joined #salt
04:11 torax joined #salt
04:13 otter768 joined #salt
04:16 ramteid joined #salt
04:19 brianfeister joined #salt
04:21 viq joined #salt
04:22 fsteinel joined #salt
04:24 falenn joined #salt
04:26 kitplummer joined #salt
04:35 RobertChen joined #salt
04:43 irctc189 joined #salt
04:45 irctc189 Hi All
04:46 aidin Hi
04:46 irctc189 I need to add the data from  a curl call  to external pillar which will return the data in json format
04:46 irctc189 - cmd_json: cat /var/www/html/users
04:46 irctc189 this is working fine and I am able to get the data in pillar
04:46 irctc189 But when I am doing a  curl call , its not picking up
04:46 irctc189 cmd_json: curl http://localhost/users
04:47 irctc189 [salt.loaded.int.pillar.cmd_json          ][CRITICAL][5377] JSON data from /var/www/html/users failed to parse
04:47 irctc189 I am using the same file so the content is same
04:47 irctc189 Only difference is I am calling via curl
04:48 irctc189 I am going to use an external url , so I am testing it now the curl call is working fine or not
04:48 irctc189 Any help is appreciated
04:52 falenn joined #salt
04:55 aphor irctc189: maybe try using python urrlib2 to get the data?
04:56 aphor once that is working, you can write a custom pillar that does the HTTP get
04:56 aphor sleepytime..
05:00 asco1aro joined #salt
05:01 jaybocc2 joined #salt
05:02 irctc189 aphor:  thanks
05:02 irctc189 aphor:  Got the solution :)
05:02 irctc189 http://grokbase.com/t/gg/salt-users/15982ma1ag/update-pillar-data-from-rest-api this one helped me
05:02 irctc189 had to use curl -sS
05:03 irctc189 to avoid header
05:06 msn joined #salt
05:08 RobertChen joined #salt
05:11 aidin left #salt
05:21 falenn joined #salt
05:33 bernieke joined #salt
05:33 pdayton1 joined #salt
05:34 jalbretsen joined #salt
05:35 ITChap joined #salt
05:36 pdayton joined #salt
05:37 antpa joined #salt
05:37 pdayton2 joined #salt
06:03 favadi joined #salt
06:06 kshlm joined #salt
06:06 antpa joined #salt
06:08 impi joined #salt
06:08 brianfeister joined #salt
06:11 thayne joined #salt
06:15 pashcan joined #salt
06:16 RobertChen joined #salt
06:26 antpa joined #salt
06:38 felskrone joined #salt
06:38 jasonrm joined #salt
06:38 kitplummer joined #salt
06:42 clintberry joined #salt
06:45 hamsham joined #salt
06:46 iggy you can write pillars using all the renderers that salt supports
06:46 iggy i.e. #!py renderer and just get python to do the heavy lifting
06:47 antpa joined #salt
06:50 malinoff joined #salt
06:59 hamsham joined #salt
07:07 jasonrm_ joined #salt
07:11 otter768 joined #salt
07:17 hamsham joined #salt
07:18 kalessin joined #salt
07:20 hamsham joined #salt
07:22 hamsham joined #salt
07:25 honestly so the salt-ssh docs tell me it can use nodegroup matching
07:25 armyriad joined #salt
07:25 honestly but if I try to use it I only get 'No hosts found with target lsvpn of type nodegroup'
07:26 honestly this is my nodegroups config:
07:26 honestly No hosts found with target lsvpn of type nodegroup
07:26 honestly augh
07:26 honestly nodegroups:$ lsvpn: 'L@vmrbg44,localhost'$
07:26 honestly (the $'s are linebreaks)
07:26 hamsham joined #salt
07:28 antpa joined #salt
07:30 honestly oh.
07:31 honestly I guess that feature, despite having been in the docs forever, was actually only implemented five days ago.
07:31 honestly *sigh*.
07:34 sfxandy joined #salt
07:37 AndreasLutro joined #salt
07:43 honestly and hasn't hit the 'latest' repo yet.
07:44 rotbeard joined #salt
07:48 larsfronius joined #salt
07:51 impi joined #salt
07:57 antpa joined #salt
07:57 brianfeister joined #salt
07:58 Guest91019 joined #salt
08:00 otter768 joined #salt
08:01 antpa joined #salt
08:01 felskrone1 joined #salt
08:03 eseyman joined #salt
08:15 CeBe joined #salt
08:29 RobertChen joined #salt
08:31 kawa2014 joined #salt
08:34 Guest47941 joined #salt
08:35 Grokzen joined #salt
08:42 KermitTheFragger joined #salt
08:42 RobertChen joined #salt
08:48 informant joined #salt
08:49 Rumbles joined #salt
08:53 ingslovak joined #salt
08:57 alger joined #salt
08:59 felskrone joined #salt
09:00 s_kunk joined #salt
09:02 toanju joined #salt
09:06 zerthimon joined #salt
09:13 slav0nic joined #salt
09:20 keimlink joined #salt
09:21 GreatSnoopy joined #salt
09:22 jaybocc2 joined #salt
09:25 Xevian joined #salt
09:26 tvinson joined #salt
09:29 thalleralexander joined #salt
09:31 jaybocc2 joined #salt
09:35 alger joined #salt
09:41 jaybocc2 joined #salt
09:43 jamesp9 joined #salt
09:46 brianfeister joined #salt
09:46 linjan_ joined #salt
09:47 pviktori joined #salt
09:49 antpa joined #salt
09:51 wwj joined #salt
09:52 shiriru joined #salt
09:53 jaybocc2 joined #salt
09:55 alger joined #salt
09:55 _mel_ joined #salt
09:58 wwj joined #salt
09:59 alger joined #salt
10:00 jamesp9 joined #salt
10:01 jaybocc2 joined #salt
10:01 otter768 joined #salt
10:02 sfxandy joined #salt
10:04 freelock joined #salt
10:06 antpa joined #salt
10:11 wwj joined #salt
10:13 fredvd joined #salt
10:14 jaybocc2 joined #salt
10:17 alger joined #salt
10:17 losh joined #salt
10:19 wwj joined #salt
10:19 sunkist joined #salt
10:20 RobertChen joined #salt
10:23 jaybocc2 joined #salt
10:26 RobertChen joined #salt
10:29 RobertChen joined #salt
10:31 jaybocc2 joined #salt
10:32 malinoff_ joined #salt
10:33 giantlock joined #salt
10:36 thalleralexander joined #salt
10:36 johtso joined #salt
10:39 denys joined #salt
10:39 RobertChen joined #salt
10:40 AlberTUX1 joined #salt
10:41 losh Hello, is the a notion of an audit trail in salt?
10:43 jaybocc2 joined #salt
10:50 larsfronius joined #salt
10:50 RobertChen joined #salt
10:52 amcorreia joined #salt
10:53 jaybocc2 joined #salt
10:54 linjan_ joined #salt
10:55 Rumbles joined #salt
11:00 bluenemo joined #salt
11:00 hvn joined #salt
11:01 jaybocc2 joined #salt
11:11 CeBe1 joined #salt
11:13 jaybocc2 joined #salt
11:16 asco1aro joined #salt
11:20 honestly nope.
11:20 honestly losh: ^
11:20 losh thanks honestly
11:21 jaybocc2 joined #salt
11:22 toddnni joined #salt
11:22 honestly my statefiles and pillar files all live in source control
11:22 honestly but that's not something you can call an "audit trail"
11:23 RobertChen joined #salt
11:28 AndreasLutro losh: it is possible to write state output to something like a database using returners https://docs.saltstack.com/en/develop/ref/returners/index.html
11:30 losh honestly, sometimes I'd like to be look up when and who ran a state against a given set of machines.  I was think of something like a shell logging, that allows me to know who ran what when.  Because git is never going to tell you that admin X ran salt cmd.run 'rm -rf /' ... if you get my meaning.
11:31 losh AndreasLutro, I hear what you're saying, it's a feature that could be implemented in-house, I was curious to know if it was an existing feature.
11:31 jaybocc2 joined #salt
11:33 LinkRage joined #salt
11:34 LinkRage how do I set user/password for salt-api ?
11:34 thalleralexander joined #salt
11:34 brianfeister joined #salt
11:35 seena joined #salt
11:36 seena Look like when you add an external pillar. this data is available everywhere . Is there any way we can catogorize the data to available only in certain minions?
11:37 seena in tip.sls file of pillar we can match with grains using " - match: grain"
11:38 seena Is there any similar method available external pillar ?
11:38 AndreasLutro seena: depends on which external pillar you're using
11:38 seena I am currently using cmd_json
11:39 seena cmd_json curl http://url
11:39 AndreasLutro let's look at the source code https://github.com/saltstack/salt/blob/develop/salt/pillar/cmd_json.py
11:40 AndreasLutro command = command.replace('%s', minion_id)
11:40 AndreasLutro do you see what you need to do, seena ?
11:42 seena AndreasLutro:  I didn't get it correctly :(
11:43 jaybocc2 joined #salt
11:48 AndreasLutro seena: in your command, put '%s' as a placeholder for the minion name
11:48 AndreasLutro for example
11:48 AndreasLutro cmd_json: curl http://my.server.com/%s
11:48 AndreasLutro will send a curl to my.server.com/name-of-minion
11:48 AndreasLutro or cmd_json: curl http://my.server.com?minion_id=%s
11:51 jaybocc2 joined #salt
11:52 sfxandy morning all
11:53 amcorreia quick question, how use regex in grains?
11:53 amcorreia {% if grains['host'] == '-dev-' %}
11:53 amcorreia I want get all *dev* servers
11:55 AndreasLutro amcorreia: not sure how to use regex, but {% if '-dev-' in grains['host'] %} might do what you need?
11:56 amcorreia AndreasLutro, i'll try
11:57 amcorreia No, give error
11:57 amcorreia Rendering SLS 'base:users' failed: Jinja syntax error: Unexpected end of template.
11:57 traph joined #salt
12:00 AndreasLutro you probably made a mistake elsewhere
12:02 honestly is there an easy way to get the unix timestamp in a jinja statefile?
12:02 otter768 joined #salt
12:03 jaybocc2 joined #salt
12:03 kaushal_ joined #salt
12:08 Erik_P joined #salt
12:09 AndreasLutro honestly: I think you have to do salt['cmd.run']('date +%s') or something like that
12:10 AndreasLutro honestly: ah no, you can do {{ null | strftime('%s') }}
12:10 honestly oh cool
12:14 honestly hm
12:14 honestly "jinja variable null is undefined"
12:15 honestly it seems to work with none
12:18 kawa2014 joined #salt
12:19 AndreasLutro oh yeah
12:19 AndreasLutro derp :)
12:36 b18 joined #salt
12:36 jasonrm joined #salt
12:37 Guest77396 joined #salt
12:40 diegows joined #salt
12:41 ericof joined #salt
12:47 jerrcs joined #salt
12:52 thalleralexander joined #salt
12:57 Songohan joined #salt
12:58 Songohan hello, where can i find enterprise's name that use salt stack ?
12:59 Songohan i'm preparing slides (powerpoint) to present salt stack for my company...
13:01 xmj on the website
13:01 xmj they have an 'Our Customers'
13:02 Songohan thank you :)
13:04 jaybocc2 joined #salt
13:05 Songohan your customers are also partners or just customers ?
13:05 xmj ?
13:06 larsfronius joined #salt
13:07 Erik_P how can i run orchestration for several server to run state 1 by 1 and if 1 filed stop
13:07 Songohan Are they participating on salt stack development (coding) ?
13:08 Brainscrewer joined #salt
13:09 xmj Songohan: what are you asking, exactly?
13:09 Brainscrewer hi, is there any way to pass an RDB to virt.init  routine? There is a disk='default' option but nowhere is explained what it does exactly
13:14 Songohan xmj:  I want know if salt stack is developped with the help of big enterprises ? Or developped only by volunteers (open source community) and salt stack employees ?
13:14 Rumbles joined #salt
13:15 xmj Songohan: look at the website
13:15 xmj saltstack is its own company, though i'm sure plenty of employees of others report issues submit bugfixes and new features
13:21 Songohan xmj: To sum up, salt stack is developped by his employees. Volunteers and employees of others companies can contribute if they want. But there is no officialy privileged relationship with company like partnership. Am i right ?
13:22 xmj oh god
13:22 xmj that sounds horrible lol
13:22 Songohan sorry, i'm french. I do my best to write in english
13:23 xmj no problem, i'm sure your french will sound better than mine
13:23 brianfeister joined #salt
13:24 Songohan Probably lol. Have i well understood or not ?
13:24 xmj more or less yes
13:24 opdude @Songohan that sounds right, I for example don't work for saltstack but i'm developing bits and pieces as required
13:24 xmj SaltStack is the company maintaining Salt
13:24 Songohan can you explain me quickly what i've misunderstood ?
13:24 xmj and people can buy support for Salt from SaltStack, which - qua coming from SaltStack - is "more official" than my support :p
13:24 opdude i don't think you can call my company an enterprise just yet though ;)
13:25 xmj opdude: consultancy?
13:25 breakingmatter joined #salt
13:25 opdude @xmj no I work for Unity Technologies a game engine company :), but we have special needs when it comes to managing servers
13:26 xmj ah, nice
13:26 opdude i.e we run Windows, OSX and Linux VMs
13:27 opdude @Songohan I don't think you miss understood anything, i don't know of any official partnerships and it's like all open source software if you want to contribute you can, but they have a dedicated team working on saltstack everyday
13:30 spiette joined #salt
13:30 Songohan opdude: ok. thank you
13:32 Rumbles joined #salt
13:39 denys joined #salt
13:42 Brainscrewer hi, is there any way to pass an RDB to virt.init  routine? There is a disk='default' option but nowhere is explained what it does exactly
13:44 Norrland Brainscrewer: looking at the docs. I can find that it's for using specific profiles (which you can use for nic and disk) https://docs.saltstack.com/en/latest/topics/virt/disk.html
13:44 tuxx hey guys
13:44 tuxx http://pastebin.com/YaPzbvMA <- why is this not working
13:44 tuxx i say require: pkg: stikked but it tries to provision the file before stikked is installed
13:45 tuxx Comment: Parent directory not present
13:45 Norrland tuxx: please hastebin the command and output as well.
13:46 Brainscrewer @norrland: found that yeah, still doesn't really give an insight if it's possible to add a rdb image to a to-be-deployed vm
13:46 Norrland Brainscrewer: what is a 'rdb' image?
13:46 tuxx Norrland: http://pastebin.com/mcpgXKg6
13:46 Brainscrewer its a rados block device
13:46 Brainscrewer for Ceph
13:46 tuxx /etc/stikked/ is created from the stikked.deb package
13:47 Norrland tuxx: mkay
13:47 Brainscrewer im trying to deploy VM to a ceph cluster but i need to bind the new VM to the ceph cluster which doesn't really seem possible right now
13:48 Norrland Brainscrewer: ah okey. My guess is that it takes care of creating disk images through the hypervisor.
13:48 tuxx Norrland: any idea why its not working?
13:48 Norrland Brainscrewer: so if that's possible through your hypervisor. Then it could be possible. But otherwise it could be so that you'd have to do that before.
13:49 tuxx what is the right syntax to require a pkg.installed?
13:49 tuxx require.pkg: foo , require: pkg: -name: foo -installed?
13:49 Norrland tuxx: hm, require: pkg: foo
13:49 Norrland let me check
13:50 morissette joined #salt
13:50 Norrland tuxx: try something like "- require: - pkg: mypkg"
13:51 Norrland tuxx: https://docs.saltstack.com/en/latest/ref/states/requisites.html
13:52 impi joined #salt
13:52 Rumbles joined #salt
13:53 TooLmaN joined #salt
13:54 kitplummer joined #salt
13:59 spiette joined #salt
14:01 kitplummer joined #salt
14:01 racooper joined #salt
14:03 otter768 joined #salt
14:04 joren joined #salt
14:04 jaybocc2 joined #salt
14:09 cyborg-one joined #salt
14:11 kitplummer joined #salt
14:14 pdayton joined #salt
14:15 antpa joined #salt
14:16 Tanta joined #salt
14:23 pmcnabb How does a minion determine if it is supposed to be a proxy? FWIW, I'm on 2015.5.5
14:23 ponpanderer joined #salt
14:23 ponpanderer hello
14:24 ponpanderer anyone using salt-cloud on ec2? wondering if there is an undocumented option to have instances launched in VPC get a public IP (not elastic)
14:25 aqua^c joined #salt
14:25 cberndt joined #salt
14:31 subsignal joined #salt
14:31 mapu joined #salt
14:32 mpanetta joined #salt
14:35 cpowell joined #salt
14:35 aqua^c joined #salt
14:36 cpowell joined #salt
14:37 perfectsine joined #salt
14:40 londo__ joined #salt
14:40 quix joined #salt
14:41 kitplumm_ joined #salt
14:44 kitplummer joined #salt
14:45 anotherZero joined #salt
14:46 kitplumm_ joined #salt
14:55 felskrone1 joined #salt
14:57 zmalone joined #salt
14:58 kitplummer joined #salt
14:58 kawa2014 joined #salt
14:59 numkem joined #salt
15:03 pyropoptrt joined #salt
15:05 jaybocc2 joined #salt
15:12 brianfeister joined #salt
15:14 pdayton joined #salt
15:15 sathya joined #salt
15:15 sathya hi all
15:15 pdayton1 joined #salt
15:15 sathya I just have quick question on salt stack, is it possible to have a inventory sheet using salt stack ?
15:16 Brew joined #salt
15:16 sathya Server inventory kind of stuff
15:18 mschiff ssh_known_hosts.present tells me: "argument port can not be used in conjunction with argument hash_hostname", but setting "hash_hostname: False" or "hash_known_hosts: False" does not change this, any hint someone?
15:19 felskrone joined #salt
15:19 jaybocc2 joined #salt
15:21 sathya any help ?
15:28 tuxx somteims jth@salt:~/salt$ sudo salt 'stikked.mal-app-net.lab' state.highstate
15:28 tuxx oops... sry
15:29 subsignal joined #salt
15:29 tuxx sometimes "salt 'stikked.mal-app-net.lab' state.highstate" returns after 2-3 seconds without giving any output or even setting the return code
15:29 sathya can soemone answer my question about the inventory stuff..... is it possible or not ?
15:29 tuxx does anyone know what that is all about?
15:30 malinoff joined #salt
15:30 subsignal left #salt
15:32 aphor joined #salt
15:33 Norrland tuxx: try increasing the timeout '-t 15' or such
15:34 theosvo22 joined #salt
15:34 theosvo22 left #salt
15:36 pmcnabb I'm still trying to get a proxy set up (again, on 2015.5.5). I can see that the minion started the proxy, but I can't figure out how to target that proxied device with salt commands. Any thoughts?
15:36 aphor pmcnabb: it's a minion
15:37 aphor proxies only load modules with explicit proxy support for each proxy via __proxyenavbled__ list.
15:37 aphor so... not just any command will work. Try test.ping for starters.
15:37 RandyT_ Good day, anyone have any suggestion for checksum tool that will generate appropriate/accepted format? https://gist.github.com/rterbush/94a7d05edc4cf733ef62
15:38 RandyT_ ponpanderer: standby and will gather an example for you.
15:38 kaptk2 joined #salt
15:39 RandyT_ ponpanderer: https://gist.github.com/rterbush/5129af671d65e9f710da
15:39 pmcnabb aphor: Does the proxied device need to have an entry in top.sls (the main state one, I already have it defined in pillars)?
15:40 jaybocc2 joined #salt
15:41 pmcnabb I'm getting a "No minions matched the target. No command was sent, no jid was assigned"
15:41 aphor pmcnabb: if you want it targeted with states, you do that in the states top.sls
15:42 aphor pmcnabb: did you run salt-proxy with the --proxyid=yourProxyMinionName?
15:42 pmcnabb aphor: I added it in there... How does those commands actually get routed to the proxy minion? Am I missing a setup step?
15:43 pmcnabb aphor: I don't have salt-proxy (2015.5.5)
15:43 aphor Did you accept the minion key for yourProxyMinionName on the master?
15:43 pmcnabb aphor: It doesn't show up in salt-key -L
15:43 aphor pmcnabb: oh.. sorry I only *just* started using proxy minions with 2015.8
15:45 pmcnabb aphor: np, it looks like proxies are in 2015.5, but I can't find the equivalent step to "salt-proxy --proxyid ..." like you mentioned
15:45 ekristen joined #salt
15:46 sathya how to remove a minion from salt master ?
15:46 RandyT_ sathya: salt-key -d minionname
15:46 aphor @sathya use salt-key to delete the minion key.
15:47 aphor @pmcnabb https://docs.saltstack.com/en/2015.5/topics/topology/proxyminion/index.html <-- here's some docs that should cover your version.
15:47 RandyT_ anyone have a hint as to how to generate source_hash: files in accepted format?
15:48 RandyT_ my sha1sum apparently was updated recently and is not outputting the accepted type= format
15:48 Hydrosine Can i stop an active job on minions from the master? Seems they got stuck on my new state
15:50 zmalone RandyT_: I don't recall needing a sha1=<foo> form, I usually just point it at a remote md5/sha1 sum like http://www.apache.org/dist/activemq/5.12.1/apache-activemq-5.12.1-bin.tar.gz.md5 or http://www.apache.org/dist/activemq/5.12.1/apache-activemq-5.12.1-bin.tar.gz.sha1 (as a random example)
15:50 giantlock joined #salt
15:50 pmcnabb aphor: thanks, I'll keep looking there
15:51 aphor RandyT_: can you please post a Gist of your attempt to generate a shamus?
15:51 aphor sha1sum
15:51 Hydrosine got it, saltutil.kill_job
15:52 dfinn joined #salt
15:53 RandyT_ aphor: I've updated the gist I shared earlier with what I am doing. No magic. The util I was using up until yesterday was outputting what I needed.
15:53 DammitJim joined #salt
15:53 RandyT_ docs and code are spread around a bit as to what is expected. I filed an issue on that awhile back but had something workign.
15:54 RandyT_ As you can see from the error message I provided, it wants sha1=hash filename
15:55 RandyT_ here is the issue I filed awhile back https://github.com/saltstack/salt/issues/28286
15:55 saltstackbot [#28286]title: hash formats required for s3 source conflict with error message and other uses of file hashes | When referencing an s3:// source for file hashes an error message will be emitted stating that the file format should be 'hashtype=hash', even when the file is provided in that format....
15:56 RandyT_ so, as I reread this, perhaps I am smoking something...
15:56 * RandyT_ is in Colorado after all...
15:57 RandyT_ the net net however is that I am generating the file, and salt is not accepting what I am giving it. Was not having a problem with this up until yesterday and there have been no updates to salt on my end
15:59 kitplumm_ joined #salt
16:02 kitplummer joined #salt
16:03 murrdoc joined #salt
16:04 otter768 joined #salt
16:04 kitplumm_ joined #salt
16:05 sdm24 joined #salt
16:07 kitplummer joined #salt
16:10 rbjorklin Hey
16:10 rbjorklin The smtp returner is only sending almost empty emails
16:10 kawa2014 joined #salt
16:10 rbjorklin Is one of the optional fields mandatory?
16:11 linjan__ joined #salt
16:12 quasiben joined #salt
16:12 Chi_ joined #salt
16:14 jaybocc2 joined #salt
16:14 SeeDickCode joined #salt
16:14 relicanth joined #salt
16:16 murrdoc i think mail_body is required :P
16:17 murrdoc what does the 'mailer' log say on the server
16:17 rbjorklin murrdoc: i'll have a look
16:18 teryx510 joined #salt
16:19 rbjorklin murrdoc: umm.. What do you mean by mailer? /var/log/mail.log or something completely different?
16:21 murrdoc yeah
16:22 rbjorklin murrdoc: nothing special
16:22 rbjorklin murrdoc: The email I recieve only contains {}
16:23 rbjorklin murrdoc: Where did you find the mail_body paramter? (can't find it in the salt docs)
16:23 jalbretsen joined #salt
16:23 murrdoc https://github.com/saltstack/salt/blob/develop/salt/returners/smtp_return.py#L187-L196
16:23 murrdoc i stopped reading code
16:23 murrdoc uh documentation
16:24 winsalt joined #salt
16:26 Chi_ joined #salt
16:28 RandyT_ zmalone: I'm guessing you are not using an s3:// source for those source_hash files?
16:28 zmalone No, I've been using http
16:29 RandyT_ I've reverted to stripping the filename and presenting a file formatted like yours and it still blows up...
16:29 zsoftich2 joined #salt
16:31 rbjorklin murrdoc: Umm... Looking at the code I would say content would get built even if I don't specify a template
16:32 murrdoc yup
16:32 aphor murrdoc: streaming RCF2822 text to an SMTP port?
16:32 aphor really?
16:32 murrdoc yes ?
16:32 aphor No SMTP library to wrap all the encoding and header management?
16:32 rbjorklin murrdoc: So how come my emails are empty?
16:32 * aphor weeps
16:33 murrdoc aphor:  its using smtplib
16:33 murrdoc rbjorklin:  u ll have to figure out what the server is using to send the email ?
16:34 aphor murrdoc: maybe the email module would also help? https://docs.python.org/3/library/email.html#module-email
16:34 murrdoc and then look at the logs of said app (sendmail, ssmtp ?, idk)
16:35 murrdoc as aphormentioned (snicker) it might be better to write your own returner using the email module
16:35 murrdoc from python 3
16:35 PeterO joined #salt
16:36 murrdoc aphor:  i didnt write he module
16:36 murrdoc i was just answering the quetion of 'what does the module do'
16:38 larsfronius joined #salt
16:38 wendall911 left #salt
16:40 techblaze joined #salt
16:40 aphor murrdoc: thanks for bringing the sunlight!
16:41 rbjorklin murrdoc: using the cmd line 'mail' client I can send emails just fine. Any other thoughts?
16:42 murrdoc copy the file over to <file_root>/state/_returners
16:42 murrdoc add logging :D
16:42 * murrdoc shines light all over aphor
16:43 kawa2014 joined #salt
16:45 Xevian joined #salt
16:45 tuxx are there any states to add a proxy for apt-get?
16:50 beardedeagle joined #salt
16:51 MadHatter42 joined #salt
16:51 aphor murrdoc: https://github.com/saltstack/salt/issues/29159 <-- this is your fault ;)
16:51 saltstackbot [#29159]title: SMTP returner should use email library to compose RFC2822 returner messages. | Eventually there will be problems with encoding of data or the need to produce multipart MIME messages handling returner data. Instead of hand-crafting messages as strings, the SMTP returner should use the standard library email module to construct and control valid RFC2822 messages containing returner data....
16:51 rbjorklin murrdoc: FYI by specifying yaml_jinja I get some broken output atleast
16:51 murrdoc interesting
16:51 rbjorklin murrdoc: A bit strange as yaml_jinja is what the code should default to
16:52 murrdoc yaml_jinja is a parser
16:53 _JZ_ joined #salt
16:53 tuxx hey guys.. a question regarding ordering
16:53 jasonrm joined #salt
16:54 tuxx i want to provision my minions to use an apt-proxy before doing anything else
16:54 tuxx how can i ensure that?
16:54 onlyanegg joined #salt
16:54 murrdoc isnt the apt proxy conifig a file /
16:56 tuxx murrdoc: yes it is
16:57 pyropopt_ joined #salt
16:57 kitplummer joined #salt
16:58 djstorm joined #salt
16:58 murrdoc use file.managed to set it up ? and require it in your apt states
16:58 murrdoc so its there before apt-get runs
16:59 tuxx murrdoc: but then i have to manually do that each time?
16:59 aphor +1 requisites.
16:59 pyropop__ joined #salt
16:59 aphor explicit is better than implicit
16:59 tuxx i dont agree in all cases
16:59 murrdoc well the ordering is an implicit requisite
16:59 sunkist joined #salt
16:59 tuxx what if i awnt to remove the proxy.. then i have to remove it from the top file and also remove the requisits
16:59 murrdoc so u dont have to 'require'
16:59 tuxx also how do i know which package will be installed first? where do i place the requisit
17:01 brianfeister joined #salt
17:03 tuxx silence on the wire
17:04 murrdoc i mean i cant support panic
17:04 murrdoc :)
17:04 murrdoc but if you want walk through each scenario
17:04 murrdoc sure lets do this
17:04 murrdoc if u want to make sure apt-proxy is installed before apt-get runs
17:04 tuxx ye
17:05 murrdoc you can do that with including the state earlier then your first pkgrepo state
17:05 murrdoc and your first pacakge state
17:05 murrdoc when you want to remove it , change the file.managed to a file.absent
17:05 tuxx murrdoc: so that kind of ordering is ok?
17:05 murrdoc and it will work
17:05 tuxx then its fine
17:05 murrdoc yeah
17:05 tuxx great thx
17:05 murrdoc google ryan lane saltstack ordering youtube
17:06 murrdoc wait no bot up in here
17:06 tuxx murrdoc: looks interesting.. i'll def. check it out later
17:06 murrdoc acquire 'drink of choice' and watch https://www.youtube.com/watch?v=yBF055Ye3kg
17:06 tuxx thx mate
17:06 * murrdoc nods
17:10 CeBe joined #salt
17:10 ALLmightySPIFF joined #salt
17:11 brianfeister joined #salt
17:12 ALLmightySPIFF joined #salt
17:26 Bryson joined #salt
17:26 virusuy joined #salt
17:27 jaybocc2 joined #salt
17:28 kitplummer joined #salt
17:32 breakingmatter joined #salt
17:32 writtenoff joined #salt
17:37 quasiben joined #salt
17:38 jaybocc2 joined #salt
17:40 tmclaugh[work] joined #salt
17:41 brianfeister joined #salt
17:45 nethershaw joined #salt
17:47 subsignal joined #salt
17:51 giantlock joined #salt
17:52 justanotheruser joined #salt
17:52 impi joined #salt
17:54 larsfronius joined #salt
17:54 RandyT_ any windoze wranglers around that could share experience regarding using invoke-sqlcmd from salt states?
17:57 beardedeagle I am getting the following when hitting a webhook to update my docker instances: AttributeError: 'ReactWrap' object has no attribute 'docker'
17:57 beardedeagle I have the gist of all output and file here: https://gist.github.com/beardedeagle/5d4a42a54a096b0f0e40
17:58 beardedeagle most of this is ripped from another state of mine, which workes fine when ran directly
17:58 beardedeagle Unsure of where to go with it
17:59 murrdoc change the docker.running to module.run with name: docker.running
18:00 brianfeister joined #salt
18:02 saltstackbot [reddit-saltstack] Is there something I need to do configuration-wise to get custom events running? https://www.reddit.com/r/saltstack/comments/3u3s4b/is_there_something_i_need_to_do_configurationwise/ - 2015-11-24 - 17:58:02
18:02 moeyebus joined #salt
18:02 kitplumm_ joined #salt
18:02 onlyanegg joined #salt
18:02 RandyT_ I have no problem executing cmd.run to run these powershell functions, but running into issue where I need to load a powershell module and curious how others are handling that...
18:03 beardedeagle @murrdoc: no go, same error
18:04 bl4ckcontact joined #salt
18:04 numkem joined #salt
18:05 kitplummer joined #salt
18:05 otter768 joined #salt
18:05 murrdoc then u dont have a module called docker installed
18:05 murrdoc and u need to fix that
18:05 murrdoc :)
18:05 rotbeard joined #salt
18:07 whytewolf beardedeagle: update-rnvapi doesn't look like a reactor file it looks like a normal state file. it should be either cmd.docker.runner ect. with targets
18:10 beardedeagle gotcha
18:10 rotbart joined #salt
18:10 bl4ckcontact hey all, i'm having a rather difficult time figuring out why salt-cloud's openstack driver is unsuccessful in pulling generated passwords for windows instances on boot. is the documentation at https://salt.readthedocs.org/en/stable/topics/cloud/windows.html#configuration complete, and would someone mind giving me some pointers?
18:14 astro joined #salt
18:16 giantlock joined #salt
18:19 pdayton joined #salt
18:19 baweaver joined #salt
18:20 timoguin_ joined #salt
18:22 cberndt joined #salt
18:23 moeyebus_ joined #salt
18:26 denys joined #salt
18:32 astro anyone there ?
18:32 oherrala1 nope
18:33 astro ok then let me throw my question then
18:33 astro :D
18:37 jaybocc2 joined #salt
18:37 pdayton1 joined #salt
18:39 gerhardqux that was odd...
18:41 clintberry joined #salt
18:42 silicon_id joined #salt
18:43 kitplumm_ joined #salt
18:47 baweaver joined #salt
18:47 kitplummer joined #salt
18:49 kitplumm_ joined #salt
18:50 deus_ex joined #salt
18:56 voileux joined #salt
18:57 chenko joined #salt
18:57 ageorgop joined #salt
18:58 bl4ckcontact with salt-cloud's openstack driver, how does it pull the password for a windows instance that has win_password defined as 'auto'?
19:01 timoguin joined #salt
19:03 iggy bl4ckcontact: it relies on the info openstack returns for the instance... so that's not really a salt thing
19:04 onlyanegg joined #salt
19:04 bl4ckcontact so does it take the password thats created on instance creation?
19:04 breakingmatter joined #salt
19:05 iggy vm_['password'] = data.extra.get('password', None)
19:06 bl4ckcontact yeah, i was wondering about that... i know methods such as cloudbase takes an auto-generated password and unhashes it with the private key, so i was not sure if salt-cloud does the same thing
19:08 bl4ckcontact thank you iggy
19:08 murrdoc gbtw iggy
19:08 murrdoc :D
19:08 iggy I'm waiting on crappy slow systems
19:09 xmj don't we all
19:14 DammitJim joined #salt
19:15 forrest joined #salt
19:15 baweaver joined #salt
19:18 tpaul joined #salt
19:19 hightekvagabond joined #salt
19:24 linjan__ joined #salt
19:27 ponpanderer anyone had success with salt-cloud and 'use_winrm: True' in a profile? seems that it is still trying to use winexe "Running command under pid 10705: 'winexe -U \'Administrator%XXX-REDACTED-XXX\' //w.x.y.z "hostname"'
19:27 ponpanderer then it dies with 'Failed to authenticate against remote windows host
19:27 RandyT_ ponpanderer: you see my earlier response to you?
19:30 londo joined #salt
19:30 amcorreia joined #salt
19:30 ponpanderer RandyT_: Sorry, no I missed that. This definitely helps on the public IP question!
19:31 RandyT_ ponpanderer: cool, so on the issue of winexe...
19:31 RandyT_ version 1.0 of winexe cannot provision windows 2012R2 servers.
19:31 RandyT_ you will need to find a version marked as 1.1 which includes some support from samba4.
19:32 RandyT_ once you find that binary and follow the requirements int he doc, you should be good to go with windows provisioning
19:32 ponpanderer I am trying to use winrm in place of winexe though. with 'use_winrm' defined in the profile it still tries winexe
19:33 RandyT_ understood, can't help you there. Just thought that you might be going down the path of winrm given problems getting winexe to work.
19:34 ponpanderer i wrote the original gist that led to the pywinrm support exactly because of 2012R2 issues with winexe :) this actually worked nicely before but in 2015.8.1 seems ignored in the profile now
19:34 ponpanderer either way thanks for the point on AssociatePublicIpAddress!
19:35 RandyT_ ponpanderer: np
19:38 MindDrive joined #salt
19:38 twork joined #salt
19:40 toanju joined #salt
19:41 twork i just found the snippet of doc that i was CERTAIN i had read early on in my saltification, and for the life of me could not relocate.  ...and now i still can't make it work the way i think it should.  at: https://docs.saltstack.com/en/latest/ref/configuration/examples.html
19:41 saltstackbot [reddit-saltstack] Every time I turn around I am running into a new Salt bug https://www.reddit.com/r/saltstack/comments/3u48jw/every_time_i_turn_around_i_am_running_into_a_new/ - 2015-11-24 - 19:39:55
19:42 twork down near the end of the server section, the 'env_order:' entry.
19:43 twork i have in my master config file: env_order: ['dev', 'qa', 'prod']
19:44 GreatSnoopy joined #salt
19:44 twork ...but i still get an error about conflicting ID's when i try to go to highstate.
19:46 twork i'm not sure if i should switch to using multiple top files (the entry just before there in the config file, 'top_file_merging_strategy').  it seems like that would be contradictory.
19:46 * iggy curls up in a ball in the corner every time environments are mentioned
19:47 twork sorry iggy. i've made you curl up into that ball before.
19:47 moeyebus_ joined #salt
19:48 twork ...without really having any idea (at all) what i was doing.
19:48 quasiben joined #salt
19:48 shaggy_surfer joined #salt
19:49 twork what i really want to achieve is the technique described on page 4 of the tutorial, where dev-level configs can be overlays of the prod one.
19:52 twork so iggy or whoever... are environments broken? hard to understand/prone to upufckery? $other?
19:52 pdayton joined #salt
19:52 twork <- certainly so prone...
19:54 Vynce joined #salt
19:54 enigma99a joined #salt
19:56 enigma99a hey all... got a question, hopefully easy. I have a yml file that is generated by a minion, and I need variables out of it to put into a state template.
19:56 enigma99a what is the best way to read that off the minion?
19:57 justanotheruser joined #salt
19:57 twork (...uh... was saltstackbot's link supposed to answer my question? ...because if it was, the tutorial needs adjusting. and, i figure i'm probably the 4,092rd person to say so without offering that myself.)
19:58 Knuta enigma99a: are you reimplementing grains?
19:58 linjan__ joined #salt
19:59 racooper trying to install salt 2015.8 on SuSE 11 PL3.  was able to install salt and salt-minion, but salt-master (all from repo.saltstack.com) dies with "nothing provides dmidecode needed by salt-master-2015.8.1-217.10.x86_64"
20:00 enigma99a Knuta: no, so I have a yaml that generates and an IP is in there that I need so it can go somewhere else in the config.
20:00 enigma99a I could do a cmd.run via bash to extract out the IP, but I would need a place to store it
20:01 enigma99a unless the minion to create a grain?
20:01 justanot1eruser joined #salt
20:01 racooper as far as I can tell, dmidecode is not packaged for SuSE 11 PL3. however, the executable is on the box, but I can't figure out where it comes from.
20:05 racooper ah. it comes from a package called pmtools.
20:06 otter768 joined #salt
20:06 Knuta enigma99a: the IP addresses are already in the grains
20:07 forrest twodayslate, I don't think so, pretty sure it just grabs new posts
20:07 Knuta racooper: you could make a dummy-rpm which has no files, but depends on pmtools. That should bridge the dependency gap safely.
20:08 chamunks Is it possible to pass more than one salt master to the salt bootstrap scripts?
20:08 kofi_ray joined #salt
20:08 racooper that's one thought.  but the fact that the package is published in the first place on a version with a non-existent dependency is disappointing.
20:08 chamunks curl -L https://bootstrap.saltstack.com | sudo sh -s -- -A salt.master.com -A salt.master2.com -i $HOSTNAME git develop
20:08 kofi_ray left #salt
20:09 forrest twork, I'm not sure if envs are broken, what release are you on right now?
20:09 forrest There's https://github.com/saltstack/salt/issues/29104
20:09 saltstackbot [#29104]title: Merging Order warning | Waring:...
20:09 Egya-Koo joined #salt
20:10 kitplummer joined #salt
20:10 enigma99a Kunta: actually, they are not. It's data about the OpenStack environment I am setting up
20:10 beardedeagle @whytewolf: thanks for way above help. rewrote it to something simalar to my haproxy pull yesterday. working now.
20:10 Egya-Koo Hello Gurus . When will 2015.8.2 be released please ?
20:11 twork forrest: i am indeed behind a release or two. 2015.5.0 (does that sound right? reading from the bottom of the salt(1) manpage)
20:11 enigma99a can a salt state make have a minion store some custom data into grains? if so that would solve my problem
20:12 forrest twork do salt --version
20:12 forrest Egya-Koo, Was planned for this month, looking like it might be in December though
20:13 Egya-Koo forrest: Thanks
20:13 Gi0 joined #salt
20:13 forrest Egya-Koo, For sure
20:14 kitplumm_ joined #salt
20:14 twork oh yeah, duh... sorry. 'salt 2015.5.0 (Lithium)'  readingi that issue page now.
20:14 forrest twork, If you check the version and it is actually 2015.5.0, please update to at LEAST 2015.5.3, and I think they're actually up past that to like .7 or something for 2015.5
20:14 forrest twork, The 2015.5.0 release was busted as fuck.
20:15 quasiben1 joined #salt
20:15 whytewolf enigma99a: I build my own openstack setup with salt. and never had to do anything like you are describing. so what exactly are you trying to accomplish?
20:15 chamunks Any takers for my bootstrap question?
20:15 twork forrest: that actually pleases me to read. it makes me wonder if i'm less busted as fuck myself that i've been fearing
20:16 twork i go to upgrade. thanks much, as always.
20:16 kitplummer joined #salt
20:16 enigma99a whytewolf: I'm using Helion Openstack, and it runs Ansible scripts as part of the deployment. It then automatically generates the VSA cluster IP, that IP needs to go into the cinder config
20:16 forrest twork, You got it.
20:17 aphor enigma99a: well, for a few more moths you are...
20:17 whytewolf enigma99a: oh fun. so it is an external ip on a server that is unmanaged by salt
20:18 whytewolf enigma99a: well to set grains using states look at https://docs.saltstack.com/en/latest/ref/states/all/salt.states.grains.html
20:18 otter768 joined #salt
20:19 enigma99a yea horrible, but grains looks like it should help
20:19 enigma99a thanks
20:19 whytewolf also. grains set by states will not be avalible until the next run [or the next step of an orch]
20:20 edrocks joined #salt
20:21 Diaoul joined #salt
20:21 Egya-Koo One last question, creating a NAT instance in AWS using salt-cloud. My question is, I will like to somehow capture the instance or interface id and automatically add it to the above .
20:21 Egya-Koo https://paste.fedoraproject.org/294153/14483964/
20:22 murrdoc joined #salt
20:23 Egya-Koo VPC is all configured with salt but I somehow need help in capturing the interface id and the add it the route table
20:23 jhauser joined #salt
20:23 chamunks For example if I were to bootstrap a minion with the following "curl -L https://bootstrap.saltstack.com | sh -s -- -A salt.master.com -A salt.master2.com -i $HOSTNAME git develop" would it be able to sort out that I want two masters?
20:23 Egya-Koo either interface_id or instance_id
20:24 chamunks Seems the answer is no.
20:24 Egya-Koo at the moment, I wait for the NAT instance to come ip and then add these to the routing tables
20:25 Egya-Koo But just want to start the NAT, get those detailas and then add it to the routing tables;-)
20:25 Egya-Koo everythinbg else looks good so far
20:25 Egya-Koo and using salt for AWS is dead easy
20:26 Egya-Koo will keep hacking it but any help will be nice
20:26 chamunks I feel bloody invisible in this channel sometimes.
20:26 chamunks afk
20:26 Egya-Koo this is awesome https://docs.saltstack.com/en/develop/ref/states/all/salt.states.boto_vpc.html
20:27 RandyT_ Egya-Koo: this is on my list of things to do, but I cannot tell you much more than it appears this will require using boto to make the connection
20:28 Egya-Koo RandyT_: thanks so much.
20:28 RandyT_ Egya-Koo: this will give you some of the ec2 info you need though. in grains
20:28 RandyT_ https://github.com/saltstack/salt-contrib/blob/master/grains/ec2_info.py
20:29 RandyT_ Egya-Koo: this may also give some hints. https://github.com/saltstack/salt-contrib/blob/master/modules/aws_elb.py
20:30 RandyT_ ran across that looking for the ec2_info
20:30 justanotheruser joined #salt
20:32 Norrland Egya-Koo: for AWS VPC and NAT instances I've used elastic interfaces that's always attached to a route-table. Then when my instance is available, a local script runs which attaches the interface to the new instance.
20:32 Norrland Egya-Koo: not much to do with salt though.
20:34 Egya-Koo Norrland:: Cheers
20:34 tpaul Is there a consistent way to map a module to it's SLS file format?  For example how would I use the rdp module in an sls file?
20:35 justanot1eruser joined #salt
20:37 Guest47941 joined #salt
20:38 whytewolf tpaul: simple look for states modules when building sls files. exacution modules are for cli [hint not all exacution modules have corasponding state modules] https://docs.saltstack.com/en/latest/ref/states/all/salt.states.rdp.html
20:38 Norrland Egya-Koo: NAT is a mess. Networking in VPC is a mess.. Depending on what you're used to from before.
20:38 tpaul whytewolf: ahh that hint is very helpful, thanks
20:39 whytewolf tpaul: basicly https://docs.saltstack.com/en/latest/salt-modindex.html is your friend. salt.states.* are state modules. and salt.modules.* are exacution modules
20:40 toanju joined #salt
20:41 whytewolf tpaul: also sys.doc [exacution modules] and sys.state_doc [state modules] for documentation on the command line
20:42 Egya-Koo Norrland: yeah it was battle initially but seems to be working alright now. I hope ;-)
20:42 whytewolf salt really does have way to many ways to RTFM
20:42 Egya-Koo yeah I agree
20:43 RandyT_ was just marveling that every time I open the doc, I stumble across something else...
20:43 tmclaugh[work] joined #salt
20:43 Egya-Koo VPC is up now in 2 diff AZs with subnets associated etc
20:43 Egya-Koo got 2 regions all hooked up via openswan
20:43 sfxandy hi everyone
20:44 Egya-Koo this NAT thing is a PITA but not a big deal
20:44 whytewolf RandyT_: lol. I have been tweeking salt configs for a couple of years now and STILl find new things that have been in since the early days
20:44 sfxandy playing around with Salts event bus - and wondered what the best way to detect a highstate finishing via the event bus?  any ideas...
20:44 Egya-Koo trying to install NAT instance as well as set up a VPC all via salt
20:44 Egya-Koo hahahaha
20:45 Egya-Koo rocking so far man ...
20:45 Egya-Koo not a big deal
20:45 RandyT_ Egya-Koo: I have similar setup... just spending way too much time trying to sort out Windows mysteries to get back to the fun stuff...
20:46 Egya-Koo lucky you
20:46 tmclaugh[work] joined #salt
20:46 Egya-Koo RandyT_: people still use windows ?
20:46 RandyT_ little voice on my shoulder getting louder... would have been faster to figure out how to get us off of Windoze...
20:46 Egya-Koo hahahaha
20:47 RandyT_ Afraid so....
20:47 Egya-Koo RandyT_: Arch all the way
20:47 RandyT_ no resistance on my part...
20:48 baweaver joined #salt
20:48 protoz joined #salt
20:48 RandyT_ have this little issue of existing technology stack to deal with first...
20:48 clintberry joined #salt
20:49 kitplumm_ joined #salt
20:49 tmclaugh[work] joined #salt
20:51 kitplummer joined #salt
20:53 kitplum__ joined #salt
20:55 kitplumm_ joined #salt
20:57 moogyver joined #salt
20:59 gimpy2938 joined #salt
20:59 onlyanegg joined #salt
21:01 aidalgol joined #salt
21:01 techblaze joined #salt
21:02 moeyebus joined #salt
21:06 gimpy2938 pkg.installed on CentOS calls `yum -q check-update` even when installing from local RPM, is there a way to not have it do that?
21:06 murrdoc refresh: false
21:07 shaggy_surfer joined #salt
21:08 gimpy2938 murrdoc: Uhg, missed that option in doc, thanks
21:08 murrdoc that will cost u
21:08 murrdoc (not reading the docs that is :) )
21:08 gimpy2938 I skimmed the doc....close enough
21:13 zmalone joined #salt
21:15 keimlink joined #salt
21:18 JPaul completely stumped. How can I check if a value is in a list in a grain item? example, trying to check grains['servertype'] for "db" in a sls file to include a conf file. The custom grain is setup correctly but I can't match against it in the sls file
21:19 JPaul grains['servertype'] includes "web" and "db" in it
21:19 sfxandy JPaul - is it not something like if 'db' in grains['servertype']
21:19 notnotpeter 2015.8.2 has been up on PyPi for a little over a week.  Is there a consensus when it'll be properly released (binaries, etc)
21:21 JPaul @sfxandy apparently not, I tried that and when I use that syntax the jinja interpreter gets all kinds of mad
21:22 sfxandy can you paste up your state in pastebin or somewhere?
21:22 JPaul sure, one sec
21:23 tmclaugh[work] joined #salt
21:24 jhauser joined #salt
21:24 JPaul http://pastebin.com/w0CtRNBp
21:25 JPaul and this is what it spits back when I try to run it: http://pastebin.com/SHemigmW
21:26 techblaze joined #salt
21:27 sfxandy and grains['servertype'] == 'db' doesnt work either?
21:28 JPaul nope. it'll compile the sls, but it won't match the grain
21:28 quasiben joined #salt
21:28 sfxandy what does grains['servertype'] look like?
21:29 otter768 joined #salt
21:29 Egya-Koo left #salt
21:30 hightekvagabond joined #salt
21:30 JPaul mon1:
21:30 JPaul ----------
21:30 JPaul servertype:
21:30 JPaul - web
21:30 JPaul - db
21:30 RandyT_ question regarding salt internals: https://github.com/saltstack/salt/blob/develop/salt/modules/mssql.py
21:31 JPaul and I can match it from the command line with this: -C 'G@servertype:db and mon1'
21:31 sfxandy in the pastebin, your /etc/nagios/nrpe.d/nrpe_mysql.cfg appears to be indented by one space......
21:31 JPaul it's just in the sls I am having trouble
21:31 RandyT_ trying to get this module working. Erroring out with "'mssql' __virtual__ returned False"
21:31 sfxandy JPaul, is it an indentation issue inside the if block?
21:31 conan_the_destro joined #salt
21:31 RandyT_ seems to tell me that I am missing some python modules. even though I know I have installed both dependencies on the master.
21:31 sfxandy everything appears indented by one space...
21:32 JPaul >.<
21:32 JPaul apparently so
21:32 sfxandy :D
21:32 RandyT_ does this code also need to exist on the minion in order to execute?
21:32 JPaul took out the extra space and whaddayano
21:32 hightekvagabond joined #salt
21:32 sfxandy the errors you pasted kinda give it away
21:32 whytewolf RandyT_: module dependencies need to be on the system they are running on
21:32 whytewolf aka the miion
21:32 JPaul thanks for catching that
21:32 whytewolf minion
21:32 sfxandy np JPaul
21:33 RandyT_ whytewolf: thanks, was not sure if tht was the case or not...
21:33 JPaul got to love little things like that
21:33 * sfxandy smirks
21:33 sfxandy i know, its caught me out loads of times
21:33 sfxandy you;re always looking for an error in your state or something silly in Jinja .....
21:35 JPaul now I have more to look for when I'm having issues. thanks again for the help sfxandy and have a good rest of the week.
21:35 whytewolf JPaul: know I am a little late, as your have the answer. but a little about the why. when it wasn't matching the state wasn't showing up [jinja is rendered before the yaml is parsed] so the error didn't exist cause the jinja was rendering it out
21:35 sfxandy you too JPaul, thats what we're all here for.  a second pair of eyes is often invaluable
21:37 sfxandy yeah whytewolf thats why he didn't get the error when he was trying grains['servertype'] =='db' as that effectively rendered out that erroneous state
21:39 indispeq joined #salt
21:40 pdayton joined #salt
21:42 baweaver joined #salt
21:43 spiette joined #salt
21:49 RandyT_ I have a case where salt minionname system.reboot just returns False.
21:49 RandyT_ any hints as to why?
21:50 liskl joined #salt
21:55 larsfronius joined #salt
21:59 indispeq_ joined #salt
22:01 edrocks joined #salt
22:04 moogyver joined #salt
22:09 hal58th Tried to restart the mininon manually RandyT_ ? Check syslog?
22:10 tpaul Anyone using winrepo with any success? Last time I tried it (2 years ago) I had issues, decided to try again today... still having issues. I'm hoping they're my own stupid fault
22:10 tpaul http://pastebin.com/NjcScN2b
22:11 tpaul After refreshing the DB, the minion doesn't see the packages
22:12 RandyT_ tpaul: using it with some success. What does your master config look like for winrepo?
22:12 RandyT_ also, have you salt-run winrepo.update_git_repos
22:12 tpaul Do you have to use git_repos? I'm just trying it with a local repo
22:13 tpaul master conf: http://pastebin.com/Z8jCj61f
22:14 RandyT_ fair point. I suspect you can use your own, what version of minions?
22:14 RandyT_ I note that there is a "ng" format for the repo...
22:15 RandyT_ also note that I discovered that the repo needs to live somewhere under file_roots
22:15 tpaul I'm stuck with 2015.5.5 (latest in EPEL 6)
22:15 tpaul ahh that may be my problem (file_roots)
22:16 tpaul minion and master are both that version btw
22:16 RandyT_ yeah, was bitten by that issue.
22:16 tpaul Thanks for the hint, I will give that a try
22:16 RandyT_ you can either move the repo under your fileroots or point another path to include it
22:17 RandyT_ tpaul: np
22:17 RandyT_ tpaul: since I see you are suffering the windoze issue, any experience getting the mssql module to work?
22:25 tpaul No sorry, I don't think I'll have to get into that anytime soon
22:28 zmalone joined #salt
22:29 beardedeagle joined #salt
22:33 baweaver joined #salt
22:36 colinstgeorge_ yo dudes... to my master (on the internet) i have 4506 and 4505 open (and natted)...
22:37 clintberry joined #salt
22:37 colinstgeorge_ last week, i was able to install salt-minion on a remote host and it checked in with test.ping
22:37 colinstgeorge_ magic
22:37 colinstgeorge_ now, I can't get any remote minions to check back in
22:38 colinstgeorge_ i get Minion did not return. [Not connected]
22:39 hightekvagabond joined #salt
22:40 _habnabit joined #salt
22:41 _habnabit when using pip_state in 2014.7 (yes, i know it's old), is there a way to pass arbitrary flags to pip? there's no parameter for pip install --constraint
22:42 quasiben joined #salt
22:48 mosen joined #salt
22:51 colinstgeorge_ got it with debug mode... wrong cert.. moved to different masetr (me being stupid) sorry for spam!
22:53 _habnabit oh okay cool https://github.com/saltstack/salt/blob/v2014.7.8/salt/modules/pip.py just mashes up a bunch of strings and splits on spaces, so i just have to pick one of these arguments that doesn't use !r and smuggle my flags in
22:56 __number5__ _habnabit: lol, smart hack
22:56 _habnabit __number5__, i am so glad we're finally switching to ansible
22:57 kitplummer joined #salt
22:57 __number5__ _habnabit: to or from? since this is not #ansible
22:57 _habnabit __number5__, to! this is one of the last things that needs salt
23:02 mapu_ joined #salt
23:04 perfectsine joined #salt
23:04 giantlock joined #salt
23:06 LeProvokateur joined #salt
23:07 fsteinel joined #salt
23:08 ekleog joined #salt
23:08 otter768 joined #salt
23:14 Vynce joined #salt
23:17 beardedeagle can a minion tell the master to kick off a state.sls?
23:17 beardedeagle having issues with getting jenkins saltstack plugin to work
23:17 murrdoc yes
23:17 murrdoc look into event.fire_master
23:18 babilen or just use salt-call state.sls
23:18 Gareth anyone using kitchen-salt or an alternative to it?
23:18 babilen (depending on what you ewant)
23:22 RandyT_ I'm sitting on my windows minion running salt-minion -l debug
23:22 RandyT_ running salt-call mssql.db_list in another window.. absolutely nothing logged on the minion
23:23 notnotpeter I usually just run salt-call -l debug or -l trace
23:23 RandyT_ salt-call returning 'mssql' __virtual__ returned False
23:23 techblaze joined #salt
23:24 RandyT_ notnotpeter: thanks, that was the hint I needed...
23:24 notnotpeter :D
23:27 RandyT_ getting complaints about a number of missing modules for python, but even after a pip install, same errors persist
23:28 debian112 left #salt
23:29 murrdoc did u reboot the network
23:30 RandyT_ murrdoc: what do you mean? net start/stop?
23:30 murrdoc i mean an absolutely terrible recommendation
23:30 murrdoc does the module u want load in cli
23:30 tmclaugh[work] joined #salt
23:30 murrdoc like if u do python -e 'import <name>'
23:30 murrdoc or whatever it is
23:30 teryx510 joined #salt
23:32 RandyT_ here is the error log I am seeing : https://gist.github.com/rterbush/906902b486143d25da4d
23:34 RandyT_ "unknown option -e" :-)
23:34 murrdoc damnit
23:35 murrdoc its python -c
23:35 Aleks3Y joined #salt
23:35 murrdoc python -c 'import libnacl'
23:37 RandyT_ so that indicates that I don't have the libsodium, or nacl lib on the system, which is true.
23:38 RandyT_ not sure that is really the issue here...
23:38 RandyT_ https://github.com/saltstack/salt/blob/develop/salt/modules/mssql.py
23:38 RandyT_ that code indicates FreeTDS and pymssql required
23:38 RandyT_ import of pymssql seems to work
23:39 murrdoc 'mssql' __virtual__ returned False
23:39 murrdoc python -c 'import pymssql'
23:40 breakingmatter joined #salt
23:41 RandyT_ works
23:43 RandyT_ so no import errors there, I would expect try: to return True and off I am running
23:44 babilen Installed/Tested on master or minion? Restarted after installing?
23:45 murrdoc yeah install on the minion
23:45 murrdoc Gareth:  u around
23:45 murrdoc this is my last schedule question
23:45 murrdoc and then u can start charging me
23:45 RandyT_ babilen: winua.get_needs_reboot on minion indicates it does not need a reboot... but rebooting now for the fun
23:46 RandyT_ I've tried running this from the master, and am now on minion trying to run it with salt-call
23:46 murrdoc but uh did u try the python -c
23:47 babilen .. on the minion ?
23:47 RandyT_ murrdoc: of the import pymssql, yes. worked. no errors
23:47 beardedeagle @murdoc: sorry I should be more clear, can a minion tell the master to kick off a state.sls against a minion glob
23:47 RandyT_ babilen: yes, on the minion
23:47 babilen RandyT_: And you rstrted the *minion* (not the box, that would be ludicrous) after installing those modules?
23:48 babilen i.e. the salt-minion service
23:48 RandyT_ babilen: I assumed the ludicrous.... and rebooted the box
23:48 RandyT_ so yes, minion has been restarted, same error
23:49 RandyT_ still seeing the same loading module errors as shown in the gist, but not clear if any of those are relevant to this issue.
23:50 RandyT_ ran the import of pymssql to confirm and it imports without error
23:51 whytewolf RandyT_: I missed the gist. can you repost it?
23:51 beardedeagle Getting the following issue when using the jenkins saltstack plugin to kick off a state.sls OR state.apply https://gist.github.com/beardedeagle/b0a82082ed8b7d3f8142
23:51 RandyT_ https://gist.github.com/rterbush/906902b486143d25da4d
23:53 whytewolf RandyT_: by any chance is salt running in a virtualenv on your minion?
23:53 RandyT_ whytewolf: no
23:54 whytewolf RandyT_: strange. cause the only reason that minion gives for __virtual__ returning false is pymssql not being able to be imported.
23:55 onlyanegg joined #salt
23:57 RandyT_ how does python determine module loading path?
23:57 Gareth murrdoc: I am.
23:57 RandyT_ does it use PATH?
23:57 hemebond RandyT_: PYTHONPATH
23:58 hemebond And PATH too
23:58 hemebond I think.
23:59 murrdoc Gareth:  if i want to schedule a runner on the master
23:59 murrdoc i have to use the master conf (makes me sad)
23:59 Gareth murrdoc: yeah. we talked about yesterday :)

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