Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-05-12

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

All times shown according to UTC.

Time Nick Message
00:02 aqua^c joined #salt
00:04 flowstate joined #salt
00:14 brianfeister joined #salt
00:17 josuebrunel joined #salt
00:26 josuebrunel joined #salt
00:30 Biopandemic joined #salt
00:32 mierst joined #salt
00:32 amcorreia joined #salt
00:33 jken joined #salt
00:36 edrocks joined #salt
00:39 mierst_ joined #salt
00:44 jghazally joined #salt
00:51 ssplatt joined #salt
00:51 ashmckenzie joined #salt
00:51 Biopandemic joined #salt
00:53 Biopandemic joined #salt
00:53 Biopandemic joined #salt
01:00 josuebrunel joined #salt
01:05 estahn hey guys, is there a better way to target the first minion of a list of minions? salt `salt -G 'roles:app_foobar' test.ping --out=json | jq -r -c -s '.[0] | keys | .[0]'` state.sls app.foobar.something
01:06 nZac joined #salt
01:06 nZac joined #salt
01:10 nZac joined #salt
01:11 flowstate joined #salt
01:16 capricorn_one joined #salt
01:21 teryx5101 joined #salt
01:22 iceyao joined #salt
01:23 iceyao_ joined #salt
01:23 mavhq joined #salt
01:27 jprostko joined #salt
01:29 iggy estahn: only first or just one at a time?
01:29 estahn only first
01:30 estahn not batch
01:30 yidhra joined #salt
01:30 iggy :( there goes my idea
01:30 iggy no
01:30 estahn ok so the problem i want to solve is
01:31 estahn i have application1 and it has cronjobs. cronjobs should only run on a single machine rather then all of them.
01:31 ageorgop joined #salt
01:31 iggy yeah, it's something that a lot of people would like to have solved, but nobody has figured out a good way to do it
01:31 estahn instead of using cronjobs on the minion is was thinking of using cronjob on the saltmaster and just target a single minion
01:32 estahn the above works fine but is not very pretty
01:32 mowntan joined #salt
01:33 estahn or instead cronjob use the salt scheduler
01:36 iggy if you're in jinja (i.e. pillar), you can use something like {% onehost = ['list', 'of', 'hosts'] | first %}
01:36 iggy but it's not guaranteed to give you the same one all the time
01:36 bshelton229 joined #salt
01:36 catpigger joined #salt
01:37 pipps joined #salt
01:41 fracklen joined #salt
01:48 Vishvendra joined #salt
01:55 telecode joined #salt
01:59 ivanjaros joined #salt
02:03 brianfeister joined #salt
02:09 jghazally joined #salt
02:09 ssplatt joined #salt
02:10 flowstate joined #salt
02:11 nZac joined #salt
02:14 writtenoff joined #salt
02:21 RandyT_ joined #salt
02:34 ssplatt is there a way to control the stylized output of a execution module? like if i return( True, values) vs return(False, values)…for red vs green text?
02:35 ssplatt and not have it show as “changed” if i use it during a state run?
02:37 RandyT joined #salt
02:38 edrocks joined #salt
02:51 ninjada joined #salt
02:53 ninjada_ joined #salt
02:55 cpowell joined #salt
02:56 k_sze[work] joined #salt
03:07 telecode joined #salt
03:07 subsignal joined #salt
03:09 flowstate joined #salt
03:10 Vishvendra joined #salt
03:15 jghazally joined #salt
03:16 ALLmightySPIFF joined #salt
03:20 iggy you really shouldn't be using execution modules in states
03:21 ageorgop joined #salt
03:22 racooper joined #salt
03:33 favadi joined #salt
03:40 kshlm joined #salt
03:43 onlyanegg joined #salt
03:47 brianfeister joined #salt
03:51 onlyanegg joined #salt
04:01 nZac joined #salt
04:03 lumtnman joined #salt
04:09 flowstate joined #salt
04:10 RandyT_ joined #salt
04:16 smcquay joined #salt
04:41 edrocks joined #salt
04:51 * honestly blinks
04:51 onlyanegg joined #salt
04:51 honestly wut?
04:52 honestly iggy: explain
04:54 armguy joined #salt
04:58 ajw0100 joined #salt
04:58 estahn hey guys, i have salt sometimes "destroying" the config files because pillar data is not available. it will then write something like "+  server_name myapp-None.None"
04:59 estahn any idea why
05:04 ivanjaros joined #salt
05:11 flowstate joined #salt
05:17 BigBear joined #salt
05:24 Darkman802 joined #salt
05:29 sauvin joined #salt
05:31 impi joined #salt
05:33 iceyao joined #salt
05:36 manji joined #salt
05:42 rdas joined #salt
05:43 favadi joined #salt
05:44 Vishvendra1 joined #salt
05:48 Vishvendra1 joined #salt
06:00 steffo joined #salt
06:05 iggy honestly: I mean with module.run (which is why OP is seeing "changes" constantly)
06:06 iggy estahn: pillar.get has an optional second argument to set a default value... sounds like you should be using that
06:11 flowstate joined #salt
06:12 josuebrunel joined #salt
06:13 honestly iggy: ah.
06:19 steffo_ joined #salt
06:19 duncanmv joined #salt
06:22 Ayo joined #salt
06:27 elsmo joined #salt
06:28 estahn iggy well,  it would just destroy the config just with another wrong value
06:30 kawa2014 joined #salt
06:43 iggy estahn: yeah, if you have bad data, there's nothing salt can do about that...
06:43 edrocks joined #salt
06:43 estahn iggy well i dont have bad data, salt delivers bad data
06:43 rem5 joined #salt
06:43 iggy a giant {% if mydata not None %} around your states
06:43 estahn lol
06:43 keimlink joined #salt
06:44 iggy salt doesn't deliver bad data
06:44 estahn well it did
06:44 iggy file a bug
06:44 estahn or it delivered no data ... tomato tomato
06:44 saltstackbot joined #salt
06:44 estahn i increased the instance size, i think it was a memory issue
06:45 ivanjaros3916 joined #salt
06:45 estahn i think the minion gets an empty response for the pillar data from the master due to timeout or whatever and then just continues with the empty pillar data
06:46 nZac joined #salt
06:46 simmel joined #salt
06:46 JPaul joined #salt
06:46 Zachary_DuBois joined #salt
06:46 dandelo joined #salt
06:49 g3cko joined #salt
06:56 Shirkdog joined #salt
06:56 tristianc_ joined #salt
06:57 cpowell joined #salt
06:59 saltstackbot joined #salt
06:59 borgstrom joined #salt
07:00 chutzpah joined #salt
07:01 Pie_Mage joined #salt
07:01 packeteer joined #salt
07:01 guanophobic joined #salt
07:01 `chris joined #salt
07:01 StolenToast joined #salt
07:01 justyns joined #salt
07:05 JPaul joined #salt
07:06 mowntan joined #salt
07:07 georgemarshall joined #salt
07:07 wych joined #salt
07:08 flowstate joined #salt
07:09 Gareth joined #salt
07:09 fracklen joined #salt
07:11 g3cko joined #salt
07:12 hvn joined #salt
07:12 hvn joined #salt
07:15 ablemann joined #salt
07:15 iceyao joined #salt
07:15 mierst joined #salt
07:23 ninjada joined #salt
07:28 dgutu joined #salt
07:36 vinian joined #salt
07:37 vinian for dual master, can master's state file include state file from the other master?
07:39 dgutu joined #salt
07:46 impi joined #salt
07:51 fracklen joined #salt
07:53 manji joined #salt
07:53 steffo joined #salt
07:53 JohnnyRun joined #salt
07:55 manji joined #salt
07:57 Rumbles joined #salt
07:58 aw110f joined #salt
07:59 dmaiocchi joined #salt
08:04 rim-k joined #salt
08:05 evle1 joined #salt
08:09 jhauser joined #salt
08:09 flowstate joined #salt
08:16 aw110f_ joined #salt
08:20 GreatSnoopy joined #salt
08:20 dmaiocchi joined #salt
08:26 slav0nic joined #salt
08:28 colegatron I need to import some variables into a pillar, but the file to import is in the salt states folder.
08:28 colegatron there is any way to import "from 'salt://postfix/postfix_vars.jinja' import myvar with context"
08:28 colegatron ??
08:29 colegatron I would like to do not have to duplicate the postfix_vars.jinja in pillar and salt folders
08:30 RandyT joined #salt
08:32 colegatron re-thinking it, it is a stupid question; the vars can be defined in the pillar.sls and get them in the state from a pillar variable. it should work.
08:32 colegatron sorry to think aloud
08:37 toastedpenguin joined #salt
08:38 keimlink joined #salt
08:39 s_kunk joined #salt
08:39 fredvd joined #salt
08:43 punkoivan joined #salt
08:43 punkoivan left #salt
08:44 goudale joined #salt
08:44 goudale yellow salt
08:45 goudale on my minion, /tmp is cluttered with RSA keys, which appears to be created by salt, and not cleaned
08:45 goudale is this a know bug ? does someone have a pointer ?
08:45 edrocks joined #salt
08:46 aqua^c joined #salt
08:48 ninjada joined #salt
08:50 wendall911 joined #salt
09:03 N-Mi joined #salt
09:05 MadHatter42 joined #salt
09:09 flowstate joined #salt
09:16 fracklen joined #salt
09:18 pezus joined #salt
09:18 pezus hi guys
09:18 pezus i want to make a "grains.get" on more than one itme
09:18 pezus *item
09:18 pezus how do i do so?
09:21 Sylvain31 joined #salt
09:21 Edgan joined #salt
09:23 BigBear joined #salt
09:23 west575 joined #salt
09:26 AirOnSkin joined #salt
09:27 traph joined #salt
09:27 traph joined #salt
09:31 fracklen joined #salt
09:33 elsmo joined #salt
09:36 Akshya joined #salt
09:36 Akshya hi
09:38 Akshya I am getting error while deploying vm through salt cloud...
09:38 Akshya can anybody help me?
09:41 goudale what's your error ?
09:41 fracklen joined #salt
09:45 Akshya [Object Not Found]: Could not find a VM named 'windows7Server64Guest' Error: There was a profile error: Failed to deploy VM
09:46 estahn joined #salt
09:47 Akshya here.. in profile config file--> image: windows7Server64Guest
09:49 favadi joined #salt
09:51 goudale who's your provider ?
09:53 Akshya I am using VMware vSphere ESXi5.5 server
10:08 flowstate joined #salt
10:09 west575_ joined #salt
10:12 Sylvain31 Hi, some good doc to use formulas? I may have skipped some step but using formula seems not well described. Is there some good doc?
10:15 favadi joined #salt
10:17 fracklen joined #salt
10:18 kshlm joined #salt
10:28 fracklen joined #salt
10:30 teryx510 joined #salt
10:30 flowstate joined #salt
10:32 ajolo joined #salt
10:35 fracklen joined #salt
10:35 teryx5101 joined #salt
10:41 nZac joined #salt
10:43 fracklen joined #salt
10:44 Miouge joined #salt
10:47 mowntan joined #salt
10:47 edrocks joined #salt
10:49 ruske joined #salt
10:50 fracklen joined #salt
10:51 BigBear joined #salt
10:58 Zhen joined #salt
10:59 cpowell joined #salt
11:00 telecode joined #salt
11:15 netzvieh Hi, I want to execute a bash script on the master in a reactor. Is that possible when the master server is not registered as minion to itself?
11:16 fl0w0lf joined #salt
11:21 amcorreia joined #salt
11:23 punkoivan joined #salt
11:26 west575 joined #salt
11:38 teatime 55555
11:38 renaissancedev joined #salt
11:38 teatime er, whoops ;)
11:39 fl0w0lf hello! I've a question regarding postgres DBs configuration with salt-ssh.
11:39 teatime in related news, «Interstella 5555» is /super awesome/, if you haven't seen it.
11:40 teatime (unrelated to «teatime cleans his keyboard 55555»)
11:40 fl0w0lf I don't know what I'm doing wrong but salt does not create a DB. https://gist.github.com/flowolf/b902a6c5e06f8e529940e77e61ab7fab is my config
11:42 faz3r joined #salt
11:46 iceyao_ joined #salt
11:46 Hybrid joined #salt
11:49 teatime fl0w0lf: a few basic things to confirm:  1.) is pillar['my_db']['name'] a string w/ length > 0,  2.) is "postgresql" the correct package to install for the postgres server,  3.) is postgres server listening on TCP on 127.0.0.1 (it may only be listening on a unix socket),  4.) does the "postgres" system user exist (in /etc/passwd),  5.) have you checked the master and minion logs?  it can be useful to stop both
11:49 teatime master and minion salt services, and then start both manually w/ '-l DEBUG', or similar.   ... sorry, that's all I got.
11:51 Grokzen joined #salt
11:53 fl0w0lf teatime: I'm using salt-ssh, postgres is the correct package, at least the server gets installed and is running. postgres is the user that debian installs, so that's correct as well. the db name is a sting longer that 0. @ 127.0.0.1 I tried it with db_host and without, is there another option I should try. additionally salt did not install a postgres cluster, I did that by hand. Haven't found anyhting about that in salt's docu.
11:54 dendazen joined #salt
11:56 marczis joined #salt
11:56 jhauser joined #salt
11:57 MadHatter42 joined #salt
11:57 marczis Hello everyone :)
11:59 teatime fl0w0lf: you can use netstat or something to double-check that it's listening... `netstat -tlnp` will show everything that bound and LISTENING via a TCP socket, and also show the PID and process name if you're root.  You can grep its output for 127.0.0.1 etc.
12:00 marczis joined #salt
12:00 marczis And hello again.
12:01 teatime fl0w0lf: also, iirc there's a difference when you make a user between a user that will connect via unix socket and a user (with the same name) that will connect via tcp... or maybe that is mysql, don't remember ;)
12:01 fl0w0lf teatime: confirmed! postgres is listening tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      1449/postgres
12:01 teatime kk, always good to check :)
12:02 fl0w0lf how is it that salt did not create a cluster?
12:02 AndreasLutro you didn't tell it to create a cluster
12:02 fl0w0lf how do I do that? did that by hand ATM
12:03 teatime a cluster?
12:03 fl0w0lf yes
12:03 teatime of postgres's?
12:03 favadi joined #salt
12:03 fl0w0lf no postgres has clusters for DBs
12:03 AndreasLutro on debian it's done for you when you install the package, so I don't know
12:04 fl0w0lf using ubuntu and the cluster was not created... did that by hand.
12:05 Grokzen Hi, If i use the new pillar_cache feature, is there any way for me to force the master to drop the cached data for one minion and rebuild it?
12:06 hlub is it possible to run a state depending on wether all of the states in the highstate were successful?
12:08 teatime "A database cluster is a collection of databases that is managed by a single instance of a running database server."  that is an interesting choice of terminology.
12:08 fl0w0lf yes it is... but clusters are just groups of something... so could pass as that
12:09 Rumbles joined #salt
12:09 teatime fl0w0lf: also, you confirmed everything else, but didn't mention if you've checked the minion log during state apply?  if not, it's very likely to have relevant info.
12:09 fl0w0lf how do I get the minion log on salt-ssh?
12:11 marczis joined #salt
12:11 fl0w0lf /tmp/.root_235412__salt/running_data/var/log/salt/minion is empty
12:12 MadHatter42 joined #salt
12:17 josuebrunel joined #salt
12:19 TooLmaN joined #salt
12:22 mierst joined #salt
12:25 ferbla joined #salt
12:26 teatime dunno exactly.  '-l info' or '-l debug' might be useful.  maybe along with redirecting the console output to a file or pager.  also see https://groups.google.com/forum/#!topic/salt-users/_Um1DvlhA7k (and a number of related, closed bug reports / PRs), however it seems like this problem is probably solved by now.  but if not, there's how to get around it.
12:31 DammitJim joined #salt
12:31 fl0w0lf teatime: thx. I tried --log-level=debug/all/trace but didn't find any useful info on why postgres is not creating the DB.
12:31 whytewolf joined #salt
12:33 fl0w0lf teatime: I think I'm onto it... found this in postgresql log: FATAL:  password authentication failed for user "mydbuser"
12:35 simon_c joined #salt
12:38 simon_c Hi. I was working with the salt demo vagrant boxes, and trying to replace the base ubuntu box with a base opensuse box on one of the minions (before trying the master). I'm running into issues with the salt provisioner failing when trying to copy keys into the box. Is there anyone about who understands the vagrant salt provisioner ?
12:38 KingJ joined #salt
12:40 ssplatt joined #salt
12:43 TooLmaN joined #salt
12:49 edrocks joined #salt
12:51 rem5_ joined #salt
12:54 snc joined #salt
12:57 babilen simon_c: What kind of issues? Could you paste the errors to one of http://refheap.com, http://paste.debian.net, https://gist.github.com, http://sprunge.us, … ?
12:58 squishypebble joined #salt
13:00 simon_c babilen: will do.
13:01 teatime I am curious:  does salt-cloud not have providers for { libvirt, kvm, xen, vagrant }, or am I just overlooking [one or more of] them ?
13:05 simon_c after replacing the base box in minion2 from ubuntu/trust64 with opensuse/openSUSE-42.1-x86_64, I get the following issue from teh salt provionoer. it feels like another instance of https://github.com/mitchellh/vagrant/issues/5973.    https://gist.github.com/simonc6372/b7f7ce03265d894c9d9fb727407d718c
13:05 saltstackbot [#5973]title: Salt provisioner fails to upload minion config | Ran into a problem in 1.7.3 doing a vagrant up using a trusty64 box with a salt provisioner specifying a custom minion_config. This is the error:...
13:07 XenophonF teatime: libvirt by itself doesn't really have an API, does it?
13:07 XenophonF same for raw KVM
13:07 XenophonF you'll see there's an interface for openstack, salt.cloud.clouds.openstack
13:08 XenophonF and for services that use a similar tech stack, salt.cloud.clouds.rackspace
13:08 subsignal joined #salt
13:10 numkem joined #salt
13:10 edrocks joined #salt
13:10 dyasny joined #salt
13:13 cpowell joined #salt
13:13 teryx5101 joined #salt
13:16 subsigna_ joined #salt
13:16 XenophonF i thought there was a vagrant formula, but perhaps i was wrong
13:17 gh34 joined #salt
13:17 XenophonF oh, there's this
13:17 XenophonF https://github.com/saltstack/salty-vagrant
13:18 XenophonF there's this reactor formula
13:18 XenophonF https://github.com/saltstack-formulas/vagrant-dev-vm-reactor
13:18 flowstate joined #salt
13:19 simon_c In trying to replace the base box for the salt vagrant demo setup, I'm running into a bug with the vagrant salt provisioner and directory permissions in /etc/salt in the salt rpm. https://gist.github.com/simonc6372/b7f7ce03265d894c9d9fb727407d718c
13:20 flowstate joined #salt
13:21 teatime libvirt *is* an api... it's an abstraction layer on top of virtualization back-ends e.g. kvm, xen, lxc, etc.
13:21 XenophonF i know
13:21 XenophonF but it's not the kind of web services api exposed by services like aws or rackspace
13:23 XenophonF instead of salt-cloud, you probably should be looking at salt.states.libvirt, salt.pillar.libvirt, and salt.modules.virt
13:24 XenophonF which work akin to salt.states.boto_*
13:25 mowntan joined #salt
13:25 teatime also, fwiw, there are providers for lxc, virtualbox, and vmware, so I would have expected libvirt and possible raw kvm, raw xen, and vagrant to exist... my question is whether I am overlooking them, or whether they just haven't been implemented yet (which would be fine.)
13:25 mowntan joined #salt
13:25 XenophonF they aren't there
13:26 XenophonF given what you want, you're probably better off putting a salt minion on your hypervisors and using the libvirt states
13:26 XenophonF i'm moving my aws salt-cloud stuff that direction, too
13:27 * teatime notes that libcloud *does* have a libvirt provider, so that suggests that adding a salt-cloud provider for libvirt could be trivialish.
13:27 babilen simon_c: Oh god, not that issue again!
13:27 babilen simon_c: Are you sure that you are running the latest vagrant version?
13:28 XenophonF teatime: https://github.com/saltstack/salt/tree/develop/salt/cloud/clouds
13:28 simon_c babilen: 1.7.4
13:28 babilen simon_c: yeah, please upgrade that
13:28 Sylvain31 in https://github.com/saltstack-formulas/mysql-formula how do I remove a user?
13:28 * babilen is on 1.8.4
13:28 BigBear joined #salt
13:29 babilen Sylvain31: Can you?
13:30 Sylvain31 babilen: I don't know yet… ?
13:30 babilen Sylvain31: I can only find mysql_user.present, but no mysql_user.absent states in there
13:31 Sylvain31 babilen: with  salt.states.mysql_user.absent maybe?
13:31 teatime XenophonF: so, afaik lxc/vmware/virtualbox don't provide web APIs the way, e.g., digitalocean/ec2/openstack do, and yet they have salt-cloud providers.  I don't think it's illogical to imagine a libvirt provider, and kvm and xen providers probably make sense too.  and a vagrant provider is probably sensible too (although I don't really know much about vagrant, so perhaps not as much.)
13:31 simon_c babilen: Ahh. Will do then.
13:32 Ayo joined #salt
13:32 babilen Sylvain31: I am sure that it would be nice to have that functionality in the formula
13:33 racooper joined #salt
13:33 teatime XenophonF: dang, that sounded broken-recordish... what I meant was, the standard of 'provides a web API similar to do/ec2/etc.' would exclude lxc/vmware/virtualbox.  so (and for other reasons) I don't think that's really the critera for being salt-cloud-able.
13:33 Sylvain31 babilen: to be, sure to understand, mysql_user.present in the formula is not the same as salt.states.mysql_user.present, it's a wrapper in fact?
13:35 zsoftich joined #salt
13:35 babilen Sylvain31: No, it is the same. It just allows you to define a pillar structure from which the actual mysql_user.present states are created.
13:36 babilen Sylvain31: https://github.com/saltstack-formulas/mysql-formula/blob/master/pillar.example#L61
13:36 babilen The underlying salt state is exactly that -- https://github.com/saltstack-formulas/mysql-formula/blob/master/mysql/user.sls#L38
13:38 teatime (XenophonF: fwiw, if you want to know why I would want, e.g., a libvirt provider for salt-cloud, is I am planning (currently in the someday/maybe stage) to begin using locally-hosted VMs for testing/experiments/etc., while production stuff is deployed to $some_public_cloud.  for cost-cutting.  so, it would be desirable that, e.g., the deployment and instance management methods be the same/similar (i.e.,
13:38 teatime salt-cloud) for dev/test and prod.)
13:38 babilen XenophonF: I love https://github.com/saltstack-formulas/users-formula/commit/a0392693e37048e916db2170a471d19ef6bf16d8 (and the immediate revert) :D
13:38 Sylvain31 babilen: I'm editing the file… but the pillar syntax doesn't provide a way to remove it with a boolean right?
13:39 babilen Sylvain31: No, we would have to come up with a sensible way to do that.
13:39 favadi joined #salt
13:39 babilen Sylvain31: And then write suitable states to achieve it
13:39 teatime (XenophonF: sure, I could use states to provision local VMs, and then even use the salt-cloud saltify-provider... but I'd be more likely to implement a salt-cloud libvirt provider myself than to do so.)
13:40 babilen Sylvain31: I would probably add an "absent: False/True" key in the pillar and then choose the state based on the value of it (if it is defined)
13:41 babilen Sylvain31: https://github.com/saltstack-formulas/users-formula/blob/master/users/init.sls#L440 + https://github.com/saltstack-formulas/users-formula/blob/master/users/init.sls#L7 would be that approach in the users-formula
13:42 babilen Sylvain31: Add it here https://github.com/saltstack-formulas/mysql-formula/blob/master/mysql/user.sls#L15 and then write suitable mysql_user-absent states .. That's a PR I'd happily merge
13:42 babilen Sylvain31: Sorry that I don't have the solution right away
13:43 babilen Sylvain31: That would be the "right" way and the one that is the most work for you while also the one that contributes the most to the community
13:44 mage_ why can I - require: - sls: some_sls but not with require_in ?
13:45 babilen mage_: Because it wouldn't be clear which states that would actually apply to
13:45 mage_ mmh
13:45 Sylvain31 babilen: no problem, just to be sure it was missing
13:45 babilen Arguably you might want to say "Well .. all of them", but I'm sure that that is the underlying issue
13:46 babilen mage_: Can't you define more specific requisites or would that break encapsulation for you?
13:47 mage_ yep I'll do that :)
13:47 Sylvain31 babilen: I'm gonna try. I'm also working on mariaDB https://github.com/saltstack-formulas/mysql-formula/issues/43
13:47 saltstackbot [#43]title: Adapt for MariaDB | It would be nice if you could adapt this to work with MariaDB - especially since CentOS/RedHat has dropped MySQL in favor of MariaDB.
13:47 kawa2014 joined #salt
13:47 babilen Ah, yeah .. that would be great to have also
13:47 babilen We mostly deploy mariadb these days and I do so by setting mariadb-server in the pillar lookup table ...
13:48 babilen What other problems do you have with mariadb ?
13:48 babilen I have to confess that I haven't read that issue in a while
13:48 babilen Sylvain31: You should, at least, file a bug in which you ask for the "remove user" functionality
13:49 Sylvain31 babilen: you're right. I'm gonna look if it is not already asked
13:49 simon_c left #salt
13:49 babilen Sylvain31: Ah! The root password is not correctly set in debconf!
13:50 Sylvain31 babilen: debconf in mariaDB with the suggested gist was skipped
13:51 Sylvain31 It was using SQL as mentionned
13:51 babilen yeah
13:51 babilen That's a pity ;(
13:51 Sylvain31 babilen: I tried to figure about debconf remaining data if ok or not…
13:51 babilen And I think that I should now check some boxes ...
13:52 flowstate joined #salt
13:53 Sylvain31 may be root only database (debconf)
13:53 Sylvain31 not tested. ;)
13:56 Sylvain31 babilen: is there a doc about using a formula, for now I'm discovering by guessing and reading the code…
13:56 Sylvain31 ?
13:57 scoates joined #salt
13:59 fl0w0lf teatime: I got it working. Haven't properly configured the dbuser. https://github.com/Slimmons/salt_postgresql/blob/9b7a294d5801349cec04856565fdb8693d70bd3b/postgresql/init.sls helped in finding the right setup. thx!
14:00 ninjada joined #salt
14:01 jerredbell joined #salt
14:02 babilen Sylvain31: https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
14:05 teatime fl0w0lf: cool tools.
14:06 mapu joined #salt
14:07 banderas joined #salt
14:08 armyriad joined #salt
14:08 Sylvain31 babilen: I found, this. a doc on using the formula a specific one. Maybe some are salt convention that may seem obvious, but not for beginner.
14:08 nZac joined #salt
14:09 armyriad joined #salt
14:09 banderas hi, how do I convert a string into a dict by using jinja statements in a sls file ?
14:09 babilen Sylvain31: I agree, there could be better documentation
14:10 Sylvain31 https://github.com/saltstack-formulas/mysql-formula/issues/119
14:10 saltstackbot [#119]title: remove  a mysql user  functionality | Add a functionality to remove a database user:...
14:10 teatime banderas: first off, just to avoid any possible X/Y problem, how come you want to do that?
14:13 banderas teatime:  I made a helper python script that returns info as a dict but when run it like salt['cmd.run'](cmd) the outuput becomes string and I need it as dict for later parsing
14:13 Sylvain31 babilen: in https://github.com/saltstack-formulas/users-formula/ how does absent is working for example (in the pillar I mean), where is it explained?
14:13 flowstate joined #salt
14:13 mist12332 joined #salt
14:14 armguy joined #salt
14:14 mist12332 heya fellas, if i use required pkg.installed. Will the package be installed or will the state refuse to run if the package is not installed?
14:14 jnilsson joined #salt
14:15 mist12332 if i have two states, one that installs a software and one that adds config files it would be preferable if the config state is run after the install. As it is now i might have to run a highstate several times in order for everything to be installed
14:15 patarr joined #salt
14:16 teatime banderas: does you python code need to run A) on the target minion, or B) always on the master ?
14:16 rim-k joined #salt
14:16 teatime (or C) either way is fine.)
14:17 banderas teatime: A) it needs to run on a minion
14:18 teatime banderas: then you should probably make a salt execution module, instead of a standalone script.  https://docs.saltstack.com/en/latest/ref/modules/index.html#modules-are-easy-to-write
14:18 Biopandemic joined #salt
14:19 impi joined #salt
14:20 banderas teatime: thx, didn't think about new module, but is it possible to convert str to dict in jinja ?
14:21 teatime banderas: the alternative would be to have your script output valid YAML or JSON, and then use the salt-provided |load_yaml or |load_json Jinja filters to parse it, https://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.jinja.html#filters
14:21 teatime (but the execution module is better.)
14:23 babilen Sylvain31: There is a pillar.example -- https://github.com/saltstack-formulas/users-formula/blob/master/pillar.example#L111
14:23 teatime afaik right off, there is not a |load_python filter.  I'm sure you could manage, but outputting YAML or JSON from python is easy enough, and at least they're just data and not executable code.  generally.
14:23 babilen Sylvain31: Note that these are simply conventions that reflect the changing preferences of individual authors and/or the community
14:23 quasiben joined #salt
14:23 babilen Sylvain31: These things aren't nearly as standardised as you might hope ;)
14:24 banderas teatime: I understand, thank you! :)
14:24 LotR joined #salt
14:25 stupidnic joined #salt
14:25 drags joined #salt
14:25 Sylvain31 babilen: ok so 'cuser' is a username to be removed. I could have been more frendly john: for examble, I saw that line 111, I was guessing it was to define a full purge mode for all user to be removed…
14:26 InAnimaTe joined #salt
14:26 teatime banderas: re: "these are simply … individual authors" —— ahh, isn't *everything*?  ;)
14:27 Guest29521 joined #salt
14:27 Guest29521 Hi
14:27 Guest29521 I am very new to salt
14:27 Brew joined #salt
14:27 impi joined #salt
14:28 teatime Hi, I'm teatime.
14:28 Guest29521 I have installed the salt-master and connected with one minion. How can manage users with salt
14:28 teatime funny you should ask that just now.
14:28 iceyao joined #salt
14:29 teatime have a look at https://docs.saltstack.com/en/latest/ref/states/all/salt.states.user.html and https://github.com/saltstack-formulas/users-formula/ , I suppose.
14:29 Guest29521 i have a pubkey for user and want to create user with salt who should also copy that pub key to user's home directory so that user can login directly
14:29 Zachary_DuBois joined #salt
14:29 teatime please consider spending some quality time reading most of the documentation (https://docs.saltstack.com); it will serve you well.
14:29 Guest29521 I am looking for very basic syntax, as i am not programmer so can't understand formula etc.
14:29 babilen Sylvain31: exactly .. The basic addition is that you have a pillar key sequence such as .... mysql:users;USERNAME:absent that does not have to be default and is a boolean
14:30 teatime there's really no alternative to reading, then experimenting, and ultimately learning what some of the various pieces are and how to make them work together.
14:30 babilen Sylvain31: You then check if it is defined and false (for the mysql_user.present loop over the users) and it it is defined and true (for the mysql_user.absent loop)
14:30 teatime well, I guess you could pay someone.  but those are pretty much your two options.
14:30 _JZ_ joined #salt
14:30 babilen Sylvain31: ... as exemplified in the users-formula
14:31 Guest29521 also, i just added one more node (salt master as minion) but when i try 'salt * test.ping' it fails, but when i try  individual target it works
14:31 Sylvain31 babilen: I saw now.
14:31 Sylvain31 ;)
14:31 teatime Guest29521: Start with the tutorial.
14:31 babilen Guest29521: You might want to start with https://docs.saltstack.com/en/getstarted/
14:31 flowstate joined #salt
14:32 teatime hrm, didn't know that was a thing.
14:32 babilen it's pretty new
14:32 teatime also, tutorial is at:  https://docs.saltstack.com/en/latest/topics/tutorials/index.html
14:32 babilen teatime: I think it is the most approachable "get started / learn saltstack" guide out in the open now
14:33 teatime more docs, esp. clean, new-user-oriented docs, outside the constraints of and busy/polluted hierarchy/namespace of the generated documentation at e.g. docs…/en/latest  ==  awesomesauce.
14:34 teatime man, I need to take classes in being less verbose.  :/   also, bbiab.
14:36 BigBear joined #salt
14:36 Sylvain31 babilen: I guess that the process to add mysql.user.bob.absent=True , is to write the good state with static yaml. Then add jinja code and do some run of: salt 'db*' state.show_sls test-revome-mysql --out=yaml
14:36 impi joined #salt
14:39 impi joined #salt
14:39 edrocks joined #salt
14:40 flowstate joined #salt
14:45 armyriad joined #salt
14:46 AdamSewell joined #salt
14:48 nZac joined #salt
14:50 flowstate joined #salt
14:53 [Kernel_Panic] joined #salt
14:59 fracklen joined #salt
15:00 synical joined #salt
15:00 fracklen joined #salt
15:04 mierst joined #salt
15:04 fl0w0lf left #salt
15:04 Sylvain31 no sql root access transmited: https://0bin.fr/paste/-ZeUdsW8#ZgwDzxovM3ifsKD57SZ-NfLtBMo1y/gFyE8mFNbSwIB
15:06 Sylvain31 what is currently giving root access to https://github.com/saltstack-formulas/mysql-formula/blob/master/mysql/user.sls
15:07 Sylvain31 ?
15:12 hasues joined #salt
15:13 spuder joined #salt
15:15 hasues left #salt
15:18 bshelton229 joined #salt
15:19 jimklo joined #salt
15:19 RoGryza joined #salt
15:20 RoGryza Hey, how do I get an issue assigned to me? Just open a PR fixing it?
15:22 flowstate joined #salt
15:25 tracphil joined #salt
15:27 Trauma joined #salt
15:28 colinstgeorge joined #salt
15:29 brotatochip joined #salt
15:31 kaptk2 joined #salt
15:32 dezertol joined #salt
15:34 mohae joined #salt
15:38 mowntan joined #salt
15:42 Eugene To get the actual Issue assigned you would need to be a member of the Saltstack organization. I don't think you need that, though.
15:42 fracklen joined #salt
15:42 Eugene I would suggest just submit a PR and referencing the original Issue # in it.
15:44 cpowell joined #salt
15:49 Rumbles joined #salt
15:50 RoGryza Thanks, I'll do that
15:53 toastedpenguin joined #salt
15:57 mierst joined #salt
15:58 Fiber^ joined #salt
16:00 Vishvendra joined #salt
16:01 mpanetta joined #salt
16:02 ajw0100 joined #salt
16:04 [Kernel_Panic] Hi
16:04 [Kernel_Panic] a question (?
16:04 pfallenop joined #salt
16:10 ivanjaros joined #salt
16:10 bltmiller joined #salt
16:14 edrocks joined #salt
16:15 patrek joined #salt
16:16 rihannon joined #salt
16:16 writtenoff joined #salt
16:17 hasues joined #salt
16:21 sauces joined #salt
16:21 amcorreia joined #salt
16:22 sauces Trying to use file.managed with Windows to add a configuration file. The file is never created and there are no errors. Is there a different method with Salt for windows to manage files?
16:23 impi joined #salt
16:23 jfindlay sauces: they use different salt modules, but should behave the same.  Did you look at the debug logs?
16:24 sauces jfindlay: I haven't checked out the logs yet. I'll double check now. Thanks.
16:24 flowstate joined #salt
16:25 sauces jinfdlay: Nothing in the logs other than a warning about using the md5 hashing algorithm
16:25 jfindlay sauces: is that at debug level or higher?
16:26 brotatochip joined #salt
16:26 hasues left #salt
16:26 sauces Not in debug mode, I can try that too.
16:26 brianfeister joined #salt
16:27 jfindlay well, I'm not sure if/what you'll find, just asking some basic questions
16:28 khorben joined #salt
16:30 onlyanegg joined #salt
16:32 sauces jfindlay: that's valid, combing through the logs now
16:33 sauces Also was having issues with packages giving errors about unable to find the package in the repo, but in fact the package installed successfully
16:35 barajasfab joined #salt
16:35 sauces jfindlay: Nothing in the logs w/ debug enabled. The package installs, but no file is managed/created.
16:41 BigBear joined #salt
16:46 Muchoz joined #salt
16:47 dendazen joined #salt
16:49 rrei joined #salt
16:51 tracphil joined #salt
16:54 Miouge joined #salt
16:59 noraatepernos joined #salt
16:59 ageorgop joined #salt
17:00 spuder_ joined #salt
17:01 fracklen joined #salt
17:01 Darkman802 joined #salt
17:02 armyriad joined #salt
17:03 khorben_ joined #salt
17:07 aw110f joined #salt
17:09 aw110f_ joined #salt
17:09 rem5 joined #salt
17:12 apofis joined #salt
17:17 pipps joined #salt
17:17 mierst joined #salt
17:19 kingscott joined #salt
17:22 Trauma joined #salt
17:23 ewd84 joined #salt
17:24 cnk joined #salt
17:26 rem5 joined #salt
17:29 ssplatt so on some hosts i’m going to be pulling in an ip address from an external pillar, so i’m thinking i want to merge that in the map.jinja of my networking formula.  is there a “best” way to reasign only a single yaml element without doing a full merge=.  i’m sure i could do it in a loop in the state file too but i thought this would be more ‘elegant’
17:32 bluenemo joined #salt
17:32 gcorey joined #salt
17:32 ssplatt i pretty much want something like if mypillar.ip is defined and networking.iface.eth0 is defined, set netorking.iface.eth0.address = mypillar.ip
17:33 aw110f joined #salt
17:34 kingscott has anyone used the vmware-tools formula on github? I'm having troubles applying the state to a debian based box.
17:34 jfindlay sauces: that is strange.  Can you see anything in the log about the file and/or parent directories getting created?
17:34 Vishvendra joined #salt
17:35 sauces jfindlay: Nothing in the logs about the file at all
17:36 sauces Both minion and master are on latest release. Minions are Windows Server 2012 R2, master is Ubuntu 14.04.
17:36 ajw0100 joined #salt
17:36 jfindlay sauces: what does your sls file look like?
17:39 sauces jfindlay: Using the default repo sls file, added the file.managed portion there. http://pastebin.com/ncaQgK3U
17:41 tracphil joined #salt
17:43 XenophonF teatime: everything you said re: libvirt sounds emminently reasonable
17:43 jfindlay sauces: what is the output you get when you run `salt windows-minion state.apply mystate.sls` or however you're applying the state?
17:44 Lionel_Debroux joined #salt
17:44 s_kunk joined #salt
17:45 sauces jfindlay: http://pastebin.com/PHMe2EZd - that's the result, but I get the same results even if I'm not using file.managed.
17:46 linjan_ joined #salt
17:48 jfindlay sauces: I'm not very familiar with winrepo, but have you done the steps to setup winrepo: https://docs.saltstack.com/en/latest/topics/windows/windows-package-manager.html#configuration?
17:49 sauces jfindlay: Yes, all packages install. Some with errors, even though they actually install. I've been using Salt on Linux the last year or so without issue.
17:50 sauces jfindlay: Sorry, yes all packages install using the setup/guide on that page.
17:50 jfindlay hm, I'm not sure what the issue might be
17:50 sauces I'm just unable to get file.managed to work successfully. No issues with it using Linux.
17:50 jfindlay have you tried isolating the file.managed state?
17:51 sauces So running a state with only file.managed?
17:51 flowstate joined #salt
17:52 jfindlay yes
17:52 sauces I haven't, but I can give it a shot. Also found this on the issues page, but I don't get any errors/output on file.managed: https://github.com/saltstack/salt/issues/31969
17:52 saltstackbot [#31969]title: Fix file.managed for windows | ### Description of Issue/Question...
17:52 nZac joined #salt
17:56 sauces jfindlay: Success using the file in `/srv/salt/file/init.sls` with `salt 'windows1' state.sls file`
17:56 spuder joined #salt
17:56 aw110f joined #salt
17:58 sauces jfindlay: With only using the file.managed state. However, if I attempt to install any windows packages from `/srv/salt` and not the windows repo directory, it's unable to locate the package using the same contents of the windows repo sls.
17:58 edrocks joined #salt
18:00 oida joined #salt
18:00 flowstate joined #salt
18:01 sauces jfindlay, the file/results: http://pastebin.com/AeD971yn
18:01 edavis joined #salt
18:06 dmaiocchi joined #salt
18:06 fracklen joined #salt
18:07 jfindlay sauces: yes, I forgot about that file.managed bugfix, which will come out in the next set of releases
18:08 teatime XenophonF: hmm.  that's unusual.  usually I manage to assert at least one or two insanities (or inanities) in such a discussion :)
18:08 sauces jfindlay, thanks! I'll keep poking around with the way I have it currently setup and look forward to the next release. I really appreciate you helping out.
18:09 jfindlay also, this describes how to create a custom winrepo installer in case you haven't seen it already: https://docs.saltstack.com/en/latest/topics/windows/windows-package-manager.html#creating-a-package-definition-sls-file
18:09 sauces thanks!
18:09 jfindlay sauces: sorry for not having much help
18:09 sauces no problem :)
18:10 BigBear joined #salt
18:10 tracphil joined #salt
18:11 punkoivan joined #salt
18:14 brianfeister joined #salt
18:19 Darkman802_ joined #salt
18:22 nZac joined #salt
18:31 tvinson I have a state on a minion that fires an event that triggers orchestration, the last part of the orchestration runs a state on the minion that triggered the original event. That fails because the minion is still running the highstate, is there a reasonable way to get around that?
18:40 DammitJim joined #salt
18:46 nZac joined #salt
18:47 mohae_ joined #salt
18:51 andrew_v joined #salt
18:58 josuebrunel joined #salt
19:04 ssplatt joined #salt
19:07 rovar joined #salt
19:08 teryx510 joined #salt
19:09 rovar hey all.. anyone know if there is a way to manually install and configure salt-minions?
19:09 rovar specifically, I need to install on CoreSO
19:09 rovar CoreOS
19:12 bltmiller joined #salt
19:12 coleman joined #salt
19:12 keimlink joined #salt
19:14 apofis joined #salt
19:14 coleman Can anyone tell me if I have an error in my "require" statements here: http://collabedit.com/qwws3
19:14 coleman I am getting failures, and it seems to be the execution order
19:14 coleman I am invoking the state directly with salt-call
19:16 telecode joined #salt
19:21 jfindlay tvinson: I think I've seen that before.  Can you fire an event from the minion when it's highstate is done and wait on that in your orchestrate config?  I'm not an orchestration expert (yet) so I can't offer that suggestion with a guarantee it will work
19:23 jfindlay rovar: can you install salt from pip?
19:25 garphy joined #salt
19:27 rovar jfindlay, maybe... I'll have to install python manually on core os.. but that might be doable :)
19:28 jfindlay coleman: the require requisite format is `- require: {<state>: <id>}`, unless there is a new way to require states that I don't know about (https://docs.saltstack.com/en/latest/ref/states/requisites.html#id1)
19:29 jfindlay rovar: I'm not very familiar with CoreOS, but I would be surprised if installing python and pip even hasn't been solved already
19:31 barajasfab joined #salt
19:32 AndreasLutro you're not supposed to install software on coreos, you're just supposed to run containers
19:33 AndreasLutro coreos comes with its own management systems - if you need more than that I think you'd have to go with something ssh-based like ansible
19:33 jfindlay that makes sense
19:35 coleman jfindlay: thank you. I am following this which suggests a way to just name the ID first https://docs.saltstack.com/en/getstarted/config/requisites.html
19:36 coleman The "state name" is the same as the sls file?
19:38 edrocks joined #salt
19:40 jfindlay you can require a whole SLS file, https://docs.saltstack.com/en/latest/ref/states/requisites.html#require-an-entire-sls-file, but normally I would say 'state name' is what follows the `- name:` declaration in each specific SLS block
19:41 jfindlay also a good reference: https://docs.saltstack.com/en/latest/ref/states/highstate.html
19:42 coleman Wow, it was not clear to me that I needed the "name" declaration.
19:42 aw110f joined #salt
19:42 coleman Thanks, I'll rework my file and see if I can adjust the execution order.
19:44 jfindlay coleman: it is not required if you have the name and id the same, for example
19:45 jfindlay screen:
19:45 jfindlay pkg:
19:45 jfindlay - installed
19:45 jfindlay https://docs.saltstack.com/en/latest/ref/states/highstate.html#function-declaration
19:46 jfindlay or rather, it is required, but the name and ID would be the same in that case :)
19:51 telecode joined #salt
19:52 duncanmv joined #salt
19:53 bltmiller joined #salt
19:54 rem5 joined #salt
19:54 josuebrunel joined #salt
19:59 peters-tx Looks like salt doesn't play will with logrotate on RHEL boxen
19:59 peters-tx Well rather.
20:00 * peters-tx goes and checks to see if there's a bug report... there has to be
20:01 ageorgop1 joined #salt
20:03 toofer joined #salt
20:04 toofer Hey guys, hopefully a quick question here. In the event of heavy packet loss and eventual disconnect, how does a Salt minion handle reconnecting to the master? Will it require a restart? Maybe it just keeps checking every 30 seconds or so?
20:05 Sokel joined #salt
20:06 davisj peters-tx: you're refering to the logrotate execution module?
20:07 tapoxi joined #salt
20:07 Sokel When doing lookups via pillar, is it possible to do something like pillar['example']['template']['{{variable}}']? Basically when I try, it doesn't expand, and I'm not sure exactly how to google it
20:07 tapoxi joined #salt
20:08 davisj toofer: I believe it will attempt recommection but don't know for sure. I know that connection reties related setting are tunable in the minion config.
20:09 AndreasLutro Sokel: check out the jinja documentation, or just try whatever you'd do in python. pillar['example'][variable] is all you need to do
20:09 BigBear joined #salt
20:10 Sokel AndreasLutro: ok, I'll try that. I'm not completely familiar with python yet.
20:10 toofer @davisj, cool thanks. That probably gets me what I need to know.
20:11 ZiLi0n_ joined #salt
20:12 ZiLi0n_ hello, someone using test kitchen and kitchen-salt knows how to pass parameters to the suites so that serverspec "property[]" evaluate properly?
20:13 manji joined #salt
20:15 peters-tx davisj, Nope
20:16 peters-tx davisj, RPM-ized Salt master and minion have a /etc/logrotate.d/salt file
20:16 peters-tx davisj, this Logrotate script doesn't attempt to have Salt master or minion disconnect from their associated log files before doing compression
20:16 fracklen joined #salt
20:20 peters-tx davisj, I'll have to look at it closer, perhaps it isn't an issue at all.. hmm
20:22 bltmiller joined #salt
20:26 pipps joined #salt
20:35 MadHatter42 joined #salt
20:39 GreatSnoopy joined #salt
20:40 manji joined #salt
20:46 telecode joined #salt
20:51 toofer joined #salt
20:54 tapoxi hi #salt, any updates about 2016.3.0?
20:55 iggy 2 weeks
20:55 * iggy doesn't know...
20:56 tapoxi well im wondering if there's a public set of release notes etc, thinking of migrating to salt and wondering if I should wait on the next release or go with 2015.8
20:56 teryx510 joined #salt
21:00 AndreasLutro tapoxi: I don't think there's use in waiting, there are no serious breaking changes so an upgrade should be fine - https://github.com/saltstack/salt/blob/develop/doc/topics/releases/2016.3.0.rst
21:00 jfindlay iggy is about right
21:01 tapoxi AndreasLutro thanks, this is exactly what I was looking for
21:01 jfindlay we're also working on getting 2015.5.11 and 2015.8.9 out at about the same time
21:04 AndreasLutro are you regretting switching to date version numbers yet? :p
21:04 BigBear joined #salt
21:05 RoGryza joined #salt
21:05 brianfeister joined #salt
21:06 jfindlay that decision was made before I came to saltstack.  It's not my favorite version system, but I'm ok with it even with its faults
21:07 jfindlay versioning schemes are like wallets.  Everybody has one, but nobody likes what they've got
21:08 jfindlay I'm only allowed one bad analogy per week
21:09 AndreasLutro haha
21:10 ageorgop joined #salt
21:11 Muchoz joined #salt
21:19 jwon hey guys, is there a way for me to get the user that executed the command in a salt runner? I noticed that when I run things like test.ping, we log something like: "2016-05-12 20:51:24,487 [salt.master      ][INFO    ][30772] User sudo_jwon Published command test.ping with jid 20160512205124485590" I was wondering if I could extract "sudo_jwon" somehow in my runner so that I can do stuff with it?
21:22 pipps joined #salt
21:22 toofer joined #salt
21:23 pipps99 joined #salt
21:25 fracklen joined #salt
21:26 BigBear joined #salt
21:27 kevinquinnyo joined #salt
21:28 toofer joined #salt
21:28 MTecknology joined #salt
21:32 toofer joined #salt
21:39 t0m0 joined #salt
21:41 minot joined #salt
21:41 Sokel left #salt
21:42 minot joined #salt
21:42 jdhore Can anyone link me to an example list of saltscripts where configuration is being done via pillar for a git remote formula?
21:49 nZac joined #salt
21:52 toofer joined #salt
21:55 atoponce joined #salt
22:02 moloney Can I kick off a highstate from a minion (on itself) from a state file?  Or do I need to generate an event and have the master react to that event?
22:07 amcorreia joined #salt
22:10 flowstate joined #salt
22:11 perfectsine joined #salt
22:14 jfindlay you can theoretically nest `state.apply` and `module.run` arbitrarily deep
22:32 telecode joined #salt
22:37 zenlot joined #salt
22:50 estahn joined #salt
22:54 brianfeister joined #salt
23:00 pipps joined #salt
23:01 bltmille_ joined #salt
23:01 adelcast left #salt
23:02 ronrib joined #salt
23:03 pipps_ joined #salt
23:04 sagerdearia joined #salt
23:06 monochrome joined #salt
23:06 moloney @jfindlay:  I tried using "module.run" to run "state.apply" but I get the error: Too many functions declared in state 'module' in SLS u'prereq'
23:10 jdhore left #salt
23:10 flowstate joined #salt
23:11 ninjada joined #salt
23:12 ninjada joined #salt
23:12 hal58th_ joined #salt
23:15 intr1nsic joined #salt
23:16 rem5 joined #salt
23:17 monochrome joined #salt
23:17 brianfeister joined #salt
23:18 nZac_ joined #salt
23:25 fracklen joined #salt
23:32 wych joined #salt
23:32 pipps joined #salt
23:34 hal58th joined #salt
23:38 armguy joined #salt
23:45 hal58th joined #salt
23:53 k_art joined #salt
23:54 k_art Can someone explain what "The named service salt-minion is not available" means? Can't find anything helpful via google. :-(
23:56 k_art Is that an executable on the minion? Is that a state?
23:56 mosen joined #salt
23:58 aqua^c joined #salt
23:59 perfectsine joined #salt

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