Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-01-31

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

All times shown according to UTC.

Time Nick Message
00:04 childc21 I tried {{ env }}, but that just causes a compile error. And I haven't had much luck searching through the docs for this
00:10 sjmh childc21 - do you have the environment config setting in the minion set?
00:11 childc21 sjmh: no, it's set via the top.sls
00:11 diegows joined #salt
00:13 sjmh childc21 - so that's not really an environment assignment to the minion.  the top.sls is really just describing the fileserver's view.  a minion can actually see any of the environments, even if they match something in top.sls, they can see the whole fileserver.
00:14 jaybocc2 joined #salt
00:15 childc21 sure, but when I run highstate won't the minion be assigned to one or more environments? I was hoping I could put a list of the environments the minion pulled state data from in a template
00:15 Guest49493 joined #salt
00:21 sjmh childc21 - try __opts__['environment']
00:23 childc21 jinja says __opts__ is undefined
00:25 sjmh childc21 : try doing it with something like {% set env = __salt__['config.get']('environment') %}
00:25 sjmh then {{ env }}
00:26 childc21 oh, set that in the init.sls?
00:27 hasues joined #salt
00:27 hasues left #salt
00:27 sjmh in whatever state you're needing the variable in, yeah.
00:29 childc21 hmm, jinja says __salt__ is not defined. I'm not sure the set was evaluated into a string for env before jinja was asked to build the template
00:30 Guest49493 joined #salt
00:31 sjmh ah, looks like maybe just 'salt'
00:31 sjmh salt['config.get']('environment')
00:31 tehsu joined #salt
00:35 childc21 jinja says env isn't defined
00:35 childc21 "{% set env = salt['config.get']('environment') %}"
00:39 sjmh childc21 - can you paste the jinja file up on gist?
00:39 childc21 sure
00:39 childc21 https://gist.github.com/cchildress/38da6f27325704e340b0
00:40 childc21 nothing too exciting, just a motd file. I'm just trying to get the hang of assigning states to hosts
00:40 Guest49493 joined #salt
00:41 childc21 I wish the environment evaluation could just be a grain, that would make it pretty easy
00:46 sjmh childc21 - you can set the 'environment' in the minion config.  anyways, are you passing in a saltenv when you run the highstate or just letting it figure it out based on the top.sls?
00:47 childc21 just letting top.sls work it out
00:47 cberndt joined #salt
00:47 childc21 it seemed like the most graceful way to do it, plus I stumbled across a best practices guide on the salt webpage that said do it in top.sls whenever possible
00:55 sjmh childc21 - so you're more than welcome to set a grain on the minion that describes what environment the minion is in.  but there's no real pinning of a minion to an environment.  i can say 'salt somedevhost state.highstate saltenv=prod' and it will read from the prod environment instead.
00:56 sjmh if you give it an environment when you run the highstate, it'll set that config - just tested that out on my own host
00:56 childc21 oh, so I can override what's in the minion config file in a top.sls / the cli?
01:00 sjmh childc21 - you can override what environment of the fileserver that the minion sees via the cli, yes.
01:00 childc21 huh, good to know
01:01 childc21 still figuring this stuff out, but a motd seemed like a safe place to start
01:02 sjmh it is - it's just that environments are rather a foggy notion in salt.
01:03 childc21 yeah, I saw a note that I could skip them entirely if I wanted, but I thought it would be good to leave myself a nice opportunity to have a QA pod if I want to
01:04 Guest49493 joined #salt
01:05 sjmh childc21 - for instance, here's a top.sls i could write: https://gist.github.com/sjmh/0b7bb4f744cf9ce57084
01:06 sjmh and when a minion calls in - it's going to run every single one of those
01:06 childc21 ah, okay, so just have a different state and set a static string in each
01:06 childc21 that would work
01:07 sjmh yeah, that'd be one way of doing it
01:07 sjmh that or use grain['environment']
01:07 sjmh and set a grain in the minion config with a name
01:07 sjmh or grain['my_environment']
01:07 sjmh and do it that way ( so it doesn't get confused with the environment config option )
01:08 childc21 oh, so just define a new grain?
01:08 sjmh and then you could assign the motd state to '*' and everyone would just write it out based on their grain
01:08 sjmh yeah
01:08 childc21 hmm, I'll have to look into that
01:08 childc21 thanks@
01:08 sjmh you can just add it to /etc/salt/grains as a 'key: value'
01:08 childc21 s/@/!
01:08 childc21 ah, okay
01:08 sjmh or you can add it in the /etc/salt/minion config file under the 'grains' config option
01:09 edulix joined #salt
01:14 zmalone joined #salt
01:18 Guest49493 joined #salt
01:23 cberndt joined #salt
01:24 totzky joined #salt
01:34 zmalone joined #salt
01:50 tehsu joined #salt
01:53 Tyrm joined #salt
01:58 tehsu joined #salt
01:59 yomilk joined #salt
02:00 hal58th joined #salt
02:01 berserk joined #salt
02:02 edrocks joined #salt
02:02 berserk joined #salt
02:03 Guest49493 joined #salt
02:05 donmichelangelo joined #salt
02:15 iceyao joined #salt
02:15 jaybocc2 joined #salt
02:21 tehsu joined #salt
02:24 iceyao joined #salt
02:26 tehsu joined #salt
02:36 amcorreia joined #salt
02:45 catpig joined #salt
02:53 tehsu joined #salt
02:57 catpigger joined #salt
02:58 Guest49493 joined #salt
03:11 tehsu joined #salt
03:12 Guest49493 joined #salt
03:16 jaybocc2 joined #salt
03:28 Guest49493 joined #salt
03:29 tehsu joined #salt
03:29 mwd5650 joined #salt
03:32 mwd5650 left #salt
03:43 racooper joined #salt
03:44 beardedeagle joined #salt
03:49 Guest49493 joined #salt
03:52 kawa2014 joined #salt
04:05 Guest49493 joined #salt
04:16 yomilk joined #salt
04:17 Guest49493 joined #salt
04:20 malinoff joined #salt
04:22 buglessdr joined #salt
04:25 tehsu joined #salt
04:31 rem5 joined #salt
04:45 rem5 joined #salt
05:01 jaybocc2 joined #salt
05:22 iceyao joined #salt
05:30 buglessdr joined #salt
05:42 onlyanegg joined #salt
05:43 buglessdr joined #salt
05:57 buglessdr joined #salt
06:06 djgerm joined #salt
06:09 tehsu joined #salt
06:17 jaybocc2 joined #salt
06:23 om2 why do some modules require [] at times? and not other times?
06:23 om2 like pkg.installed: [] was needed instead of pkg.installed: ??
06:25 muep my impression is that [] is just a convenient way to have an empty list
06:25 om2 not sure about that
06:26 muep it is an empty list anyway
06:26 om2 I think I saw a page describing why... but lost where that url was
06:26 muep you can use it if your state item (or whatever that's called) needs no parameters
06:27 om2 so...
06:27 om2 nginx:
06:27 om2 pkg.installed: []
06:27 om2 would be replacing:
06:27 om2 nginx:
06:27 om2 pkg.installed:
06:27 om2 - name: ngin
06:27 om2 whoops, nginx...
06:27 muep if you specify the name in attributes of pkg.installed, the state name from above is not used
06:28 muep so you can name it however you see fit
06:28 om2 right
06:28 om2 but that's not why [] is used is it?
06:31 muep normally the state item is a dictionary whose values are lists
06:31 muep http://paste.fedoraproject.org/316752/42218511/ would this go through an YAML parser?
06:33 ruxu joined #salt
06:33 muep at least here when reading that through yaml.load function in python
06:33 muep I get {'nginx': {'pkg.installed': None}}
06:34 muep so in that dictionary, value of pkg.installed is None instead of a list
06:45 linjan_ joined #salt
06:51 iceyao joined #salt
06:55 jaybocc2 joined #salt
07:08 mpanetta joined #salt
07:16 jrklein joined #salt
07:16 childc21 left #salt
07:25 Guest49493 joined #salt
07:32 Guest49493 joined #salt
07:36 DrunkSignal joined #salt
07:49 blckbit10 joined #salt
07:53 LeProvokateur joined #salt
07:56 Tyrm joined #salt
08:01 Guest49493 joined #salt
08:07 ruxu joined #salt
08:18 jaybocc2 joined #salt
08:19 viq joined #salt
08:20 pfallenop joined #salt
08:29 evle1 joined #salt
08:31 jeddi joined #salt
08:34 malinoff joined #salt
08:35 malinoff joined #salt
08:37 sjmh joined #salt
08:37 DrunkSignal joined #salt
08:38 twiedenbein joined #salt
08:40 pfallenop joined #salt
08:50 LeProvokateur joined #salt
09:03 LeProvokateur joined #salt
09:08 twiedenbein joined #salt
09:18 LeProvokateur joined #salt
09:22 hal58th joined #salt
09:26 Guest49493 joined #salt
09:28 avozza joined #salt
09:45 Fiber^ joined #salt
09:47 Guest49493 joined #salt
09:49 shiriru joined #salt
10:04 larsfronius joined #salt
10:08 anmolb joined #salt
10:10 totzky joined #salt
10:24 Trauma joined #salt
10:32 Trauma joined #salt
10:40 DrunkSignal joined #salt
10:57 Tyrm joined #salt
11:03 Trauma joined #salt
11:04 Guest49493 joined #salt
11:09 linjan joined #salt
11:09 Trauma joined #salt
11:14 Guest49493 joined #salt
11:23 hal58th joined #salt
11:24 anmolb joined #salt
11:26 cberndt joined #salt
11:36 Guest49493 joined #salt
11:36 treaki joined #salt
11:36 treaki joined #salt
11:46 Guest49493 joined #salt
11:50 ruxu joined #salt
11:54 atmosx joined #salt
11:55 garphy joined #salt
11:59 slav0nic joined #salt
12:00 Guest49493 joined #salt
12:00 hoonetorg joined #salt
12:12 stooj joined #salt
12:28 Ssquidly joined #salt
12:28 djinni` joined #salt
12:28 aarontc joined #salt
12:28 analogbyte joined #salt
12:28 Ouzo_12 joined #salt
12:28 MadsRC joined #salt
12:28 FTfz joined #salt
12:28 hacfi joined #salt
12:28 canci joined #salt
12:28 zsoftich joined #salt
12:28 garthk joined #salt
12:28 v12aml joined #salt
12:28 pcdummy joined #salt
12:28 jor joined #salt
12:28 ruxu joined #salt
12:28 malinoff joined #salt
12:28 stooj joined #salt
12:28 hoonetorg joined #salt
12:28 anmolb joined #salt
12:28 Fiber^ joined #salt
12:28 LeProvokateur joined #salt
12:28 twiedenbein joined #salt
12:28 jeddi joined #salt
12:28 evle1 joined #salt
12:28 viq joined #salt
12:28 jaybocc2 joined #salt
12:28 jrklein joined #salt
12:28 tehsu joined #salt
12:28 djgerm joined #salt
12:28 yomilk joined #salt
12:28 catpigger joined #salt
12:28 edulix joined #salt
12:28 RandyT joined #salt
12:28 rubendv joined #salt
12:28 alexlist joined #salt
12:28 ramblinpeck joined #salt
12:28 ktosiek joined #salt
12:28 zenlot1 joined #salt
12:28 jrgochan joined #salt
12:28 justanotheruser joined #salt
12:28 SpX joined #salt
12:28 rburkholder joined #salt
12:28 bastiandg joined #salt
12:28 giantlock joined #salt
12:28 seblu joined #salt
12:28 CeBe joined #salt
12:28 mdupont joined #salt
12:28 jxm_ joined #salt
12:28 nidr0x joined #salt
12:28 bonzibuddy joined #salt
12:28 sfz- joined #salt
12:28 writtenoff joined #salt
12:28 zer0def joined #salt
12:28 packeteer joined #salt
12:28 hexa- joined #salt
12:28 Fabbe joined #salt
12:28 eightyeight joined #salt
12:28 bstaz joined #salt
12:28 M-liberdiko1 joined #salt
12:28 stopbyte joined #salt
12:28 aRkadeFR_ joined #salt
12:28 robinsmidsrod joined #salt
12:28 bbhoss joined #salt
12:28 izrail_ joined #salt
12:28 trave joined #salt
12:28 mihait joined #salt
12:28 Ryan_Lane joined #salt
12:28 terratom1 joined #salt
12:28 jfred_ joined #salt
12:28 rogst_ joined #salt
12:28 __alex_ joined #salt
12:28 OliverMT joined #salt
12:28 akitada joined #salt
12:28 rickflare joined #salt
12:28 CaptTofu_ joined #salt
12:28 ramishra_ joined #salt
12:28 nahkiss_ joined #salt
12:28 scarcry joined #salt
12:28 GreatSnoopy joined #salt
12:28 troubled joined #salt
12:28 sroegner joined #salt
12:28 kbaikov joined #salt
12:28 mariusv joined #salt
12:28 patrek joined #salt
12:28 om2 joined #salt
12:28 N-Mi__ joined #salt
12:28 jesusaur joined #salt
12:28 oida joined #salt
12:28 MindDrive joined #salt
12:28 alias_ joined #salt
12:28 Lionel_Debroux joined #salt
12:28 pmcg joined #salt
12:28 Pie_Mage joined #salt
12:28 harkx joined #salt
12:28 Gareth joined #salt
12:28 dimeshake joined #salt
12:28 devtea joined #salt
12:28 nethershaw joined #salt
12:28 bmcorser joined #salt
12:28 Edgan joined #salt
12:28 Pixionus joined #salt
12:28 wangofett joined #salt
12:28 MeltedLux joined #salt
12:28 jesusaurus joined #salt
12:28 darix joined #salt
12:28 Ch3LL joined #salt
12:28 indispeq joined #salt
12:28 kevinquinnyo joined #salt
12:28 frew joined #salt
12:28 yawniek joined #salt
12:28 mephx joined #salt
12:28 rideh joined #salt
12:28 jacksontj joined #salt
12:28 mattiasr joined #salt
12:28 paolo joined #salt
12:28 pviktori joined #salt
12:28 aboe joined #salt
12:28 foundatron joined #salt
12:28 chesty joined #salt
12:28 GrueMaster joined #salt
12:28 Jimlad joined #salt
12:28 Score_Under joined #salt
12:28 jasondotstar joined #salt
12:28 Diaoul joined #salt
12:28 kalessin joined #salt
12:28 jnilsson joined #salt
12:28 Corey joined #salt
12:28 sixninetynine joined #salt
12:28 tmkerr joined #salt
12:28 wm-bot4 joined #salt
12:28 baoboa joined #salt
12:28 ecdhe joined #salt
12:28 erjohnso joined #salt
12:28 esharpmajor joined #salt
12:28 chutzpah joined #salt
12:28 [vaelen] joined #salt
12:28 KingJ joined #salt
12:28 ashmckenzie joined #salt
12:28 ekkelett joined #salt
12:28 dijit joined #salt
12:28 GothAck joined #salt
12:28 m0nky joined #salt
12:28 ctrlrsf joined #salt
12:28 pezus joined #salt
12:28 arif-ali joined #salt
12:28 quarcu joined #salt
12:28 sjohnsen joined #salt
12:28 intr1nsic joined #salt
12:28 Karunamon|2 joined #salt
12:28 marwood joined #salt
12:28 pprkut joined #salt
12:28 davromaniak joined #salt
12:28 jcristau joined #salt
12:28 nomad_fr joined #salt
12:28 jgelens joined #salt
12:28 klocek joined #salt
12:28 nledez joined #salt
12:28 ntropy joined #salt
12:28 melbogia joined #salt
12:28 fullstop joined #salt
12:28 emid joined #salt
12:28 JoeJulian joined #salt
12:28 Knuta joined #salt
12:28 shnguyen_ joined #salt
12:28 gerhardq1x joined #salt
12:28 Micromus joined #salt
12:28 jinkyu joined #salt
12:28 antonw joined #salt
12:28 Puckel_ joined #salt
12:28 jav joined #salt
12:28 jvv joined #salt
12:28 hax404 joined #salt
12:28 nahamu joined #salt
12:28 wiqd joined #salt
12:28 NachoDuck joined #salt
12:28 llua joined #salt
12:28 godlike joined #salt
12:28 stbenjam joined #salt
12:28 joshin1 joined #salt
12:28 hillna joined #salt
12:28 tcolvin joined #salt
12:28 jay_d joined #salt
12:28 mrbobbytables joined #salt
12:28 imanc joined #salt
12:28 mage__ joined #salt
12:28 joren joined #salt
12:28 Eugene joined #salt
12:28 colinstgeorge joined #salt
12:28 Yoda-BZH joined #salt
12:28 nebuchadnezzar joined #salt
12:28 AndreasLutro joined #salt
12:28 s0undt3ch joined #salt
12:28 oliv` joined #salt
12:28 voileux joined #salt
12:28 upb joined #salt
12:28 rofl____ joined #salt
12:28 roock joined #salt
12:28 Azid joined #salt
12:28 Edur joined #salt
12:28 daschatten joined #salt
12:28 dabb joined #salt
12:28 hypnosb joined #salt
12:28 kutenai joined #salt
12:28 goki joined #salt
12:28 ashb joined #salt
12:28 akoumjian joined #salt
12:28 supermike___ joined #salt
12:28 Phtes joined #salt
12:28 munhitsu_ joined #salt
12:28 penguinpowernz joined #salt
12:28 AbyssOne_ joined #salt
12:28 xenoxaos joined #salt
12:28 Hipikat joined #salt
12:28 Laogeodritt joined #salt
12:28 Vye joined #salt
12:28 thalleralexander joined #salt
12:28 nlb joined #salt
12:28 thehaven joined #salt
12:28 mortis joined #salt
12:28 B1nny joined #salt
12:28 Sketch joined #salt
12:28 babilen joined #salt
12:28 MaZ- joined #salt
12:28 stupidnic joined #salt
12:28 elektrix joined #salt
12:28 unusedPhD joined #salt
12:28 saltstackbot joined #salt
12:29 NightMonkey joined #salt
12:29 pfallenop joined #salt
12:29 czchen joined #salt
12:29 rmnuvg_ joined #salt
12:29 joyrida08 joined #salt
12:29 xmj joined #salt
12:29 bVector joined #salt
12:29 frankS2 joined #salt
12:29 Cottser joined #salt
12:29 totte joined #salt
12:29 gimpy927 joined #salt
12:29 Rockj joined #salt
12:29 armyriad joined #salt
12:29 soma joined #salt
12:29 Steven- joined #salt
12:29 guanophobic joined #salt
12:29 mrtrosen joined #salt
12:29 freelock_ joined #salt
12:29 futuredale joined #salt
12:29 Hetman joined #salt
12:29 berto- joined #salt
12:29 Riz joined #salt
12:29 jfroche joined #salt
12:29 ws2k3 joined #salt
12:29 adelcast joined #salt
12:29 calculon joined #salt
12:29 Guest29160 joined #salt
12:29 lorengordon joined #salt
12:29 tiadobatima joined #salt
12:29 asyncsrc_ joined #salt
12:29 sjorge joined #salt
12:29 terinjokes joined #salt
12:29 mekstrem joined #salt
12:29 yuhlw joined #salt
12:29 VR-Jack joined #salt
12:29 saltsa joined #salt
12:29 renoirb joined #salt
12:29 Niamkik_ joined #salt
12:29 synical joined #salt
12:29 dstokes joined #salt
12:29 tongpu joined #salt
12:29 nexsja joined #salt
12:29 dean joined #salt
12:29 arnoldB joined #salt
12:29 murkey_ joined #salt
12:29 muep joined #salt
12:29 Guest94849 joined #salt
12:29 izibi joined #salt
12:29 dandelo joined #salt
12:29 g3cko joined #salt
12:29 SteamWells joined #salt
12:29 JonGretar joined #salt
12:29 mikepea joined #salt
12:29 twodayslate joined #salt
12:29 gazarsgo joined #salt
12:29 copelco joined #salt
12:29 lkannan joined #salt
12:29 mattl joined #salt
12:29 serverascode joined #salt
12:29 tim_s007 joined #salt
12:29 norii joined #salt
12:29 dh joined #salt
12:29 skarn joined #salt
12:29 gchao joined #salt
12:29 MK_FG joined #salt
12:29 ThomasJ joined #salt
12:29 workthrick joined #salt
12:29 arapaho joined #salt
12:29 evilrob joined #salt
12:29 kuromagi joined #salt
12:29 ze- joined #salt
12:29 averell joined #salt
12:29 ]V[ joined #salt
12:29 tmmt_ joined #salt
12:29 Hazelesque joined #salt
12:29 agj joined #salt
12:29 al joined #salt
12:29 techdragon joined #salt
12:29 SirLagz joined #salt
12:29 garphy joined #salt
12:29 baffle___ joined #salt
12:29 downhill_ joined #salt
12:29 disbound joined #salt
12:29 vpm joined #salt
12:29 penguin_dan joined #salt
12:29 rubenb joined #salt
12:29 jtylers joined #salt
12:29 peters-tx joined #salt
12:29 mohae joined #salt
12:29 illern joined #salt
12:29 cilkay joined #salt
12:29 Eureka703 joined #salt
12:29 davisj joined #salt
12:29 basepi joined #salt
12:29 samed joined #salt
12:29 Heartsbane joined #salt
12:29 pppingme joined #salt
12:29 buhman joined #salt
12:29 cswang joined #salt
12:29 InAnimaTe|whosto joined #salt
12:29 leev joined #salt
12:29 stevednd joined #salt
12:29 sifusam joined #salt
12:29 cswang__ joined #salt
12:29 trevorjay joined #salt
12:29 tuxx_ joined #salt
12:29 honestly_ joined #salt
12:29 georgemarshall joined #salt
12:29 twork joined #salt
12:29 rome_390 joined #salt
12:29 sybix joined #salt
12:29 EvaSDK joined #salt
12:29 lynxman joined #salt
12:29 bernieke joined #salt
12:29 Ashald joined #salt
12:29 ajolo joined #salt
12:29 btorch joined #salt
12:29 v0rtex joined #salt
12:29 gtmanfred joined #salt
12:29 jeblair joined #salt
12:29 davidbanham joined #salt
12:30 londo joined #salt
12:30 avozza joined #salt
12:30 beardedeagle joined #salt
12:30 drawsmcgraw joined #salt
12:30 fxhp joined #salt
12:30 Bucciarati joined #salt
12:30 okfine joined #salt
12:30 linovia joined #salt
12:30 riftman1 joined #salt
12:30 toddnni joined #salt
12:30 notnotpe_ joined #salt
12:30 keekz joined #salt
12:30 absolute joined #salt
12:30 gmoro joined #salt
12:30 SVQTQ joined #salt
12:30 GnuLxUsr joined #salt
12:30 Jarus joined #salt
12:30 mschiff joined #salt
12:30 Hydrosine joined #salt
12:30 fhh joined #salt
12:30 tonthon joined #salt
12:30 opdude joined #salt
12:30 yota joined #salt
12:30 BogdanR joined #salt
12:30 w1gz joined #salt
12:30 liqw joined #salt
12:30 Ahlee joined #salt
12:30 feliks joined #salt
12:30 ndim joined #salt
12:30 phx joined #salt
12:30 larsberg joined #salt
12:30 Garo_ joined #salt
12:30 simonmcc joined #salt
12:30 kidneb joined #salt
12:30 __number5__ joined #salt
12:30 chamunks joined #salt
12:30 NaPs joined #salt
12:30 memford joined #salt
12:30 aurynn joined #salt
12:30 Rkp joined #salt
12:30 Buzer joined #salt
12:30 kevinqui3nyo joined #salt
12:30 [dee] joined #salt
12:30 giany joined #salt
12:30 daemonkeeper joined #salt
12:30 gadams joined #salt
12:30 Twiglet joined #salt
12:30 duckfez joined #salt
12:30 Nebraskka joined #salt
12:30 darvon joined #salt
12:30 MarkusDBX joined #salt
12:30 egil joined #salt
12:30 LinuxHorn joined #salt
12:30 shawnbutts joined #salt
12:30 gtaylor joined #salt
12:30 johtso joined #salt
12:30 davedash joined #salt
12:30 hacks joined #salt
12:30 koomi joined #salt
12:30 alxchk joined #salt
12:30 TOoSmOotH joined #salt
12:30 zifnab joined #salt
12:30 LotR joined #salt
12:30 JPaul joined #salt
12:30 Kelsar joined #salt
12:30 tampakrap joined #salt
12:30 mfournier joined #salt
12:30 colegatron_ joined #salt
12:30 sirtaj joined #salt
12:30 simmel joined #salt
12:30 nobrak joined #salt
12:30 oeuftete joined #salt
12:30 kiorky joined #salt
12:30 masterkorp joined #salt
12:30 ujjain joined #salt
12:30 Ludo- joined #salt
12:30 whytewolf joined #salt
12:30 StolenToast joined #salt
12:30 asoc joined #salt
12:30 adongy joined #salt
12:30 tim_s007 joined #salt
12:30 treaki joined #salt
12:30 rem5 joined #salt
12:30 kawa2014 joined #salt
12:30 quasiben joined #salt
12:30 alvinstarr joined #salt
12:30 scc_ joined #salt
12:30 ablemann joined #salt
12:30 JPT joined #salt
12:30 tristianc joined #salt
12:30 rawzone joined #salt
12:30 douardda joined #salt
12:30 jhujhiti joined #salt
12:30 colegatron joined #salt
12:30 Zachary_DuBois joined #salt
12:30 SubOracle joined #salt
12:30 rhand joined #salt
12:30 TjackNoire joined #salt
12:30 codehotter joined #salt
12:30 schinken joined #salt
12:30 nikogonzo joined #salt
12:30 Shirkdog joined #salt
12:30 nbastin joined #salt
12:30 admgre joined #salt
12:30 UForgotten joined #salt
12:30 TomJepp joined #salt
12:30 jab416171 joined #salt
12:30 thraxil joined #salt
12:30 eliasp joined #salt
12:30 hunmaat joined #salt
12:30 stickmack joined #salt
12:30 Qwazerty joined #salt
12:30 mitsuhiko joined #salt
12:30 gnord joined #salt
12:30 MTecknology joined #salt
12:30 dork joined #salt
12:30 cb joined #salt
12:30 drags joined #salt
12:30 eofs joined #salt
12:30 borgstrom joined #salt
12:30 carmony joined #salt
12:30 netcho joined #salt
12:30 ventris joined #salt
12:30 jack_ joined #salt
12:30 karlthane joined #salt
12:30 rudi_s joined #salt
12:30 bharper_ joined #salt
12:30 denys joined #salt
12:30 bbradley joined #salt
12:30 TyrfingMjolnir joined #salt
12:30 WildPikachu joined #salt
12:30 johnf1911 joined #salt
12:30 xMopxShell joined #salt
12:30 iamtew joined #salt
12:30 relidy joined #salt
12:30 aqua^c_ joined #salt
12:30 dustywusty joined #salt
12:30 cro joined #salt
12:30 toastedpenguin joined #salt
12:30 Gabemo joined #salt
12:30 cliluw joined #salt
12:30 scooby2 joined #salt
12:30 kbyrne joined #salt
12:30 Ph-x joined #salt
12:30 Taytay joined #salt
12:30 rbjorkli1 joined #salt
12:30 flebel joined #salt
12:30 jfindlay joined #salt
12:30 sarlalian joined #salt
12:30 etw joined #salt
12:30 LostSoul_ joined #salt
12:30 tedski joined #salt
12:30 lionel_ joined #salt
12:30 oravirt joined #salt
12:30 liskl joined #salt
12:30 tru_tru joined #salt
12:30 dober joined #salt
12:30 wryfi_ joined #salt
12:30 rodr1c joined #salt
12:30 invalidexception joined #salt
12:30 Dev0n joined #salt
12:30 jcockhren joined #salt
12:30 chrismoos joined #salt
12:30 FreeSpencer joined #salt
12:30 evidence joined #salt
12:30 sk_0 joined #salt
12:30 beardo_ joined #salt
12:30 TTimo joined #salt
12:30 pmcnabb joined #salt
12:30 pjs joined #salt
12:30 nicksloan joined #salt
12:30 unusedPh- joined #salt
12:30 mirko joined #salt
12:30 CustosLimen joined #salt
12:30 djinni` joined #salt
12:30 Rockj joined #salt
12:30 SunPowered joined #salt
12:30 lahwran joined #salt
12:30 slav0nic joined #salt
12:30 MTecknol1gy joined #salt
12:30 admgre_ joined #salt
12:30 treaki_ joined #salt
12:31 eofs_ joined #salt
12:31 fatbox joined #salt
12:31 scc joined #salt
12:31 MulX joined #salt
12:31 voxxit joined #salt
12:31 munki joined #salt
12:32 jor joined #salt
12:32 pcdummy joined #salt
12:32 v12aml joined #salt
12:32 garthk joined #salt
12:32 zsoftich joined #salt
12:32 canci joined #salt
12:32 hacfi joined #salt
12:32 FTfz joined #salt
12:32 MadsRC joined #salt
12:32 Ouzo_12 joined #salt
12:32 analogbyte joined #salt
12:32 MarkusDBX joined #salt
12:32 treaki joined #salt
12:32 drags1 joined #salt
12:33 TomJepp_ joined #salt
12:33 tristianc_ joined #salt
12:33 Sub_Oracle joined #salt
12:34 themacproguy joined #salt
12:35 armyriad joined #salt
12:35 gnord_ joined #salt
12:36 kawa2014 joined #salt
12:39 jab416171 joined #salt
12:40 APLU joined #salt
12:42 DrunkSignal joined #salt
12:44 ruxu joined #salt
12:52 linjan joined #salt
12:52 cyteen joined #salt
12:54 ruxu joined #salt
12:56 eliasp joined #salt
12:57 Qwazerty joined #salt
12:57 jack_ joined #salt
12:57 rhand joined #salt
13:02 M-liberdiko joined #salt
13:06 krymzon joined #salt
13:10 bluenemo joined #salt
13:10 bluenemo how would I remove numbers from strings with jinja? I want to make foobar from foobar2
13:11 bluenemo write custom filter?
13:11 bhosmer joined #salt
13:13 SunPowered bluenemo: There is a filter `regex_replace` that might do the trick for you
13:22 bluenemo SunPowered, ah yes thank you
13:24 abednarik joined #salt
13:25 hal58th joined #salt
13:29 bluenemo SunPowered, tells me no filter named 'regex_replace'; I noticed my google search ended up at the ansible doc m)
13:29 bluenemo cant find the filter, also I too remember it..
13:29 bluenemo i think
13:30 SunPowered oh, i see. does ansible use a custom jinja implementation?
13:31 bluenemo idk
13:31 bluenemo i think salt only has those http://jinja.pocoo.org/docs/dev/templates/#builtin-filters
13:32 SunPowered fair enough.  I only see the `replace` filter in the jinja2 source
13:34 bluenemo yeah. i'll hack around it with that, dont want a custom module in that formula
13:35 bluenemo how do I say: bash:  for i in {1..10}; do echo $i; done    in jinja?
13:38 avozza joined #salt
13:43 kshlm joined #salt
13:45 devtea joined #salt
13:47 disbound joined #salt
13:58 ruxu joined #salt
13:58 kshlm joined #salt
13:59 Tyrm_ joined #salt
14:01 kermit joined #salt
14:07 slav0nic joined #salt
14:12 jack_ joined #salt
14:14 ruxu joined #salt
14:24 garphy joined #salt
14:25 yota joined #salt
14:27 rotbeard joined #salt
14:32 lompik joined #salt
14:32 amcorreia joined #salt
14:33 M-MadsRC joined #salt
14:35 jack_ joined #salt
14:35 tyler-baker joined #salt
14:37 monokrome joined #salt
14:40 jaybocc2 joined #salt
14:43 iceyao joined #salt
14:44 DrunkSignal joined #salt
14:59 keimlink joined #salt
14:59 totzky joined #salt
15:09 denys joined #salt
15:18 mpanetta joined #salt
15:22 Biopandemic joined #salt
15:25 ageorgop joined #salt
15:25 treaki joined #salt
15:27 hal58th joined #salt
15:28 tmclaugh[work] joined #salt
15:31 DrunkSignal joined #salt
15:51 abednarik joined #salt
15:57 schinken_ joined #salt
15:58 douardda_ joined #salt
16:11 krymzon joined #salt
16:14 yomilk joined #salt
16:15 keimlink joined #salt
16:27 perfectsine joined #salt
16:28 jack_ joined #salt
16:35 amcorreia joined #salt
16:43 DrunkSignal joined #salt
16:44 jaybocc2 joined #salt
16:46 bluenemo joined #salt
16:46 jack_ joined #salt
16:58 jack_ joined #salt
17:12 bronz joined #salt
17:23 onlyanegg joined #salt
17:27 geomacy joined #salt
17:38 jack_ joined #salt
17:39 nZac joined #salt
17:41 Hipikat joined #salt
17:44 jaybocc2 joined #salt
17:47 sjmh joined #salt
17:47 treaki joined #salt
17:51 yomilk joined #salt
17:57 kawa2014 joined #salt
18:08 hasues joined #salt
18:08 hasues left #salt
18:12 krymzon joined #salt
18:24 Lionel_Debroux joined #salt
18:24 nebuchadnezzar joined #salt
18:27 sjmh joined #salt
18:29 Edgan joined #salt
18:33 izrail joined #salt
18:36 jaybocc2 joined #salt
18:38 geomacy joined #salt
18:46 deus_ex joined #salt
18:52 nZac joined #salt
19:03 justanotheruser joined #salt
19:11 jack_ joined #salt
19:17 ruxu joined #salt
19:27 jaybocc2 joined #salt
19:29 geomacy joined #salt
19:31 RandyT_ joined #salt
19:36 jack_ joined #salt
19:39 quasiben joined #salt
19:51 jack_ joined #salt
19:56 penguinpowernz joined #salt
19:57 futuredale joined #salt
19:57 garphy joined #salt
19:57 quasiben1 joined #salt
19:58 geomacy joined #salt
19:59 quasiben2 joined #salt
20:04 pwalsh joined #salt
20:11 RandyT_ joined #salt
20:14 krymzon joined #salt
20:15 Gabemo joined #salt
20:18 keimlink joined #salt
20:28 sjmh joined #salt
20:32 jack_ joined #salt
20:36 akhter joined #salt
20:44 lorengordon bluenemo: try something like this: {% for i in range(10) %} {{ i }} {% endfor %}
20:44 lorengordon bluenemo: see http://jinja.pocoo.org/docs/dev/templates/#range
20:45 krymzon joined #salt
20:47 bluenemo ah range, good idea! :)
20:48 bluenemo thx lorengordon
20:48 jack_ joined #salt
20:51 Rotonen joined #salt
20:52 disbound joined #salt
20:52 totzky joined #salt
21:02 jack_ joined #salt
21:05 cberndt joined #salt
21:10 douardda joined #salt
21:10 borgstrom joined #salt
21:10 hoonetorg_ joined #salt
21:11 Hipikat_ joined #salt
21:11 tristianc joined #salt
21:11 MarkusDB1 joined #salt
21:12 dstokes joined #salt
21:12 TomJepp joined #salt
21:13 rhand joined #salt
21:14 jack__ joined #salt
21:26 RandyT_ joined #salt
21:28 nZac joined #salt
21:30 rsFF joined #salt
21:30 jack__ joined #salt
21:40 slav0nic joined #salt
21:41 RandyT_ joined #salt
21:47 nZac joined #salt
21:48 jack__ joined #salt
21:49 tzero joined #salt
21:50 yomilk joined #salt
21:56 antpa joined #salt
21:56 anthpa joined #salt
22:00 jack__ joined #salt
22:03 izrail joined #salt
22:08 TyrfingMjolnir joined #salt
22:10 TyrfingMjolnir joined #salt
22:17 jack__ joined #salt
22:17 subsignal joined #salt
22:22 yomilk joined #salt
22:31 yomilk joined #salt
22:36 krymzon joined #salt
22:39 jack__ joined #salt
22:40 zifnab joined #salt
22:43 zenlot2 joined #salt
22:43 abednarik joined #salt
22:44 zifnab joined #salt
22:45 Biopandemic joined #salt
22:49 mosen joined #salt
22:51 onlyanegg joined #salt
22:51 MadHatter42 joined #salt
22:51 diegows joined #salt
22:52 krymzon joined #salt
22:52 cyborg-one joined #salt
23:00 totzky joined #salt
23:00 Biopandemic joined #salt
23:03 zifnab joined #salt
23:06 twiedenbein joined #salt
23:07 onlyanegg joined #salt
23:08 AlberTUX joined #salt
23:08 jack__ joined #salt
23:18 abednarik joined #salt
23:19 jack__ joined #salt
23:19 ronrib joined #salt
23:19 mikepea joined #salt
23:21 tcolvin joined #salt
23:21 czchen joined #salt
23:21 bbhoss joined #salt
23:22 tmkerr joined #salt
23:22 NachoDuck joined #salt
23:22 jay_d joined #salt
23:22 SteamWells joined #salt
23:22 imanc joined #salt
23:22 serverascode joined #salt
23:22 dh__ joined #salt
23:23 copelco joined #salt
23:23 akitada joined #salt
23:24 lorengordon joined #salt
23:24 zenlot2 joined #salt
23:24 xmj joined #salt
23:24 xmj joined #salt
23:25 bstaz joined #salt
23:26 saltsa joined #salt
23:26 ktosiek joined #salt
23:27 atmosx joined #salt
23:28 Riz joined #salt
23:28 norii joined #salt
23:29 jgelens joined #salt
23:29 jack__ joined #salt
23:31 intr1nsic joined #salt
23:31 mrtrosen joined #salt
23:31 SubOracle joined #salt
23:31 quarcu joined #salt
23:32 indispeq joined #salt
23:32 nexsja joined #salt
23:32 Guest39881 joined #salt
23:32 Cottser joined #salt
23:32 renoirb joined #salt
23:33 dh joined #salt
23:33 Karunamon joined #salt
23:34 nihe joined #salt
23:36 totzky joined #salt
23:37 terinjokes joined #salt
23:37 onlyanegg joined #salt
23:38 twiedenbein joined #salt
23:39 treaki joined #salt
23:40 Gabemo joined #salt
23:43 upb joined #salt
23:43 jesusaurus joined #salt
23:45 avozza joined #salt
23:53 ajw0100 joined #salt
23:53 abednarik joined #salt
23:53 sjmh joined #salt
23:54 yomilk joined #salt
23:59 Gabemo joined #salt

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