Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-11-22

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

All times shown according to UTC.

Time Nick Message
00:15 kitplummer joined #salt
00:16 linjan joined #salt
00:23 zmalone joined #salt
00:27 Waggott14 joined #salt
00:31 otter768 joined #salt
00:37 brianfeister joined #salt
00:38 onlyanegg joined #salt
00:43 ghsaul joined #salt
00:50 nafg joined #salt
00:57 kitplummer joined #salt
01:03 fsteinel joined #salt
01:09 baweaver joined #salt
01:22 thayne joined #salt
01:28 lemur joined #salt
01:31 bluenemo joined #salt
01:32 intel joined #salt
01:34 baweaver joined #salt
01:46 friendly12345 joined #salt
01:47 NotBobDole joined #salt
01:59 zmalone joined #salt
02:01 mr_chris joined #salt
02:12 hightekvagabond joined #salt
02:18 adelcast joined #salt
02:25 brianfeister joined #salt
02:29 ashmckenzie joined #salt
02:30 jamesp9 joined #salt
02:31 otter768 joined #salt
02:32 jamesp9 joined #salt
02:32 PeterO joined #salt
02:33 nafg joined #salt
02:35 thalleralexander joined #salt
02:35 catpiggest joined #salt
02:42 larsfronius joined #salt
02:47 ilbot3 joined #salt
02:47 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/
03:00 pdayton joined #salt
03:00 sunkist1 joined #salt
03:03 jcockhren joined #salt
03:03 jcockhren joined #salt
03:07 racooper joined #salt
03:09 jcockhren joined #salt
03:09 malinoff joined #salt
03:10 thayne joined #salt
03:21 adelcast joined #salt
03:30 cyborg-one joined #salt
03:35 Destreyf_ joined #salt
03:35 boargod3 joined #salt
03:35 RandyT_ joined #salt
03:35 amunger joined #salt
03:36 Eureka703 joined #salt
03:38 aqua^c_ joined #salt
03:38 joren_ joined #salt
03:38 flebel_ joined #salt
03:39 jfroche_ joined #salt
03:39 iamtew_ joined #salt
03:39 NotBobDole_ joined #salt
03:39 sn00py_ joined #salt
03:40 yidhra__ joined #salt
03:40 CSa_ joined #salt
03:40 LotR joined #salt
03:40 brianfeister joined #salt
03:40 avs joined #salt
03:40 Ahrotahntee joined #salt
03:40 cswang_ joined #salt
03:40 Ahrotahntee joined #salt
03:40 jfred joined #salt
03:40 mirko_ joined #salt
03:40 superseb joined #salt
03:40 morsik joined #salt
03:41 is_null_ joined #salt
03:41 Garo__ joined #salt
03:41 rnts_ joined #salt
03:41 zemm_ joined #salt
03:42 Norrland_ joined #salt
03:42 Buzer_ joined #salt
03:42 hightekvagabond joined #salt
03:42 jcockhren joined #salt
03:42 fhh_ joined #salt
03:42 sixninetynine joined #salt
03:42 qman joined #salt
03:43 Phtes_ joined #salt
03:43 clone1018_ joined #salt
03:43 Karunamon|2 joined #salt
03:43 danemacm1 joined #salt
03:43 Riz__ joined #salt
03:43 bharper joined #salt
03:44 friendly12345 joined #salt
03:44 ligthert joined #salt
03:44 virusuy__ joined #salt
03:44 zz_Cidan joined #salt
03:44 ekleog_ joined #salt
03:44 Cidan joined #salt
03:45 oherrala1 joined #salt
03:45 spader joined #salt
03:45 ropes joined #salt
03:45 Gareth joined #salt
03:46 carmony joined #salt
03:46 techdragon joined #salt
03:47 David_B55 joined #salt
03:47 samed joined #salt
03:47 samed joined #salt
03:47 armyriad joined #salt
03:47 tmmt joined #salt
03:48 jacksontj joined #salt
03:48 Guest54696 joined #salt
03:48 pezus joined #salt
03:50 nafg joined #salt
03:50 amunger720 joined #salt
03:50 cwyse_ joined #salt
03:51 GreatSnoopy joined #salt
03:51 jamesp9 joined #salt
03:51 masterkorp joined #salt
03:51 kbyrne joined #salt
03:51 kavakava joined #salt
03:52 GrueMaster joined #salt
03:52 packeteer joined #salt
03:52 w1gz joined #salt
03:52 ashutoshn joined #salt
03:52 hillna joined #salt
03:53 rhand joined #salt
03:53 yuhlw joined #salt
03:53 karlthane joined #salt
03:54 Heartsbane joined #salt
03:54 Heartsbane joined #salt
03:54 jesusaurus joined #salt
03:54 justanotheruser joined #salt
03:54 adelcast joined #salt
03:54 rbjorklin joined #salt
03:54 Dr_Jazz joined #salt
03:54 drawsmcgraw joined #salt
03:55 tuxx joined #salt
03:55 joshin joined #salt
03:55 drw- joined #salt
03:55 saltsa joined #salt
03:55 dork joined #salt
03:55 cyborg-one joined #salt
03:55 timoguin_ joined #salt
03:55 tercenya joined #salt
03:55 big_area joined #salt
03:55 jaybocc2 joined #salt
03:55 charli joined #salt
03:55 jeblair joined #salt
03:55 indispeq joined #salt
03:55 buMPnet joined #salt
03:55 nickermire joined #salt
03:55 TyrfingMjolnir joined #salt
03:55 JPT joined #salt
03:55 ]V[ joined #salt
03:55 abyss1 joined #salt
03:55 ksalman joined #salt
03:55 drags joined #salt
03:55 gmoro joined #salt
03:55 wych joined #salt
03:55 unusedPhD joined #salt
03:55 nkuttler joined #salt
03:55 Corey joined #salt
03:55 davidbanham joined #salt
03:55 Ph-x joined #salt
03:55 afics joined #salt
03:55 retr0h_ joined #salt
03:56 voxxit joined #salt
03:56 linjan joined #salt
03:56 whytewolf joined #salt
03:56 tonthon joined #salt
03:56 mr_chris- joined #salt
03:56 Destreyf_ joined #salt
03:56 racooper joined #salt
03:56 netcho joined #salt
03:56 subsignal joined #salt
03:56 dayid_ joined #salt
03:56 deus_ex joined #salt
03:56 dkrae joined #salt
03:56 B1nny joined #salt
03:56 stickmack joined #salt
03:56 londo__ joined #salt
03:56 shanemhansen joined #salt
03:56 JPaul joined #salt
03:56 VSpike joined #salt
03:56 hacfi joined #salt
03:56 wintamute joined #salt
03:56 cmek joined #salt
03:56 SirLagz joined #salt
03:56 davromaniak joined #salt
03:56 terratoma joined #salt
03:56 Guest56187 joined #salt
03:56 pdx6_ joined #salt
03:56 eofs joined #salt
03:56 mortis_ joined #salt
03:56 ange joined #salt
03:56 msciciel1 joined #salt
03:56 ahammond joined #salt
03:56 ksj joined #salt
03:56 blue0ctober joined #salt
03:56 TaiSHi joined #salt
03:56 __number5__ joined #salt
03:56 joyrida08 joined #salt
03:56 lazybear joined #salt
03:56 Deevolution joined #salt
03:56 pjs joined #salt
03:56 thebwt joined #salt
03:56 pppingme joined #salt
03:56 pmcnabb joined #salt
03:56 ignasr joined #salt
03:56 Kruge joined #salt
03:56 aurynn joined #salt
03:56 NightMonkey joined #salt
03:56 agj joined #salt
03:56 goldbuick__ joined #salt
03:56 EvaSDK joined #salt
03:56 sybix joined #salt
03:56 stopbyte joined #salt
03:56 phx joined #salt
03:56 monokrome joined #salt
03:56 jayne joined #salt
03:56 copelco joined #salt
03:56 copelco joined #salt
03:56 lorengordon joined #salt
03:57 intr1nsic joined #salt
03:57 jY joined #salt
03:58 Nebraskka joined #salt
03:58 smkelly joined #salt
03:58 terinjokes joined #salt
03:58 georgemarshall joined #salt
03:58 v0rtex joined #salt
03:58 rome_390 joined #salt
03:58 czchen joined #salt
03:59 unusedPhD_ joined #salt
04:00 muep joined #salt
04:01 viq joined #salt
04:01 rnts joined #salt
04:01 is_null joined #salt
04:01 ventris joined #salt
04:04 MK_FG joined #salt
04:04 akoumjian joined #salt
04:05 pezus joined #salt
04:05 N-Mi_ joined #salt
04:05 catpiggest joined #salt
04:05 bhosmer joined #salt
04:06 schinken joined #salt
04:06 Waggott14 joined #salt
04:07 bernieke joined #salt
04:07 tiadobatima1 joined #salt
04:10 moogyver joined #salt
04:11 BlackBishop joined #salt
04:15 pdayton joined #salt
04:22 BogdanR joined #salt
04:28 otter768 joined #salt
04:39 TyrfingMjolnir joined #salt
04:39 hajhatten joined #salt
04:49 beardedeagle alright, I have tried a few different things to do a autogen'd haproxy.cfg with a side A/side B but no go on the for loop with nested if statement. If someone could give a look at the following gist: https://gist.github.com/beardedeagle/8b19a34f332ed26ac859 and let me know where I should go look for a possible fix, I would greatly appreciate it.
05:01 nitay joined #salt
05:02 ilbilp joined #salt
05:19 nitay joined #salt
05:30 thayne joined #salt
05:31 _JZ_ joined #salt
05:32 nitay joined #salt
05:45 twork joined #salt
05:58 nitay joined #salt
06:00 hightekvagabond joined #salt
06:01 tyler-baker joined #salt
06:44 larsfronius joined #salt
06:49 otter768 joined #salt
06:52 Guest54696 left #salt
06:56 totte joined #salt
07:06 toddnni joined #salt
07:12 zer0def joined #salt
07:16 jaybocc2 joined #salt
07:16 Vynce joined #salt
07:26 thayne joined #salt
07:27 bastiandg joined #salt
08:00 otter768 joined #salt
08:10 jaybocc2 joined #salt
08:17 brianfeister joined #salt
08:32 denys joined #salt
08:39 chiui joined #salt
08:39 baoboa joined #salt
08:47 informant joined #salt
08:56 ashutoshn left #salt
09:00 malinoff joined #salt
09:01 malinoff joined #salt
09:05 slav0nic joined #salt
09:08 antpa joined #salt
09:11 Fiber^ joined #salt
09:13 antpa joined #salt
09:14 nidr0x joined #salt
09:28 melog1 joined #salt
09:34 antpa Has anyone beens successful with visudo via saltstack and debian?  I'm able to set it up manually by logging in the server and installing sudo and running visudo but I can't deploy the config via saltstack formula on github.
09:55 DanyC joined #salt
09:59 SirLagz antpa: why do you want to run visudo with salt?
09:59 toddnni joined #salt
09:59 antpa SirLagz: I'm trying to give a user, 'deploy', the ability to restart web services (nginx, php5-fpm, memcached, mysql) https://gist.github.com/anthonyscolaro/e9a26e7ea9b6c75f3df3
10:00 SirLagz antpa: ah right
10:00 antpa SirLagz: We use capistrano for deployment and need to restart server after each deploy and sometimes while making page edits if nginx-helper (wordpress plugin) doesn't clear cache
10:01 linjan joined #salt
10:01 otter768 joined #salt
10:02 antpa SirLagz: this seems to be the answer: https://github.com/saltstack-formulas/sudoers-formula/.  But isn't working though it outputs the same configuration we normally have in visudo when using my pillar.
10:02 SirLagz antpa: is that what you're using now?
10:04 antpa SirLagz: Yes, the pillar that I posted in my gist with that formula
10:04 SirLagz antpa: righto, just checking
10:06 brianfeister joined #salt
10:07 SirLagz antpa: not sure, sorry
10:07 antpa SirLagz: I appreciate the thought :)
10:08 SirLagz antpa: could always do it manually though lol
10:08 antpa SirLagz: That seems the only way at the moment.  I'm ok with it... I've automated 99% of the deployment... this is the only straggler it seems...
10:29 mung720 joined #salt
10:35 netcho joined #salt
10:37 linjan joined #salt
10:38 Bryson joined #salt
10:42 flebel joined #salt
10:52 Bryson joined #salt
11:15 intel joined #salt
11:17 boargod joined #salt
11:17 robawt joined #salt
11:17 renoirb joined #salt
11:17 tvinson joined #salt
11:17 gthank joined #salt
11:18 gthank joined #salt
11:26 jaybocc2 joined #salt
11:26 DanyC joined #salt
11:38 antpa joined #salt
11:48 Vye joined #salt
11:48 jtang joined #salt
11:52 qman__ joined #salt
11:52 dustywusty joined #salt
11:55 brianfeister joined #salt
12:01 linjan joined #salt
12:02 otter768 joined #salt
12:07 DanyC consul-template:
12:07 DanyC pkg.installed: []
12:07 DanyC Hi, what does this do
12:08 DanyC does it install consul-template but then what is the benefit/ reason of having [] ?
12:14 CeBe joined #salt
12:26 jaybocc2 joined #salt
12:46 larsfronius joined #salt
12:49 kitplummer joined #salt
13:03 drawsmcgraw left #salt
13:11 antpa I'm looking for the proper way to connect this statements so that I can generate a random password for mysql.. I'm not quite sure how to do this with salt
13:11 antpa {% set deploy_password = salt['random.hash'](5)(str(__grains__['server_id']){{ salt['pillar.get']('mariadb:deploy:prod') }} %}
13:14 lorengordon antpa: hello again :)
13:14 antpa lorengordon: howdy
13:15 lorengordon {% set deploy_password = salt['random.hash'](5) ~ grains['server_id'] ~ salt['pillar.get']('mariadb:deploy:prod') %}
13:16 antpa lorengordon: thanks!  I think we're on the right track.  I just received an error: TypeError: must be string or buffer, not int
13:17 antpa lorengordon: {% set deploy_password = salt['random.hash'](5) ~ grains['server_id'] ~ salt['pillar.get']('mariadb:deploy:prod') %}    <======================
13:17 lorengordon str(salt['random.hash'](5))
13:17 lorengordon is the server_id a string?
13:18 lorengordon if that's an in as well, wrap it with str()
13:19 antpa lorengordon: the server_id is a string.  like 2068140052
13:20 lorengordon and if the pillar value is not present, pillar.get will just return an empty string. if you want it to fail, you'll need to use the pillar dict directly `pillar['blah']`
13:20 antpa lorengordon: right :)
13:20 lorengordon jinja might read the server_id as an int, if it's all numbers like that
13:21 markm joined #salt
13:22 gimpy2938 joined #salt
13:22 antpa lorengordon: this is where i'm at with it.. I'm still getting the same error for some reason: {% set deploy_password = str(salt['random.hash'](5) ~ grains['server_id'] ~ salt['pillar.get']('mariadb:deploy:prod')) %}
13:22 lorengordon i don't think you can wrap the entire expression in str()
13:23 lorengordon you have to wrap each value, individually
13:23 antpa lorengordon: I tried {% set deploy_password = str(salt['random.hash'](5)) ~ str(grains['server_id']) ~ salt['pillar.get']('mariadb:deploy:prod') %}
13:23 lorengordon hmm
13:23 antpa lorengordon: perhaps I can't use the server_id?
13:24 antpa lorengordon: there are alpha characters in mariadb:deploy:prod
13:25 antpa lorengordon: also tried {% set deploy_password = str(salt['random.hash'](5)) ~ str(grains['server_id']) ~ str(salt['pillar.get']('mariadb:deploy:prod')) %}
13:25 lorengordon something is odd anyway, since `~` is supposed to do the string conversion
13:26 lorengordon ~ means convert to string and concatenate
13:26 lorengordon + is just concatenate
13:26 lorengordon you could try + with everything wrapped in str()
13:26 lorengordon but i'm starting to wonder if the error is coming from a different line?
13:27 jaybocc2 joined #salt
13:27 antpa lorengordon: It's line 47 which is that line... I'm getting a different error now.  I think we're almmost there.. one sec.
13:28 lorengordon or, maybe the random.hash function doesn't like being passed an int? try putting single quotes around the param, '5'
13:28 antpa lorengordon: hmm..      Rendering SLS 'base:mariadb' failed: Jinja syntax error: unexpected '}', expected ')'; line 47
13:28 antpa lorengordon: {% set deploy_password = str(salt['random.hash'](5)+grains['server_id']+salt['pillar.get']('mariadb:deploy:prod') %}
13:28 lorengordon one more paren at the end to close str()
13:29 antpa lorengordon: TypeError: must be string or buffer, not int ...
13:29 lorengordon lolololol
13:29 antpa lorengordon: lol, I know there's a way to do this...
13:29 lorengordon i'm going back to random.hash not liking the int
13:29 lorengordon try '5'
13:30 antpa lorengordon:     Rendering SLS 'base:mariadb' failed: Jinja syntax error: expected token ',', got 'string'; line 47
13:31 antpa lorengordon:     {% set deploy_password = str(salt['random.hash']'5'+grains['server_id']+salt['pillar.get']('mariadb:deploy:prod')) %}
13:31 lorengordon oh, sorry, ('5')
13:32 antpa lorengordon:   I've got a new one for ya... TypeError: cannot concatenate 'str' and 'int' objects
13:32 antpa lorengordon:  So it doesn't like the server_id?
13:32 lorengordon aha, change + back to ~ and ditch the str() wrapper
13:33 antpa lorengordon:  too easy
13:33 lorengordon whew
13:33 antpa lorengordon:  I think it's working now.... no errors... must be installing mariadb now :)
13:34 lorengordon i tested random.hash and it is actually creating a hash of the string you pass
13:34 lorengordon so the result is something like this: 06df05371981a237d0ed11472fae7c94c9ac0eff1d05413516710d17b10a4fb6f4517bda4a695f02d0a73dd4db543b4653df28f5d09dab86f92ffb9b86d01e25
13:35 lorengordon is that what you want? i assumed based on the pattern that you wanted five random characters...
13:35 antpa lorengordon:  I was hoping for 5 characters only.. I'm using mysq 5.6 and the password is limited to 16 characters.
13:35 antpa lorengordon:  I read 5.7 goes up to 32... not there yet :)
13:36 cyborg-one joined #salt
13:37 lorengordon probably want random.get_str then
13:38 antpa lorengordon : ok, i'll go for that then... I thought it would cut it off at 5...
13:38 lorengordon hash just returns the full hash
13:40 antpa lorengordon : thanks a lot.  i'm on deadline with this password stuff and can't wait to get it locked in so I can move onto other stuff.
13:41 lorengordon no prob, i know how it is
13:41 Hipikat joined #salt
13:44 brianfeister joined #salt
13:45 toddnni joined #salt
13:50 CeBe joined #salt
13:59 s_kunk joined #salt
14:01 DanyC joined #salt
14:03 otter768 joined #salt
14:05 antpa lorengordon: for some reason the state won't run at all now..
14:05 antpa lorengordon: it's acting as if salt master is overloaded
14:06 lorengordon i noticed an issue when testing random.get_str, where if i passed it a string it would bog down
14:06 lorengordon so, remember how i said to put quotes around 5?
14:06 lorengordon don't do that. :/
14:07 lorengordon i'm going to see if there is an issue open on that. seems like a bug
14:07 antpa lorengordon: ah ok :) i'll try it without quotes
14:07 lorengordon i figured it might be the windows box i'm on at the moment and that linux would be fine
14:08 lorengordon but if that solves the issue for you, it may be more widespread
14:08 gimpy2938 joined #salt
14:09 antpa lorengordon:  it's weird.. now i'm receiving,     Too many functions declared in state 'pkg' in SLS 'mariadb'
14:09 lorengordon post the state in a gist?
14:10 antpa lorengordon:  https://gist.github.com/anthonyscolaro/9f08ea9ac3e29c2889ca
14:11 lorengordon https://gist.github.com/anthonyscolaro/9f08ea9ac3e29c2889ca#file-mariadb-L27
14:11 lorengordon `order` without a value looks odd to me
14:12 lorengordon i'd have to dig into the docs/code to see what that means
14:12 lorengordon i think it is interpreting that as pkg.order rather than pkg.latest
14:12 antpa lorengordon:  I caught that. hat was actually messing with that order... I was trying to reorder things for a dependency issues earlier
14:14 antpa lorengordon:  thanks...  man, I'm beat...  I think it's working now though based on the minion log.
14:14 lorengordon awesome
14:14 antpa -password=06df05371981a237d0ed11472fae7c94c9ac0eff1d05413516710d17b10a4fb6f4517bda4a695f02d0a73dd4db543b4653df28f5d09dab86f92ffb9b86d01e252068140051pa
14:14 antpa +password=WTAMl2068140051pa
14:14 lorengordon heh
14:14 antpa lorengordon: that's better
14:15 antpa lorengordon: just one digit too long
14:15 lorengordon oops
14:17 antpa lorengordon: I'm messing with the order of things to try and solve this requisite issue I saw earlier.  State 'mysql_user.present' was not found in SLS 'mariadb' Reason: 'mysql_user' __virtual__ returned False
14:18 antpa lorengordon: I think it's acting as if mysql-server isn't installed though I told to to require mysql-server and I set the order to be after the repo was added and marbiadb was installed
14:18 lorengordon so, it's complaining about this state: https://gist.github.com/anthonyscolaro/9f08ea9ac3e29c2889ca#file-mariadb-L51
14:19 antpa lorengordon: correct.
14:19 lorengordon and the salt function `mysql_user` in particular
14:19 lorengordon whenever you __virtual__ returned false, it means the specified function is not being loaded on the box. in this case `mysql_user.present`
14:20 antpa lorengordon: probably to do with the state right above it...
14:20 antpa lorengordon: python-mysqldb
14:21 lorengordon i can peek at the salt code to see what dependencies it has on loading the function. what salt version are you using?
14:22 antpa lorengordon: everything just installed correctly :)
14:22 antpa lorengordon: I  made python-mysqldb and the mysql user order 4
14:22 gimpy2938 joined #salt
14:24 lorengordon i'm not a fan of using `order`
14:24 lorengordon should be able to change this line:
14:24 lorengordon https://gist.github.com/anthonyscolaro/9f08ea9ac3e29c2889ca#file-mariadb-L60
14:24 lorengordon from `pkg: mysql-server` to `pkg: python-mysqldb`
14:25 antpa lorengordon: sounds like a good idea
14:25 antpa lorengordon: just removed all orders
14:26 lorengordon cool, might need to adjust the requisites, but the requisites are more flexible and, to me, more readable
14:26 antpa lorengordon: brilliant...  mysql root is secured, deploy users have a random password... :)
14:27 antpa lorengordon: yes, I agree totally.
14:28 jaybocc2 joined #salt
14:28 lorengordon sounds like it's time for a beer, or an irish coffee, depending on your timezone :)
14:28 antpa lorengordon: and I couldn't be more happy right that all of this is working... now I don't have to rely on our developer's ability to remember how to create a database and user in mysql... this will probably save a year off my life...
14:29 lorengordon lolololol
14:29 antpa lorengordon: it's 5 o'clock somehwhere :)  philippines actually :) 10:30pm
14:30 antpa lorengordon: this saltstack stuff is so awesome... I may be able to spend time wtih a family one day
14:30 antpa lorengordon: thank you soo much!  two other guys on here helped me out a lot too with this.  thanks fellas!
14:31 lorengordon nah, there's always something new to automate! :)
14:32 lorengordon cheers
14:33 kitplummer joined #salt
14:35 linjan joined #salt
14:35 slav0nic joined #salt
14:35 antpa lorengordon: cheers
14:42 MaZ- joined #salt
14:45 thalleralexander joined #salt
14:54 Pixionus joined #salt
14:54 Pixionus joined #salt
14:55 linjan joined #salt
14:55 sjorge joined #salt
14:55 sjorge joined #salt
14:57 diegows joined #salt
14:58 eigart joined #salt
15:11 bhosmer joined #salt
15:28 jaybocc2 joined #salt
15:33 brianfeister joined #salt
15:39 kitplummer joined #salt
15:41 boargod is there any way to prevent salt from writing out YAML tags (like !!python/unicode) when we use the "| yaml" jinja filter?
15:50 thayne joined #salt
15:54 GnuLxUsr joined #salt
16:00 mapu joined #salt
16:04 otter768 joined #salt
16:06 antpa joined #salt
16:11 linjan_ joined #salt
16:11 mapu_ joined #salt
16:11 izrail joined #salt
16:11 izrail hi
16:13 izrail i have a question on nodegroups. i'd like to have a nodegroup based on some grains information plus an enabled/disabled flag in the pillar hosts.sls, that has global information on all managed hosts
16:13 izrail i guess i need the pillar glob match type for this, but i do not understand how to use it :)
16:14 izrail i added the following nodegroup to my salt master:  "routers: 'G@roles:router and G@env:production'"
16:15 izrail this works quite well
16:15 izrail now, i'd like to have something like: "routers: 'G@roles:router and G@env:production and I@enabled:1'", which does not work
16:16 izrail the pillar looks like this:  hosts: id: enabled: 1
16:16 izrail any hint how to access the enabled parameter in the pillar?
16:18 kitplummer joined #salt
16:22 TyrfingMjolnir joined #salt
16:25 kitplummer joined #salt
16:29 jaybocc2 joined #salt
16:30 DanyC joined #salt
16:40 DanyC joined #salt
16:40 ageorgop joined #salt
16:42 rotbeard joined #salt
16:43 tristianc joined #salt
16:46 hightekvagabond joined #salt
16:48 rotbeard joined #salt
16:56 tristianc joined #salt
16:59 nethershaw joined #salt
17:00 viq joined #salt
17:00 scoates joined #salt
17:02 lorengordon boargod: not sure i've run into that, but maybe try `| yaml(False)`?
17:04 otter768 joined #salt
17:21 brianfeister joined #salt
17:25 boargod lorengordon, I did try that, seemed to be the same with True/False
17:26 rmnuvg joined #salt
17:30 jaybocc2 joined #salt
17:35 ageorgop joined #salt
17:40 deus_ex joined #salt
17:42 kitplummer joined #salt
17:48 DanyC joined #salt
17:48 darvon joined #salt
17:49 eichiro joined #salt
17:50 DanyC joined #salt
17:53 edrocks joined #salt
17:58 scoates joined #salt
17:59 bfoxwell joined #salt
18:05 gcorey joined #salt
18:06 gcorey joined #salt
18:09 mortis_ tehehe https://twitter.com/mortis1337/status/658696472922357760
18:11 eichiro joined #salt
18:17 brianfeister joined #salt
18:20 darvon joined #salt
18:23 eichiro joined #salt
18:33 larsfronius joined #salt
18:34 edrocks joined #salt
18:43 beardede_ joined #salt
18:49 edrocks joined #salt
18:50 DanyC joined #salt
18:52 subsignal joined #salt
18:53 beardedeagle joined #salt
19:04 mik__R joined #salt
19:08 PeterO joined #salt
19:16 _JZ_ joined #salt
19:17 mik__R joined #salt
19:25 otter768 joined #salt
19:25 MohShami joined #salt
19:27 s_kunk joined #salt
19:28 scoates joined #salt
19:33 markm joined #salt
19:33 MohShami hey guys, I'm facing the following error on Freebsd, running latest 2015.8.2 build "UnboundLocalError: local variable 'm_state' referenced before assignment", only faced this error after upgrading, any ideas?
19:45 kitplummer joined #salt
20:00 darvon joined #salt
20:07 jaybocc2 joined #salt
20:10 antpa joined #salt
20:11 sjorge Any way of sending 'pretty yaml' in the body of a message using smtp.send_msg ?
20:25 edrocks joined #salt
20:27 brianfeister joined #salt
20:33 eichiro joined #salt
20:40 markm joined #salt
20:48 kitplummer joined #salt
20:50 besideyou-Eder joined #salt
20:58 aidalgol joined #salt
21:08 hightekvagabond joined #salt
21:22 keimlink joined #salt
21:25 otter768 joined #salt
21:26 thayne joined #salt
21:35 brianfeister joined #salt
21:40 darvon joined #salt
21:42 sunkist joined #salt
21:44 eichiro joined #salt
21:47 Guest47941 joined #salt
21:49 markm joined #salt
21:51 mlanner left #salt
22:01 sofixa joined #salt
22:01 sofixa hello everybody :)
22:01 sofixa has anybody had any issues with the scaleway driver for salt-cloud?
22:23 ronrib joined #salt
22:25 MohShami joined #salt
22:25 MohShami hey guys, my master is hanging at this message  MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
22:26 MohShami I'm running latest 2015.8.2 on freebsd 10.2
22:26 MohShami any idea what's going on?
22:29 subsignal joined #salt
22:39 thalleralexander joined #salt
22:41 Bryson joined #salt
22:42 ekleog joined #salt
22:46 onlyanegg joined #salt
22:49 kitplummer joined #salt
22:50 diegows joined #salt
22:52 gimpy2938 joined #salt
22:55 subsignal joined #salt
22:56 KingPusha joined #salt
22:56 KingPusha left #salt
22:57 eliasp any idea, how to check from Jinja, whether an execution module/function is loaded/available on a Minion? for some reason, "{% if 'selinux.getsebool' in salt %}" doesn't cut it and ends up in a KeyError: https://paste.kde.org/p20nzcoj8
23:13 onlyanegg joined #salt
23:14 otter768 joined #salt
23:16 thayne joined #salt
23:21 eigart joined #salt
23:29 drwx joined #salt
23:29 drwx joined #salt
23:34 mosen joined #salt
23:35 brianfei_ joined #salt
23:44 otter768 joined #salt
23:46 kitplummer joined #salt
23:47 moogyver joined #salt

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