Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-11-26

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

All times shown according to UTC.

Time Nick Message
00:06 otter768 joined #salt
00:07 kitplummer joined #salt
00:16 mohae joined #salt
00:22 jaybocc2 joined #salt
00:27 Waggott14 joined #salt
00:35 whytewolf well, lets see if my changes fix anything or if i just blew up openstack by trying to get a broken POS working
00:36 devl_ joined #salt
00:44 cberndt joined #salt
00:45 joehh joined #salt
00:47 clintberry joined #salt
00:47 denys joined #salt
00:49 Diaoul joined #salt
00:53 joehh joined #salt
00:54 onlyanegg joined #salt
01:03 tristianc joined #salt
01:07 joehh joined #salt
01:20 RobertChen joined #salt
01:22 penguinpowernz joined #salt
01:28 otter768 joined #salt
01:36 mohae_ joined #salt
01:41 quasiben joined #salt
01:43 Furao joined #salt
01:44 arif-ali joined #salt
01:49 aqua^c joined #salt
01:55 tristianc joined #salt
01:57 zsoftich2 joined #salt
02:01 fsteinel joined #salt
02:05 Furao_ joined #salt
02:09 ageorgop joined #salt
02:11 kitplummer joined #salt
02:13 jaybocc2_ joined #salt
02:15 racooper joined #salt
02:17 clintberry joined #salt
02:24 catpigger joined #salt
02:33 subsignal joined #salt
02:37 nethershaw joined #salt
02:41 jaybocc2 joined #salt
02:51 RobertChen joined #salt
02:51 writtenoff joined #salt
02:51 evle joined #salt
03:00 larsfronius joined #salt
03:05 favadi joined #salt
03:14 * iggy bets on brokenstack blowing up
03:14 kitplummer joined #salt
03:16 onlyanegg joined #salt
03:17 kitplumm_ joined #salt
03:18 colegatron joined #salt
03:22 om left #salt
03:23 om joined #salt
03:24 beardedeagle joined #salt
03:28 mosen joined #salt
03:33 evidence joined #salt
03:33 ninkotech joined #salt
03:34 evidence left #salt
03:34 evidence joined #salt
03:37 onlyanegg joined #salt
03:41 otter768 joined #salt
03:47 kitplummer joined #salt
03:50 kitplummer joined #salt
03:59 kitplummer joined #salt
04:05 evle joined #salt
04:09 quasiben joined #salt
04:11 frank__ joined #salt
04:14 rdas joined #salt
04:15 quix joined #salt
04:17 whytewolf iggy: actually it didn't. it had 0 effect even though i changed a bunch of lines. I left out a line that was needed to actaully start the workers for the item i was adding ....
04:17 marwood joined #salt
04:17 numkem joined #salt
04:19 clintberry joined #salt
04:21 kitplumm_ joined #salt
04:23 kitplum__ joined #salt
04:25 kitplummer joined #salt
04:27 quasiben joined #salt
04:27 viq joined #salt
04:29 kitplummer joined #salt
04:35 ramteid joined #salt
04:38 stanchan joined #salt
04:46 otter768 joined #salt
04:48 anmolb joined #salt
04:50 RobertChen joined #salt
04:52 kitplumm_ joined #salt
05:07 onlyanegg joined #salt
05:10 RobertChen joined #salt
05:13 Anasko joined #salt
05:13 Anasko left #salt
05:14 kitplummer joined #salt
05:15 salt-noob joined #salt
05:16 salt-noob how can i auto accept keys by it's fingerprint?
05:17 hemebond salt-noob: I think you can just put the pub key in the directory on the master.
05:26 salt-noob hemebond thankyou!
05:30 salt-noob if there are 2 connection of the same minion_id trying to auth, how can i accept the correct one?
05:32 kitplummer joined #salt
05:34 racooper figure out which minion has the incorrect ID, fix it, and restart the minion service?
05:37 impi joined #salt
05:40 nethershaw joined #salt
05:45 clintberry joined #salt
05:51 kitplummer joined #salt
05:56 favadi joined #salt
05:59 stanchan joined #salt
06:08 otter768 joined #salt
06:11 onlyanegg joined #salt
06:13 jalbretsen joined #salt
06:15 anmolb joined #salt
06:17 N-Mi joined #salt
06:17 N-Mi joined #salt
06:25 netcho joined #salt
06:31 dayid joined #salt
06:39 malinoff joined #salt
06:40 totzky joined #salt
06:43 glycoknob joined #salt
06:48 glycoknob hi, can someone help me with mine.get and roles?
06:48 glycoknob it's not working mine.get '*' works, but e.g. mine.get 'roles:hadoop_slaves' '*' doesn't work
06:49 jaybocc2 joined #salt
06:49 clintberry joined #salt
06:53 kitplummer joined #salt
06:53 hemebond glycoknob: What is that second command supposed to do?
06:54 glycoknob I'm trying to test the following line in a state: {%- set datanode_hosts = salt['mine.get']('roles:hadoop_slave', 'network.interfaces', 'grain').keys() %}
06:54 glycoknob e.g.
06:54 glycoknob salt 'master' mine.get '*' grains.items works
06:55 glycoknob salt 'master' mine.get 'role:hadoop_slave' grains.items doesn't works
06:55 glycoknob however
06:55 glycoknob salt 'master' mine.get 'G@role:hadoop_slave' grains.items doesn't works
06:55 glycoknob sorry the last line works
06:55 hemebond Yeap.
06:55 hemebond 'role:hadoop_slave' isn't a minion id
06:56 hemebond So you have to tell Salt that you're trying to match on a grain.
06:56 hemebond G@
06:57 glycoknob @hemebond: but the format is even the official documentation: https://docs.saltstack.com/en/latest/topics/mine/
06:57 glycoknob *in the
06:57 glycoknob see: /srv/salt/haproxy_config:
06:58 hemebond expr_form='pillar'
06:58 hemebond Means match on pillar
06:58 hemebond So roles:web is a pillar
06:58 hemebond Or maybe not.
06:59 glycoknob so if I turn this: salt['mine.get']('roles:hadoop_master', 'network.interfaces', 'grain') into this:
06:59 glycoknob salt['mine.get']('roles:hadoop_master', 'network.interfaces', expr_form='grain') it should do?
06:59 glycoknob I'll test, thanks
06:59 glycoknob as far as I know pillars and grains are valid data sources
06:59 hemebond Yeah, but it looks like they actually mean grain, not pillar.
06:59 hemebond They have 'G@roles:web' further up.
07:01 hemebond Aha, it's fixed in the develop version of that page.
07:01 hemebond Correctly has expr_form='grain'
07:03 larsfronius joined #salt
07:04 glycoknob @hemebond: okay, looks like expr_form='grain' seems to help.. now but I've only got the grain from one machine not 130 :/
07:05 hemebond You possibly need to do a sync
07:05 hemebond sync_all or something; I can't remember the command off the top of my head
07:05 glycoknob @hemebond: how to do it? mine.send grains.items?
07:06 hemebond Try https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.saltutil.html#salt.modules.saltutil.sync_all
07:06 hemebond Of course, there is also an interval with mines.
07:07 hemebond 5 minutes or so by default I think.
07:08 glycoknob @hemebond: perfect \o/
07:08 glycoknob works now, can I force this sync before the state runs? it runs not every often
07:09 glycoknob so i put this into init.sls unter module.run?
07:10 hemebond Well, you really only need to do it when you update the mine functions and pillars.
07:10 hemebond Unless you are using highstate, which does a sync (I believe).
07:11 glycoknob okay, so I should be fine? good. thanks a lot!
07:11 ALLmightySPIFF joined #salt
07:12 hemebond Good luck :-)
07:14 daemonkeeper joined #salt
07:24 RobertChen joined #salt
07:25 thehaven joined #salt
07:25 boredatwork joined #salt
07:37 ilbot3 joined #salt
07:37 Topic for #salt is now Welcome to #salt | 2015.8.1 is the latest | Please use https://gist.github.com for code, don't paste directly into the channel | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
07:37 SWAT_ joined #salt
07:37 wm-bot41 joined #salt
07:37 esharpmajor_ joined #salt
07:37 canci_ joined #salt
07:38 CaptainM1gnus joined #salt
07:38 EvaSDK_ joined #salt
07:38 gchao joined #salt
07:38 al_ joined #salt
07:38 peters-tx joined #salt
07:38 AndreasLutro joined #salt
07:38 Rebus joined #salt
07:38 kivihtin joined #salt
07:39 phx___ joined #salt
07:39 eofs_ joined #salt
07:40 bryguy_ joined #salt
07:40 Ahrotahn1ee joined #salt
07:40 felskrone joined #salt
07:40 Pixionus joined #salt
07:40 Pixionus joined #salt
07:40 jaybocc2 joined #salt
07:40 thehaven_ joined #salt
07:40 ignasr joined #salt
07:40 RobertChen joined #salt
07:40 saltstackbot joined #salt
07:40 w1gz_ joined #salt
07:41 cwyse joined #salt
07:41 geekatcmu joined #salt
07:41 RobertChen can a service watch another service?
07:41 dec joined #salt
07:41 felskrone joined #salt
07:41 imanc joined #salt
07:41 LtLefse joined #salt
07:41 shawnbutts joined #salt
07:41 dh joined #salt
07:41 twiedenbein joined #salt
07:41 Phtes joined #salt
07:41 stopbyte joined #salt
07:41 Puckel_ joined #salt
07:41 kbyrne joined #salt
07:42 Rockj joined #salt
07:42 Niamkik joined #salt
07:42 schinken joined #salt
07:42 masterkorp joined #salt
07:42 GrueMaster joined #salt
07:43 markm joined #salt
07:43 georgemarshall joined #salt
07:43 shanemhansen joined #salt
07:43 JPaul joined #salt
07:43 mdupont joined #salt
07:43 adeschamps joined #salt
07:43 buhman joined #salt
07:43 riftman joined #salt
07:43 bfoxwell joined #salt
07:44 sixninetynine joined #salt
07:44 Nazzy joined #salt
07:44 is_null joined #salt
07:44 VSpike joined #salt
07:44 tiadobatima1 joined #salt
07:44 _ikke_ joined #salt
07:44 N-Mi joined #salt
07:45 ry joined #salt
07:46 AirOnSkin joined #salt
07:46 pezus joined #salt
07:46 kavakava joined #salt
07:46 amunger joined #salt
07:46 mitsuhiko joined #salt
07:46 gtaylor joined #salt
07:46 ronrib joined #salt
07:47 deus_ex joined #salt
07:47 ventris joined #salt
07:47 GreatSnoopy joined #salt
07:48 zer0def joined #salt
07:48 wintamute joined #salt
07:48 davisj joined #salt
07:48 clone1018 joined #salt
07:48 alvinstarr joined #salt
07:49 bVector joined #salt
07:49 xDamox joined #salt
07:50 izrail joined #salt
07:50 jasondotstar joined #salt
07:50 Knuta joined #salt
07:50 marcinkuzminski joined #salt
07:50 clintberry joined #salt
07:50 FreeSpencer_ joined #salt
07:51 stillLotR joined #salt
07:51 sinh_ joined #salt
07:51 lkannan joined #salt
07:51 tawm04 joined #salt
07:51 rome_390_ joined #salt
07:51 stooj_ joined #salt
07:51 carmony_ joined #salt
07:51 troyreadyy joined #salt
07:51 dec_ joined #salt
07:51 cwyse_ joined #salt
07:52 anmol joined #salt
07:52 jY- joined #salt
07:52 feliks__ joined #salt
07:52 joshin joined #salt
07:52 joshin joined #salt
07:52 smkelly_ joined #salt
07:53 honestly joined #salt
07:53 edulix joined #salt
07:53 KermitTheFragger joined #salt
07:53 ecdhe_ joined #salt
07:53 SirLagz joined #salt
07:54 tedski- joined #salt
07:54 rodr1c_ joined #salt
07:54 giantlock joined #salt
07:55 kitplummer joined #salt
07:55 karlthane_ joined #salt
07:55 bfoxwell_ joined #salt
07:55 samed_ joined #salt
07:56 dec joined #salt
07:56 Pixionus joined #salt
07:56 ponpanderer joined #salt
07:56 tawm04 joined #salt
07:56 nobrak joined #salt
07:56 nobrak joined #salt
07:56 muep joined #salt
07:56 NightMonkey joined #salt
07:56 kiorky joined #salt
07:56 simmel joined #salt
07:56 keekz joined #salt
07:56 intr1nsic joined #salt
07:57 ignasr joined #salt
07:57 emid joined #salt
07:57 Kruge joined #salt
07:58 TomJepp joined #salt
07:58 creppe joined #salt
07:58 gratimax joined #salt
07:58 Cottser joined #salt
07:58 rbjorklin joined #salt
07:58 tiadobatima joined #salt
07:59 jesusaurus joined #salt
07:59 jamesp9 joined #salt
07:59 apejens joined #salt
08:00 chitown joined #salt
08:00 JPaul joined #salt
08:01 Mandorath joined #salt
08:01 ekleog joined #salt
08:01 egil joined #salt
08:01 mikepea joined #salt
08:02 Niamkik joined #salt
08:02 ksj joined #salt
08:03 baoboa joined #salt
08:03 manfred joined #salt
08:03 g3cko joined #salt
08:03 Horgix joined #salt
08:03 THE_BOULDER joined #salt
08:03 sk_0 joined #salt
08:04 Phtes joined #salt
08:04 Rockj joined #salt
08:04 voileux joined #salt
08:04 catpig joined #salt
08:05 denys joined #salt
08:05 David_B55 joined #salt
08:06 kutenai joined #salt
08:07 justanotheruser joined #salt
08:07 davedash joined #salt
08:08 NachoDuck joined #salt
08:08 ropes joined #salt
08:09 jab416171 joined #salt
08:09 MK_FG joined #salt
08:09 giany joined #salt
08:09 __alex joined #salt
08:09 artemz joined #salt
08:09 ntropy joined #salt
08:09 hajhatten joined #salt
08:09 wiqd_ joined #salt
08:09 jhauser joined #salt
08:10 MK_FG joined #salt
08:10 marwood joined #salt
08:10 gazarsgo joined #salt
08:10 jab416171 joined #salt
08:10 goki joined #salt
08:11 Garo_ joined #salt
08:12 shadowsun joined #salt
08:12 skarn joined #salt
08:13 programmerq joined #salt
08:13 kalessin joined #salt
08:13 antonw joined #salt
08:13 6JTACKCGI joined #salt
08:13 munhitsu joined #salt
08:13 bstaz joined #salt
08:14 dijit joined #salt
08:17 CaptTofu joined #salt
08:17 jayne joined #salt
08:17 whytewolf joined #salt
08:17 tvinson joined #salt
08:17 robawt joined #salt
08:17 renoirb joined #salt
08:17 gthank joined #salt
08:17 jasonrm joined #salt
08:18 torax joined #salt
08:18 gthank joined #salt
08:20 impi joined #salt
08:20 eseyman joined #salt
08:20 blue0ctober joined #salt
08:22 adongy joined #salt
08:22 pviktori_ joined #salt
08:22 serverascode joined #salt
08:22 ashb joined #salt
08:23 dustywusty joined #salt
08:23 imanc joined #salt
08:23 shawnbutts joined #salt
08:23 giantlock joined #salt
08:23 kavakava joined #salt
08:23 gtaylor joined #salt
08:23 bVector joined #salt
08:23 lkannan joined #salt
08:23 phx joined #salt
08:23 anmol joined #salt
08:24 Mandorath joined #salt
08:24 mikepea joined #salt
08:24 Phtes joined #salt
08:24 kutenai joined #salt
08:24 davedash joined #salt
08:24 NachoDuck joined #salt
08:24 wiqd_ joined #salt
08:24 gazarsgo joined #salt
08:24 goki joined #salt
08:24 lazybear joined #salt
08:24 munhitsu joined #salt
08:24 antonw joined #salt
08:24 bstaz joined #salt
08:24 CaptTofu joined #salt
08:25 goldbuick__ joined #salt
08:25 adongy joined #salt
08:25 liskl joined #salt
08:27 toanju joined #salt
08:29 cmek joined #salt
08:29 pppingme joined #salt
08:29 joyrida08 joined #salt
08:29 thebwt joined #salt
08:29 quix joined #salt
08:29 Deevolution joined #salt
08:31 marwood_ joined #salt
08:32 bstaz_ joined #salt
08:32 Guest47941 joined #salt
08:33 Mandorath Maybe someone can ellaborate how the ext_pillar actually works, i'm getting a bit confused while reading several docs. I'm trying query a database using a SELECT so i can fill a pillar variable. I'm using the sqlite3 ext_pillar, although i do not want to query a complete table. I want a single parameter from a table.
08:34 Mandorath Is this possible using the sqlite3 ext_pillar module or should i create my own ext_pillar for this?
08:34 CaptTofu_ joined #salt
08:35 tyler-baker joined #salt
08:37 hoonetorg__ hi
08:37 hoonetorg__ mysql.user on galera cluster is not replicating
08:38 hoonetorg__ reading the doc of galera this could mean that user is created with
08:38 hoonetorg__ insert command directly into mysql.user table
08:39 hoonetorg__ instead of using
08:39 hoonetorg__ create user ... command
08:39 hoonetorg__ is this a known problem?
08:40 hoonetorg__ is this a problem with saltstack or with mysql-python???
08:47 pppingme joined #salt
08:47 ITChap joined #salt
08:51 hoonetorg__ ^^^ i mean state mysql_user.present creates user only on one node of galera cluster
08:52 babilen hoonetorg__: AFAICT it runs CREATE USER .. Which version of salt are you running?
08:52 AndreasLutro hoonetorg__: looking at salt source, it looks like it's doing create user
08:53 AndreasLutro https://github.com/saltstack/salt/blob/2015.8/salt/modules/mysql.py#L1177
08:54 RobertChen can a service watch another service’s status change ?
08:55 babilen What are you trying to achieve?
08:55 babilen But yeah. you can declare requisites between all states
08:56 BigBear joined #salt
08:57 keimlink joined #salt
08:58 irctc497 joined #salt
08:58 Rumbles joined #salt
09:00 s_kunk joined #salt
09:03 irctc497 Hi Guys , need help
09:03 irctc497 https://gist.github.com/seenae/f91b29add8b760f7b9e9
09:03 irctc497 Is there any problem with my jinjja loop
09:03 jab416171 joined #salt
09:03 irctc497 I am trying to get the list of packages
09:04 Rumbles joined #salt
09:05 fredvd joined #salt
09:06 skarn joined #salt
09:06 irctc497 Some typo
09:06 babilen irctc497: You need a space between "-" and the item and the list on line 5 and 6. So "-base.pkg" should be "- base.pkg".
09:07 babilen Also indentation is a bit off
09:07 irctc497 babilen: my pillar datais rendering without any issue
09:07 irctc497 https://gist.github.com/seenae/a12debd5da1546d7e403
09:08 babilen I'd also use .items() in lieu of .iteritems() as the former is Python 3 compatible and the using an iterator on such tiny sequences won't make a difference
09:08 RobertChen joined #salt
09:08 RobertChen if service b is changing from running to stop, then also stop service a
09:08 babilen irctc497: Is that all in one pillar or are line 9 and the rest in a state? (also not indented like that)
09:10 irctc497 What exactly I am trying to do is create entries  in top.sls file with jinjja loop , by looking into pillar data
09:10 babilen RobertChen: That's not really how salt works. You tell a service in which state you want it to be rather than reacting to changes. Why don't you just use service.dead and be done with it?
09:10 babilen irctc497: So line 9 and so on are from your states' top.sls ?
09:10 irctc497 So pillar data is good
09:10 irctc497 yes
09:11 irctc497 {% for pkgs, args in pillar.get('my_hosts', {}).iteritems() %}     {% for value in args['profiles'] %}     - profiles/{{value}}   {% endfor %}    {% endfor %}
09:11 irctc497 this is the exact loop
09:12 babilen irctc497: That looks alright (modulo the comments I made above concerning the pillar structure and iteritems()). What do you get when you run "salt 'someminion' pillar.get my_host" ?
09:12 kshlm joined #salt
09:12 babilen Oh .. and you want to drop the ['profiles'] there
09:13 giantlock joined #salt
09:14 otter768 joined #salt
09:14 Grokzen joined #salt
09:14 babilen .items() gives you tuples (well, one really) like: ('profiles', ['base.pkg', 'base.apache']) .. So if you unpack that tuple, pkgs will be 'profiles' and 'args' will be ['base.pkg', 'base.apache']
09:15 irctc497 my_host is big dictionary
09:15 irctc497 https://gist.github.com/seenae/a12debd5da1546d7e403
09:15 irctc497 update the structure here
09:15 babilen Still ...
09:15 kawa2014 joined #salt
09:16 babilen You only get more tuples like [('hostId', 17), ('description', None'), ...]
09:16 irctc497 yes
09:17 babilen args in that case is *always* the value ... it is quite commong to use something like "for k, v in somedict.items()" which is exactly what you do here (only with pkgs, args in lieu of k, v)
09:18 babilen I'd say you want to use something like: {% for profile in salt['pillar.get']('my_host:profiles', []) %} ... {{ profile }} ... {% endfor %}
09:19 irctc497 salt['pillar.get']('my_host:profiles this will work ?
09:19 babilen sure
09:19 irctc497 let me check
09:19 babilen But do you understand the problem now?
09:20 GreatSnoopy joined #salt
09:20 hoonetorg__ AndreasLutro: babilen: salt is 2015.5 from epel on el7
09:20 jaybocc2 joined #salt
09:21 babilen hoonetorg__: That's also using CREATE USER
09:21 babilen (well, HEAD of 2015.5 is at least)
09:23 ITChap joined #salt
09:24 Xevian joined #salt
09:25 dkrae joined #salt
09:29 hajhatten joined #salt
09:29 N-Mi joined #salt
09:30 toddnni_ joined #salt
09:30 irctc497 babilen: https://gist.github.com/seenae/a12debd5da1546d7e403 this is the ouptut
09:31 mattiasr joined #salt
09:31 illern_ joined #salt
09:31 irctc497 I can't still find the packages in pillar
09:31 pdx6 joined #salt
09:32 shadowsun joined #salt
09:32 MK_FG joined #salt
09:32 giany joined #salt
09:32 __alex joined #salt
09:32 artemz joined #salt
09:32 ntropy joined #salt
09:32 tristianc joined #salt
09:33 gwmngilfen joined #salt
09:33 sinonick joined #salt
09:33 freelock joined #salt
09:34 favadi joined #salt
09:34 sk_0 joined #salt
09:34 Micromus joined #salt
09:34 Ahrotahntee joined #salt
09:34 canci joined #salt
09:34 Rkp joined #salt
09:34 EvaSDK joined #salt
09:34 EvaSDK joined #salt
09:35 stickmack joined #salt
09:35 zemm joined #salt
09:35 terratoma joined #salt
09:36 BigBear joined #salt
09:37 tehsu joined #salt
09:38 monokrome joined #salt
09:38 flebel joined #salt
09:38 TOoSmOotH joined #salt
09:38 clintberry joined #salt
09:38 Diaoul joined #salt
09:39 eliasp joined #salt
09:39 wintamute joined #salt
09:41 Garo_ joined #salt
09:41 sastorsl joined #salt
09:41 rogst joined #salt
09:42 SWAT joined #salt
09:42 marwood joined #salt
09:43 wm-bot4 joined #salt
09:43 sfxandy joined #salt
09:46 mdupont joined #salt
09:46 MaZ- joined #salt
09:46 irctc497 babilen: https://gist.github.com/seenae/a12debd5da1546d7e403 are you finding any issue here ?
09:46 Knuta joined #salt
09:46 ry joined #salt
09:46 Rockj joined #salt
09:46 Rumbles joined #salt
09:46 stopbyte joined #salt
09:46 masterkorp joined #salt
09:47 scooby2_ joined #salt
09:48 Pixionus joined #salt
09:48 Pixionus joined #salt
09:48 jesusaurus joined #salt
09:48 GreatSnoopy joined #salt
09:48 AndreasLutro you can't use pillar data inside pillars
09:48 BigBear joined #salt
09:48 kawa2014 joined #salt
09:48 cheus joined #salt
09:49 irctc497 AndreasLutro: hmm that should be the case :(
09:49 Nazca joined #salt
09:49 onlyanegg joined #salt
09:50 babilen irctc497: Which is why I asked you if that is in the states' top.sls
09:50 alvinstarr joined #salt
09:51 irctc497 babilen: Oh ok , I didn't get that . So in state's top file I should be adding similar entry right ?
09:52 babilen You could ... no idea if you should or if that is what you want to
09:52 babilen :)
09:54 mephx joined #salt
09:55 SirLagz joined #salt
09:56 kitplummer joined #salt
09:56 irctc497 babilen: I can change the logic and add in that way
09:57 BigBear joined #salt
09:57 irctc497 babilen: AndreasLutro Thanks
09:57 slav0nic joined #salt
10:01 babilen irctc497: https://github.com/saltstack/salt/issues/23910 would allow you to do what you want to do, but alas ...
10:01 saltstackbot [#23910]title: Please implement static pillars | Hi,...
10:04 denys joined #salt
10:06 pmcnabb joined #salt
10:07 mpanetta joined #salt
10:12 hoonetorg__ AndreasLutro babilen : i will hv a look on installed servers again
10:12 hoonetorg__ and try manually
10:12 hoonetorg__ probably behaviour is caused by something else
10:15 a7p left #salt
10:16 irctc497 babilen: I am basically loading the my_hosts data through a ext_pillar using a curl call
10:17 irctc497 babilen: How about  adding those data to grains ? . There are chances that these data may get change  , example an additional profile may get attached to host
10:18 irctc497 for getting the grains data change in the server , do we need to restart minion ?
10:20 babilen You could use grains for that, but then you have to manage grains as well (back to square one). I'd simply keep "profiles" in pillars and use that data to target suitable states. The data those states work on can reside in pillars still ..
10:21 ponpanderer joined #salt
10:21 jaybocc2 joined #salt
10:24 larsfron_ joined #salt
10:28 giantlock joined #salt
10:32 liskl joined #salt
10:32 goldbuick__ joined #salt
10:32 lazybear joined #salt
10:34 Grokzen Anyone know if minion globbing is possible from jinja? the same globbing we do in top.sls file already?
10:36 elsmo joined #salt
10:38 amcorreia joined #salt
10:43 superseb joined #salt
10:46 Erik_P joined #salt
10:47 Erik_P Guys i need help with jinja failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'file.exists'
10:47 johtso joined #salt
10:56 kawa2014 joined #salt
10:57 redbeard joined #salt
11:03 totzky joined #salt
11:12 AlberTUX1 joined #salt
11:14 otter768 joined #salt
11:15 AlberTUX2 joined #salt
11:22 jaybocc2 joined #salt
11:31 AlberTUX1 joined #salt
11:34 markm joined #salt
11:35 drwx joined #salt
11:35 drwx joined #salt
11:36 Mandorath How do i extract data from a sql query in a pillar? I tried using a mapping but i'm not sure how to address those. I use main: SELECT value FROM [table] WHERE parameter = 'some.parameter' . How can i get the value that is returned with the SELECT?
11:46 AlberTUX1 hi there
11:58 kitplummer joined #salt
11:59 Mandorath hi
12:00 Johska joined #salt
12:06 linjan joined #salt
12:19 mpanetta joined #salt
12:23 jaybocc2 joined #salt
12:25 programmerq joined #salt
12:28 Erik_P Hi All i am trying to use jinja to check if file not exists to run a module {% if 'salt.file.file_exists C:\ProgramData\chocolatey\bin\chocolatey.exe' == 'False' %} and i cant make it work can you give me example
12:32 pjs joined #salt
12:32 anmol joined #salt
12:45 rubendv joined #salt
12:50 Fiber^ joined #salt
12:53 mortis dynamic gitbranch<->saltenv for pillars *sniff* :`(
12:54 mortis im exhausted trying to find a way around it
12:57 mortis anyone know if terminalmage on github is on irc? same name?
13:05 martoss joined #salt
13:06 toastedpenguin joined #salt
13:06 giantlock joined #salt
13:07 N-Mi joined #salt
13:07 CeBe joined #salt
13:08 CeBe1 joined #salt
13:11 fredvd joined #salt
13:12 toastedpenguin joined #salt
13:15 otter768 joined #salt
13:19 Johska_ joined #salt
13:21 fredvd joined #salt
13:23 jaybocc2 joined #salt
13:25 favadi joined #salt
13:31 Erik_P found my first problem the path in windows need to be C:\\ProgramData\\chocolatey\\bin\\chocolatey.exe
13:31 sjorge joined #salt
13:31 sjorge joined #salt
13:42 devl_ joined #salt
13:42 fredvd joined #salt
13:45 BigBear joined #salt
13:47 Guest47941 joined #salt
13:48 sathya joined #salt
13:48 sathya HI All gud evening
13:50 sathya I have close to 200 systems connected with salt stack and i would like to do a modification on my sshd_config file ( just a line change PermitRootLogin yes to no)
13:51 sathya can some one tell me how can i do this using salt stack ?
13:52 sathya In some of the servers the PermitRootLogin is commented, so the sls has to remove the comment and change the word yes to no
13:52 AndreasLutro sathya: can you make the file a file.managed?
13:52 sathya For all existing file, it has to change yes to no....................... is this possible ?
13:52 AndreasLutro if not, use file.replace
13:53 sathya file.managed cannot be done coz, some of the servers have SFTP config on sshd_config file
13:53 sathya so that cannot be changed
13:54 sathya AndresLutro, can you please help me on the syntax ? or if you have any document can you guide me with that
13:56 zerthimon joined #salt
13:56 AndreasLutro https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.replace
13:56 sathya Thanks let me take a look at it
14:00 jxm_ joined #salt
14:02 kitplummer joined #salt
14:18 sjorge joined #salt
14:18 sjorge joined #salt
14:24 jaybocc2 joined #salt
14:29 AlberTUX1 joined #salt
14:31 colttt joined #salt
14:32 spiette joined #salt
14:37 favadi joined #salt
14:42 ericof joined #salt
14:43 Ahrotahntee can I require a package be installed, but not actually install the package if it's not there?
14:44 Ahrotahntee in a state
14:44 mr-op5 joined #salt
14:45 Ahrotahntee the intent is to push an integration configuration file only if the agent I'm integrating with is installed
14:46 mpanetta joined #salt
14:54 AndreasLutro Ahrotahntee: I don't think so
14:54 AndreasLutro Ahrotahntee: you could perhaps wrap the state in a hacky {% if salt['cmd.run'](...) %}
14:54 Ahrotahntee working around it by including a list of installed packages in a grain
14:54 Ahrotahntee and forcing the grains to sync at the top of the state
14:55 Ahrotahntee maybe something better with salt.mine can be thought up
14:55 Ahrotahntee but I'll get to that after I prove that this is what I actually want to do
14:55 AndreasLutro a grain for just that package sounds like an alright idea
14:56 Ahrotahntee it'll be list_present
14:56 Ahrotahntee testing using 'package' in __grains__['pkg']
15:01 VSpike I seem to get the message "[ERROR   ] Template was specified incorrectly: False" from minions ever time I do something now. Google didn't turn up anything obvious. I assumed this was a new thing that could be ignore, but is it?
15:04 Ahrotahntee AndreasLutro: appears to be working.
15:16 otter768 joined #salt
15:20 sunkist joined #salt
15:25 jaybocc2 joined #salt
15:25 mattiasr joined #salt
15:28 kezhuw joined #salt
15:29 ssplatt joined #salt
15:31 spiette joined #salt
15:38 bhosmer joined #salt
15:45 scoates joined #salt
15:45 shadowsun joined #salt
15:46 bfoxwell_ joined #salt
15:52 onlyanegg joined #salt
16:03 kitplummer joined #salt
16:08 BigBear joined #salt
16:20 otter768 joined #salt
16:20 subsignal joined #salt
16:26 jaybocc2 joined #salt
16:27 BigBear joined #salt
16:31 pdx6_ joined #salt
16:31 jhauser_ joined #salt
16:32 BigBear joined #salt
16:34 voileux_ joined #salt
16:34 ekleog_ joined #salt
16:34 johtso_ joined #salt
16:35 apejens_ joined #salt
16:35 ropes_ joined #salt
16:35 rbjorkli2 joined #salt
16:35 David_B55__ joined #salt
16:35 kiorky joined #salt
16:35 simmel joined #salt
16:35 justanotheruser joined #salt
16:35 SirLagz_ joined #salt
16:35 keimlink_ joined #salt
16:36 g3cko_ joined #salt
16:36 redbeard joined #salt
16:36 s_kunk joined #salt
16:36 s_kunk joined #salt
16:36 baoboa joined #salt
16:36 Pixionus joined #salt
16:36 Pixionus joined #salt
16:36 sathya Hi
16:37 sathya I am trying to to use file.replace with salt to replace content on sudoers file
16:37 CeBe joined #salt
16:38 sathya when i execute the command, it appends line which match the pattern, how do i make sure that,it just appends the file only at once when occured ?
16:39 sathya example : I am trying to remove # %wheel ALL ALL in sudo file, when i execute the file.replace statement, it appends 2 line one with the %wheel ALL ALL and other one with # % wheell ALL NOPASSWORD =ALL
16:39 sathya i just want only the first line to get replaced and not the second line
16:40 sathya I am i missing something in the statement ?
16:40 sathya i tried the count but it din work out
16:40 sathya please suggest
16:40 Guest47941 joined #salt
16:41 Aleks3Y joined #salt
16:42 totzky joined #salt
16:44 ageorgop joined #salt
16:45 slav0nic joined #salt
16:48 dkrae joined #salt
16:50 KermitTheFragger joined #salt
16:52 linjan joined #salt
16:54 cberndt joined #salt
16:55 impi joined #salt
16:56 otter768 joined #salt
16:57 Rumbles joined #salt
17:08 sathya any help please
17:08 justanotheruser joined #salt
17:09 santamanno joined #salt
17:09 santamanno hi everybody
17:10 santamanno does anybody have experience running minions on 64MB RAM machines?
17:10 santamanno very limited embedded hardware
17:11 catpig joined #salt
17:19 SeeDickCode joined #salt
17:19 sathya file.replace is ignoring the count value
17:19 sathya please tell me how to fix it
17:21 KermitTheFragger joined #salt
17:24 mpanetta joined #salt
17:27 jaybocc2 joined #salt
17:27 SeeDickCode Anyone know how to throw an alert/abort/assert an highstate ?  I have a condition for a missing pillar item, and want to abort the highstate run with a message.  Right now I am just forcing a syntax error, but hoping there is a better way, and google is not helping me find what I want.
17:28 writtenoff joined #salt
17:28 teknologeek joined #salt
17:29 teknologeek Hello everybody
17:30 teknologeek I have an issue with my salt installation
17:30 teknologeek Reason: 'ini.options_present' is not available.
17:30 teknologeek This state is built-in and should be available ... i don t understand
17:33 teknologeek sm1 can help ?
17:43 ageorgop joined #salt
17:47 adongy joined #salt
17:51 clintberry joined #salt
17:55 Lionel_Debroux_ joined #salt
18:05 kitplummer joined #salt
18:06 paolo joined #salt
18:08 Fiber^ joined #salt
18:10 BigBear joined #salt
18:12 keimlink joined #salt
18:23 kitplummer joined #salt
18:27 jasonrm_ joined #salt
18:27 jaybocc2 joined #salt
18:28 jayne_ joined #salt
18:30 iggy guess they figured out that their salt version is probably too old
18:30 impi_ joined #salt
18:30 iggy SeeDickCode: test.* states and failhard: True
18:31 evaldes joined #salt
18:35 whytewolf joined #salt
18:44 elsmo joined #salt
18:47 scoates_ joined #salt
18:47 Dimitri_ joined #salt
18:49 cheus joined #salt
18:51 David_B55 joined #salt
18:53 sbz_ joined #salt
18:53 shanemhansen_ joined #salt
18:54 shadowsu1 joined #salt
18:54 carmony_ joined #salt
18:54 MadsRC_ joined #salt
18:55 unusedPh- joined #salt
18:55 londo__ joined #salt
18:55 okfine_ joined #salt
18:55 Micromus_ joined #salt
18:56 EvaSDK_ joined #salt
18:56 EvaSDK_ joined #salt
18:56 dthorman_ joined #salt
18:56 atoponce joined #salt
18:56 Jimlad_ joined #salt
18:57 babilen_ joined #salt
18:57 akoumjian_ joined #salt
18:57 tonthon_ joined #salt
18:57 edrocks_ joined #salt
18:58 Heartsbane_ joined #salt
18:58 clone1018__ joined #salt
18:58 beardoLU__ joined #salt
18:58 iggy___ joined #salt
18:58 xMopxShe- joined #salt
18:58 seblu42 joined #salt
18:58 Kruge_ joined #salt
18:58 Norrland_ joined #salt
18:58 Buzer_ joined #salt
18:59 masterkorp1 joined #salt
18:59 calebj_ joined #salt
18:59 georgemarshall_ joined #salt
18:59 ligthert_ joined #salt
18:59 tmmt_ joined #salt
19:00 B1nny_ joined #salt
19:00 garphy` joined #salt
19:01 TOoSmOotH_ joined #salt
19:01 xaviern joined #salt
19:01 emid_ joined #salt
19:02 marwood joined #salt
19:02 toddnni joined #salt
19:02 kavakava joined #salt
19:02 ThomasJ joined #salt
19:02 arif-ali joined #salt
19:02 KingJ joined #salt
19:02 jor joined #salt
19:02 crashmag joined #salt
19:02 GothAck joined #salt
19:02 pcdummy joined #salt
19:02 synical joined #salt
19:02 s0undt3ch joined #salt
19:02 skrobul joined #salt
19:03 spiette joined #salt
19:03 dandelo joined #salt
19:03 dandelo joined #salt
19:03 borgstrom joined #salt
19:04 agj joined #salt
19:04 Shirkdog joined #salt
19:04 vlcn joined #salt
19:05 kutenai joined #salt
19:05 mattiasr joined #salt
19:06 leev joined #salt
19:07 Ahrotahntee joined #salt
19:07 Ahrotahntee joined #salt
19:07 pcn joined #salt
19:08 froztbyte joined #salt
19:08 stillLotR joined #salt
19:08 dean|away joined #salt
19:08 cswang__ joined #salt
19:08 tehsufn joined #salt
19:08 SirLagz joined #salt
19:08 Fiber^ joined #salt
19:08 writtenoff joined #salt
19:08 baoboa joined #salt
19:08 apejens_ joined #salt
19:08 N-Mi joined #salt
19:08 drwx joined #salt
19:08 flebel joined #salt
19:08 tristianc joined #salt
19:08 illern joined #salt
19:08 Grokzen joined #salt
19:08 egil joined #salt
19:08 tiadobatima joined #salt
19:08 FreeSpencer_ joined #salt
19:08 ventris joined #salt
19:08 sixninetynine joined #salt
19:08 darvon_ joined #salt
19:08 ange joined #salt
19:08 hipikat joined #salt
19:08 scc- joined #salt
19:08 stanchan joined #salt
19:08 mirko joined #salt
19:08 gnord joined #salt
19:08 devtea joined #salt
19:08 tercenya joined #salt
19:08 eichiro joined #salt
19:08 tuxx joined #salt
19:08 bharper joined #salt
19:08 iamtew joined #salt
19:08 ashmckenzie joined #salt
19:08 pfallenop joined #salt
19:08 xmj joined #salt
19:08 bougie joined #salt
19:08 pmcg joined #salt
19:08 Vaelatern joined #salt
19:08 nlb joined #salt
19:08 shnguyen joined #salt
19:08 mrtrosen joined #salt
19:08 btorch joined #salt
19:08 nahamu joined #salt
19:08 sjohnsen joined #salt
19:08 rawzone joined #salt
19:08 sirtaj joined #salt
19:08 lionel joined #salt
19:08 the_lalelu joined #salt
19:08 murkey joined #salt
19:08 mullein joined #salt
19:08 arnoldB_ joined #salt
19:08 izibi joined #salt
19:08 lynxman joined #salt
19:08 klocek joined #salt
19:08 StolenToast joined #salt
19:08 Ch3LL joined #salt
19:08 dwfreed joined #salt
19:08 shalkie joined #salt
19:08 nikogonzo joined #salt
19:08 JoeJulian joined #salt
19:08 ktosiek joined #salt
19:08 rudi_s_ joined #salt
19:08 godlike joined #salt
19:08 Dev0n joined #salt
19:08 mnaser joined #salt
19:08 etw joined #salt
19:08 nexsja joined #salt
19:08 zsoftich joined #salt
19:08 Mate joined #salt
19:08 eitzei joined #salt
19:08 Noiz joined #salt
19:08 dober joined #salt
19:08 grep_away joined #salt
19:08 oeuftete joined #salt
19:08 RandyT joined #salt
19:08 THE_BOULDER joined #salt
19:08 kaictl joined #salt
19:08 jhujhiti joined #salt
19:08 ekleog joined #salt
19:09 Pixionus joined #salt
19:09 Pixionus joined #salt
19:09 Ahrotahntee man
19:09 melboi joined #salt
19:09 Ahrotahntee freenode is taking it in the ear today
19:09 darix joined #salt
19:09 ws2k3 joined #salt
19:09 tedski joined #salt
19:10 ksj_ joined #salt
19:10 aurynn joined #salt
19:10 jY joined #salt
19:10 nicksloan joined #salt
19:10 schinken_ joined #salt
19:10 emostar_ joined #salt
19:10 baffle_ joined #salt
19:10 lude1 joined #salt
19:10 cheus joined #salt
19:10 Lionel_Debroux_ joined #salt
19:10 TomJepp joined #salt
19:10 symphorien joined #salt
19:10 chamunks joined #salt
19:10 nledez joined #salt
19:10 catpig joined #salt
19:10 nethershaw joined #salt
19:10 scooby2 joined #salt
19:10 rogst joined #salt
19:10 TaiSHi joined #salt
19:11 opilotte_ joined #salt
19:11 rhand_ joined #salt
19:11 titilambert joined #salt
19:11 rbjorklin joined #salt
19:11 Adobeman_ joined #salt
19:11 Riz__ joined #salt
19:11 tyler-baker joined #salt
19:11 keimlink joined #salt
19:11 voileux joined #salt
19:11 colttt joined #salt
19:11 superseb joined #salt
19:11 stopbyte joined #salt
19:11 MaZ- joined #salt
19:11 mdupont joined #salt
19:11 Garo_ joined #salt
19:11 wintamute joined #salt
19:11 eliasp joined #salt
19:11 monokrome joined #salt
19:11 stickmack joined #salt
19:11 canci joined #salt
19:11 sk_0 joined #salt
19:11 freelock joined #salt
19:11 sinonick joined #salt
19:11 munhitsu joined #salt
19:11 Horgix joined #salt
19:11 manfred joined #salt
19:11 Guest55883 joined #salt
19:11 edulix joined #salt
19:11 honestly joined #salt
19:11 deus_ex joined #salt
19:11 VSpike joined #salt
19:11 kbyrne joined #salt
19:11 wm-bot4 joined #salt
19:11 mortis joined #salt
19:11 asoc joined #salt
19:11 ahammond joined #salt
19:11 adendrag joined #salt
19:11 davroman1ak joined #salt
19:11 brucewang joined #salt
19:11 hacfi_ joined #salt
19:11 morsik joined #salt
19:11 mkjgore1 joined #salt
19:11 NV joined #salt
19:11 gmoro joined #salt
19:11 jerrcs joined #salt
19:11 bernieke joined #salt
19:11 notnotpeter joined #salt
19:11 fxhp joined #salt
19:11 charli joined #salt
19:11 ciege joined #salt
19:11 fhh_ joined #salt
19:11 jfroche joined #salt
19:11 cwright joined #salt
19:11 mage_ joined #salt
19:11 chrischris joined #salt
19:11 Ludo__ joined #salt
19:11 yml joined #salt
19:11 Arendtsen joined #salt
19:11 nebuchadnezzar joined #salt
19:11 douardda joined #salt
19:11 nihe_ joined #salt
19:11 pprkut joined #salt
19:11 eXistenZNL joined #salt
19:11 jcastle joined #salt
19:11 Zachary_DuBois joined #salt
19:11 Yoda-BZH joined #salt
19:11 gerhardqux joined #salt
19:11 deedubs_ joined #salt
19:11 FTfz joined #salt
19:11 koomi joined #salt
19:11 Sacro joined #salt
19:11 alexlist joined #salt
19:11 Sketch joined #salt
19:11 rickflare joined #salt
19:11 ujjain joined #salt
19:11 opdude joined #salt
19:11 waesum joined #salt
19:11 bbradley joined #salt
19:11 aRkadeFR joined #salt
19:11 memford joined #salt
19:11 tru_tru joined #salt
19:11 Ahlee joined #salt
19:11 stupidnic joined #salt
19:11 elektrix_ joined #salt
19:11 moapa_ joined #salt
19:11 UForgotten joined #salt
19:11 codehotter joined #salt
19:11 sifusam joined #salt
19:11 jgelens joined #salt
19:11 dstokes joined #salt
19:11 ajolo joined #salt
19:11 gadams joined #salt
19:11 MTecknology joined #salt
19:11 troyreadyy joined #salt
19:11 oravirt joined #salt
19:11 g3cko joined #salt
19:11 tyler-baker joined #salt
19:12 danemacmillan joined #salt
19:12 maduro joined #salt
19:12 ninkotech_ joined #salt
19:12 peters-tx joined #salt
19:13 ecdhe_ joined #salt
19:14 santamanno joined #salt
19:14 Aleks3Y joined #salt
19:14 pdx6_ joined #salt
19:14 Johska_ joined #salt
19:14 ponpanderer joined #salt
19:14 Nazca joined #salt
19:14 SWAT joined #salt
19:14 terratoma joined #salt
19:14 Rkp joined #salt
19:14 gwmngilfen joined #salt
19:14 jab416171 joined #salt
19:14 CaptTofu_ joined #salt
19:14 dustywusty joined #salt
19:14 wiqd_ joined #salt
19:14 JPaul joined #salt
19:14 gratimax joined #salt
19:14 ignasr joined #salt
19:14 intr1nsic joined #salt
19:14 NightMonkey joined #salt
19:14 nobrak joined #salt
19:14 smkelly_ joined #salt
19:14 joshin joined #salt
19:14 stooj_ joined #salt
19:14 lkannan joined #salt
19:14 sinh_ joined #salt
19:14 marcinkuzminski joined #salt
19:14 mitsuhiko joined #salt
19:14 amunger joined #salt
19:14 is_null joined #salt
19:14 adeschamps joined #salt
19:14 twiedenbein joined #salt
19:14 dh joined #salt
19:14 thehaven_ joined #salt
19:14 kivihtin joined #salt
19:14 InAnimaTe joined #salt
19:14 Guest10318 joined #salt
19:14 colegatr1n_ joined #salt
19:14 terinjokes joined #salt
19:14 basepi joined #salt
19:14 ashb joined #salt
19:14 Barbaros1a joined #salt
19:14 hoonetorg__ joined #salt
19:14 foundatron_ joined #salt
19:14 oida joined #salt
19:14 ze-_ joined #salt
19:14 eagles05| joined #salt
19:14 aqua^c_ joined #salt
19:14 rburkholder joined #salt
19:14 daemonkeeper joined #salt
19:14 evidence joined #salt
19:14 doriftoshoes joined #salt
19:14 A||SySt3msG0 joined #salt
19:14 Gareth joined #salt
19:14 indispeq_ joined #salt
19:14 workthrick joined #salt
19:14 Eureka703 joined #salt
19:14 czchen joined #salt
19:14 Ryan_Lane joined #salt
19:14 APLU joined #salt
19:14 cb joined #salt
19:14 m0nky joined #salt
19:14 chutzpah joined #salt
19:14 Twiglet joined #salt
19:14 mattl joined #salt
19:14 neilf__ joined #salt
19:14 tcolvin joined #salt
19:14 moderation joined #salt
19:14 supermike__ joined #salt
19:14 mfournier joined #salt
19:14 jay_d joined #salt
19:14 ramblinpeck joined #salt
19:14 Guest36022 joined #salt
19:14 akitada joined #salt
19:14 MeltedLux joined #salt
19:14 twodayslate joined #salt
19:14 bbhoss joined #salt
19:14 Jarus joined #salt
19:14 danielcb joined #salt
19:14 mschiff joined #salt
19:14 tampakrap joined #salt
19:16 shanemhansen_ joined #salt
19:16 dthorman joined #salt
19:17 xnaveira joined #salt
19:17 agj joined #salt
19:18 shadowsun joined #salt
19:18 tmmt joined #salt
19:19 kermit joined #salt
19:19 edrocks joined #salt
19:21 jhujhiti_ joined #salt
19:21 scoates joined #salt
19:22 denys joined #salt
19:22 Jimlad joined #salt
19:23 _ikke_ joined #salt
19:23 sbz joined #salt
19:23 unusedPhD_ joined #salt
19:23 bbhoss joined #salt
19:23 emid joined #salt
19:24 Kruge joined #salt
19:24 calebj joined #salt
19:24 B1nny joined #salt
19:25 Ssquidly joined #salt
19:25 gthank joined #salt
19:25 tvinson joined #salt
19:25 EvaSDK joined #salt
19:25 EvaSDK joined #salt
19:26 linjan joined #salt
19:26 MK_FG joined #salt
19:26 giany joined #salt
19:26 __alex joined #salt
19:26 artemz joined #salt
19:26 ntropy joined #salt
19:26 beardo_ joined #salt
19:26 gthank joined #salt
19:26 davisj joined #salt
19:26 SeeDickCodes joined #salt
19:26 RandyT_ joined #salt
19:26 Ahrotahntee joined #salt
19:26 borgstrom joined #salt
19:26 Ahrotahntee joined #salt
19:27 Azid joined #salt
19:27 5EXAALKDA joined #salt
19:27 5EXAALKBD joined #salt
19:27 Edur joined #salt
19:27 5EXAALJ02 joined #salt
19:27 tawm04 joined #salt
19:27 Norrland joined #salt
19:27 melboi joined #salt
19:27 rofl____ joined #salt
19:27 tzero_ joined #salt
19:28 seblu joined #salt
19:28 carmony joined #salt
19:28 simmel joined #salt
19:29 colinstgeorge joined #salt
19:29 robawt joined #salt
19:29 subsignal joined #salt
19:29 mattiasr joined #salt
19:29 Knuta joined #salt
19:29 clone1018 joined #salt
19:29 agj joined #salt
19:30 kiorky joined #salt
19:30 Shirkdog_ joined #salt
19:30 kaictl joined #salt
19:30 TOoSmOotH joined #salt
19:31 amcorreia joined #salt
19:32 akoumjian joined #salt
19:32 babilen joined #salt
19:32 THE_BOULDER joined #salt
19:32 MadsRC_ joined #salt
19:33 colinstgeorge__ joined #salt
19:33 David_B55 joined #salt
19:33 kutenai joined #salt
19:34 CaptTofu_ joined #salt
19:34 vlcn_ joined #salt
19:34 tedski joined #salt
19:34 hoonetorg__ AndreasLutro babilen : creating user over all node off galera clusterdidn't work on initial try (but cluster was already in sync), but worked correctly on 2nd run
19:35 Heartsbane joined #salt
19:35 leev joined #salt
19:35 roock joined #salt
19:35 iggy joined #salt
19:35 ligthert joined #salt
19:35 Edur joined #salt
19:35 hypnosb joined #salt
19:35 ekleog joined #salt
19:36 impi joined #salt
19:36 kitplummer joined #salt
19:36 garphy joined #salt
19:36 GreatSnoopy joined #salt
19:37 rofl____ joined #salt
19:37 hoonetorg__ must hv something to do with galera itself
19:37 okfine joined #salt
19:37 georgemarshall_ joined #salt
19:38 ropes joined #salt
19:38 daschatten joined #salt
19:38 dimeshake joined #salt
19:38 shadowsun joined #salt
19:38 tawm04 joined #salt
19:39 rogst joined #salt
19:41 jfindlay joined #salt
19:42 devl_ joined #salt
19:42 toanju joined #salt
19:42 Micromus joined #salt
19:43 ropes_ joined #salt
19:43 pcn joined #salt
19:44 cyborgIone joined #salt
19:45 xMopxShell joined #salt
19:45 trave joined #salt
19:45 llua joined #salt
19:45 llua joined #salt
19:45 Buzer joined #salt
19:45 Pixionus joined #salt
19:45 Pixionus joined #salt
19:46 toddnni joined #salt
19:46 roock joined #salt
19:46 colinstgeorge joined #salt
19:46 larsfronius joined #salt
19:46 Azid joined #salt
19:46 hypnosb joined #salt
19:46 eightyeight joined #salt
19:46 elkektetet joined #salt
19:46 ekleog joined #salt
19:46 eightyeight joined #salt
19:48 tonthon joined #salt
19:49 justanotheruser joined #salt
19:49 iggy joined #salt
19:50 troyreadyy joined #salt
19:50 ligthert joined #salt
19:52 GreatSnoopy joined #salt
19:52 hardwire joined #salt
19:53 borgstrom joined #salt
19:55 Norrland_ joined #salt
19:55 redbeard joined #salt
19:55 leev joined #salt
19:55 pcdummy_ joined #salt
19:56 jor_ joined #salt
19:56 s0undt3ch_ joined #salt
19:56 ThomasJ|d joined #salt
19:56 crashmag_ joined #salt
19:56 arif-ali_ joined #salt
19:56 spiette joined #salt
19:56 dandelo joined #salt
19:56 hypnosb joined #salt
19:56 rofl____ joined #salt
19:56 Edur joined #salt
19:56 MadsRC_ joined #salt
19:56 KingJ_ joined #salt
19:56 kavakava_ joined #salt
19:57 5EXAALNPP joined #salt
19:57 akitada joined #salt
19:59 tawm04 joined #salt
19:59 seblu joined #salt
20:02 hemebond joined #salt
20:03 marwood joined #salt
20:03 ekleog joined #salt
20:03 tonthon joined #salt
20:03 colinstgeorge joined #salt
20:03 ekkelett joined #salt
20:03 ekkelett joined #salt
20:04 Rockj joined #salt
20:05 masterkorp1 joined #salt
20:06 aidalgol joined #salt
20:07 hypnosb joined #salt
20:08 armguy joined #salt
20:14 s_kunk joined #salt
20:16 sbz_ joined #salt
20:19 davedash joined #salt
20:22 sunkist joined #salt
20:23 kutenai joined #salt
20:24 otter768 joined #salt
20:26 hajhatten joined #salt
20:30 dimduj joined #salt
20:30 dimduj hello
20:32 dimduj I'm trying to declare a salt.states.cron but I need to use date variable :
20:32 dimduj aws s3 cp  /home/{{user_id}}/backups/database/{{user_id}}-backup.sql s3://mybucket/archives/database/$(date +%Y-%m-%d)-{{user_id}}-backup.sql:
20:32 dimduj But the use of $ or ( in the state name failed to compile
20:32 dimduj any idea of how to achieve that ?
20:37 kitplummer joined #salt
20:38 hemebond dimduj: Are you putting that into the state name?
20:39 sjorge joined #salt
20:39 sjorge joined #salt
20:39 hemebond If so, try putting it into the "- name" (or similar) parameter instead.
20:40 hemebond (just checked, cron has a name parameter)
20:41 dimduj Thx for the answer hemebond
20:41 dimduj I already try with the name but it also fail ...
20:41 dimduj let me try again
20:42 hemebond dimduj: What is the error you get?
20:43 RandyT joined #salt
20:43 aurynn_ joined #salt
20:44 carmony_ joined #salt
20:44 chamunks- joined #salt
20:44 TheOtherDude joined #salt
20:45 ksj joined #salt
20:45 arif-ali_ joined #salt
20:45 baffle joined #salt
20:46 Buzer_ joined #salt
20:46 dimduj hemebond:     No function declared in state 'cron_present' in SLS 'Softwares.drupal6'
20:46 babilen_ joined #salt
20:46 Micromus_ joined #salt
20:47 sbz__ joined #salt
20:47 hemebond Uh. Paste your full state somewhere (hastebin or something).
20:47 hemebond uh
20:47 hemebond Should it not be cron.present?
20:47 emostar joined #salt
20:47 colinstgeorge_ joined #salt
20:47 clone1018__ joined #salt
20:47 vlcn_ joined #salt
20:47 kermit1 joined #salt
20:48 sjorge_be joined #salt
20:48 unusedPh- joined #salt
20:48 jY- joined #salt
20:48 AG joined #salt
20:49 amcorreia_ joined #salt
20:49 nicksloan- joined #salt
20:49 Norrland joined #salt
20:49 s0undt3ch_ joined #salt
20:49 B1nny_ joined #salt
20:50 dimduj hemebond: here is the pastebin: http://pastebin.com/is63p2eP
20:50 marwood_ joined #salt
20:50 dimduj all jinja variables are correctly declared
20:50 hemebond You have cron_present instead of cron.present at line 14.
20:51 hemebond And 37
20:51 dimduj :/ ... okay ... shame on me ...
20:52 TomJepp_ joined #salt
20:52 Guest70725 left #salt
20:52 hemebond lol, no shame. just a typo
20:53 dimduj Thank you for pointed this .... I've checked the code hundred times and always miss that ;)
20:53 colinstgeorge_ joined #salt
20:54 danemacm1 joined #salt
20:54 TOoSmOotH joined #salt
20:54 adongy joined #salt
20:55 Rebus joined #salt
20:55 dimduj ... and it works like it should even with $ or ( in the state name....
20:55 kermit joined #salt
20:56 winterblack joined #salt
20:56 sarlalian joined #salt
20:56 garphy` joined #salt
20:56 mullein joined #salt
20:57 Lionel_Debroux joined #salt
20:57 nledez joined #salt
20:57 Kruge joined #salt
20:57 nledez joined #salt
20:57 symphorien joined #salt
20:57 GreatSnoopy joined #salt
20:57 schinken_ joined #salt
20:57 okfine joined #salt
20:57 kitplummer joined #salt
20:57 Pixionus joined #salt
20:57 Pixionus joined #salt
20:58 toanju joined #salt
20:58 colinstgeorge joined #salt
20:58 THE_BOULDER joined #salt
20:58 scooby2 joined #salt
20:58 BigBear joined #salt
20:59 lude1 joined #salt
20:59 cheus joined #salt
21:04 subsignal joined #salt
21:04 dabb joined #salt
21:04 TOoSmOotH joined #salt
21:09 sjorge joined #salt
21:09 sjorge joined #salt
21:10 kitplummer joined #salt
21:12 felskrone joined #salt
21:14 devl__ joined #salt
21:17 davisj joined #salt
21:18 felskrone joined #salt
21:18 blueyed joined #salt
21:18 TOoSmOotH joined #salt
21:19 Rebus joined #salt
21:20 bastiandg joined #salt
21:25 linjan joined #salt
21:30 jaybocc2 joined #salt
21:31 kitplummer joined #salt
21:32 simmel joined #salt
21:34 simmel joined #salt
21:35 simmel joined #salt
21:35 TOoSmOotH joined #salt
21:47 simmel joined #salt
21:54 onlyanegg joined #salt
21:54 giantlock joined #salt
22:00 Lionel_Debroux joined #salt
22:03 mschiff Can a minion delete files from minionfs that it pushed?
22:06 renoirb joined #salt
22:16 hajhatten joined #salt
22:24 opilotte_ left #salt
22:25 otter768 joined #salt
22:29 brian_ joined #salt
22:31 kitplummer joined #salt
22:32 CaptainM1gnus Is there a way to get Salt to unpack (and overwrite) an archive when the source tarball is updated?
22:32 hemebond CaptainM1gnus: It should do that automatically. Do you not have to provide an md5 hash of the source file?
22:33 johtso joined #salt
22:33 hemebond Or are you extracting a file on the filesystem.
22:34 CaptainM1gnus This is the state I'm using. Tried with and without the "if_missing" directve: https://gist.github.com/magnusboman/c74ee43cb854eb8c5795
22:35 hemebond Well, you shouldn't need the if_missing
22:35 CaptainM1gnus If I don't have the if_missing, it fails, saying that /var/www already exists
22:35 N-Mi joined #salt
22:36 CaptainM1gnus Sorry, it doesn't fail..Just won't run the state because /var/www is present
22:42 acabrera joined #salt
22:43 jasonrm joined #salt
22:44 quix joined #salt
22:51 kitplummer joined #salt
22:51 liskl joined #salt
22:52 lazybear joined #salt
22:54 ageorgop joined #salt
22:58 CaptainMagnus joined #salt
22:58 TOoSmOotH joined #salt
22:58 toastedpenguin joined #salt
22:59 jasonrm joined #salt
23:01 bfoxwell joined #salt
23:02 toastedpenguin joined #salt
23:09 mosen joined #salt
23:10 mikepea joined #salt
23:11 goki joined #salt
23:13 supermike__ joined #salt
23:14 toastedpenguin joined #salt
23:15 sunkist joined #salt
23:17 gtaylor joined #salt
23:17 twodayslate joined #salt
23:18 akitada joined #salt
23:26 CaptTofu_ joined #salt
23:28 doriftoshoes joined #salt
23:28 hacks joined #salt
23:30 imanc joined #salt
23:30 hajhatten joined #salt
23:45 sbz_ joined #salt
23:48 larsfronius joined #salt
23:48 cheus_ joined #salt
23:48 davisj_ joined #salt
23:49 Ahrotahn1ee joined #salt
23:49 nicksloan- joined #salt
23:50 jhujhiti joined #salt
23:53 unusedPhD_ joined #salt
23:54 timw_ joined #salt
23:55 toastedpenguin joined #salt

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