Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-03-11

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

All times shown according to UTC.

Time Nick Message
00:00 ecdhe joined #salt
00:01 Muchoz joined #salt
00:02 flowstate joined #salt
00:03 kliquori joined #salt
00:08 antpa joined #salt
00:09 phila joined #salt
00:09 whatapain joined #salt
00:10 mdasilva joined #salt
00:11 euidzero joined #salt
00:12 linovia What could make my formula with docker fail with State 'docker.pulled' was not found in SLS / Reason: 'docker.pulled' is not available.
00:13 saywhat joined #salt
00:13 gtmanfred first, you should go use the dockerng module, since the regular docker module is going to be deprecated for the stuff in dockerng
00:13 gtmanfred second, do you have the docker python module installed?
00:13 gtmanfred sometimes the easiest way to see why it is failing is to try running salt-call docker.<func> and see if it stack traces for some reason?
00:13 linovia gtmanfred: thanks ! will see for #1 and ensure I have #2
00:14 gtmanfred no problem :)
00:14 gtmanfred i gotta go watch basketball, cause my team just started playing o/
00:15 linovia gtmanfred: enjoy the match !
00:16 brianvdawson joined #salt
00:17 whatapain I'd like to create a dynamic iptables ruleset using a sls and jinja templating while reading values from an external datastore such as redis.  Does anyone have any recommendations on the best way to go about what i'm trying to do?  Should I use just jinja templating or is this a good reason to use ext_pillars?
00:17 brianvdawson left #salt
00:17 bmac2 joined #salt
00:17 digitalhero joined #salt
00:21 whatapain oh cool, looks like there's already a redis pillar
00:21 * whatapain investigates
00:23 brianfeister joined #salt
00:28 digitalhero joined #salt
00:28 linovia gtmanfred: thanks a lot, I needed both of your advices to get it working
00:28 flowstate joined #salt
00:28 gtmanfred :) awesome!
00:28 gtmanfred o/ shooty hoops time
00:31 fracklen joined #salt
00:32 justanotheruser joined #salt
00:36 cliluw joined #salt
00:38 dkrae joined #salt
00:39 ecdhe joined #salt
00:45 digitalhero joined #salt
00:47 favadi joined #salt
00:53 antpa joined #salt
00:58 iceyao joined #salt
00:59 iceyao_ joined #salt
01:04 antpa joined #salt
01:05 antpa joined #salt
01:05 antpa joined #salt
01:06 antpa joined #salt
01:07 antpa joined #salt
01:08 antpa joined #salt
01:08 antpa joined #salt
01:09 antpa joined #salt
01:10 antpa joined #salt
01:11 antpa joined #salt
01:11 antpa joined #salt
01:12 antpa joined #salt
01:12 antpa joined #salt
01:13 fracklen joined #salt
01:13 antpa joined #salt
01:14 antpa joined #salt
01:14 antpa joined #salt
01:15 antpa joined #salt
01:15 antpa joined #salt
01:16 antpa joined #salt
01:17 antpa joined #salt
01:17 antpa joined #salt
01:17 bhosmer_ joined #salt
01:18 antpa joined #salt
01:18 baweaver joined #salt
01:19 antpa joined #salt
01:19 akhter joined #salt
01:19 antpa joined #salt
01:20 antpa joined #salt
01:20 ericsysmin is there a way to define default pillar data in a formula?
01:20 ericsysmin in which then users can override by providing pillars
01:20 digitalhero joined #salt
01:20 antpa joined #salt
01:21 antpa joined #salt
01:22 antpa joined #salt
01:22 antpa joined #salt
01:23 antpa joined #salt
01:23 antpa joined #salt
01:24 antpa joined #salt
01:25 antpa joined #salt
01:25 antpa joined #salt
01:26 antpa joined #salt
01:28 favadi joined #salt
01:28 antpa joined #salt
01:29 flowstate joined #salt
01:29 antpa joined #salt
01:29 antpa joined #salt
01:30 antpa joined #salt
01:31 quasiben joined #salt
01:37 ahammond so... our stash server crashed. we're using gitfs for formula  and pillars. How can I get salt to relax and just use the cached versions until our stash server is back in the game?
01:37 gtmanfred ericsysmin: that is what the map.jinja files are for
01:38 gtmanfred ericsysmin: https://github.com/saltstack-formulas/uwsgi-formula/blob/master/uwsgi/map.jinja#L7
01:38 baweaver joined #salt
01:38 gtmanfred that is an example of merging the jinja with pillar data
01:38 gtmanfred they should all have one of those
01:39 catpig joined #salt
01:39 ahammond or... is there a way to tune the frequency of the gitfs fetches?
01:41 quasiben joined #salt
01:42 cliffstah joined #salt
01:47 nZac joined #salt
01:50 euidzero joined #salt
01:52 jmedinar joined #salt
01:53 ericsysmin yea  lots of them are missing this
01:53 ericsysmin {% set uwsgi = salt['pillar.get']('uwsgi', {
01:53 ericsysmin and have something like this {% set uwsgi = salt['grains.filter_by']({
01:54 kliquori joined #salt
01:54 majikman joined #salt
01:54 fracklen joined #salt
01:55 ecdhe joined #salt
01:56 jmedinar Can anyone please explain me how can I copy a file from the minion to the master from a reactor? ... I am calling the salt-call event.send from the minion to execute the reactor after a backup is completed and I want the master to move the file out of the minion I already tried the file.cp but is not working so I am trying to run an SCP from the reactor as follows
01:56 jmedinar retrieve_file:
01:56 jmedinar local.cmd.run:
01:56 jmedinar - tgt: 'master'
01:56 jmedinar - arg:
01:56 jmedinar - 'scp {{ grains.fqdn }}:/tmp/test1 /sysadm/rca/ '
01:56 jmedinar ~
01:56 ericsysmin !pastebin
01:56 jmedinar and calling from the minion as follows
01:56 jmedinar salt-call event.send 'salt/external/move/forensic' $(hostname -f)
01:57 jmedinar 1 question is ... how can I figure the hostname from within the master...
01:57 jmedinar 2 how can I access the second item on the arg list ?
01:58 jmedinar {{ tag[2] }} is what I will expect
02:01 gtmanfred jmedinar: did you turn on the setting on the master that enables the cp.push  from the minion to the master cache?
02:02 gtmanfred first, please use a pastebin for multiline pastes
02:03 gtmanfred please don't pm me
02:03 gtmanfred jmedinar: salt-cp is specifically for this https://docs.saltstack.com/en/latest/ref/cli/salt-cp.html though i don't know that it is available from the reactor
02:03 iggy ericsysmin: they are there, the map.jinja's aren't all consistent
02:04 gtmanfred jmedinar: please don't pm me, and keep it in this channel
02:04 iggy ericsysmin: I personally like the postgres-formula as an example
02:05 jmedinar salt-cp seem to copy copies a local file out to minions
02:05 jmedinar but not the other way arround
02:05 gtmanfred oh, that may be true
02:05 gtmanfred but yeah
02:05 gtmanfred where are you looking for the file that you do cp.push from the minion for
02:05 sjmh joined #salt
02:05 gtmanfred and how are you validating that it doesn't work
02:06 kliquori joined #salt
02:06 gtmanfred it should put it in /var/cache/salt/master/minion/<minion_id>/something
02:06 gtmanfred i think something is the path you sent it from
02:06 nZac joined #salt
02:06 zmalone joined #salt
02:07 jmedinar salt minion cp.push_dir /etc/ glob='test*' upload_path='/destination'
02:07 jmedinar that is suppose to place the file under the upload_path
02:07 nZac joined #salt
02:08 gtmanfred can you check the cachedir?
02:08 jmedinar sure
02:08 gtmanfred i think it should place it in the minion cachedir on the master
02:08 gtmanfred so like /var/cache/salt/master/minions/
02:08 gtmanfred something under there
02:08 gtmanfred and not on the root of the filesystem
02:08 gtmanfred yeah
02:09 gtmanfred in the details of the functino
02:09 gtmanfred it puts it in `/var/cache/salt/master/minions/minion-id/files`
02:09 jmedinar # ls /var/cache/salt/master/minions/_uat_shared_app_dal9_gz_blc_/
02:09 jmedinar data.p  mine.p
02:09 gtmanfred or your cache dir
02:09 gtmanfred what version of salt are you on?
02:09 jmedinar salt 2015.8.7 (Beryllium)
02:11 nZac_ joined #salt
02:12 bhosmer_ joined #salt
02:12 jmedinar I also tried the cp.push
02:12 nZac joined #salt
02:13 favadi joined #salt
02:14 iceyao joined #salt
02:14 jmedinar salt _uat_shared_app_dal9_gz_blc_ cp.push /etc/test1
02:14 jmedinar _uat_shared_app_dal9_gz_blc_:
02:14 jmedinar False
02:16 CeBe joined #salt
02:16 gtmanfred root@deb:~/salt# find /var/cache/salt/master/minions/deb.gtmanfred.com/files/
02:16 gtmanfred /var/cache/salt/master/minions/deb.gtmanfred.com/files/
02:16 gtmanfred /var/cache/salt/master/minions/deb.gtmanfred.com/files/etc
02:16 gtmanfred /var/cache/salt/master/minions/deb.gtmanfred.com/files/etc/fstab
02:16 gtmanfred works here
02:16 gtmanfred on 2015.7
02:16 gtmanfred did you restart the salt master after you set file_recv: True in /etc/salt/master ?
02:16 t0m0 joined #salt
02:16 gtmanfred 2015.8.7*
02:16 jmedinar yup just got it to work
02:16 jmedinar after a restart
02:16 gtmanfred cool
02:17 jmedinar but is not the first restart I tried
02:17 jmedinar and I was running on debug mode
02:17 gtmanfred ¯\(°_o)/¯ can't know
02:18 iceyao_ joined #salt
02:19 jmedinar thanks a lot for your help
02:20 michelangelo joined #salt
02:20 racooper joined #salt
02:21 west575 joined #salt
02:23 digitalhero joined #salt
02:26 t0m0 joined #salt
02:28 iceyao joined #salt
02:29 flowstate joined #salt
02:29 oajara joined #salt
02:31 digitalhero joined #salt
02:32 euidzero joined #salt
02:32 valentin2105 joined #salt
02:32 digitalh_ joined #salt
02:33 valentin2105 Hi, do someone use Salt-Cloud with Scaleway ?
02:36 fracklen joined #salt
02:37 kliquori joined #salt
02:38 digitalhero joined #salt
02:38 valentin2105 The ARM Repo of Salt look wrong when I bootstrap an VM
02:50 ericsysmin question, in this template, the value dbsocket, where would it assume that value? https://github.com/saltstack-formulas/zabbix-formula/blob/34c5e990efefadd9a4b5f2c1fb9bf46d5875320d/zabbix/files/default/etc/zabbix/zabbix_server.conf.jinja
02:51 ericsysmin cause it's not in the pillar, but it is in map.jinja but map.jinja isn't called
02:52 kliquori joined #salt
02:56 catpigger joined #salt
02:57 zmalone joined #salt
02:59 mr_chris joined #salt
03:02 brianfeister joined #salt
03:04 brianfeister joined #salt
03:08 jmedinar how can I ensure one function waits for the previous one to continue?
03:08 jmedinar or in other words is there delay?
03:10 iggy ericsysmin: it would come from the pillar data... there isn't an example in the pillar.example file
03:10 digitalhero joined #salt
03:11 favadi joined #salt
03:12 XenophonF ericsysmin: looks like a bug in the template, because the default value of dbsocket (the Jinja variable) isn't defined
03:13 XenophonF ericsysmin: then again, when viewed in context, it becomes clear: https://github.com/saltstack-formulas/zabbix-formula/blob/master/zabbix/server/conf.sls
03:13 XenophonF line 17
03:13 XenophonF https://github.com/saltstack-formulas/zabbix-formula/blob/master/zabbix/server/conf.sls#L17
03:14 XenophonF the dbsocket jinja variable gets defined in the file.managed state context
03:14 XenophonF and that value comes from zabbix.server.dbsocket, which gets defined in zabbix/map.jinja
03:15 XenophonF https://github.com/saltstack-formulas/zabbix-formula/blob/master/zabbix/map.jinja#L15
03:15 XenophonF it's kind of a roundabout method for setting that variable's default value
03:17 XenophonF i personally prefer to include map.jinja in my template files, as that makes the dataflow a little clearer
03:18 fracklen joined #salt
03:21 hal58th joined #salt
03:21 help joined #salt
03:23 jmedinar I am trying to have some delay between a copy and a remove of a file ... the require: doesnt seem to be working in reactors
03:23 jmedinar http://pastebin.com/3E63hY63
03:24 capricorn_1 joined #salt
03:25 subsignal joined #salt
03:25 dopey_ joined #salt
03:25 SirLagz_ joined #salt
03:26 colttt_ joined #salt
03:27 zmalone joined #salt
03:29 jab416171_ joined #salt
03:30 flowstate joined #salt
03:37 sarlalian joined #salt
03:39 RobertChen117 joined #salt
03:39 RobertChen117 I found a bug in saltstack and I have a fix, how can I submit for approve ?
03:39 euidzero joined #salt
03:40 hasues joined #salt
03:44 hasues left #salt
03:45 sarlalian joined #salt
03:47 sarlalian joined #salt
03:51 iggy https://docs.saltstack.com/en/latest/topics/development/contributing.html
03:57 antpa joined #salt
03:58 antpa joined #salt
03:58 sarlalian joined #salt
03:58 RobertChen117 joined #salt
03:58 malinoff joined #salt
03:58 antpa joined #salt
03:59 sarlalian joined #salt
03:59 antpa joined #salt
04:00 antpa joined #salt
04:00 fracklen joined #salt
04:00 antpa joined #salt
04:01 antpa joined #salt
04:02 antpa joined #salt
04:02 antpa joined #salt
04:02 iceyao joined #salt
04:03 antpa joined #salt
04:04 antpa joined #salt
04:04 iceyao_ joined #salt
04:04 antpa joined #salt
04:05 antpa joined #salt
04:05 dendazen joined #salt
04:06 antpa joined #salt
04:06 antpa joined #salt
04:07 antpa joined #salt
04:08 antpa joined #salt
04:08 antpa joined #salt
04:09 antpa joined #salt
04:10 antpa joined #salt
04:10 antpa joined #salt
04:10 virtualguy joined #salt
04:11 antpa joined #salt
04:11 virtualguy does anyone have any experience using globbing to match minions in pillar/top.sls?
04:12 antpa joined #salt
04:12 virtualguy 'scanner-10[12,15]*': matches minion id scanner-1014.example.com when I wouldn't expect it to
04:12 antpa joined #salt
04:13 antpa joined #salt
04:13 antpa joined #salt
04:14 tweakism that's not how [] works
04:14 antpa joined #salt
04:14 tweakism [] works like a char class in a regex
04:14 tweakism so the match makes sense.
04:14 tweakism in a shell glob, you'd use {} to do what you want
04:15 antpa joined #salt
04:15 tweakism but I don't think you can do that in salt 'cause I beleive it uses python's fnmatch for the globbing
04:15 tweakism and it doesn't support it
04:15 virtualguy ah i see, that makes perfect sense
04:15 antpa joined #salt
04:16 antpa joined #salt
04:17 antpa joined #salt
04:18 bhosmer joined #salt
04:18 antpa joined #salt
04:18 virtualguy on another note, is there an easy way to provide a list of minions and assign them to a group. I looked at nodegroup but i'd rather have in in top.sls than the master config file
04:18 antpa joined #salt
04:19 flowstate joined #salt
04:19 tweakism I think the only way is in the master config, unfortunately
04:19 antpa joined #salt
04:19 antpa joined #salt
04:20 antpa joined #salt
04:21 antpa joined #salt
04:22 antpa joined #salt
04:23 antpa joined #salt
04:23 iggy use comma separated id's with `- match: list` ?
04:23 antpa joined #salt
04:24 antpa joined #salt
04:24 antpa joined #salt
04:25 antpa joined #salt
04:26 antpa joined #salt
04:26 antpa joined #salt
04:27 antpa joined #salt
04:27 antpa joined #salt
04:28 antpa joined #salt
04:29 antpa joined #salt
04:29 antpa joined #salt
04:30 flowstate joined #salt
04:30 antpa joined #salt
04:31 antpa joined #salt
04:31 antpa joined #salt
04:32 antpa joined #salt
04:32 antpa joined #salt
04:33 writtenoff joined #salt
04:33 antpa joined #salt
04:34 antpa joined #salt
04:35 antpa joined #salt
04:35 antpa joined #salt
04:36 antpa joined #salt
04:37 antpa joined #salt
04:37 subsignal joined #salt
04:37 antpa joined #salt
04:38 flowstate joined #salt
04:38 antpa joined #salt
04:39 Guest60167 joined #salt
04:39 antpa joined #salt
04:39 antpa joined #salt
04:40 antpa joined #salt
04:41 Guest60167 Hi
04:41 antpa joined #salt
04:41 Guest60167 I am trying to install salt-master on Amazon Linux AMI release 2015.09, but it is failing systemd and system-python dependency which i am not able to resolve
04:41 antpa joined #salt
04:42 antpa joined #salt
04:43 antpa joined #salt
04:43 iggy did you check the issue tracker?
04:44 antpa joined #salt
04:44 antpa joined #salt
04:45 Guest60167 iggy : Can you point me to right direction ?
04:45 antpa joined #salt
04:46 antpa joined #salt
04:47 antpa joined #salt
04:48 antpa joined #salt
04:48 antpa joined #salt
04:48 ericsysmin joined #salt
04:49 beardedeagle joined #salt
04:49 antpa joined #salt
04:49 ericsysmin XenophonF: thanks i didnt see that in the other file
04:49 antpa joined #salt
04:50 beardedeagle So this is going to sound like a dumb question, but can one pass a target type to salt-api?
04:50 ericsysmin XenophonF: what would you do to your template file to allow your map.jinja to get overwritten if someone uses pillar data
04:50 antpa joined #salt
04:51 antpa joined #salt
04:51 rdas joined #salt
04:52 antpa joined #salt
04:52 antpa joined #salt
04:53 antpa joined #salt
04:53 antpa joined #salt
04:54 antpa joined #salt
04:54 anmol joined #salt
04:54 antpa joined #salt
04:55 antpa joined #salt
04:56 kliquori joined #salt
04:56 antpa joined #salt
04:56 RobertChen117 joined #salt
04:56 antpa joined #salt
04:57 antpa joined #salt
04:57 beardedeagle read the entire netapi.rest_cherrypy.app code and not seeing anything explicit in there about it, nothing in the docs, but reading the code makes me think it should be possible to target something other than glob from salt-api
04:58 antpa joined #salt
04:59 antpa joined #salt
04:59 antpa joined #salt
05:00 teryx510 joined #salt
05:00 antpa joined #salt
05:01 antpa joined #salt
05:01 antpa joined #salt
05:02 antpa joined #salt
05:02 antpa joined #salt
05:03 antpa joined #salt
05:04 antpa joined #salt
05:04 antpa joined #salt
05:05 iceyao joined #salt
05:05 antpa joined #salt
05:05 antpa joined #salt
05:06 antpa joined #salt
05:07 euidzero joined #salt
05:07 antpa joined #salt
05:08 antpa joined #salt
05:10 virtualguy joined #salt
05:11 favadi joined #salt
05:13 karlthane joined #salt
05:20 jfray2 joined #salt
05:22 jfray2 sorry to bother if this is a n00b question - on AWS, the minion tries to set itself to the RDNS of the IP, giving me a pretty meaningless minion id. I've tried setting the id in /etc/salt/minion and also putting a value in /etc/salt/minion_id and both seem to be ignored
05:22 jfray2 is there a better way of manually naming the minion?
05:24 nethershaw joined #salt
05:25 jfray2 or rather, is there a reason why the /etc/salt/minion file appears to be ignored?
05:27 jfray2 also, socket.fqdn() is returning the proper value ([hostname##.domain.com])? This is not making much sense
05:27 ntropy /etc/salt/minion_id should take priority
05:27 ntropy did you restart salt-minion after the change?
05:27 ntropy also, what exactly did you put in the file?
05:27 jfray2 have restarted
05:28 jfray2 in /etc/salt/minion, I put:
05:28 flowstate joined #salt
05:28 ntropy maybe try running the minion with trace log_level, i think that will show you some info on how it determines the id
05:28 jfray2 id: hostname.goes.here
05:28 jfray2 k, I'll try that
05:28 ntropy ah, in minion you need to have:
05:29 ntropy grains:
05:29 ntropy id: hostname.goes.here
05:29 ntropy wait, or am i wrong about that?
05:29 ntropy anyway, in minion_id you just put hostname.goes.here
05:29 ntropy that should do the trick
05:30 jfray2 that's what I have in the /etc/salt/minion_id
05:30 jfray2 just the hostname
05:30 ntropy ok that seems like you have it in order
05:31 favadi joined #salt
05:32 jfray2 it doesn't appear that /etc/salt/minion is even being read? I changed the loglevel and pointed it at syslog, but no messages are being created
05:33 jfray2 I'll strace the process and make sure it's reading the right fiel
05:33 jfray2 file
05:40 kliquori joined #salt
05:40 jfray2 I must have screwed something up, now it won't start - complaining about salt.scripts missing :/
05:41 jfray2 is installing via salt_bootstrap recommended over via the PPA in ubuntu?
05:41 jfray2 I'm wondering if the PPA might have a bad version or something
05:42 iceyao_ joined #salt
05:45 iggy the ppa is no longer updated
05:46 iggy and ntropy is correct... /etc/salt/minion_id takes precedence
05:48 ericsysmin joined #salt
05:50 XenophonF joined #salt
05:51 jfray2 so, I should definitely install via bootstrap then?
05:51 brianfeister joined #salt
05:52 jfray2 also, thanks so much for the help so far. It's very much appreciated
05:52 iggy it's what I generally use, and I think it's the suggested way
05:55 digitalhero joined #salt
05:58 teryx5101 joined #salt
05:59 pwalsh joined #salt
06:02 west575 joined #salt
06:02 Freek joined #salt
06:02 debian112 joined #salt
06:02 abele joined #salt
06:02 ecerulm joined #salt
06:02 tcolvin joined #salt
06:02 simonmcc joined #salt
06:02 wendall911 joined #salt
06:02 Puckel_ joined #salt
06:02 ancients joined #salt
06:06 bhosmer joined #salt
06:08 digitalh_ joined #salt
06:16 linjan joined #salt
06:26 digitalhero joined #salt
06:28 flowstate joined #salt
06:28 ericsysmin left #salt
06:37 felskrone joined #salt
06:37 beardedeagle Jesus, I thought I was going mad and that my python code was wrong, turns out that test.args and salt-api do not get along for return data.
06:38 antpa joined #salt
06:46 evle joined #salt
06:49 liskl joined #salt
06:53 beardedeagle anyone here super familiar with salt-api?
06:53 beardedeagle or salt-pepper even
06:58 sarlalian joined #salt
07:05 bhosmer joined #salt
07:13 jfray2 @iggy, @ntropy: installing via the bootstrap worked
07:13 jfray2 thanks!
07:13 inad922 joined #salt
07:20 favadi joined #salt
07:21 west575 joined #salt
07:21 Freek joined #salt
07:21 debian112 joined #salt
07:21 abele joined #salt
07:21 ecerulm joined #salt
07:21 tcolvin joined #salt
07:21 simonmcc joined #salt
07:21 wendall911 joined #salt
07:21 Puckel_ joined #salt
07:21 ancients joined #salt
07:28 rihannon joined #salt
07:29 flowstate joined #salt
07:37 armyriad joined #salt
07:40 brianfeister joined #salt
07:42 kliquori joined #salt
07:42 mdasilva joined #salt
07:42 jhauser joined #salt
07:45 elsmo joined #salt
07:46 KermitTheFragger joined #salt
07:54 west575 joined #salt
07:54 Freek joined #salt
07:54 debian112 joined #salt
07:54 abele joined #salt
07:54 ecerulm joined #salt
07:54 tcolvin joined #salt
07:54 simonmcc joined #salt
07:54 wendall911 joined #salt
07:54 Puckel_ joined #salt
07:54 ancients joined #salt
07:55 Miouge joined #salt
07:59 Miouge_ joined #salt
07:59 bhosmer joined #salt
08:04 brianfeister joined #salt
08:05 flughafen joined #salt
08:06 flughafen why does salt-call --local key.finger   differ from salt-key -f host?
08:08 AndreasLutro flughafen: if it does, something is wrong...
08:09 flughafen c2:f2:2b:99:43:03:da:bd:c0:a3:a3:fe:33:bd:16:5a  from the minion with salt-call and on the master with salt-key 14:cc:45:0c:b7:fe:c5:8c:ca:85:78:59:8a:a1:7d:3f:f3:53:05:5d:51:af:38:a7:5a:57:31:90:93:fc:f6:bc
08:10 flughafen AndreasLutro: ^^
08:10 AndreasLutro flughafen: they're identical here. are you running different versions of salt?
08:11 flughafen 2015.8.7 on both
08:12 flughafen but if it's a bug i'll loook into it.  thanks
08:12 k_sze[work] joined #salt
08:14 flughafen AndreasLutro: what version are you using?
08:14 AndreasLutro same as you
08:15 ronnix joined #salt
08:16 Freek joined #salt
08:17 flughafen AndreasLutro: does it matter if the key is unaccepted?
08:19 lero joined #salt
08:19 AndreasLutro hm, I don't know
08:19 AndreasLutro I don't think so?
08:22 flughafen but even so, the hash lengths should be the same ?
08:23 RobertChen117 joined #salt
08:28 flowstate joined #salt
08:29 kliquori joined #salt
08:30 flughafen AndreasLutro: are you just using the regular salt or do you have custom patches on top oof it?
08:31 AndreasLutro no custom patches
08:31 flughafen thanks
08:38 digitalhero joined #salt
08:43 antpa joined #salt
08:43 geomacy joined #salt
08:45 cyborg-one joined #salt
08:48 dgutu joined #salt
08:50 ronnix joined #salt
08:52 slav0nic joined #salt
08:55 josuebrunel joined #salt
08:58 krymzon joined #salt
08:58 Rumbles joined #salt
08:58 martoss joined #salt
08:59 bhosmer joined #salt
09:06 andrew_v joined #salt
09:07 fredvd joined #salt
09:07 Miouge joined #salt
09:14 denys joined #salt
09:16 LostSoul_ Hi
09:16 dmaiocchi joined #salt
09:16 LostSoul_ What's the best way to restart network after salting it?
09:16 josuebrunel joined #salt
09:20 dariusjs joined #salt
09:23 josuebrunel joined #salt
09:26 GreatSnoopy joined #salt
09:27 hemebond LostSoul_: What happens if you just do an ifdown && ifup in a cmd.run?
09:29 flowstate joined #salt
09:35 ronnix joined #salt
09:36 s_kunk joined #salt
09:36 s_kunk joined #salt
09:37 permalac joined #salt
09:37 mpanetta joined #salt
09:37 impi joined #salt
09:38 permalac_ joined #salt
09:39 s_kunk joined #salt
09:43 mdasilva joined #salt
09:44 ggoZ joined #salt
09:44 t0m0 joined #salt
09:46 linjan joined #salt
09:51 RobertChen117 joined #salt
09:53 bhosmer joined #salt
09:55 flughafen AndreasLutro: figured it out.  it looks like a configuration issue with the server/minion with the hash type.
09:59 bhosmer joined #salt
10:04 kahiru joined #salt
10:07 dmaiocchi joined #salt
10:08 pwalsh joined #salt
10:11 LostSoul_ hemebond: Ok, I've found nice workaround on web
10:12 LostSoul_ I've got another question
10:12 t0m0 joined #salt
10:12 LostSoul_ How to use ":" in yaml?
10:12 LostSoul_ Like when I use cron state
10:12 LostSoul_ And have commands like rsync that contain ":"
10:15 flughafen left #salt
10:19 ronnix_ joined #salt
10:21 LostSoul_ nvm, I'm just lazy :)
10:26 ronnix joined #salt
10:28 flowstate joined #salt
10:30 kliquori joined #salt
10:40 fracklen joined #salt
10:43 mavhq joined #salt
10:44 GreatSnoopy joined #salt
10:45 inad922 joined #salt
10:52 amcorreia joined #salt
10:52 virtualguy joined #salt
10:53 bhosmer joined #salt
11:03 ronnix joined #salt
11:07 dmaiocchi joined #salt
11:10 CeBe1 joined #salt
11:17 kliquori joined #salt
11:18 zeeshan_ joined #salt
11:20 zeeshan_ hi all
11:20 zeeshan_ new to IRC
11:21 zeeshan_ can someone help please
11:21 babilen What do you need help with?
11:21 zeeshan_ is it the place where we can ask questions?
11:22 zeeshan_ Hi Babilen
11:23 babilen This is a technical support channel for salt (cf. http://saltstack.com/) - If you have questions concerning salt this would be the right channel, yeah
11:24 zeeshan_ thank you team
11:25 fracklen joined #salt
11:26 wych joined #salt
11:28 zeeshan_ left #salt
11:28 flowstate joined #salt
11:31 Horgix joined #salt
11:31 chmod666org joined #salt
11:34 mavhq joined #salt
11:39 wych joined #salt
11:41 fracklen joined #salt
11:47 bhosmer joined #salt
12:12 ronnix_ joined #salt
12:23 Zhen joined #salt
12:27 flowstate joined #salt
12:43 dariusjs joined #salt
12:48 Nazca__ joined #salt
12:59 mdasilva joined #salt
13:01 akhter joined #salt
13:02 fredvd joined #salt
13:05 akhter joined #salt
13:07 akhter_1 joined #salt
13:10 sjorge joined #salt
13:10 sjorge joined #salt
13:11 akhter joined #salt
13:12 fracklen joined #salt
13:16 geomacy joined #salt
13:17 akhter joined #salt
13:19 kliquori joined #salt
13:20 jhauser_ joined #salt
13:21 fracklen joined #salt
13:28 flowstate joined #salt
13:32 akhter joined #salt
13:34 gh34 joined #salt
13:35 bhosmer joined #salt
13:35 mavhq looking at the pillar.example for bind, mentions the secret key to talk to dhcpd, what's the best way to auto generate that?
13:35 numkem joined #salt
13:37 flowstate joined #salt
13:38 digitalhero joined #salt
13:39 ninkotech joined #salt
13:42 toastedpenguin joined #salt
13:42 dendazen joined #salt
13:43 ronnix joined #salt
13:46 renaissancedev joined #salt
13:47 euidzero joined #salt
13:53 armyriad joined #salt
13:53 akhter joined #salt
13:54 fracklen joined #salt
13:57 quasiben joined #salt
13:57 akhter joined #salt
13:58 BlackBishop any easy way to check why a module in /srv/salt/_modules doesn't get loaded ?
14:00 amcorreia joined #salt
14:01 euidzero joined #salt
14:03 flowstate joined #salt
14:05 kliquori joined #salt
14:06 DammitJim joined #salt
14:07 mdasilva joined #salt
14:09 _JZ_ joined #salt
14:10 nZac joined #salt
14:10 nZac joined #salt
14:14 akhter joined #salt
14:14 favadi joined #salt
14:15 drico joined #salt
14:15 drico hi
14:16 drico anyone knows how to get the problematic line in a template when you have this error :
14:16 drico Unable to manage file: Jinja variable 'list object' has no attribute 'items'
14:17 cowyn joined #salt
14:18 quix_ joined #salt
14:20 shoemonkey joined #salt
14:22 ronnix joined #salt
14:26 bmac2 joined #salt
14:31 akhter joined #salt
14:34 ronnix joined #salt
14:34 bhosmer joined #salt
14:35 iceyao joined #salt
14:38 subsignal joined #salt
14:39 shoemonkey joined #salt
14:40 zmalone joined #salt
14:44 misconfig joined #salt
14:45 racooper joined #salt
14:48 andrew_v joined #salt
14:48 StolenToast can I glob packages?  I want to pkg.installed: ruby* from my repo
14:50 subsigna_ joined #salt
14:51 perfectsine joined #salt
14:52 LostSoul_ Is there way to use lists/arrays in salt like in ansible?
14:52 LostSoul_ So that I can regexp many lines in files and replace them
14:52 LostSoul_ Or I need to create state for each line?
14:54 metalseargolid joined #salt
14:55 fracklen joined #salt
14:56 StolenToast I was tangentially looking at that, you could also use patches
14:56 StolenToast like I want to install epel but then edit the .repo so I created a patch to apply
14:57 kawa2014 joined #salt
15:01 LostSoul_ ?
15:01 StolenToast https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.patch
15:03 LostSoul_ It's workaround but thanks
15:03 LostSoul_ So I guess salt doesn't have lists like that
15:03 misconfig joined #salt
15:06 StolenToast idk, someone else might know
15:06 akhter joined #salt
15:07 teryx510 joined #salt
15:08 nZac joined #salt
15:09 ronnix joined #salt
15:13 Rumbles does anyone know if it's possible to do a gem install --user-install using salt?? http://serverfault.com/questions/762124/installing-a-gem-using-saltstack-with-user-install-option
15:15 gtmanfred good morning
15:17 Rumbles long past morning....
15:19 catpig joined #salt
15:19 gtmanfred Fri Mar 11 08:19:12 MST 2016
15:19 gtmanfred nope :)
15:19 Rumbles 15:18 here
15:19 Rumbles 2 hours till the weekend
15:20 gtmanfred nice!
15:21 gtmanfred if you do a gem install as a non root user, will it default to a --user-install?
15:21 gtmanfred if not, then it doesn't look like you can do that
15:21 Rumbles hmmmm not sure to be honest
15:21 babilen 16:21 here .. 39 minutes to go! You should all come here ;)
15:21 Rumbles I was always taught to use --user-install
15:21 Rumbles I can try
15:22 gtmanfred yeah, if it does deafult to --user-install, you can just set runas, otherwise, there needs to be a patch to enable saying user-install
15:22 Rumbles mmmm I'd love to live in Holland babilen, but if I were to move it would be to somewhere hotter, not just as cold :)
15:23 Rumbles thanks gtmanfred I'll test it
15:23 * babilen ← .de
15:23 ronnix joined #salt
15:24 Rumbles oops, sorry, you're on a dutch server (according to whois)
15:25 babilen And connecting from Sweden .. crazy Internet!
15:25 babilen Anyway .. </ot> :)
15:29 akhter joined #salt
15:29 rm_jorge joined #salt
15:38 akhter joined #salt
15:39 keimlink joined #salt
15:39 dfinn joined #salt
15:40 ronnix_ joined #salt
15:49 akhter joined #salt
15:51 mdasilva joined #salt
15:55 bhosmer joined #salt
15:55 harkx joined #salt
15:56 ronnix joined #salt
15:57 fracklen joined #salt
15:59 Miouge joined #salt
15:59 harkx joined #salt
16:01 permalac joined #salt
16:01 ronp_usa joined #salt
16:02 Rumbles gtmanfred, looks like gem (at least on this ubuntu 14.04 server) does not default to --user-install
16:06 virtualguy joined #salt
16:07 akhter joined #salt
16:10 kahiru joined #salt
16:11 akhter joined #salt
16:15 akhter joined #salt
16:19 akhter joined #salt
16:21 codepython777 joined #salt
16:26 spiette joined #salt
16:31 mavhq joined #salt
16:32 quix__ joined #salt
16:33 remyd1 joined #salt
16:33 remyd1 Hi
16:34 toastedpenguin joined #salt
16:34 toastedpenguin joined #salt
16:35 remyd1 https://groups.google.com/forum/#!msg/salt-users/v2JaTn05zwI/_9E-vvoCCgAJ
16:35 remyd1 any idea ?
16:38 remyd1 By the way, I am also looking for a way to to some things differently according to the type of disk
16:38 remyd1 I would like to avoid the use of role
16:39 remyd1 So I did that that stuff https://github.com/saltstack/salt/compare/develop...remyd1:develop
16:39 remyd1 just to work with blkid and to become more familiar with states dev
16:40 heaje joined #salt
16:40 remyd1 it is very basic
16:42 remyd1 But I would like to mixit with mount state and eventually the new zfs state
16:46 Fiber^ joined #salt
16:49 akhter joined #salt
16:49 writtenoff joined #salt
16:50 nidr0x joined #salt
16:50 Brew joined #salt
16:51 remyd1 I have to go. Please answer me in the salt google list for my ganglia sls file :)
16:51 remyd1 Bye
16:52 nidr0x joined #salt
16:53 malinoff joined #salt
16:53 kaptk2 joined #salt
16:55 akhter joined #salt
16:56 akhter joined #salt
16:59 nZac joined #salt
17:01 sjmh joined #salt
17:03 TyrfingMjolnir joined #salt
17:04 ronnix joined #salt
17:10 cswang joined #salt
17:14 mavhq joined #salt
17:15 fracklen joined #salt
17:19 nZac joined #salt
17:20 ronnix_ joined #salt
17:23 quasiben joined #salt
17:24 ggoZ joined #salt
17:26 impi joined #salt
17:27 jeffspeff joined #salt
17:32 cgeroux joined #salt
17:33 cgeroux just starting to learn about salt... and wanted to print out data from template file such as an xml file which has Jinja in it (e.g. stuff like {%- for d in hdfs.local_disks -%}) is there a way to print out the value of hdfs.local_disks...
17:34 noraatepernos joined #salt
17:34 cgeroux just to get to a point where I can start poking around and learning a bit about salt.. and how it works
17:35 cgeroux my current goal is to modify the hadoop formula to adjust it to my computing environment
17:36 noraatepernos For ec2 minion deployments, I want an ec2 grain that exposes the instance’s tags as well as private/public IP address, etc.  Do most of you keep an ec2 AMI with your salt minion already installed and ready to observe master?  Having trouble finding a tutorial on setting this up.
17:36 AndreasLutro noraatepernos: we use cloud-init to install the salt-minion
17:37 AndreasLutro cgeroux: no, but you can print out pillar data with salt 'name-of-minion' pillar.get foo:bar
17:37 noraatepernos AndreasLutro: Why does your name sound so familiar?  I think you’re one of the top Laravel contributors if I remember?
17:37 AndreasLutro assuming hdfs.local_disks is from pillars
17:37 AndreasLutro noraatepernos: was yes :)
17:38 noraatepernos Ha.  You’re like a celebrity to me.
17:38 AndreasLutro yay ;)
17:38 noraatepernos You leave laravel?  What are you working on these days?  Dying to know.
17:38 digitalhero joined #salt
17:38 toastedpenguin joined #salt
17:39 GreatSnoopy joined #salt
17:39 iggy noraatepernos: salt-contrib has some ec2 grains you can use
17:39 toastedpenguin joined #salt
17:39 AndreasLutro python, django, sysadmining in a magento shop
17:39 noraatepernos iggy: I just found them I think.  Thanks!
17:39 noraatepernos AndreasLutro: Cool.
17:39 iggy django... in a magento shop...
17:40 AndreasLutro we're not gonna write our internal apps in magento are we
17:42 toastedpenguin joined #salt
17:42 cliffstah joined #salt
17:43 toastedpenguin joined #salt
17:43 toastedpenguin joined #salt
17:43 quix_ joined #salt
17:44 toastedpenguin joined #salt
17:44 Sokel joined #salt
17:44 rihannon joined #salt
17:45 Sokel When I'm targetting minions via salt -G '...', is there a way to do an inverse target? For example, if I was looking for machines that do NOT have a grain set, how would I do that?
17:47 AndreasLutro you'd probably have to use compound tagetting
17:47 AndreasLutro -C 'not G@foo:bar'
17:47 Sokel Ah. I'll try that.
17:48 _JZ_ joined #salt
17:48 pgoetz joined #salt
17:49 Sokel AndreasLutro: Yep, that did it. I just looked at the documentation... I must have missed the "not" part of the explanation.
17:50 beardedeagle make sure you are 2015.8 on up
17:50 beardedeagle leading with not won't work otherwise pretty sure
17:51 noraatepernos Is there anything crazy about pre-loading an ec2 AMI with larger software packages to give something like “common” sls a headstart?  We’re trying to speed up deployment time.  As long as our AMI meets salt state requirements we’re good, right?
17:57 fracklen joined #salt
18:03 shaggy_surfer joined #salt
18:09 akhter joined #salt
18:09 shoemonkey joined #salt
18:16 baweaver joined #salt
18:16 notnotpeter joined #salt
18:17 tpaul joined #salt
18:18 akhter joined #salt
18:18 toastedpenguin joined #salt
18:23 kawa2014 joined #salt
18:25 denys joined #salt
18:26 onlyanegg joined #salt
18:27 baweaver joined #salt
18:28 toastedpenguin salt-cloud profiles, defining volumes for AWS, used it in the past to add additional EBS at launch, can it be used to modify the /dev/sda1 root volume at launch to increase the size of the EBS it is using?
18:29 toastedpenguin or is there another way to do that if at all?
18:31 akhter joined #salt
18:34 akhter_1 joined #salt
18:37 sjmh for people who use gitfs as a backend for both states and pillars.. do you find you keep it in the same repo and just mount subdirectories within the repo, or do you find it better to keep it as separate repositories?
18:38 tawm04 joined #salt
18:38 aw110f joined #salt
18:39 akhter joined #salt
18:39 fracklen joined #salt
18:39 quix joined #salt
18:41 gtmanfred i keep them in seperate repositories
18:41 gtmanfred jsut cause i treat my pillars and states differently
18:41 gtmanfred for states, all dev work goes in the develop branch, then preprod and then prod
18:42 gtmanfred but i can merge between the branches, since stuff eventually goes to prod
18:42 jfelchner joined #salt
18:42 aw110f_ joined #salt
18:42 gtmanfred for pillars, i have different environment specific stuff, so i don't do any merging between branches
18:44 kawa2014 joined #salt
18:44 AndreasLutro I think pillar and state structure are inherently tied so I prefer keeping them in the same repo
18:44 akhter joined #salt
18:45 AndreasLutro that being said using gitfs was a disaster https://github.com/saltstack/salt/issues/30500
18:45 saltstackbot [#30500]title: Received bad data when setting the match from the top file - gitfs fails to check out | On our salt masters, it looks like if a gitfs checkout fails, a `salt '*' state.apply` fails ONLY for the minion running on the same salt master. Every other minion works fine. If I wait a bit and run the same command, it'll work just fine....
18:46 akhter_1 joined #salt
18:47 zmalone Be really careful about keeping your pillar out of your file root though, I've cleaned that up before
18:47 zmalone anything in file root is accessible to any client
18:48 sjmh zmalone : yeah, which is why I was thinking about just mounting the subdirs to the fileserve
18:48 sjmh instead of the entire repo
18:49 sjmh i'm guessing we'll just keep it separate tho
18:49 AndreasLutro we'll be moving more and more away from pillars in files to pillars in a database somewhere, then the pillars in files will just be defaults for states
18:51 beardedeagle @sjmh: states in git, pillars in consul
18:52 quasiben joined #salt
18:54 sjmh beardedeagle : how's consul working out for you in terms of pillar?
18:55 akhter joined #salt
18:55 beardedeagle well it's salt -> vault -> consul. secrets to get secrets. not terribad, in the POC stage right now.
18:55 sjmh seems the biggest issue with using something like consul or pillar is that you have to, from what I can tell, duplicate the pillar data across the hosts, rather than being able to use targeting mechanism
18:55 sjmh 'consul for pillar'
18:57 sjmh unless i'm missing something
19:02 sjmh we've got etcd and we've been contemplating using it for ext pillar, but like I said, the effort required to duplicate/manage pillar data in it seems more effort than it's worth
19:08 noraatepernos joined #salt
19:10 baweaver joined #salt
19:11 mdasilva_ joined #salt
19:19 kawa2014 joined #salt
19:21 fracklen joined #salt
19:29 PrettyBoy2000 joined #salt
19:31 andrew_v joined #salt
19:37 PrettyBoy2000 joined #salt
19:37 geomacy joined #salt
19:38 edrocks joined #salt
19:45 mdasilva joined #salt
19:46 harkx joined #salt
19:47 DammitJim joined #salt
19:51 toastedpenguin anyone used salt to expand a windows volume?  AWS image has a 30G root volume, launching using salt-cloud block_device_mappings and specifying 100G would like salt to then expand after launch to use the available disk space
19:53 forrest joined #salt
19:53 nidr0x joined #salt
19:55 akhter joined #salt
19:57 gtmanfred i only know of the salt.modules.parted stuff, and that is only for linux
19:58 zenlot6 joined #salt
19:58 gtmanfred not familiar with something for windows
19:58 whytewolf does windows even have a way of programicly expanding a volume?
20:00 whytewolf humm apperently there is a way. but takes a couple of commands to perform. using a diskpart tool
20:01 mavhq joined #salt
20:03 fracklen joined #salt
20:03 virtualguy joined #salt
20:04 edeefelt joined #salt
20:05 DammitJim joined #salt
20:05 edeefelt getting python conflicts on minion install on centos6, any suggestions on how to handle this without breaking python?
20:05 edeefelt file /usr/lib64/python2.6/logging/__init__.py from install of python-libs-2.6.6-64.el6.x86_64 conflicts with file from package python-2.6.6-36.el6.x86_64
20:08 forrest edeefelt, Did you already try yum update python-libs python
20:08 hasues joined #salt
20:08 hasues left #salt
20:15 hasues joined #salt
20:16 edeefelt forest, good idea, trying now
20:18 akhter joined #salt
20:19 shiriru joined #salt
20:19 edeefelt forrest, thanks, that worked
20:21 forrest edeefelt, NP.
20:25 mavhq joined #salt
20:28 flowstate joined #salt
20:31 quix joined #salt
20:31 JerryDude joined #salt
20:34 JerryDude Hi all, how can I access the MemTotal value of the status.meminfo from salt and use it to calculate sysctl.conf values in jinja / saltstack ?
20:36 gtmanfred {% set memtotal = salt['status.meminfo']()['MemTotal'] %}
20:36 gtmanfred then use the memtotal variable to calculate everything?
20:36 JerryDude thanks !
20:37 JerryDude thats  pretty  much  the plan
20:43 cberndt joined #salt
20:44 akhter joined #salt
20:44 fracklen joined #salt
20:46 baweaver joined #salt
20:46 mdasilva joined #salt
20:46 tpaul I am having trouble getting service.enabled for a windows service that has a space in the service ID: http://pastebin.com/M7jM0NQs
20:47 tpaul I suspect that cmd.run is removing the quotes around the name, as I'm able to reproduce the same error by running 'sc qc Apache CouchDB' That is, without quotes around the service.
20:49 renaissancedev joined #salt
20:50 grumm_servire joined #salt
20:50 mapu joined #salt
20:56 akhter joined #salt
20:57 shaggy_surfer joined #salt
21:00 GreatSnoopy joined #salt
21:03 bmac2 joined #salt
21:06 flowstate joined #salt
21:09 akhter joined #salt
21:12 rascharles joined #salt
21:12 rascharles I've got an interesting problem
21:13 rascharles Running 2015.5.3
21:14 rascharles under salt-base we have a number of subdirectories for various projects
21:14 rascharles and a given project might have a files directory for scripts or other files needed by the states
21:15 rascharles minions are pulling the state (sls) files into the cache
21:15 rascharles but not the associated scripts
21:15 rascharles Has anyone seen this behavior?
21:16 grumm_servire joined #salt
21:16 AndreasLutro that's normal, the minion tries its best to cache files on-demand
21:16 JerryDude how   do  i specify that   i just  want the  value when assigning memtotal in {% set memtotal = salt['status.meminfo']()['MemTotal'] %} ?
21:17 gtmanfred the return from the function is just a dictionary
21:17 gtmanfred so add another entry that gives you the next portion
21:17 rascharles @AndreasLutro
21:17 rascharles Ooops
21:17 gtmanfred JerryDude: {% set memtotal = salt['status.meminfo']()['MemTotal']['value'] %}
21:18 JerryDude mile gracias ! :)
21:18 rascharles Anyway, when I run salt-call state.highstate on the minion the associated files and scripts still aren't pulled down and the highstate fails
21:18 AndreasLutro JerryDude: any reason you can't use a grain? mem_total returns the number in megabytes
21:18 gtmanfred then you just can reference it as memtotal in any {{}} or {%%}
21:18 mdasilva joined #salt
21:18 AndreasLutro rascharles: run salt-call with -l debug and look for problems
21:20 bhosmer joined #salt
21:23 mdasilva_ joined #salt
21:24 JerryDude sounds like a good idea. As you  can see, I completely  new to jinja and more advanced slat functions
21:25 JerryDude I * am
21:26 fracklen joined #salt
21:32 renaissancedev joined #salt
21:32 AndreasLutro grains are a pretty core part of salt..
21:35 GreatSnoopy joined #salt
21:38 euidzero joined #salt
21:39 nidr0x joined #salt
21:40 shaggy_surfer1 joined #salt
21:43 onlyanegg joined #salt
21:44 arcleo joined #salt
21:46 shoemonkey joined #salt
21:50 akhter joined #salt
21:52 xcoder joined #salt
21:58 akhter joined #salt
21:58 forrest /msg whiteinge Hey are you around?
22:03 subsignal joined #salt
22:04 akhter joined #salt
22:05 Aleks3Y joined #salt
22:08 jfelchner_ joined #salt
22:08 fracklen joined #salt
22:17 dmaiocchi joined #salt
22:23 dendazen joined #salt
22:29 nZac joined #salt
22:30 GreatSnoopy joined #salt
22:32 onlyanegg joined #salt
22:36 baweaver joined #salt
22:41 zenlot joined #salt
22:45 kevinqui1nyo joined #salt
22:45 kevinqui1nyo i still do not understand the saltmine
22:46 kevinqui1nyo under mine_fnctions: i have network.interfaces: []
22:46 kevinqui1nyo every minion gets this saltmine/init.sls
22:46 kevinqui1nyo in the top.sls
22:46 kevinqui1nyo salt \* mine.get \* network.interfaces
22:46 kevinqui1nyo returns nothing
22:47 kevinqui1nyo each minion returns nothing i should say
22:51 AndreasLutro you may have to call mine.update and/or restart minions
22:51 kevinqui1nyo hmm ok got it.  some combination of salt \* mine.update and/or salt \* saltutil.refresh_pillar
22:51 kevinqui1nyo yep i dont know which one fixed it
22:51 kevinqui1nyo i should have done them one at a time to see
22:52 AndreasLutro probably refresh_pillar first to get the mine_function pillar data in place
22:52 AndreasLutro then mine.update which actually populates the mine
22:52 kevinqui1nyo it seems like it's always one of three problems
22:52 kevinqui1nyo a cache issue, or an off by one error
23:01 flowstate joined #salt
23:01 shoemonkey joined #salt
23:06 baweaver joined #salt
23:09 cberndt joined #salt
23:10 fracklen joined #salt
23:25 cliffstah is there a convenient way to use a template in a custom module?  I'd like to be able to (or rather, I need to be able to) generate couple of files with jinja in a module, I'm just not sure how to get a hold of the template after _modules is synced
23:25 _JZ_ joined #salt
23:27 sjmh joined #salt
23:30 iggy make it a settable option like source for file.managed
23:32 cliffstah that's not ideal, to be able to override it is good, but it needs a default really
23:33 cliffstah I guess push come to shove I'll just use template strings, but I wondered if there was a nicer way to do it - the built in modules get the benefit of using __salt__.path, but obviously custom modules don't
23:37 smakar joined #salt
23:38 s_kunk joined #salt
23:38 s_kunk joined #salt
23:42 _beardedeagle joined #salt
23:44 flowstate joined #salt
23:46 kliquori joined #salt
23:47 hasues joined #salt
23:47 hasues left #salt
23:54 lemur joined #salt
23:58 edeefelt sorry, I've tried a few docs/syntax - what is the correct command to use salt-ssh to copy a file from the salt master to a minion?
23:58 edeefelt I keep getting no such file or directory
23:59 codewaffle argh, is there any way to work around dockerng requiring Docker Hub credentials in the current stable version?

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