Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-04-15

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

All times shown according to UTC.

Time Nick Message
00:02 Nazca joined #salt
00:04 alemeno22 joined #salt
00:05 hightekvagabond joined #salt
00:08 ajw0100 joined #salt
00:10 whiteinge joined #salt
00:11 sab3r joined #salt
00:13 brianfeister joined #salt
00:15 onlyanegg joined #salt
00:23 edrocks_ joined #salt
00:26 om joined #salt
00:27 onlyanegg joined #salt
00:33 dendazen joined #salt
00:35 quix joined #salt
00:36 amcorreia joined #salt
00:49 quasiben joined #salt
00:55 mapu good evening - I am having an AWS auth issue that I am trying to narrow down. In my salt-cloud provider config, I have my ‘id’ and  ‘key’ set. When I use the id (access_key_id) and key (secret_access_key) using the aws cli, I am able to perform AWS tasks. But- using the same credentials in salt-cloud, I get a 401 401 Client Error: Unauthorized error.
00:55 mapu advice on how best to debug this would be greatly appreciated.
01:06 nZac joined #salt
01:15 murrdoc joined #salt
01:15 teryx510 joined #salt
01:17 flowstate joined #salt
01:18 racooper joined #salt
01:19 quasiben joined #salt
01:22 quasiben1 joined #salt
01:25 donmichelangelo joined #salt
01:36 ivanjaros joined #salt
01:37 evle joined #salt
01:38 flowstate joined #salt
01:39 cpowell joined #salt
01:41 brianfeister joined #salt
01:46 ivanjaros joined #salt
01:46 baweaver joined #salt
01:47 ilbot3 joined #salt
01:47 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.8, 2016.3.0rc2 | SaltConf16: http://saltconf.com/register/ | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
01:49 ivanjaros joined #salt
01:54 akhter joined #salt
02:06 akhter joined #salt
02:08 akhter joined #salt
02:09 bltmiller joined #salt
02:17 nZac joined #salt
02:50 ilbot3 joined #salt
02:50 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.8, 2016.3.0rc2 | SaltConf16: http://saltconf.com/register/ | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
02:50 kevinquinnyo1 hm.  yeah so what that guy seems to be doing is managing pulling a dockefile down (via salt, and doing some other things) -- but I'm wondering if those Dockerfiles should be managed via salt, but also, once they are spun up, should they be running salt-minion so that they can be changed/reconfigured "on the fly"
02:53 kevinquinnyo1 my initial thought is that i should spin up very minimal docker instances, and have them run salt-minion (maybe that's it to begin with) -- then i can tell them what they should be or whether they should exist at any given time, but yeah i'm also still in the learning phase on this, like you
02:53 Ch3LL_ this is how i'm approaching it but i might completely wrong: https://github.com/Ch3LL/docker/blob/master/salt/Dockerfile
02:54 Ch3LL_ in that example i'm installing the master
02:54 Ch3LL_ but you could preseed your docker minion kesy on your master and edit hte file to point to your master
02:54 PeterO joined #salt
02:55 Ch3LL_ and then when you do docker run to start the salt service
02:55 Ch3LL_ but using salt to run the containers and build them
02:55 Ch3LL_ thats my approach atleast, but i haven't done it entirely yet. if anyone has a better idea too i am all ears
02:55 kevinquinnyo1 that's pretty much exactly the way i would approach it
02:56 kevinquinnyo1 at least for now
02:56 Ch3LL_ yeah me too :)
02:57 Cogent Would you be running your service along with salt-minion inside a container?
02:58 kevinquinnyo1 that's what i'm trying to work out Cogent, if you were asking me
02:58 quasiben joined #salt
02:59 Cogent I've never deployed docker to production, so my opinions are probably invalid. But I feel like that goes against their (docker's) best practices. I think they're trying to push 1 process per container kind of thing
03:00 kevinquinnyo1 my thinking is that i will do the same thing i am currently doing now -- I have loadbalancers, web servers, page-cache servers, database servers, memcached servers, etc.  But it would make sense to me if I could just deploy resources -- cloud, or dedicated servers (doesn't matter), and on those "resources"
03:01 kevinquinnyo1 have docker containers that can spin up and down as needed
03:01 Cogent That's always the dream isn't it? The devil is in the details ;-)
03:02 kevinquinnyo1 so a "page-cache" resource could have like 20 or 30 docker containers on it, running varnish, and some other things
03:03 kevinquinnyo1 yeah that is the dream
03:03 kevinquinnyo1 it doesn't seem that hard, i just wonder whether the salt configuration management should be at the Docker container level, or at the Dockerfile level, if that makes sense
03:04 kevinquinnyo1 I guess it might need to be both
03:05 kevinquinnyo1 and by the way i'm ok with breaking the Docker best-practices rule of having a container only run one thing.  I'm ok with it running "one thing" but also a salt-minion if necessary
03:08 kevinquinnyo1 I'm envisioning something where I can manage the "resource" level (cloud instances, dedicated servers, doesn't matter), to tell them what docker instances need to be spun up and down, how they might need to be reconfigured, and also, the ability to reconfigure on the fly, running Docker instances that live on a "resource"
03:09 kevinquinnyo1 and to do that, i imagine i would need every Docker instance to be running salt-minion
03:09 kevinquinnyo1 in addition to whatever else they are running, per their role
03:09 Cogent I was looking for tools like that a while back, http://panamax.io/ comes to mind.
03:15 ivanjaros joined #salt
03:15 akhter joined #salt
03:20 ivanjaros joined #salt
03:20 writtenoff joined #salt
03:21 akhter joined #salt
03:22 feld joined #salt
03:22 feld joined #salt
03:22 chrismoos joined #salt
03:22 cliffstah joined #salt
03:22 michelangelo joined #salt
03:23 Gabemo joined #salt
03:23 edrocks_ joined #salt
03:24 pmcnabb joined #salt
03:24 liskl joined #salt
03:24 subsignal joined #salt
03:26 gazarsgo_ joined #salt
03:27 quasiben1 joined #salt
03:27 joren_ joined #salt
03:27 yidhra_ joined #salt
03:27 nahamu_ joined #salt
03:28 kevinquinnyo1 joined #salt
03:29 ivanjaros joined #salt
03:30 hightekvagabond joined #salt
03:30 nlb joined #salt
03:31 gnord_ joined #salt
03:31 bbradley_ joined #salt
03:32 pjs_ joined #salt
03:32 fatbox joined #salt
03:32 crashmag_ joined #salt
03:33 jY- joined #salt
03:33 georgemarshall joined #salt
03:33 edrocks joined #salt
03:33 joren joined #salt
03:33 Ashald joined #salt
03:34 ivanjaros joined #salt
03:35 ekkelett joined #salt
03:37 nZac joined #salt
03:38 flowstate joined #salt
03:38 Garo_ joined #salt
03:38 sab3r joined #salt
03:39 zsoftich1 joined #salt
03:39 capricorn_1 joined #salt
03:41 sfz- joined #salt
03:43 k_sze[work] joined #salt
03:43 cpowell joined #salt
03:45 ivanjaros joined #salt
03:45 barajasfab joined #salt
03:45 cberndt joined #salt
03:47 quasiben joined #salt
03:49 brianfeister joined #salt
04:00 cyberviking joined #salt
04:02 terratoma joined #salt
04:22 anandxoriant joined #salt
04:23 quix joined #salt
04:23 sjmh joined #salt
04:24 evidence joined #salt
04:26 systeem joined #salt
04:28 edrocks_ joined #salt
04:33 dean joined #salt
04:39 flowstate joined #salt
04:44 cpowell joined #salt
04:46 iceyao joined #salt
04:48 josue joined #salt
04:53 zer0def joined #salt
04:59 om anyone with win repo experience?
05:00 om can't get the win repo or repo-ng to work
05:01 iggy kevinquinnyo: I wouldn't bother running the minion inside docker
05:02 om hey iggy long time haven't spoken
05:02 iggy docker containers should be transient enough that you just spin up a new one and kill the old one
05:02 Sammichmaker joined #salt
05:03 iggy now if you use something other than docker (i.e. lxc, lxd, etc) then it might make more sense to run a minion inside them
05:03 kshlm joined #salt
05:03 iggy om: \o
05:03 om yea, containers usually can be managed from the host, and docker is very robust
05:12 iceyao joined #salt
05:15 sauvin joined #salt
05:16 om any windows admins here?
05:19 hasues joined #salt
05:41 ilbot3 joined #salt
05:41 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.8, 2016.3.0rc2 | SaltConf16: http://saltconf.com/register/ | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
05:42 kaictl joined #salt
05:42 brianfeister joined #salt
05:47 hasues joined #salt
05:49 dreese joined #salt
05:53 felskrone joined #salt
05:53 impi joined #salt
05:55 kshlm joined #salt
06:00 brianfeister joined #salt
06:12 auzty joined #salt
06:13 Knuta joined #salt
06:16 dmaiocchi joined #salt
06:18 Knuta Is there any way of re-reading the content of __salt__['user.info']? I started using user.present when there was a latin1 character in the GECOS of an existing user, and now it is failing with an UnicodeEncodeError on a latin1 character every time I run salt, even though the entire passwd file is now utf8, and the character does not exist anywhere except in salt's old state for some reason.
06:19 AndreasLutro Knuta: can you share the full error message?
06:21 Knuta AndreasLutro: https://gist.github.com/anonymous/18248015ab7bda9ac0a63a34ff5f4fff
06:22 AndreasLutro the exception type is a bit misleading. I don't think salt will allow you to use anything other than ascii
06:23 Knuta AndreasLutro: It appears to accept UTF-8 just fine, the problem is that it refuses to forget that there was once an iso-8859-1 character in there
06:23 jfindlay in my opinion that should be a u'' string
06:23 AndreasLutro mmkay
06:24 Knuta AndreasLutro: but there is no 0xf8 byte anywhere in /etc/passwd, or in the output of any command which outputs the user name (getent passwd, finger, etc)
06:24 jfindlay AndreasLutro: just my opinion :)
06:24 AndreasLutro okay I guess if it tries to render what the old password was, and if the old password is iso-8859-1, that could also cause a problem
06:24 Knuta so all I'm trying to do is have salt realize that I changed passwd myself, and reread the list of users
06:25 AndreasLutro what version are you on Knuta?
06:25 Knuta AndreasLutro: I'd rather not have salt render my passwords at all :-P
06:25 Knuta 2015.5.3 (Lithium)
06:26 AndreasLutro obligatory appeal to upgrade
06:26 AndreasLutro 2015.8 will redact passwords in the output... just sayin'
06:26 AndreasLutro but judging by the code, it is the new GECOS entries that get rendered, not the old ones
06:27 Knuta All my passwords are in Kerberos anyway :-)
06:30 AndreasLutro if you want to debug further you'll have to edit the source code. but I don't think "old" user.info values are the issue here
06:30 edrocks joined #salt
06:30 Knuta AndreasLutro: you're right, it's starting to look more like I have something funny in my pillar.
06:31 Fabbe joined #salt
06:35 favadi joined #salt
06:35 Knuta AndreasLutro: I guess I fooled myself because 0xf8 converted from latin1 to utf8 becomes u'\xf8'. So the real issue is that it doesn't support unicode, like you suggested.
06:36 dmaiocchi joined #salt
06:37 flowstate joined #salt
06:38 Knuta AndreasLutro: yep, changing the format string from '' to u'' makes it stop failing.
06:40 AndreasLutro you can also add log.debug(u'%s: %s', key, val) to see what's causing the failure
06:40 Knuta the failure is it trying to render the information on what changed ;-)
06:41 AndreasLutro yeah but if you want to find out exactly what change is causing it...
06:42 Knuta I know which change is causing it, it prints out the user name right before it dies :-)
06:43 Knuta any idea why http://debian.saltstack.com/ is still on 2015.5.3?
06:43 AndreasLutro repo.saltstack.com
06:43 babilen Knuta: That repository isn't maintained anymore. You want http://repo.saltstack.com/#debian
06:44 Knuta Why is there no mention of that on the deprecated one? It shows up first in google, too
06:45 babilen jfindlay: ^ -- please deprecate debian.saltstack.com
06:47 cpowell joined #salt
06:51 KermitTheFragger joined #salt
07:20 ilbot3 joined #salt
07:20 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.8, 2016.3.0rc2 | SaltConf16: http://saltconf.com/register/ | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
07:22 saltstackbot joined #salt
07:28 alxchk joined #salt
07:33 gchao joined #salt
07:34 josuebrunel joined #salt
07:37 flowstate joined #salt
07:41 josuebrunel joined #salt
07:45 impi joined #salt
07:46 dean joined #salt
07:47 slav0nic joined #salt
07:47 ivanjaros joined #salt
07:47 slav0nic joined #salt
07:50 Guest79 joined #salt
07:50 Rumbles joined #salt
07:52 ronnix joined #salt
07:54 s_kunk joined #salt
07:54 jhauser joined #salt
07:54 quix joined #salt
07:56 systeem joined #salt
08:02 lero joined #salt
08:03 evle joined #salt
08:05 dgutu joined #salt
08:05 kawa2014 joined #salt
08:07 lero joined #salt
08:08 Rumbles joined #salt
08:11 losh joined #salt
08:12 kawa2014 joined #salt
08:16 ggoZ joined #salt
08:21 crashmag joined #salt
08:31 felskrone joined #salt
08:33 edrocks joined #salt
08:45 fracklen joined #salt
08:47 cberndt joined #salt
08:47 keimlink joined #salt
08:47 sagerdearia joined #salt
08:51 west575 joined #salt
08:54 quix joined #salt
08:54 toastedpenguin joined #salt
08:59 ravenx joined #salt
09:10 jf_ joined #salt
09:10 stefan____ joined #salt
09:11 jf_ how are folks here doing alerting + monitoring? Are you layering something on top of salt or?
09:14 dean joined #salt
09:17 fracklen Primarily using salt to set it up - but I've been playing with some alerting based on beacons, reactors and pagerduty
09:22 Hydrosine joined #salt
09:22 jf_ Thanks. Is there some recommended setup of sorts that people usually default to?
09:23 fracklen Hmm - depends a lot on your scale
09:23 fracklen For small scale - I'd default to something like monit
09:23 fracklen also depends a lot on which services you with to monitor
09:24 jf_ Primarily disk, cpu and network utilization at this point in time
09:24 clayman is it possible to schedule jobs only once on a specific day/time?
09:26 fracklen jf_: I've earlier done a setup where I used beacons for sending cpu/mem/disk to the saltmaster - and set up a reactor which forwarded the data to InfluxDB
09:28 ronnix joined #salt
09:30 peters-tx joined #salt
09:32 my50c joined #salt
09:32 jf_ and u had something which pulled the data out and graphed it?
09:34 AndreasLutro grafana can graph influxdb very well
09:34 jf_ got it, thanks
09:35 AndreasLutro I'm currently using sensu for alerting/some monitoring, kapacitor for monitoring influxdb, telegraf/collectd for sending metrics to influxdb, grafana for graphing
09:35 AndreasLutro works well but a lot of pieces, and I don't know how easily it'll scale
09:35 jhauser_ joined #salt
09:35 jf_ do these interact with salt or make use of salt's capabilities in some way?
09:35 crashmag joined #salt
09:40 jf_ clayman: does cron not work for you?
09:44 fracklen jf_: Salt doesn't have an out-of-the-box integration with the influx stack - but it's not rocket-science to set up - while it does take some time
09:46 cberndt joined #salt
09:46 punkoivan joined #salt
09:48 punkoivan left #salt
09:48 jf_ sigh... time. Gotcha, thanks
09:48 cpowell joined #salt
09:51 clayman you mean cron on the master? at the moment i'm using pillars for scheduling. but now i have a case were i wan't to run a specific state only one say on 04/16/2016 at 2:00 am i also found the 'at' module/state now i think this is the best way for this case?
09:54 fracklen clayman: If it's one-off - then I'd use 'at' - for recurring - I'd use cron
09:56 clayman ok, thanks!
09:59 ravenx since i have salt-master running on a non priv user, and i am giving that user (salt-user) account access to my devs, i need to make sure that they can't write to my .sls files in /srv
09:59 ravenx my question is, can /srv be owned as root and have salt-master still use th em?
10:00 ravenx essentially, can i `chown -R root:root /srv` and still have salt-master, which is running as a non-priv `salt-user` still work?
10:01 codehotter joined #salt
10:02 codehotter In my tomcat.sls, I chgrp to /var/log/tomcat to group zabbix, but this group is created by the zabbix-agent.sls state
10:02 codehotter What's the best way to encode this dependency??
10:02 LotR ravenx: my guess is as long as salt-user can still read them it'll work. why don't you just try it?
10:03 ravenx LotR: so you say just keep the current permissions and just give it read access?
10:03 codehotter I've read https://docs.saltstack.com/en/latest/ref/states/requisites.html but there are so many options and I'm not sure which one to use
10:03 jf_ ravenx: Agree with LotR. If salt-master doesnt complain about permissions... I think it shouldnt be a problem. But of course yes, test it!
10:03 quix joined #salt
10:03 ravenx thanks guys
10:04 LotR ravenx: what I meant is that if you do the chown, and make sure you have o+r, then the user will be able to read the files, which seems like it would be enough
10:05 systeem joined #salt
10:06 AndreasLutro jf_: no, salt does configuration management, nothing else
10:08 jf_ right. So essentially it doesnt mandate any sort of permissions setup for /srv as ravenx is worried about?
10:09 ravenx the permissions setup for /srv/ isn't controlled by salt, yeah
10:09 AndreasLutro sorry, that was for the monitoring/alerting question
10:09 ravenx just me, as a sysadmin
10:09 ravenx gotta make sure my .sls files don't "go rogue"
10:09 ravenx thanks to some devs
10:09 dean joined #salt
10:10 west575 joined #salt
10:11 jf_ AndreasLutro: gotcha. Thanks for clarifying. To be fair though, it is config management "plus"? I mean there's this other bit with beacons, reactors, etc.
10:11 AndreasLutro I use reactors only to trigger more configuration management, not alerting etc
10:12 jf_ gotcha. So essentially no provision for alerting
10:18 kows joined #salt
10:20 LotR codehotter: from your description it sounds like a plain require to me
10:33 keimlink joined #salt
10:35 edrocks joined #salt
10:38 patrek joined #salt
10:41 fredvd joined #salt
10:41 dendazen joined #salt
10:45 fracklen joined #salt
10:45 fracklen joined #salt
10:55 kevinquinnyo1 joined #salt
10:56 dgutu joined #salt
10:59 josuebrunel joined #salt
11:08 sjorge joined #salt
11:12 quasiben joined #salt
11:16 quasiben1 joined #salt
11:18 kows joined #salt
11:19 catpig joined #salt
11:21 kbaikov joined #salt
11:23 sjorge joined #salt
11:28 spaceSub joined #salt
11:28 spaceSub Could somebody explain me, when to use watch and when to use onchange?
11:30 kbaikov joined #salt
11:31 amcorreia joined #salt
11:31 RalfJ left #salt
11:33 quasiben joined #salt
11:36 dmaiocchi joined #salt
11:39 kows joined #salt
11:42 MajObviousman joined #salt
11:43 roock joined #salt
11:46 Guest31221 joined #salt
11:47 jacksontj joined #salt
11:47 my50c joined #salt
11:48 sagerdearia joined #salt
11:50 cpowell joined #salt
11:54 quasiben joined #salt
11:59 fracklen spaceSub: As I read it (https://docs.saltstack.com/en/latest/ref/states/requisites.html#onchanges), onchanges only applies the state if the defined state returns True. 'watch' is a special action for a state. E. g. for Service.running, a watch-clause will cause saltstack to restart the service
12:01 quasiben1 joined #salt
12:03 fracklen joined #salt
12:04 spaceSub fracklen: Okay, that's pretty much how I understood that, I just wasn't really sure. Thanks.
12:04 spaceSub Wow thats just strange though..
12:06 quasiben joined #salt
12:08 DammitJim joined #salt
12:09 roock joined #salt
12:10 AndreasLutro watch is just a convenience thing honestly
12:12 punkoivan joined #salt
12:12 kows joined #salt
12:13 punkoivan left #salt
12:13 AndreasLutro https://bpaste.net/show/6b4877b52dd9 to illustrate how they compare
12:13 newjersey joined #salt
12:15 Guest79 joined #salt
12:17 renaissancedev joined #salt
12:18 west575 joined #salt
12:20 west575_ joined #salt
12:24 quasiben joined #salt
12:29 Guest79 joined #salt
12:29 josue joined #salt
12:31 ilbot3 joined #salt
12:31 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.8, 2016.3.0rc2 | SaltConf16: http://saltconf.com/register/ | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
12:32 patrek joined #salt
12:36 edrocks joined #salt
12:37 akhter joined #salt
12:38 sjorge joined #salt
12:38 ravenx can someone give me an example of how to pass pillar data through the command line
12:38 ravenx into pillar file, then into my state .sls that/'s in /salt/
12:38 ravenx the ones online isnt' too clear.
12:41 VSpike joined #salt
12:43 fracklen joined #salt
12:46 kaictl joined #salt
12:47 babilen ravenx: salt 'foobar' state.apply pillar="{'foo': 'bar'}"
12:49 ravenx babilen: how can i set that up in my pillar file and my salt state file though
12:49 gh34 joined #salt
12:49 ravenx for the moment, i only have an init.sls and there is git.latest
12:49 ravenx i want to be able to change the 'rev:' in it init.sls to the one i pass in from the command line
12:49 ravenx that is the disconnect i'm experiencing righ tnow
12:50 babilen You wanted to pass the pillar through the command line, why would you have to set that up in a file?
12:50 babilen Ah
12:50 ravenx just a param, through the pillar, into the state sls file.
12:50 babilen Are you sure that works?
12:51 ravenx i want to be able to deploy differing branches
12:51 babilen Try it (with pillar merging and list merging)
12:51 ravenx what on earth is that
12:51 ravenx i think your previous solution was closer to what i wanted.
12:51 DammitJim joined #salt
12:51 babilen https://docs.saltstack.com/en/latest/ref/configuration/master.html#pillar-source-merging-strategy
12:52 ravenx i have no iddea what that is
12:52 ravenx and how it applies to my case.
12:52 ravenx it just concatentates two files
12:52 babilen You want to merge the pillar you pass on the command with the one you have already
12:53 ravenx no no no
12:53 ravenx not git merge
12:53 ravenx i do not want to do that.
12:53 babilen git?
12:53 ravenx i just want to pass in a branch and have git.latest pull that
12:53 ravenx or clone it.
12:54 Rkp nothing to do with git, but you can put bits of pillars together
12:54 ravenx this guy didn't have to do merging:
12:54 ravenx https://stackoverflow.com/questions/17711342/salt-can-i-use-an-argument-from-the-command-line-as-a-jinja-variable
12:54 ravenx isn't this a similar conecpt?
12:54 toastedpenguin joined #salt
12:54 babilen Yeah, so pass in pillar="{'ravenx': {'git_branch': 'my_fancy_branch'}}" and reference it with salt['pillar.get']('ravenx:git_branch')
12:55 ravenx beautiful, that is super clear
12:55 ravenx thanks.
12:55 babilen I don't see why that is complicated or how that relates to "into pillar file, then into my state .sls that/'s in /salt/"
12:56 babilen My impression was that you do *not* want a file, but the command line
12:56 ravenx preferably i dont want a file
12:56 babilen But it is clear now and I think that it does what you want
12:56 eMBee is there a way to review the output of the last command i was just running?
12:57 ravenx babilen: i thought that in order to pass in command lines like that, you need to create files in pillar/, no?
12:57 squishypebble joined #salt
12:57 babilen eMBee: https://docs.saltstack.com/en/latest/topics/jobs/
12:57 babilen ravenx: No, the point is *not* to have to use files, but to specify the pillar on the command line.
12:57 babilen (this is what threw me off and made me think that you want files)
12:57 eMBee thanks
12:57 ravenx so i can completely delete my pillar/ file and this will still work?
12:58 LondonAppDev joined #salt
12:59 babilen ravenx: It would (but don't expect any additional informatin that you do not pass on the command line to be available)
13:00 spaceSub How can I soft-depend on a cmd call? The cmd call itself is only supposed to be called if it's own onchanges condition is met.
13:00 kows joined #salt
13:01 ravenx babilen: gotcha.  lemme try this out.
13:01 babilen ravenx: Sure, just play
13:04 ronnix joined #salt
13:04 spaceSub It looks a bit like this: install pkg => onchange execute a sh command => when the command returns, restart service.
13:05 spaceSub Actually, there is even another shell commadn before the restart.
13:06 cpowell joined #salt
13:07 AndreasLutro spaceSub: just make a module.run service.restart state with onchanges: your-cmd-state
13:10 racooper joined #salt
13:11 subsignal joined #salt
13:13 kows joined #salt
13:13 snc joined #salt
13:14 Sammichmaker joined #salt
13:15 edrocks joined #salt
13:17 mapu joined #salt
13:18 quix joined #salt
13:19 spaceSub Let's say it looks like this: install pkg => onchange execute a sh command => when the command returns, execute another sh command => when the command returns, restart service.
13:20 jdubski joined #salt
13:22 Rumbles joined #salt
13:25 TooLmaN joined #salt
13:28 cpowell joined #salt
13:30 sfxandy joined #salt
13:31 sfxandy hi all
13:32 evle joined #salt
13:33 protoz joined #salt
13:35 ubaumann joined #salt
13:40 cpowell joined #salt
13:43 akhter joined #salt
13:47 alemeno22 joined #salt
13:49 akhter joined #salt
13:50 toastedpenguin joined #salt
13:50 west575 joined #salt
13:53 drawsmcgraw joined #salt
13:55 TheoSLC joined #salt
13:56 Rumbles joined #salt
13:57 Guest79 joined #salt
13:58 hasues joined #salt
13:59 akhter_1 joined #salt
14:00 jerredbell joined #salt
14:16 ilbot3 joined #salt
14:16 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.8, 2016.3.0rc2 | SaltConf16: http://saltconf.com/register/ | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
14:16 TooLmaN joined #salt
14:17 tharkun joined #salt
14:18 armguy joined #salt
14:18 barajasfab joined #salt
14:20 kaictl joined #salt
14:23 mpanetta_ joined #salt
14:24 Fabbe joined #salt
14:24 Guest79 joined #salt
14:25 favadi joined #salt
14:25 josuebrunel joined #salt
14:26 DammitJim joined #salt
14:29 andrew-l joined #salt
14:32 favadi joined #salt
14:35 favadi joined #salt
14:37 my50c joined #salt
14:37 TheoSLC joined #salt
14:38 inire joined #salt
14:38 yuhlw joined #salt
14:39 favadi joined #salt
14:40 ronnix joined #salt
14:46 nZac joined #salt
14:48 UtahDave joined #salt
14:50 Guest79 joined #salt
14:51 Brew joined #salt
14:51 tinyhippo left #salt
14:51 _mel_ does sysctl.present alter the file /etc/sysctl.conf or only apply the config to the running system?
14:53 ntropy both
14:53 kevinquinnyo just tested and i see that it appends to the bottom of the file
14:53 kevinquinnyo and sets the value as well
14:54 ntropy _mel_: these sort of questions are best (and usually faster) answered by your own direct experience - just try it and see what you get
14:54 _mel_ i did, but on debian the file isnÄ't changed. maybe because i have another state with file.append on the same /etc/systcl.conf
14:55 _mel_ ahh, it uses sysctl.d :-)
14:55 _mel_ all new with jessie ...
14:57 DammitJim joined #salt
14:57 quix joined #salt
15:02 ivanjaros joined #salt
15:02 AndreasLutro salt does neither directly, it just calls `systemctl enable <name-of-service>`
15:04 orion joined #salt
15:04 dmaiocchi joined #salt
15:05 orion Hi, does anyone know what I am getting this error with file.managed in 2015.8.8?: Comment: Source hash s3://foo/infrastructure/db/bar.sha512 format is invalid. It must be in the format, <hash type>=<hash>, or it must be a supported protocol: salt, http, https, ftp, swift, s3, file
15:06 dean joined #salt
15:06 favadi joined #salt
15:07 orion Nevermind, S3 permissions were wrong. That error is misleading. It leads me to believe that something is wrong with the URL.
15:08 UtahDave orion: ah, so it's probably getting an error response and stating the error response isn't a proper hash format?
15:09 berserk joined #salt
15:11 Guest79_ joined #salt
15:12 orion Maybe
15:14 renaissancedev joined #salt
15:16 michelangelo joined #salt
15:17 cpowell_ joined #salt
15:17 mohae joined #salt
15:17 Laogeodritt joined #salt
15:17 cb joined #salt
15:17 JPaul joined #salt
15:18 brianfeister joined #salt
15:19 mohae joined #salt
15:19 evle2 joined #salt
15:19 tongpu joined #salt
15:19 jettero joined #salt
15:19 Niamkik joined #salt
15:19 josuebrunel joined #salt
15:19 capricorn_one joined #salt
15:19 CaptTofu joined #salt
15:20 joren_ joined #salt
15:20 tristianc_ joined #salt
15:20 wiqd joined #salt
15:20 whatevsz_ joined #salt
15:20 rnts joined #salt
15:20 davroman1ak joined #salt
15:20 jettero I found and then attempted to use salt-call saltutil.wheel key.list_all
15:20 yidhra_ joined #salt
15:21 Garo__ joined #salt
15:21 pfalleno2 joined #salt
15:21 jettero I get Local: None for list_all and list matches=<whatever>
15:21 nebuchad` joined #salt
15:21 subsigna_ joined #salt
15:21 tcolvin joined #salt
15:21 jettero is there something else I need to do?
15:21 alexlist joined #salt
15:21 Dr_Jazz_ joined #salt
15:21 shawnbutts joined #salt
15:22 twodayslate joined #salt
15:22 lkannan joined #salt
15:22 UtahDave what are you trying to accomplish, jettero?
15:22 onlyanegg joined #salt
15:22 orion left #salt
15:22 ronp_usa joined #salt
15:23 minesskyline joined #salt
15:24 basepi joined #salt
15:24 AndreasLutro joined #salt
15:24 jacksontj_ joined #salt
15:25 Jarus joined #salt
15:26 ronnix joined #salt
15:26 rburkholder joined #salt
15:27 flebel joined #salt
15:27 M-MadsRC1 joined #salt
15:27 Yoda-BZH joined #salt
15:27 \ask joined #salt
15:27 dayid joined #salt
15:27 Yoda-BZH joined #salt
15:27 dayid joined #salt
15:27 gnord joined #salt
15:28 aurynn joined #salt
15:28 guerby joined #salt
15:28 Ashald joined #salt
15:28 ivanjaros joined #salt
15:28 tawm04 joined #salt
15:28 jettero UtahDave: Just trying to list the keys using the wheel. I have a half dozen syndic masters and I'd like to list all the keys for all of them without using subprocess.Popen(['salt-key', ...])
15:28 zifnab joined #salt
15:29 edrocks joined #salt
15:29 AbyssOne joined #salt
15:29 ashb joined #salt
15:29 lungaro joined #salt
15:29 subsignal joined #salt
15:29 jettero I'm not married to wheel key. I should just go source diving on salt-key to see what it does
15:30 UtahDave do you have a minion running on those syndic masters?
15:30 jettero indeed I do
15:30 guerby joined #salt
15:30 N-Mi joined #salt
15:30 N-Mi joined #salt
15:30 Guest79 joined #salt
15:30 cyteen_ joined #salt
15:30 UtahDave salt '<syndic masters>' cmd.run 'salt-key -L'
15:30 barajasfab joined #salt
15:30 Nils- joined #salt
15:30 oliv` joined #salt
15:30 chmod666org joined #salt
15:30 Lionel_Debroux_ joined #salt
15:30 mavhq joined #salt
15:30 sagerdearia joined #salt
15:31 scarcry joined #salt
15:31 jettero That's basically still the subprocess.Popen ... I'd like to get json or yaml back
15:31 jettero without having to parse the output of the salt-key program
15:31 UtahDave add  --out json
15:31 kaictl joined #salt
15:32 jettero I don't think salt-key has --out json and I don't think it would propagate well through cmd.run
15:32 jettero checking
15:32 AndreasLutro try salt 'syndic*' saltutil.wheel key.list_all
15:32 kbyrne joined #salt
15:32 aljosa joined #salt
15:32 rubenb joined #salt
15:33 gazarsgo joined #salt
15:33 UtahDave it just worked for me
15:33 fhh joined #salt
15:33 jettero yeah, cmd.run curshes the json output
15:33 scoates joined #salt
15:33 jettero it's better than trying to parse the text output though. I didn't realize salt-key could output json
15:33 schinken joined #salt
15:33 johtso joined #salt
15:33 LondonAppDev joined #salt
15:33 UtahDave most salt commands accept the --out option.  Tom likes that.  :)
15:33 jettero I like Tom
15:34 jettero Who's Tom? one of the devs prolly
15:34 jettero AndreasLutro: yeah, that still gives me None from all the syndics
15:34 danemacmillan joined #salt
15:34 UtahDave Tom's the founder of Salt
15:35 jettero Ahh. A name I should know then, clearly.
15:35 jettero The Tom has spoken. And there shall be JSON.
15:35 barajasfab joined #salt
15:36 UtahDave lol
15:37 copelco joined #salt
15:37 TheoSLC joined #salt
15:38 jettero I find it hard to let the wheel.key thing go though
15:39 jettero At some point, historically, it did what I want
15:39 ramblinpeck joined #salt
15:39 jettero It probably broke at some point and nobody noticed?
15:39 spuder joined #salt
15:39 jettero or saltutil.wheel doesn't work how I think it should
15:39 wiqd joined #salt
15:39 abele joined #salt
15:40 AndreasLutro if it doesn't work I would like it fixed too please!
15:40 kevinquinnyo jettero: i think the cmd function was missing a body
15:41 bstaz joined #salt
15:41 kevinquinnyo not actually sure if this is related but it might be:  https://github.com/saltstack/salt/issues/30866
15:41 saltstackbot [#30866]title: WheelClient cmd returns None but wheel functions called directly work | I'm not sure how this could have not presented itself as a bug earlier but this is what I'm seeing:...
15:41 bVector joined #salt
15:41 stickmack joined #salt
15:42 lkannan joined #salt
15:43 aboe joined #salt
15:44 jettero kevinquinnyo: ahh, called it
15:44 jettero but it also shows me what to put to run this from a custom module/runner or whatever.
15:45 jcristau joined #salt
15:47 jettero the fix commits got merged into 2015.8 backports, but it's not in my 2015.8.7 (apparently).
15:47 chutzpah joined #salt
15:47 serverascode joined #salt
15:48 wendall911 joined #salt
15:48 bltmiller joined #salt
15:49 OliverMT joined #salt
15:50 XenophonF joined #salt
15:51 ageorgop joined #salt
15:51 saffe joined #salt
15:52 LondonAppDev__ joined #salt
15:52 rsys joined #salt
15:57 arapaho joined #salt
15:59 LondonAppDev joined #salt
16:00 teryx510 joined #salt
16:01 sk_0 joined #salt
16:05 merlehaggard question about nodegroups, put in a simple one, restarted master and the minions can't be targeted on the cli
16:05 merlehaggard it does recognize if a group is nonexistent
16:06 goki joined #salt
16:07 packeteer joined #salt
16:09 edrocks joined #salt
16:09 merlehaggard http://pastebin.com/T4vBRWDE
16:10 flowstate joined #salt
16:12 onlyanegg joined #salt
16:13 rsys joined #salt
16:14 paolo joined #salt
16:14 saffe joined #salt
16:14 serverascode joined #salt
16:16 blarghmatey joined #salt
16:16 TheoSLC joined #salt
16:18 kstewart joined #salt
16:18 bVector joined #salt
16:18 ramblinpeck joined #salt
16:19 m4rx joined #salt
16:20 copelco joined #salt
16:20 antonw joined #salt
16:23 kstewart Is it possible to get info via salt-run jobs.list_job w/o that command itself leaving a "Runner completed" message in the master log?
16:23 akhter joined #salt
16:23 danemacmillan joined #salt
16:23 OliverMT joined #salt
16:24 m4rx joined #salt
16:25 onlyanegg joined #salt
16:28 amcorreia joined #salt
16:30 inire joined #salt
16:30 onlyaneg1 joined #salt
16:32 rrei joined #salt
16:32 rrei hi
16:32 rrei good day everyone
16:33 rrei does anyone know of where I could get a list of all jinja context variables passed to an sls file?
16:33 TooLmaN joined #salt
16:33 rrei I'm wondering if there's a variable containing the path/name of the sls file currently being rendered...
16:35 spiksius joined #salt
16:35 AndreasLutro rrei: https://docs.saltstack.com/en/latest/ref/states/vars.html
16:36 iggy relying on {{ sls }} is tricky
16:36 AndreasLutro yeah I'm not sure I'd trust it
16:38 Fabbe joined #salt
16:39 XenophonF is it possible to bootstrap salt minion installs using SSM on AWS?
16:39 spuder_ joined #salt
16:39 johtso joined #salt
16:39 XenophonF i'm looking at setting up VPCs in a region other than where my salt-master is
16:39 dergrunepunkt joined #salt
16:39 rrei Andreas: thanks! this is exactly what i was looking for! I had tried googling for {{ source }} and {{ __file__ }} to no avail
16:40 rrei why do you say relying on {{ sls }} is tricky?!?
16:40 dergrunepunkt Hi guys, I just upgraded from 2015.8.3 to 2015.8.8 and I'm having problems with regular expressions, I can't find a note of that in the changelogs, any clues?
16:40 XenophonF so where previously, i'd just use a VPC peering connection to provide backend connectivity (for salt-cloud/salt-ssh), I'd either need to setup another master in that region or find some other way to connect the VPCs there to my VPC here
16:41 dergrunepunkt This used to work "salt -C 'G@roles:A and G@roles:B and not G@roles:C' but now it doesn't
16:42 s0undt3ch joined #salt
16:44 renaissancedev joined #salt
16:44 sjmh joined #salt
16:45 bltmiller joined #salt
16:45 grumm_servire joined #salt
16:45 gerhardqux rrei: https://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.jinja.html#debugging
16:45 * teatime notes that's not a regex.  but looks like it should work.
16:45 atmosx joined #salt
16:47 rrei dergrunepunkt: thanks, I'll take a look into this
16:48 cpowell joined #salt
16:48 inire joined #salt
16:52 nZac joined #salt
16:53 ageorgop joined #salt
16:55 eliasp joined #salt
16:56 saffe_ joined #salt
17:02 ronp_usa1 joined #salt
17:04 esharpmajor joined #salt
17:04 hightekvagabond joined #salt
17:04 teryx5101 joined #salt
17:05 elektrix joined #salt
17:06 rsys joined #salt
17:06 teryx5101 joined #salt
17:08 jerredbell joined #salt
17:08 iggy dergrunepunkt: s/and not/not/
17:09 dergrunepunkt iggy: that does not work either
17:09 g3cko joined #salt
17:13 Lionel_Debroux joined #salt
17:15 teryx510 joined #salt
17:16 cpowell joined #salt
17:54 ilbot3 joined #salt
17:54 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.8, 2016.3.0rc2 | SaltConf16: http://saltconf.com/register/ | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
17:54 ashb joined #salt
17:54 ageorgop joined #salt
17:54 AndreasLutro saltnewb: most tools like that are agnostic - we use serverspec with salt
17:55 jfindlay along with `test=true`
17:55 basepi joined #salt
17:56 saltnewb jfindlay: yea, got that far, but the need to emulate another minion's layout is needed w/o pushing the code through to prod.  Thanks for the head's up, though.   Looks like I'm gonna have to science the heck out of this.  ;-)
17:56 abele joined #salt
17:57 wych joined #salt
17:57 jimcroft joined #salt
17:57 OliverMT joined #salt
17:57 rome_390 joined #salt
17:58 CaptTofu joined #salt
17:58 jfindlay saltnewb: there's also kitchen salt
17:58 baweaver joined #salt
17:58 packeteer joined #salt
17:59 orion joined #salt
17:59 shawnbutts joined #salt
17:59 grumm_servire joined #salt
17:59 johtso joined #salt
17:59 orion "L@rmq??-dev,web??-dev" <-- is this a valid "compound" match in a pillar top.sls file?
17:59 jfindlay but the ultimate goal is to use the state compiler to do all the state testing internally, so that you don't have to maintain separate state data for tests
18:00 jfindlay saltnewb: if you're coming to saltconf, you can hear about it in my talk :)
18:01 ggoZ joined #salt
18:01 saltnewb jfindlay: you buying my ticket?  lol.  I'd like to get your talk on the matter, though.  Do you have it pushed up to the intertubes yet?
18:01 jfindlay well, the talk I'm giving wtih two other people.  I guess that makes it more like a band
18:01 tongpu joined #salt
18:01 paolo joined #salt
18:02 bstaz joined #salt
18:02 saltnewb jfindlay: has the band posted to myspace yet?  If not, they aren't real.  Just sayin'.
18:02 mr_chris joined #salt
18:02 jfindlay saltnewb: the slides are minimal, but if you bug me later next week I can send you a gist
18:03 zenlot6 joined #salt
18:03 elektrix joined #salt
18:04 saltnewb jfindlay: Rock.  You have a public repo?  I can check it next week after the conference.
18:04 arapaho joined #salt
18:05 tawm04 joined #salt
18:05 Niamkik joined #salt
18:06 thehaven joined #salt
18:06 teatime orion: unless you have more to the expression than that, you can just use 'rmq??-dev web??-dev', but no I don't think L@ allows globbing
18:06 quasiben joined #salt
18:07 orion I didn't realize it didn't allow globbing.
18:09 rmnuvg joined #salt
18:10 antonw joined #salt
18:10 lkannan joined #salt
18:10 ronp_usa joined #salt
18:10 baweaver joined #salt
18:10 bVector joined #salt
18:11 twodayslate joined #salt
18:11 orion teatime: Do I need to retain "match: compound" when targeting "rmq??-dev web??-dev"?
18:12 teatime nope
18:12 rsys joined #salt
18:12 orion hmm, something doesn't seem right then.
18:12 teatime uh, you might have to put " or " in between them, I can't remember
18:12 yidhra joined #salt
18:13 orion "No minions matched the target. No command was sent, no jid was assigned." <-- with and without the 'or'
18:14 oeuftete joined #salt
18:14 orion salt -L 'rmq??-test,web??-test' test.ping <-- that fails too
18:15 bltmiller joined #salt
18:15 Brew salt -E will allow you to use pecl
18:16 nledez joined #salt
18:16 nledez joined #salt
18:16 quix joined #salt
18:16 orion Why doesn't -L work in this case? It's not clear from the docs that it shouldn't.
18:17 teatime I beleive -L is a list *without* globbing
18:17 Brew i thought -L was only for flat matching.
18:18 Brew what teatime said
18:19 teatime orion: I guess it is a compound match
18:19 teatime `salt -C 'nip.* or top.*' test.ping` works for me.
18:19 liskl joined #salt
18:19 teatime I thought you got implicit or with a space in the simple matching, but I guess not
18:19 pmcnabb joined #salt
18:19 oeuftete joined #salt
18:20 chrismoos joined #salt
18:20 cliffstah joined #salt
18:20 Gabemo joined #salt
18:20 Brew *pcre even from above
18:21 hightekvagabond joined #salt
18:21 teatime as far as does -L allow globs, /me notes that `salt -L 'nip.littlebluetech.com,top.nacl.littlebluetech.com' test.ping` works while `salt -C 'nip.* top.*' test.ping` fails.
18:22 feld joined #salt
18:22 feld joined #salt
18:23 teatime sorry, copied wrong hing; I meant `salt -L 'nip.*,top.*' test.ping` fails.
18:25 pfallenop joined #salt
18:25 pfallenop joined #salt
18:28 quasiben joined #salt
18:31 systeem joined #salt
18:36 sthns joined #salt
18:37 quasiben joined #salt
18:38 scoates joined #salt
18:40 akhter joined #salt
18:41 Ahlee i'm in love: https://github.com/saltstack/salt/pull/32593/files
18:41 saltstackbot [#32593]title: Feature minion.restart | ### What does this PR do?...
18:41 druonysus joined #salt
18:48 quasiben joined #salt
18:49 AndreasLutro I fail to see how that would work
18:54 quix joined #salt
18:55 punkoivan joined #salt
18:59 mapu joined #salt
19:00 ageorgop joined #salt
19:00 jfindlay saltnewb: I don't have a repo yet, but I'm happy to collect my part of the presentation into a blog post or similar
19:01 saltnewb jfindlay: cool, thanks.
19:01 berserk joined #salt
19:01 flowstate joined #salt
19:02 mapu joined #salt
19:03 XenophonF has anyone tried to use AWS Simple Systems Manager (SSM) to install salt on EC2 instances?
19:03 Sammichmaker joined #salt
19:03 XenophonF i'm specifically thinking of the EC2 Run Command functionality
19:04 XenophonF i ask because i have VPCs in regions other than my Salt master
19:04 XenophonF and i'm trying to figure out how to deploy stuff without resorting to VPN connections all over the place
19:04 AndreasLutro XenophonF: user data shell script or cloud-config?
19:05 quix joined #salt
19:07 XenophonF hm, didn't know about those, to be honest
19:08 AndreasLutro don't see how they solve your VPC issue though, they still need to connect to the salt master
19:09 XenophonF the salt master is globally accessible, so that's OK
19:09 XenophonF is there an example somewhere in the saltstack docs for specifying user data?
19:09 akhter joined #salt
19:09 XenophonF i haven't been able to find it
19:09 AndreasLutro it's somewhere in the ec2 cloud provider docs
19:09 XenophonF oh never mind
19:10 XenophonF i think it's the cloud profile option "script"
19:10 AndreasLutro nah that's different
19:11 AndreasLutro the deploy script is ran by salt-cloud over ssh
19:11 AndreasLutro user data is a script/config passed to the aws api and executed by most AMIs on boot afaik
19:12 XenophonF oh
19:12 XenophonF then it isn't clear how to set user data via a cloud profile
19:12 AndreasLutro https://docs.saltstack.com/en/latest/topics/cloud/aws.html#optional-settings
19:13 invalidexception joined #salt
19:14 XenophonF oh thank you
19:16 XenophonF so then when i invoke salt-cloud, how would i tell it not to run the bootstrap script?
19:16 AndreasLutro script: null
19:17 XenophonF gotcha
19:17 XenophonF thank you
19:18 boredatwork joined #salt
19:19 Guest31221 anyone have direct experience with winrepo?
19:19 numkem joined #salt
19:19 Guest31221 please...
19:19 XenophonF some
19:19 mohae_ joined #salt
19:19 om2 joined #salt
19:19 nZac_ joined #salt
19:19 jerredbell joined #salt
19:19 cpowell_ joined #salt
19:20 hrumph2 joined #salt
19:20 hrumph2 hi
19:21 hrumph2 i'm trying to add ms office to a salt repo
19:21 sjorge_be joined #salt
19:21 atmosx_alt joined #salt
19:21 invalidexceptio- joined #salt
19:21 hrumph2 so it looks like i have to add cache_dir: True
19:21 XenophonF yeah, you will
19:21 hrumph2 XenophonF: ok but how do I refer to the directory in the install_flags?
19:21 lempa joined #salt
19:21 stickmac1 joined #salt
19:21 XenophonF that's a darn good question
19:22 XenophonF you'll likely have to hard-code the path, c:\salt\var etc.
19:22 serverascode_ joined #salt
19:22 BogdanR joined #salt
19:22 hrumph2 XenophonF: how do i figure out what the path will be?
19:22 bltmiller joined #salt
19:22 minesskylinegtr joined #salt
19:22 Nils-_ joined #salt
19:22 Lionel_Debroux_ joined #salt
19:23 XenophonF another good question
19:23 dayid joined #salt
19:23 \ask joined #salt
19:23 XenophonF hang on i'm reading the source for winrepo just a sec
19:23 M-MadsRC joined #salt
19:23 patrek joined #salt
19:23 sauvin joined #salt
19:23 kows joined #salt
19:23 baweaver joined #salt
19:24 esharpmajor joined #salt
19:24 eliasp joined #salt
19:24 XenophonF it's most likely going to be c:\var\salt\cache\salt
19:25 hrumph2 XenophonF: you mean C:\var\salt\cache\salt\<software-name>?
19:25 XenophonF hang on found a ref to CACHE_DIR in ./salt/modules/win_repo.py
19:26 onlyanegg joined #salt
19:26 XenophonF no that isn't it
19:28 hrumph2 i guess i should put in an issue because there has to be a clear way to refer to this dir stated in the docs
19:29 XenophonF no there isn't
19:29 brianfeister joined #salt
19:29 ramblinpeck joined #salt
19:29 goki joined #salt
19:30 evidence joined #salt
19:30 orion Is there a way to run salt with *extra* pillar keys such that the provided ones merge in with the existing ones?
19:31 copelco joined #salt
19:31 hightekvagabond joined #salt
19:31 iggy maybe
19:31 iggy you can specify pillar data on the command line
19:32 iggy I think it merges based on the normal merging rules
19:33 kevinqui1nyo i have an ext_pillar, and a pillar_roots path defined in my /etc/salt/master, but i'm only getting the ext_pillar data
19:33 kevinqui1nyo what should i look for
19:33 mrueg when will salt repos gain support for xenial?
19:33 kevinqui1nyo to troubleshoot that
19:36 kevinqui1nyo ahhh nevermind, i had a bad glob in my pillar_roots top.sls
19:36 cpowell joined #salt
19:38 flowstate joined #salt
19:38 M-MadsRC joined #salt
19:38 cpowell_ joined #salt
19:41 jerredbell joined #salt
19:44 cten joined #salt
19:44 cten can someone verify if saltstack can be used with CoreOS?
19:44 hrumph2 XenophonF: here is the new issue -> https://github.com/saltstack/salt/issues/32617
19:44 saltstackbot [#32617]title: No clear way to identify or refer to cache_dir in package specification in winrepo | ### Description of Issue/Question...
19:47 gerhardqux playing with this: https://github.com/gerhardqux/shelly-renderer/
19:47 gerhardqux not sure if it's actually useful, but it's certainly an entertaining idea
19:48 garphy joined #salt
19:48 s0undt3ch joined #salt
19:48 cberndt joined #salt
19:49 punkoivan left #salt
19:53 XenophonF thanks hrumph2
19:55 jerredbell1 joined #salt
19:55 garphy joined #salt
19:59 baweaver joined #salt
20:00 orion Anyone know what this error means?: [salt.minion      ][ERROR   ][28828] Received bad data when setting the match from the top file
20:02 gerhardqux orion: on gitfs?
20:03 gerhardqux (not that I have any clue on this)
20:04 jimcroft left #salt
20:04 Hipikat joined #salt
20:06 flebel joined #salt
20:12 hrumph2 XenophonF: i assume that in most cases that .\ (i.e. local dir) will do but I haven't tested that because I assume that the current dir is changed to the installer dir before the installer is ran
20:13 hrumph2 XenophonF: wait i'm not even sure about that.... i din't know the process
20:13 hrumph2 XenophonF: it may be that .\ will just be taken literally and not expanded
20:13 hrumph2 XenophonF: depends if a shell is used
20:14 orion gerhardqux: yes
20:15 hrumph2 XenophonF: anyway i can't test this until i have salt 2015.8 installed. Does anyone know anything about 2015.8 for Fedora. Is salt easy to build?
20:15 teatime in *nix . or ./ refers to cwd w/o any expansion necessary
20:15 teatime but sounds like you're talking about windows, no clue there
20:15 iggy mrueg: I think there's a ticket open for it
20:16 DammitJim joined #salt
20:16 onlyanegg joined #salt
20:17 akhter joined #salt
20:17 M-MadsRC joined #salt
20:17 DammitJim is there a way to only print the changes when running a salt state?
20:20 berserk_ joined #salt
20:20 quasiben1 joined #salt
20:21 futuredale joined #salt
20:21 tharkun joined #salt
20:22 dober joined #salt
20:22 dober joined #salt
20:25 antonw joined #salt
20:26 Hipikat joined #salt
20:27 wych joined #salt
20:30 AndreasLutro DammitJim: look for salt master configs starting with state_
20:30 AndreasLutro I can't remember the exact names
20:31 DammitJim AndreasLutro, I dont' want to change my master config, though
20:31 DammitJim just a parameter.. but I think I got something... --state-output= something
20:34 renaissancedev joined #salt
20:34 jerredbell joined #salt
20:35 mowntan joined #salt
20:36 sauvin joined #salt
20:37 ajw0100 joined #salt
20:38 flowstate joined #salt
20:39 zer0def joined #salt
20:40 thehaven joined #salt
20:43 newjersey joined #salt
20:45 oeuftete joined #salt
20:45 ajw0100 joined #salt
20:47 ajw0100_ joined #salt
20:50 XenophonF AndreasLutro: is there a way to pass minion keying material through userdata scripts?
20:51 brianfeister joined #salt
20:52 flowstate joined #salt
20:52 subsignal joined #salt
21:01 jerredbell1 joined #salt
21:02 scoates joined #salt
21:07 SubOracle joined #salt
21:10 nZac joined #salt
21:10 quasiben joined #salt
21:13 flowstate joined #salt
21:18 spaceSub joined #salt
21:20 joren joined #salt
21:21 quasiben joined #salt
21:24 ronp_usa1 joined #salt
21:25 ajw0100 joined #salt
21:34 Kraln joined #salt
21:34 ajw0100 joined #salt
21:35 tharkun joined #salt
21:35 aw110f joined #salt
21:42 Fabbe joined #salt
21:53 beardedeagle joined #salt
21:54 renaissancedev joined #salt
21:56 nethershaw joined #salt
22:00 garphy joined #salt
22:04 cberndt joined #salt
22:04 west575 joined #salt
22:15 baweaver joined #salt
22:16 hightekvagabond joined #salt
22:23 graffic joined #salt
22:23 akhter joined #salt
22:24 nate_c joined #salt
22:25 artemz joined #salt
22:25 crashmag joined #salt
22:25 aurynn joined #salt
22:25 mavhq joined #salt
22:25 baffle joined #salt
22:27 AndreasLutro joined #salt
22:28 sparksa joined #salt
22:28 jor joined #salt
22:29 sparksa quick question - is it possible with current salt-master external auth to change PAM service from 'login' in the master config?  or is that hard coded?
22:31 orion Is it possible to order iptables rules with the iptables state module?
22:36 adelcast left #salt
22:36 hightekvagabond joined #salt
22:37 flowstate joined #salt
22:40 zenlot joined #salt
22:41 Eugene orion - just the same as state evaluation is normally ordered. https://docs.saltstack.com/en/latest/ref/states/ordering.html
22:43 Eugene I order system.iptables(which sets-up the basic stuff) above services.foo(allow port XYZ) in my highstate definition
22:46 XenophonF joined #salt
22:57 orion Eugene: thanks
23:02 orion left #salt
23:26 teryx510 joined #salt
23:37 flowstate joined #salt
23:47 kevinquinnyo joined #salt
23:47 TheoSLC joined #salt
23:49 sjmh joined #salt
23:53 bltmiller joined #salt
23:54 sjmh can you not target systems via certain external pillars?
23:55 sjmh have some external pillar data in etcd
23:55 sjmh but i can't run commands on minions by using that data as the targeting criteria..
23:56 sjmh https://gist.github.com/sjmh/55d22ac48f9023a8e580d9e06c00a3ab

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