Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-05-18

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

All times shown according to UTC.

Time Nick Message
00:01 alexlist joined #salt
00:04 djinni` joined #salt
00:07 manji joined #salt
00:09 woodtablet left #salt
00:12 tooth joined #salt
00:32 manji joined #salt
00:32 jalaziz joined #salt
00:46 onlyanegg joined #salt
00:51 justanotheruser joined #salt
00:54 onlyanegg joined #salt
00:59 manji joined #salt
01:03 MTecknology gimpy936: so, if you were handed a .deb you would expect salt to handle it because you can do it with alien?
01:06 cyborg-one joined #salt
01:10 thinkt4nk joined #salt
01:15 hex20dec left #salt
01:18 lorengordon gimpy936: have you tried using the `sources` option of pkg.installed? it allows you to specify the full name of the pkg and the url to the rpm
01:27 jas02 joined #salt
01:32 edrocks joined #salt
01:48 ilbot3 joined #salt
01:48 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.4 <+> Support: https://www.saltstack.com/support/ <+> SaltStack Webinar on Carbon, Nitrogen, and Enterprise 5.1 on May 18, 2017 https://goo.gl/PvsOvQ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> We are volunteers and may not have immediate answers
01:50 manji joined #salt
01:55 Tantagel joined #salt
02:01 zerocoolback joined #salt
02:17 manji joined #salt
02:24 evle1 joined #salt
02:29 icebal joined #salt
02:30 pheonix991 joined #salt
02:38 manji joined #salt
02:40 aneeshusa joined #salt
02:49 onlyanegg joined #salt
03:00 sh123124213 joined #salt
03:46 jhujhiti joined #salt
04:04 v3x joined #salt
04:06 v3x Is there any way to use salt-cloud with RedHat Virtualization?
04:12 raspado joined #salt
04:18 Terminus joined #salt
04:22 overyander what's the proper way to do this?   {% set version = salt['cmd.run']('$PSVersionTable.PSVersion.ToString()', shell=powershell) %}    i get a jinja error failed: Jinja variable 'powershell' is undefined
04:46 rdas joined #salt
04:54 onlyanegg joined #salt
04:58 sh123124213 joined #salt
04:59 icebal joined #salt
05:00 pheonix991 joined #salt
05:03 TRManderson joined #salt
05:13 sh123124213 joined #salt
05:17 Ricardo1000 joined #salt
05:32 preludedrew joined #salt
05:36 chadhs joined #salt
05:36 gnord joined #salt
05:36 drags1 joined #salt
05:37 peters-tx joined #salt
05:39 SaucyElf joined #salt
05:41 felskrone joined #salt
05:43 inad922 joined #salt
05:48 coredumb Was wondering what are ppl usually using as ENC / ext_pillar here ?
05:49 eseyman joined #salt
05:53 do3meli joined #salt
05:53 do3meli left #salt
06:05 fracklen joined #salt
06:15 nku joined #salt
06:19 lasseknudsen joined #salt
06:25 impi joined #salt
06:26 yuhl______ joined #salt
06:27 justan0theruser joined #salt
06:32 Bock joined #salt
06:33 MTecknology coredumb: ENC?
06:33 MTecknology overyander: add quotes
06:33 MTecknology you're not here, but I wanted to answer anyway..
06:33 coredumb MTecknology: external node classifier
06:34 MTecknology whatsdat?
06:34 MTecknology I think the name sounds obvious enough, but....
06:35 druonysus joined #salt
06:35 coredumb ext_pillar for example
06:35 coredumb reclass and such
06:35 candyman88 joined #salt
06:36 MTecknology I use ext_pillar!
06:36 MTecknology used to use it...
06:37 MTecknology I had an ext_pillar in salt://_ext/syndic-masters.py that would ... not doing this from memory!
06:39 MTecknology coredumb: https://gist.github.com/MTecknology/560509f5253cf50e28cb
06:41 Elsmorian joined #salt
06:43 MTecknology coredumb: I want to eventually have my entire infrastructure automatically create/terminate something when I tell racktables that a system was created or removed. I don't make changes and then update inventory. I want to update inventory and wait for email notification that changes were complete.
06:45 sjorge joined #salt
06:55 onlyanegg joined #salt
06:56 _JZ_ joined #salt
06:59 toanju joined #salt
07:05 fracklen joined #salt
07:06 major joined #salt
07:11 o1e9 joined #salt
07:11 aldevar joined #salt
07:28 _KaszpiR_ joined #salt
07:32 lorengordon joined #salt
07:33 jas02 joined #salt
07:35 fracklen joined #salt
07:37 fracklen joined #salt
07:43 zerocoolback joined #salt
07:43 pbandark joined #salt
07:47 Rumbles joined #salt
07:53 fracklen joined #salt
07:58 mikecmpbll joined #salt
08:05 Joy is it just me or is there no explanation in https://docs.saltstack.com/en/latest/topics/development/external_pillars.html how to actually get a single ext pillar value from a state?
08:06 impi joined #salt
08:07 Joy maybe it's supposed to work via {{ pillar['whatever'] }}
08:12 geomacy joined #salt
08:13 JohnnyRun joined #salt
08:19 toanju joined #salt
08:20 krymzon joined #salt
08:24 MTecknology Joy: ext_pillar makes pillar, states use pillar
08:24 it_dude joined #salt
08:27 Mattch joined #salt
08:29 queb joined #salt
08:29 queb twork_ k4kvm coldbrewedbrew UForgotten smkelly filippos bennabiy baffle mrud StolenToast dwfreed ahrs _KaszpiR_ adelcast jas02 fracklen o1e9 Sketch Rumbles cebreidian pbandark rawzone Zaunei_ aldevar whyzgeek cmarzullo oliv` tedski hoolio MTecknology mavhq tooth JPaul saltstackbot asoc scc masuberu czchen chamunks mauli danielfallon wryfi nledez fxhp gimpy936 hashwagon djinni` dhoutz jhujhiti v3x esharpmajor Sacro jmiven Armadillo pjs ahammond daxroc cliluw ropes R
08:29 queb dustywusty Terminus hrumph graffic blue CeBe icebal sjorge rdas alexlist Dr_Jazz jrklein ilbot3 k_sze[work] pewpew rewbycraft cyraxjoe hlub thijn__ akbarali Kelsar Diaoul __number5__ nbuchanan dh Ahlee nebuchadnezzar armguy feliks vodik alvinstarr lkannan rickflare berto- g3cko Hydrosine Joy hax404 TomJepp bbradley rideh kuromagi averell s0undt3ch eightyeight kwilke sknebel qman__ upb inire stotch Rkp ouzo12 cb spaceman_spiff mschiff jor rofl____ lstor petems Edur
08:29 queb Heartsbane v12aml teratoma copelco Kruge Cadmus skullone Hipikat ThomasJ tehsu Ch3LL duckfez_ tapoxi tom29739 jeblair ntropy shortdudey123 tyler-baker muep Antiarc tongpu_ TooLmaN karlthane HRH_H_Crab MeltedLux evilrob elektrix Karunamon saltyotter harkx pezus benner capn-morgan gmacon LA-Clone phobosd chron0 cyborg-one mihait yojota iggy arif-ali yidhra klippo_ Qlawy wonko21_ straya manji c4rc4s jagguli- doriftoshoes_ jerrcs babilen shalkie penguinpowernz q1x mari
08:29 queb Laogeodritt andi- leev dograt Yamazaki-kun Udkkna_ hexa- Baycone APLU linovia attente bwellsnc psy0rz mbologna prg3 zseguin tawm04 Eugene ujjain NightMonkey sybix riftman1 daemonkeeper ToeSnacks chowmeined izrail_ t00m0 ponyofdeath lookcrabs xmiao heaje juntalis m0nky jab416171 marcinkuzminski rathier viq cwright futuredale cswang tellendil saltsa evidence lubyou Xevian shakalaka cibo aerbax cmichel zach LostSoul concerti feld cro zer0def shanth rubenb xet7 miruoy
08:29 queb AvengerMoJo ProT-0-TypE descrepes hoonetorg lionel ashmckenzie Sarphram flebel kwork Corey danielsh CrummyGummy Edgan GnuLxUsr om2_ gmoro_ pcn Mogget_ dlloyd mat_ armyriad PFault fleaz monokrome Zachary_DuBois sjohnsen coredumb JPT VR-Jack-H swa_work KingOfFools1 FreeSpencer awpti legreffier kshlm bergei Fade cyteen Flusher eichiro bryguy dezertol davromaniak ecdhe euidzero_ haam3r_ uncool mage_ hillna kbaikov izibi swills benjiale[m] nicotine dnull devster31 beard
08:29 queb MajObviousman felskrone Vaelatern mTeK hackel gnord xMopxShell nku Ricardo1000 pheonix991 nineteen Micromus_ dyasny justan0theruser llua skrobul chadhs jshm McNinja meca LeProvokateur eseyman setkeh ajv dankolbrs Ludo_ wangofett wybczu scarcry darix Annihitek ventris egilh ksa Gabemo preludedrew nethershaw pietdv_ kevc_ beebeeep codehotter patrek twiedenbein druonysus stankmack saintaquinas[m] ub1quit33 ws2k3 scamander saintromuald Shados TRManderson brokensyntax a
08:29 queb simonmcc MasterNayru whytewolf yuhl______ armonge KingJ drags1 robinsmidsrod alias GothAck rome_390 dober CheckYourSix dimeshake permalac Valfor tobiasBora carmony notCalle Bock peters-tx valkyr2e pocketprotector Twiglet watersoul_ adongy theanalyst Savemech lastmikoi mrueg Dev0n jesusaur londo it_dude matti the_lalelu Deliant lazybear pfallenop phtes bantone Mattch pmcg oyvindmo queb jcristau Nebraskka bob_twinkles coldbrewedbrew_ rodr1c bigjazzsound mishanti1 kry
08:29 queb onovy JohnnyRun LotR jwon godlike mkillebrew ople dev_tea honestly impi utahcon Guest79428 Llmiseyhaa Awesomecase wwalker dunz0r gadams SamYaple federico3 Ryan_Lane gtmanfred v0rtex johtso kiorky guerby systeem relidy Yoda-BZH chutzpah mk-fg moy mikecmpbll robawt NeoXiD geomacy CustosLimen heyimawesome EvaSDK quarcu_ mattl tvinson_ kavakava kiltzman djural majuscule munhitsu_ Whissi trent frew irated rmc3 al vaelen citaret bd brd carlwgeorge pppingme BlackBishop to
08:29 queb demize skeezix-hf mirko bdrung_work Gareth canci nickadam Puckel_ tru_tru Shirkdog edgr OliverMT tbrb dragon788 scooby2 packeteer tcolvin mr_kyd cscf bbhoss nahkiss ConnorCG nkuttler Vye_ ekkelett inetpro englishm_work SneakyPhil bmcorser Nightcinder Morrolan joshin alem0lars rylnd hacks WKNiGHT Artanicus major fujexo[m] ThomasJ|m Jon-Envisioneer[ SteamWells gomerus[m] theblazehen jerrykan[m] freelock jessexoc muep_ shadoxx supermike_ toabi simmel CaptTofu__ spiett
08:29 queb twork_ k4kvm coldbrewedbrew UForgotten smkelly filippos bennabiy baffle mrud StolenToast dwfreed ahrs _KaszpiR_ adelcast jas02 fracklen o1e9 Sketch Rumbles cebreidian pbandark rawzone Zaunei_ aldevar whyzgeek cmarzullo oliv` tedski hoolio MTecknology mavhq tooth JPaul saltstackbot asoc scc masuberu czchen chamunks mauli danielfallon wryfi nledez fxhp gimpy936 hashwagon djinni` dhoutz jhujhiti v3x esharpmajor Sacro jmiven Armadillo pjs ahammond daxroc cliluw ropes R
08:29 queb dustywusty Terminus hrumph graffic blue CeBe icebal sjorge rdas alexlist Dr_Jazz jrklein ilbot3 k_sze[work] pewpew rewbycraft cyraxjoe hlub thijn__ akbarali Kelsar Diaoul __number5__ nbuchanan dh Ahlee nebuchadnezzar armguy feliks vodik alvinstarr lkannan rickflare berto- g3cko Hydrosine Joy hax404 TomJepp bbradley rideh kuromagi averell s0undt3ch eightyeight kwilke sknebel qman__ upb inire stotch Rkp ouzo12 cb spaceman_spiff mschiff jor rofl____ lstor petems Edur
08:29 queb Heartsbane v12aml teratoma copelco Kruge Cadmus skullone Hipikat ThomasJ tehsu Ch3LL duckfez_ tapoxi tom29739 jeblair ntropy shortdudey123 tyler-baker muep Antiarc tongpu_ TooLmaN karlthane HRH_H_Crab MeltedLux evilrob elektrix Karunamon saltyotter harkx pezus benner capn-morgan gmacon LA-Clone phobosd chron0 cyborg-one mihait yojota iggy arif-ali yidhra klippo_ Qlawy wonko21_ straya manji c4rc4s jagguli- doriftoshoes_ jerrcs babilen shalkie penguinpowernz q1x mari
08:29 queb Laogeodritt andi- leev dograt Yamazaki-kun Udkkna_ hexa- Baycone APLU linovia attente bwellsnc psy0rz mbologna prg3 zseguin tawm04 Eugene ujjain NightMonkey sybix riftman1 daemonkeeper ToeSnacks chowmeined izrail_ t00m0 ponyofdeath lookcrabs xmiao heaje juntalis m0nky jab416171 marcinkuzminski rathier viq cwright futuredale cswang tellendil saltsa evidence lubyou Xevian shakalaka cibo aerbax cmichel zach LostSoul concerti feld cro zer0def shanth rubenb xet7 miruoy
08:29 queb AvengerMoJo ProT-0-TypE descrepes hoonetorg lionel ashmckenzie Sarphram flebel kwork Corey danielsh CrummyGummy Edgan GnuLxUsr om2_ gmoro_ pcn Mogget_ dlloyd mat_ armyriad PFault fleaz monokrome Zachary_DuBois sjohnsen coredumb JPT VR-Jack-H swa_work KingOfFools1 FreeSpencer awpti legreffier kshlm bergei Fade cyteen Flusher eichiro bryguy dezertol davromaniak ecdhe euidzero_ haam3r_ uncool mage_ hillna kbaikov izibi swills benjiale[m] nicotine dnull devster31 beard
08:29 queb MajObviousman felskrone Vaelatern mTeK hackel gnord xMopxShell nku Ricardo1000 pheonix991 nineteen Micromus_ dyasny justan0theruser llua skrobul chadhs jshm McNinja meca LeProvokateur eseyman setkeh ajv dankolbrs Ludo_ wangofett wybczu scarcry darix Annihitek ventris egilh ksa Gabemo preludedrew nethershaw pietdv_ kevc_ beebeeep codehotter patrek twiedenbein druonysus stankmack saintaquinas[m] ub1quit33 ws2k3 scamander saintromuald Shados TRManderson brokensyntax a
08:29 queb simonmcc MasterNayru whytewolf yuhl______ armonge KingJ drags1 robinsmidsrod alias GothAck rome_390 dober CheckYourSix dimeshake permalac Valfor tobiasBora carmony notCalle Bock peters-tx valkyr2e pocketprotector Twiglet watersoul_ adongy theanalyst Savemech lastmikoi mrueg Dev0n jesusaur londo it_dude matti the_lalelu Deliant lazybear pfallenop phtes bantone Mattch pmcg oyvindmo queb jcristau Nebraskka bob_twinkles coldbrewedbrew_ rodr1c bigjazzsound mishanti1 kry
08:29 queb onovy JohnnyRun LotR jwon godlike mkillebrew ople dev_tea honestly impi utahcon Guest79428 Llmiseyhaa Awesomecase wwalker dunz0r gadams SamYaple federico3 Ryan_Lane gtmanfred v0rtex johtso kiorky guerby systeem relidy Yoda-BZH chutzpah mk-fg moy mikecmpbll robawt NeoXiD geomacy CustosLimen heyimawesome EvaSDK quarcu_ mattl tvinson_ kavakava kiltzman djural majuscule munhitsu_ Whissi trent frew irated rmc3 al vaelen citaret bd brd carlwgeorge pppingme BlackBishop to
08:29 queb demize skeezix-hf mirko bdrung_work Gareth canci nickadam Puckel_ tru_tru Shirkdog edgr OliverMT tbrb dragon788 scooby2 packeteer tcolvin mr_kyd cscf bbhoss nahkiss ConnorCG nkuttler Vye_ ekkelett inetpro englishm_work SneakyPhil bmcorser Nightcinder Morrolan joshin alem0lars rylnd hacks WKNiGHT Artanicus major fujexo[m] ThomasJ|m Jon-Envisioneer[ SteamWells gomerus[m] theblazehen jerrykan[m] freelock jessexoc muep_ shadoxx supermike_ toabi simmel CaptTofu__ spiett
08:29 gr joined #salt
08:30 gr Laogeodritt andi- leev dograt Yamazaki-kun Udkkna_ hexa- Baycone APLU linovia attente bwellsnc psy0rz mbologna prg3 zseguin tawm04 Eugene ujjain NightMonkey sybix riftman1 daemonkeeper ToeSnacks chowmeined izrail_ t00m0 ponyofdeath lookcrabs xmiao heaje juntalis m0nky jab416171 marcinkuzminski rathier viq cwright futuredale cswang tellendil saltsa evidence lubyou Xevian shakalaka cibo aerbax cmichel zach LostSoul concerti feld cro zer0def shanth rubenb xet7 miruoy
08:30 gr AvengerMoJo ProT-0-TypE descrepes hoonetorg lionel ashmckenzie Sarphram flebel kwork Corey danielsh CrummyGummy Edgan GnuLxUsr om2_ gmoro_ pcn gr Mogget_ dlloyd mat_ armyriad PFault fleaz monokrome Zachary_DuBois sjohnsen coredumb JPT VR-Jack-H swa_work KingOfFools1 FreeSpencer awpti legreffier kshlm bergei Fade cyteen Flusher eichiro bryguy dezertol davromaniak ecdhe euidzero_ haam3r_ uncool mage_ hillna kbaikov izibi swills benjiale[m] nicotine dnull devster31 be
08:30 gr MajObviousman felskrone Vaelatern mTeK hackel gnord xMopxShell nku Ricardo1000 pheonix991 nineteen Micromus_ dyasny justan0theruser llua skrobul chadhs jshm McNinja meca LeProvokateur eseyman setkeh ajv dankolbrs Ludo_ wangofett wybczu scarcry darix Annihitek ventris egilh ksa Gabemo preludedrew nethershaw pietdv_ kevc_ beebeeep codehotter patrek twiedenbein druonysus stankmack saintaquinas[m] ub1quit33 ws2k3 scamander saintromuald Shados TRManderson brokensyntax a
08:30 gr simonmcc MasterNayru whytewolf yuhl______ armonge KingJ drags1 robinsmidsrod alias GothAck rome_390 dober CheckYourSix dimeshake permalac Valfor tobiasBora carmony notCalle Bock peters-tx valkyr2e pocketprotector Twiglet watersoul_ adongy theanalyst Savemech lastmikoi mrueg Dev0n jesusaur londo it_dude matti the_lalelu Deliant lazybear pfallenop phtes bantone Mattch pmcg oyvindmo queb jcristau Nebraskka bob_twinkles coldbrewedbrew_ rodr1c bigjazzsound mishanti1 kry
08:30 gr onovy JohnnyRun LotR jwon godlike mkillebrew ople dev_tea honestly impi utahcon Guest79428 Llmiseyhaa Awesomecase wwalker dunz0r gadams SamYaple federico3 Ryan_Lane gtmanfred v0rtex johtso kiorky guerby systeem relidy Yoda-BZH chutzpah mk-fg moy mikecmpbll robawt NeoXiD geomacy CustosLimen heyimawesome EvaSDK quarcu_ mattl tvinson_ kavakava kiltzman djural majuscule munhitsu_ Whissi trent frew irated rmc3 al vaelen citaret bd brd carlwgeorge pppingme BlackBishop to
08:30 gr demize skeezix-hf mirko bdrung_work Gareth canci nickadam Puckel_ tru_tru Shirkdog edgr OliverMT tbrb dragon788 scooby2 packeteer tcolvin mr_kyd cscf bbhoss nahkiss ConnorCG nkuttler Vye_ ekkelett inetpro englishm_work SneakyPhil bmcorser Nightcinder Morrolan joshin alem0lars rylnd hacks WKNiGHT Artanicus major fujexo[m] ThomasJ|m Jon-Envisioneer[ SteamWells gomerus[m] theblazehen jerrykan[m] freelock jessexoc muep_ shadoxx supermike_ toabi simmel CaptTofu__ spiett
08:30 foK joined #salt
08:30 gr twork_ k4kvm coldbrewedbrew UForgotten smkelly filippos bennabiy baffle mrud StolenToast dwfreed ahrs _KaszpiR_ adelcast jas02 fracklen o1e9 Sketch Rumbles cebreidian pbandark rawzone Zaunei_ aldevar whyzgeek cmarzullo oliv` tedski hoolio MTecknology mavhq tooth JPaul saltstackbot asoc scc masuberu czchen chamunks mauli danielfallon wryfi nledez fxhp gimpy936 hashwagon djinni` dhoutz jhujhiti v3x esharpmajor Sacro jmiven Armadillo pjs ahammond daxroc cliluw ropes R
08:30 gr dustywusty Terminus hrumph graffic blue CeBe icebal sjorge rdas alexlist Dr_Jazz jrklein ilbot3 k_sze[work] pewpew rewbycraft cyraxjoe hlub thijn__ akbarali Kelsar Diaoul __number5__ nbuchanan dh Ahlee nebuchadnezzar armguy feliks vodik alvinstarr lkannan rickflare berto- g3cko Hydrosine Joy hax404 TomJepp bbradley rideh kuromagi averell s0undt3ch eightyeight kwilke sknebel qman__ upb inire stotch Rkp ouzo12 cb spaceman_spiff mschiff jor rofl____ lstor petems Edur
08:30 gr Heartsbane v12aml teratoma copelco Kruge Cadmus skullone Hipikat ThomasJ tehsu Ch3LL duckfez_ tapoxi tom29739 jeblair ntropy shortdudey123 tyler-baker muep Antiarc tongpu_ TooLmaN karlthane HRH_H_Crab MeltedLux evilrob elektrix Karunamon saltyotter harkx pezus benner capn-morgan gmacon LA-Clone phobosd chron0 cyborg-one mihait yojota iggy arif-ali yidhra klippo_ Qlawy wonko21_ straya manji c4rc4s jagguli- doriftoshoes_ jerrcs babilen shalkie penguinpowernz q1x mari
08:30 gr Laogeodritt andi- leev dograt Yamazaki-kun Udkkna_ hexa- Baycone APLU linovia attente bwellsnc psy0rz mbologna prg3 zseguin tawm04 Eugene ujjain NightMonkey sybix riftman1 daemonkeeper ToeSnacks chowmeined izrail_ t00m0 ponyofdeath lookcrabs xmiao heaje juntalis m0nky jab416171 marcinkuzminski rathier viq cwright futuredale cswang tellendil saltsa evidence lubyou Xevian shakalaka cibo aerbax cmichel zach LostSoul concerti feld cro zer0def shanth rubenb xet7 miruoy
08:30 foK twork_ k4kvm coldbrewedbrew UForgotten smkelly filippos bennabiy baffle mrud StolenToast dwfreed ahrs _KaszpiR_ adelcast jas02 fracklen o1e9 Sketch Rumbles cebreidian pbandark rawzone Zaunei_ aldevar whyzgeek cmarzullo oliv` tedski hoolio MTecknology mavhq tooth JPaul saltstackbot asoc scc masuberu czchen chamunks mauli danielfallon wryfi nledez fxhp gimpy936 hashwagon djinni` dhoutz jhujhiti v3x esharpmajor Sacro jmiven Armadillo pjs ahammond daxroc cliluw ropes
08:30 foK dustywusty Terminus hrumph graffic blue CeBe icebal sjorge rdas alexlist Dr_Jazz jrklein ilbot3 k_sze[work] pewpew rewbycraft cyraxjoe hlub thijn__ akbarali Kelsar Diaoul __number5__ nbuchanan dh Ahlee nebuchadnezzar armguy feliks vodik alvinstarr lkannan rickflare berto- g3cko Hydrosine Joy hax404 TomJepp bbradley rideh kuromagi averell s0undt3ch eightyeight kwilke sknebel qman__ upb inire stotch Rkp ouzo12 cb spaceman_spiff mschiff jor rofl____ lstor petems Edur
08:30 foK Heartsbane v12aml teratoma copelco Kruge Cadmus skullone Hipikat ThomasJ tehsu Ch3LL duckfez_ tapoxi tom29739 jeblair ntropy shortdudey123 tyler-baker muep Antiarc tongpu_ TooLmaN karlthane HRH_H_Crab MeltedLux evilrob elektrix Karunamon saltyotter harkx pezus benner capn-morgan gmacon LA-Clone phobosd chron0 cyborg-one mihait yojota iggy arif-ali yidhra klippo_ Qlawy wonko21_ straya manji c4rc4s jagguli- doriftoshoes_ jerrcs babilen shalkie penguinpowernz q1x mar
08:30 foK Laogeodritt andi- leev dograt Yamazaki-kun Udkkna_ hexa- Baycone APLU linovia attente bwellsnc psy0rz mbologna prg3 zseguin tawm04 Eugene ujjain NightMonkey sybix riftman1 daemonkeeper ToeSnacks chowmeined izrail_ t00m0 ponyofdeath lookcrabs xmiao heaje juntalis m0nky jab416171 marcinkuzminski rathier viq cwright futuredale cswang tellendil saltsa evidence lubyou Xevian shakalaka cibo aerbax cmichel zach LostSoul concerti feld cro zer0def shanth rubenb xet7 miruoy
08:30 om2 joined #salt
08:30 dunz0r What the actual fuck
08:30 MTecknology I suppose all ops are sleeping about now, eh?
08:30 zerocoolback joined #salt
08:30 _KaszpiR_ flood
08:30 Cadmus What the foK?
08:30 kbaikov ??
08:30 babilen dunz0r: That's normal on #freenode and in other channels.
08:30 k_sze[work] Some script kiddies unhappy about Freenode policies, probably.
08:30 linovia yup, happens from time to time
08:31 babilen Unfortunately there are no ops around at this time, so there's little we can do about it but complain to admins
08:31 hax404 Ch3LL, Gareth, gtmanfred, s0undt3ch: kill him!
08:31 k_sze[work] I think the network will just autoban flooders.
08:31 k_sze[work] No need for channel op involvement.
08:32 Bock Only if certain bots are present.
08:32 babilen k_sze[work]: There are certain measures in place for that, yes
08:32 babilen But I don't think that #salt has taken the necessary preparations for that to work
08:33 babilen Channel operators might want to speak to freenode staff or ask in the chan op channel
08:34 morfin joined #salt
08:34 Bock I've just pinged FN staff about it.
08:34 morfin left #salt
08:34 deedra joined #salt
08:34 MTecknology the flood kill always happens on freenode. It's usually pretty effective. If it happens enough (more that the boring two times here), then you can say something in #freenode and they can k-line those addresses if it's needed.
08:35 Bock Ideally, the spammers will hit channels that the bots of interest are in, and the idiots that get klined are also the ones that sputtered in channels without said bots. That's not a guarantee, though.
08:36 Bock It's been happening with much greater frequency that it had been in past months.
08:36 MTecknology that makes no sense... not relevant either... I'm gonna go nap nap now.
08:36 deedra has it been hitting this channel specificly more then once or twice?
08:36 Bock It makes no sense because I'm not explaining it well.
08:37 Bock Let me scrunch backscroll a bit.
08:37 Bock deedra, it was fok, gr and queb.
08:37 deedra Bock: did it happen multiple times
08:38 Bock "multiple" in the sense that these three each nickspammed several lines' worth.
08:39 deedra Bock: they may be gone by now maybe klined by our bot i dont know
08:39 deedra Bock: i've been staff for not very long
08:39 babilen deedra: It was the usual "highlight all nicks in channel" multiple lines until I run into a k-line or excess flood thing
08:39 deedra oh lovely
08:39 deedra i'm assuming  the bot got them then
08:39 Bock That's what I was saying. Thanks for dropping in; I reported in case the bots that hit here weren't in the bots' channels.
08:40 deedra well i can stick around if you want
08:40 deedra but i assume this channel has active ops?
08:40 babilen They ran into excess flood in this particular case
08:40 babilen deedra: Only when the americas are awake :)
08:40 deedra then i'll make a point of sticking around since i'm here nights
08:40 Bock deedra, in Chicago, all the good little boys and girls are in bed, and the only ones out and about have long, pointy canines and never drink.... wine.
08:40 babilen But yeah, people on the access list are active in the channel
08:41 deedra well nights in the us
08:41 kloeri joined #salt
08:41 deedra kloeri: !
08:41 kloeri deedra: :)
08:41 babilen *hug*
08:42 deedra you wanted staff now you got us:)
08:42 * deedra grins
08:42 Bock I like Kloeri well enough, but not to hug. Sorry.
08:42 deedra lol
08:42 deedra poor kloeri
08:42 kloeri aww, but I'm very huggable!
08:42 deedra ok i'm gonna go help with dishes back in a bit:P
08:54 Elsmorian joined #salt
08:56 onlyanegg joined #salt
08:59 vlebo joined #salt
09:06 rgrundstrom joined #salt
09:12 garphy`aw joined #salt
09:19 N-Mi joined #salt
09:19 N-Mi joined #salt
09:25 candyman88 joined #salt
09:30 inad922 joined #salt
09:45 J0hnSteel joined #salt
09:48 maxxx joined #salt
09:51 oida joined #salt
09:56 onlyanegg joined #salt
10:19 hashwagon joined #salt
10:22 flebel joined #salt
10:23 geomacy left #salt
10:34 aarontc joined #salt
10:34 pbandark joined #salt
10:37 Baycone hi, i've got a regular linux script in ubuntu 14.04
10:37 Baycone and i cannot launch it via salt host cmd.run 'script start'
10:37 Baycone but I can do that when I'm logged in on the minion
10:38 Reverend joined #salt
10:38 Reverend yo.
10:38 babilen Why can't you use that? Also, would https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.cmdmod.html#salt.modules.cmdmod.script be useful?
10:38 evle1 joined #salt
10:39 Reverend babilen! I need your genius. https://hastebin.com/nemejuroge.txt
10:40 Reverend apparnetly salt doesn't like "tags/"
10:41 Reverend but will tolerate "branches/" :o
10:43 thinkt4nk joined #salt
10:44 babilen Reverend: Could you paste the corresponding state?
10:44 Reverend ofc :)
10:44 babilen (and did you set rev ?)
10:44 Reverend see here :) https://hastebin.com/ogijatayuv.php
10:45 Reverend that's where I'm setitng the tags/whatever
10:45 Reverend works fine without "tags/", but I don't want tag/branch conflicts, as Im sure git picks one over the other.
10:45 thinkt4nk joined #salt
10:46 jeddi joined #salt
10:48 babilen Do you actually have tag/branch conflicts?
10:49 Reverend no... but i might :P
10:49 Reverend im just confused as to why it'd like "branches/*" but not "tags/*" :|
10:50 Reverend weird.,
10:51 babilen Take a look at what it's actually doing in the minion debug log (call it on the minion with "salt-call -ldebug state.apply your.foo.state" and compare that to manual execution of similar commands.
10:51 Reverend GP.
10:51 Reverend thanks babilen :D
10:51 hlub joined #salt
10:54 kwork joined #salt
10:55 toanju joined #salt
11:00 cyteen joined #salt
11:18 hlub joined #salt
11:20 Baycone babilen: i used cmd.script, thanks
11:20 Baycone i've got only one problem, that my init.d script starts, but also hangs salt response, what I can look at to have it completely daemonized?
11:24 inad922 joined #salt
11:25 maxxx Baycone: maybe you can try to see something running salt-run state.event pretty=True
11:27 onlyanegg joined #salt
11:29 Baycone maxxx: ok
11:32 maxxx it should show you all events, as well if jinja wont compily properly or anything
11:34 patrek joined #salt
11:35 rgrundstrom Good afternoon gentlemen.
11:35 Baycone Good afternoon gentleman
11:37 Baycone ramb0max: should it be so long to response after typing that command?
11:37 rgrundstrom babilen: You mentioned before that Grains are no that secure (if i remember correctly.) Could you please explain that in more detail?
11:38 ramb0max_ joined #salt
11:40 c_g joined #salt
11:47 fredvd joined #salt
11:50 lorengordon joined #salt
11:57 Ssquidly joined #salt
12:06 babilen rgrundstrom: Minions can claim to have whatever grains they want
12:08 yuhl______ hello
12:09 babilen Baycone: Init script?
12:11 yuhl______ I've constructed and used salt for some times now. I've made up many state that helps me. But now, some people are comming to me to build machine from scratch within an openstack. And they do not want to rely on my salt-master, as this will be used in many other administration. So I started to use ansible. But do you see a way, to use salt in an agentless situation.
12:13 inad922 joined #salt
12:13 ramb0max_ yuhl______: masterless minion wont do?
12:13 babilen yuhl______: Salt can be used both masterless (cf. https://docs.saltstack.com/en/latest/topics/tutorials/standalone_minion.html) and via SSH (cf. https://docs.saltstack.com/en/latest/topics/ssh/)
12:13 cyteen_ joined #salt
12:13 yuhl______ Does this work ?
12:14 babilen yuhl______: The SSH support does, however, lack behind ansible and you would, naturally, lose all the features that require a master (e.g. reactors)
12:14 babilen Does what work?
12:17 yuhl______ Is there a common way of doing so. My case, is that since now I used to be the sysadmin for my administration. So masterful was ok to me. Now, as said, devops guy call me: And they want me to instantiate, some tomcat with some war file, in a git repo. And let people that will use this project, to instantiate their own production with it.
12:17 Baycone do you know how I can force script to be in the background?
12:17 ramb0max joined #salt
12:17 Baycone right now launching the script just hangs the salt response
12:19 babilen yuhl______: Both masterless and salt-ssh would allow for that. You could even trigger the installation and provisioning with salt-cloud, connect to a master, configure the box and then remove saltstack before you hand it over.
12:19 yuhl______ sorry, a collegue is at my desk: come back ASAP
12:31 zerocoolback joined #salt
12:42 mat_ mmm, is it possible to have a onlyif or a unless run a state ? I'm patching config files with augeas, and it feels silly to have to do things like: onlyif: augtool match '…..'|grep -q '(no matches)'
12:43 mat_ (or maybe I'm doing it wrong and I should chain states, or something)
12:43 numkem joined #salt
12:45 zerocoolback joined #salt
12:49 babilen mat_: Why do you have to do that?
12:50 mat_ babilen, say, I'm adding an entry to /etc/syslog.conf, I only want to add it if it is not already there
12:50 mat_ babilen, so, I need to check that it is not already there to begin with
12:50 babilen Why?
12:50 mat_ because otherwise, each time the state is run, an entry will be added
12:51 mat_ (the same one, that is)
12:51 babilen Really? That's rather stupid as (nost) Saltstates are normally idempotent
12:51 babilen Just out of curiosity: But could you paste the state you have?
12:55 mat_ babilen, sure: https://pastebin.com/yBD2Cqqk
12:55 mat_ if I don't have the onlyif, it keeps creating entries
12:56 drawsmcgraw joined #salt
12:56 asyncsec joined #salt
12:57 babilen mat_: That specifically adds an entry after the last, rather than specifying a specific value?
12:57 babilen Repasted at http://paste.debian.net/933008/ (if anybody else want to follow along without being subjected to ads)
12:58 drawsmcgraw left #salt
12:58 drawsmcgraw joined #salt
12:58 babilen So the issue is that you refer to "last()" which always exists and therefore can't be changed
12:58 mat_ babilen, well, I am not aware of any other way to do it
12:59 babilen Wouldn't you have the same problem if you keep on running augeas like that multiple times?
12:59 drawsmcgraw joined #salt
12:59 mat_ yes, it is not specific to the way augeas works in salt
12:59 babilen mat_: I only ever used augeas to change specific settings and would manage entire files if I want to do something more involved
13:00 babilen I guess you don't have another option than checking. You could use different states (file.append, file.replace, file.managed) to achieve what you are doing that work in a way that would recognise if the changes have already been made or set a grain after the state run and run dependent on that
13:01 joshin joined #salt
13:02 mat_ using file.append/replace/managed is fine for simple things, this is a not so simple one, and I have harder cases where short of writing a configuration file parser/writer, I can't really do it any other way
13:02 mat_ maybe the augeas.change state needs to grow another argument that would make it able know what it is creating or removing and be able to check for it
13:03 babilen I think that should be addressed in augeas directly. You want Salt to essentially be able to try things, check if that would result in a change and report it/react accordingly.
13:04 babilen My approach would be to use file.managed for files in /etc/sysctl.d/ that are being filled based on pillar data
13:05 babilen https://github.com/saltstack-formulas/sysctl-formula/blob/master/pillar.example works quite well
13:05 mat_ well, that does not exist on FreeBSD, (and it is syslog, not sysctl)
13:06 babilen Argh, syslog
13:08 babilen Haven't touched that in ... a long time. Mostly use rsyslog these days.
13:08 babilen But the general idea hold true, just manage the file and build up the data to do so.
13:09 mat_ managing the file is harder than using augeas, because of the many, many, many, small variants
13:10 mat_ I'm not managing 500 hosts serving one app, I'm running a non-cloud based hosting company, every host is different :-)
13:12 numkem joined #salt
13:13 GMAzrael joined #salt
13:14 joshin joined #salt
13:14 babilen Fair enough, see above for other approaches
13:16 mat_ yes, yes, thanks, I'm using file.* for things where it can work :-)
13:19 babilen It really has been too long .. does syslog allow you to read configuration from a directory? The .d configuration scheme is normally easily implemented on other distributions/platforms that don't come with it by default.
13:19 mat_ not on FreeBSD :-)
13:19 babilen So it doesn't have the equivalent of "source files in /foo/bar/baz.d" ?
13:20 mat_ nope
13:20 babilen Use rsyslog then
13:21 babilen I don't quite see any other option. You can probably write some boilerplate to make the definition of those augeas.changes + onlyif/unless states more comfortable.
13:22 babilen But why is it easier to maintain those states for 500 boxes rather than just merging suitable data together and using file.managed ?
13:22 mat_ rsyslog it is another step, for another day, like I said, using augeas that way works, it is just not as clean as it could be
13:23 schemanic_ joined #salt
13:23 mat_ mmm, well, for syslog, there may be many that are the same, but syslog is only one in legion
13:23 mat_ and there are other that are really different everywhere
13:23 sarcasticadmin joined #salt
13:25 babilen So, how do you manage all those differences now?
13:25 babilen Or are they coming from external sources?
13:25 mat_ manually :-)
13:26 mat_ and some we don't manage, some customers do
13:26 babilen And no clear separation of concern?
13:27 mat_ no
13:27 ssplatt joined #salt
13:27 mat_ and also, inertia
13:28 onlyanegg joined #salt
13:28 schemanic_ Hello
13:30 schemanic_ I'm working with salt-formula ( https://github.com/saltstack-formulas/salt-formula ) and a brand new server and I'm having a hard time getting it implemented. The repo has a setup where one can just call salt * state.highstate on the vagrant box it stands up, but I'm having a hard time achieving the same thing on a fresh linux box without vagrant.
13:30 babilen mat_: Most of the time you'll find that states cope well with external modifications (in that they will simply make sure that they have been achieved .. doesn't matter how). For configuration files you either want to ensure that the entire file is managed by you or that you can configure a configuration file under your control
13:31 babilen mat_: The "free for all" approach of wild west manual editing is just not working/scaling well
13:31 mat_ babilen, yes, I know, like I said, inertia
13:32 schemanic_ I'd like to achieve an easy way to stand up a new salt master from scratch, but I don't think this formula does it. Can anyone help me take a look at it?
13:34 babilen schemanic_: What's your problem with it?
13:36 schemanic_ babilen, I've attempted to re-create the setup script that the Vagrantfile calls, but for use against a bare linux machine. I believe I've done everything that the repo's vagrant script does, but I can't just call highstate and get my master up and running, and I'm trying to piece together what I'm missing
13:36 schemanic_ Let me paste you what I've made vs what I based it on
13:36 schemanic_ !paste
13:36 saltstackbot To paste snippets of code/sls/etc, please use a code paste site, such as: https://gist.github.com or http://refheap.com
13:38 babilen refheap is offline
13:38 babilen http://paste.debian.net, https://gist.github.com, http://sprunge.us, … are good alternatives
13:39 drawsmcgraw joined #salt
13:40 schemanic_ https://gist.github.com/devinnasar/fbc6d2573321908a88b120ae12d30509
13:40 schemanic_ original ^
13:40 schemanic_ https://gist.github.com/devinnasar/d9d1cf4b7aaeb94eee79d3871aeab040
13:40 schemanic_ mine ^
13:41 babilen schemanic_: Any particular reason you want to write that script yourself? On which platform is this?
13:42 schemanic_ The repo's script assumes ubuntu 14.04, Mine is for AWS linux
13:42 schemanic_ which is basically RHEL
13:43 schemanic_ The reason is that I want to be able to have an empty server, run 1-2 commands, and then I have a salt master.
13:43 babilen Can you connect to your box via SSH? You could also use salt-cloud ... There's the official bootstrap script as well: https://docs.saltstack.com/en/latest/topics/tutorials/salt_bootstrap.html
13:43 schemanic_ The issue is not the bootstrap script
13:43 babilen I use salt-ssh in some situations
13:44 schemanic_ the issue is that after I've got saltstack installed, the states aren't getting applied
13:44 babilen Which states?
13:44 schemanic_ I'm asking for help deducing why that is
13:45 schemanic_ salt.master, salt.minion
13:47 babilen You said that saltstack is already running
13:47 schemanic_ So ultimately my question is: Given that I want to simply clone this repo, run my startup script, and call highstate to get my salt master set up, why does this formula not accomplish that, when it does do that for the Vagrant box it sets up if you go that route.
13:48 babilen I clearly lack coffee, but I don't quite understand why neither the bootstrap script, nor salt-clour or salt-ssh (with salt-formula) work for you
13:48 schemanic_ babilen, you don't understand what I'm asking then
13:48 schemanic_ My problem *is not* getting saltstack installed on the machine
13:48 schemanic_ That is very simple
13:49 schemanic_ I am trying to use salt-formula to use saltstack to configure the salt master itself
13:49 babilen I'm using salt-ssh for that
13:50 schemanic_ I can run install commands and have the saltstack program running easily, but that doesn't make the server a salt master that connects to all of my salt code
13:50 Brew joined #salt
13:52 schemanic_ I'm sorry I just don't think you understand what I'm trying to accomplish
13:52 racooper joined #salt
13:53 schemanic_ babilen, are you saying that you're using salt-ssh to do something to a bare server, and after your operation it connects to all of your gitfs repos and can apply states to itself
13:53 schemanic_ ?
13:54 schemanic_ the whole concept of salt-formula is that the master is a minion of itself
13:54 schemanic_ from what I can tell
13:56 _JZ_ joined #salt
13:56 babilen Exactly
13:59 nku any obvious reason why i would get "'grains.set' is not available" from some minions. they versions are quite outdated, but grains is ancient..
13:59 babilen schemanic_: I roll out a minimal configuration and have the minion run a highstate when it connects (you can do that via reactors, startup states or manually)
14:01 schemanic_ babilen, so all you need to worry about is getting salt master and salt minion on the box, give it a minimal state/top config, and set the minion to point at the master. Then, once you've called highstate, the minion clobbers your initial config and replaces it with the states for your master?
14:02 schemanic_ I'm talking about the master and the minion running on the same server
14:03 schemanic_ This is not about setting up OTHER servers than the master, it's about setting up the master itself
14:06 babilen Yes, that is exactly it
14:07 babilen You construct a minimal configuration for the master and minion (on the master) to be able to highstate itself with a more comprehensive configuration
14:10 muep_ joined #salt
14:11 ssplatt joined #salt
14:11 schemanic_ babilen, okay so we are on the same page, we're just doing it different ways. Sorry for my frustration. Maybe a way I can learn from you is to ask what changes your process is making to the target salt master, like, what does it change/add? I think my process is missing something and I can't spot what.
14:11 babilen So, in particular I roll out the master with GitFS for salt-formula and an external pillar (i.e. git) for the settings. Install that via salt-ssh and once the minion connected it'll highstate itself.
14:12 babilen schemanic_: Your paste doesn't really contain an error or hint as to what goes wrong
14:12 drawsmcgraw joined #salt
14:12 schemanic_ mmm
14:12 schemanic_ well one thing I noticed right off is that its NOT doing a few things
14:12 schemanic_ it doesn't do anything to make the minion that gets installed connect to the master that gets installed
14:12 schemanic_ I had to go to /etc/salt/minion and set master: localhost
14:13 schemanic_ another thing is that...
14:13 schemanic_ OH!
14:13 schemanic_ The vagrantfile...
14:13 schemanic_ The vagrantfile tells the hostname to be 'salt'
14:14 schemanic_ thats not in AWS, so the default top file that gets installed doesn't actually point to anything
14:15 schemanic_ Ok I think I'm back on track - I just need to understand one more thing
14:16 schemanic_ babilen, so your main, 'real' config for salt-minion lives in your external git pillar right?
14:16 dxtr joined #salt
14:16 schemanic_ and you're getting the formula over git as well
14:17 babilen schemanic_: It does, yea
14:18 schemanic_ so ultimately I want both salt-formula and it's pillar up in gitfs
14:18 babilen I have an initial pillar that essentially allows salt-ssh to do 2 things: 1. Configure the salt master to use GitFS for my salt-formula repo and 2. Configure the minion to connect to the master
14:19 babilen Ah, no .. one more (essential thing)
14:19 dxtr joined #salt
14:19 babilen 3. Configure external git pillar that contains the actual salt-master/salt-minion configuration
14:20 Brew joined #salt
14:20 babilen That lives locally on my box and I run salt-ssh to install the master and minion. Once the minion connects it highstates itself and would use the extended configuration in pillars configured in 3.
14:22 schemanic_ Is there any reason why the pillars need to be split out? What If I set up ext_pillar myself and point it right at the end state/pillar that I want and call a highstate?
14:23 joshin joined #salt
14:23 joshin joined #salt
14:23 schemanic_ okay, so my steps really should be: 1) Install SaltStack Master/Minion on host 2) Connect the minion to the master at localhost 3) drop gitfs/ext_pillar configs in /etc/salt/master.d pointing to salt-formula and my-pillar repos 4) restart salt-master, salt-minion services 5) call highstate
14:24 babilen schemanic_: I don't want to do things "myself" if I can automate them, so I use salt-ssh (or masterless or ...) to configure it for me.
14:25 schemanic_ That's fair. I'm still leveling up on that part. I'll automate the process with bash for now
14:25 babilen That way I can do "salt-ssh 'some_box' state.highstate and once that's done I have a complete master/minion setup with everything I need
14:26 schemanic_ babilen, where do you keep your top files? Do you roll out starter tops and then by the time salt-formula is done it's pointing somewhere else?
14:28 onlyanegg joined #salt
14:31 schemanic_ Do you keep top in it's own repo>
14:31 schemanic_ ?
14:31 jerematic joined #salt
14:31 babilen schemanic_: The initial one essentially just has "base: 'the-master': - salt.master - salt.minion" and the pillar would contain configuration for a GitFS repo with the actual top file
14:32 schemanic- joined #salt
14:32 babilen Not for all projects (legacy), but I do it for newer ones
14:32 babilen For older ones I had them in the same repo as the states
14:32 babilen /pillars
14:33 Rumbles joined #salt
14:36 schemanic- joined #salt
14:42 yuhl babilen: do you have any documentation, example, on how to provision a node with salt-cloud and then configure the node with a salt-standalone or a salt-ssh
14:42 babilen I'm not using salt-cloud at the moment, so sadly: I don't
14:43 yuhl babilen: does salt-cloud imply the use of salt-master ?
14:46 brousch__ joined #salt
14:47 schemanic_ babilen, so you have a repo that's just the top file?
14:48 babilen aye
14:48 xet7 joined #salt
14:48 babilen I tie repos together with https://myrepos.branchable.com/
14:49 babilen Or rather manage many of them
14:49 schemanic_ I see, that way it's like working with one large file tree
14:49 schemanic_ Do you keep all of your pillar data together too or is it all one pillar repo?
14:50 babilen myrepos is amazing
14:50 babilen It's mostly in one repo, but given that pillars can merge I would just organise it in whatever way that makes sense
14:53 schemanic_ Okay. I think I have everything I need now. thanks for staying with me babilen
14:54 babilen cool
14:57 heaje_ joined #salt
15:00 crenasor joined #salt
15:00 gramec joined #salt
15:00 crenasor fuchs caused this. pbandark aarontc flebel hashwagon oida J0hnSteel llua APLU N-Mi sarcasticadmin muep_ Elsmorian kloeri xet7 om2 godlike Mattch it_dude JohnnyRun impi mikecmpbll g3cko schemanic_ _KaszpiR_ Nebraskka cyteen_ o1e9 major Micromus_ druonysus justan0theruser yuhl lasseknudsen nku ssplatt felskrone mk-fg jerematic drags1 brousch__ chadhs MajObviousman preludedrew TRManderson asyncsec icebal Terminus GMAzrael jhujhiti numkem xMopxShell racooper tooth
15:00 crenasor fuchs caused this. Ssquidly garphy`aw cyraxjoe nbuchanan c_g patrek hlub toanju mTeK rgrundstrom evle1 Reverend watersoul_ coredumb oyvindmo Bock the_lalelu deedra beardo Hydrosine thijn__ Brew qman__ cliluw pezus Karunamon aerbax elektrix cscf evilrob aldevar MeltedLux HRH_H_Crab jas02 tru_tru Shirkdog OliverMT scooby2 packeteer heaje_ lstor tcolvin jshm bbhoss nahkiss ConnorCG Vye_ inetpro rofl____ Antiarc SneakyPhil bmcorser Nightcinder Morrolan rylnd hacks
15:00 crenasor fuchs caused this. fujexo[m] ThomasJ|m Jon-Envisioneer[ gomerus[m] chamunks mschiff tyler-baker jerrykan[m] freelock jessexoc supermike_ simmel CaptTofu__ spaceman_spiff spiette shortdudey123 weylin alvinstarr TomJepp phobosd mihait StolenToast ntropy petems copelco tom29739 carlwgeorge phtes harkx straya Rkp c4rc4s jeblair shalkie mr_kyd jerrcs dwfreed izrail_ stotch duckfez_ CeBe stupidnic Laogeodritt rubenb bantone leev Corey inire Mogget_ Ch3LL Udkkna_ ws2k
15:00 gramec fuchs caused this. pbandark aarontc flebel hashwagon oida J0hnSteel llua APLU N-Mi sarcasticadmin muep_ Elsmorian kloeri xet7 om2 godlike Mattch it_dude JohnnyRun impi mikecmpbll g3cko schemanic_ _KaszpiR_ Nebraskka cyteen_ o1e9 major Micromus_ druonysus justan0theruser yuhl lasseknudsen nku ssplatt felskrone mk-fg jerematic drags1 brousch__ chadhs MajObviousman preludedrew TRManderson asyncsec icebal Terminus GMAzrael jhujhiti numkem xMopxShell racooper tooth dj
15:00 crenasor fuchs caused this. stankmack upb ThomasJ twiedenbein eseyman codehotter beebeeep kevc_ pietdv_ whyzgeek ksa Hipikat pfallenop egilh ventris Annihitek darix wybczu sknebel skullone Ludo_ peters-tx dankolbrs ajv trent setkeh tehsu meca McNinja toabi tbrb edgr vodik feliks armguy nebuchadnezzar s0undt3ch teratoma Ahlee gnord dh tvinson_ quarcu_ heyimawesome CustosLimen averell v12aml NeoXiD robawt czchen chutzpah Yoda-BZH kuromagi froztbyte rideh systeem guerby jo
15:00 crenasor fuchs caused this. onovy bbradley Arendtsen gadams dunz0r wwalker Guest79428 utahcon hax404 Edur nkuttler pheonix991 honestly dev_tea mkillebrew LotR Rumbles skrobul zach mbologna yojota davromaniak benner ecdhe tongpu_ Puckel_ permalac dyasny gmoro_ ashmckenzie LostSoul kbaikov v3x Gabemo Dr_Jazz AvengerMoJo miruoy karlthane Zachary_DuBois berto- dnull lorengordon shanth ujjain basepi CrummyGummy VR-Jack-H dlloyd manji swills Joy kshlm mage_ filippos ahrs k4kv
15:00 gramec fuchs caused this. Ssquidly garphy`aw cyraxjoe nbuchanan c_g patrek hlub toanju mTeK rgrundstrom evle1 Reverend watersoul_ coredumb oyvindmo Bock the_lalelu deedra beardo Hydrosine thijn__ Brew qman__ cliluw pezus Karunamon aerbax elektrix cscf evilrob aldevar MeltedLux HRH_H_Crab jas02 tru_tru Shirkdog OliverMT scooby2 packeteer heaje_ lstor tcolvin jshm bbhoss nahkiss ConnorCG Vye_ inetpro rofl____ Antiarc SneakyPhil bmcorser Nightcinder Morrolan rylnd hacks dx
15:00 gramec fuchs caused this. fujexo[m] ThomasJ|m Jon-Envisioneer[ gomerus[m] chamunks mschiff tyler-baker jerrykan[m] freelock jessexoc supermike_ simmel CaptTofu__ spaceman_spiff spiette shortdudey123 weylin alvinstarr TomJepp phobosd mihait StolenToast ntropy petems copelco tom29739 carlwgeorge phtes harkx straya Rkp c4rc4s jeblair shalkie mr_kyd jerrcs dwfreed izrail_ stotch duckfez_ CeBe stupidnic Laogeodritt rubenb bantone leev Corey inire Mogget_ Ch3LL Udkkna_ ws2k3
15:00 crenasor fuchs caused this. ilbot3 Zaunei_ Sketch smkelly bennabiy mavhq _JZ_ Kelsar sybix pewpew akbarali k_sze[work] __number5__ penguinpowernz adongy cro adelcast feld concerti rawzone attente gtmanfred zer0def darvon masuberu fxhp matti hoonetorg lionel Twiglet hrumph Sarphram capn-morgan dograt Yamazaki-kun gimpy936 monokrome pocketprotector hexa- Baycone londo nicotine hackel shadoxx nineteen LeProvokateur moy wangofett nethershaw jrklein afics riftman1 shakalaka
15:00 crenasor fuchs caused this. chowmeined Deliant xmiao Xevian heaje jmiven juntalis kiorky coldbrewedbrew jab416171 rathier viq danielfallon bd ekkelett Vaelatern futuredale nickadam dragon788 lubyou alem0lars daxroc SteamWells englishm_work cibo kavakava pmcg kiltzman djural Whissi armyriad sjorge frew cswang irated rmc3 al vaelen citaret Felgar brd bigjazzsound sarlalian BlackBishop tom[] Neighbour jesusaur demize jwon prg3 skeezix-hf munhitsu_ mirko bdrung_work eightye
15:00 gramec fuchs caused this. Ssquidly garphy`aw cyraxjoe nbuchanan c_g patrek hlub toanju mTeK rgrundstrom evle1 Reverend watersoul_ coredumb oyvindmo Bock the_lalelu deedra beardo Hydrosine thijn__ Brew qman__ cliluw pezus Karunamon aerbax elektrix cscf evilrob aldevar MeltedLux HRH_H_Crab jas02 tru_tru Shirkdog OliverMT scooby2 packeteer heaje_ lstor tcolvin jshm bbhoss nahkiss ConnorCG Vye_ inetpro rofl____ Antiarc SneakyPhil bmcorser Nightcinder Morrolan rylnd hacks dx
15:00 gramec fuchs caused this. fujexo[m] ThomasJ|m Jon-Envisioneer[ gomerus[m] chamunks mschiff tyler-baker jerrykan[m] freelock jessexoc supermike_ simmel CaptTofu__ spaceman_spiff spiette shortdudey123 weylin alvinstarr TomJepp phobosd mihait StolenToast ntropy petems copelco tom29739 carlwgeorge phtes harkx straya Rkp c4rc4s jeblair shalkie mr_kyd jerrcs dwfreed izrail_ stotch duckfez_ CeBe stupidnic Laogeodritt rubenb bantone leev Corey inire Mogget_ Ch3LL Udkkna_ ws2k3
15:00 gramec fuchs caused this. stankmack upb ThomasJ twiedenbein eseyman codehotter beebeeep kevc_ pietdv_ whyzgeek ksa Hipikat pfallenop egilh ventris Annihitek darix wybczu sknebel skullone Ludo_ peters-tx dankolbrs ajv trent setkeh tehsu meca McNinja toabi tbrb edgr vodik feliks armguy nebuchadnezzar s0undt3ch teratoma Ahlee gnord dh tvinson_ quarcu_ heyimawesome CustosLimen averell v12aml NeoXiD robawt czchen chutzpah Yoda-BZH kuromagi froztbyte rideh systeem guerby joht
15:00 gramec fuchs caused this. onovy bbradley Arendtsen gadams dunz0r wwalker Guest79428 utahcon hax404 Edur nkuttler pheonix991 honestly dev_tea mkillebrew LotR Rumbles skrobul zach mbologna yojota davromaniak benner ecdhe tongpu_ Puckel_ permalac dyasny gmoro_ ashmckenzie LostSoul kbaikov v3x Gabemo Dr_Jazz AvengerMoJo miruoy karlthane Zachary_DuBois berto- dnull lorengordon shanth ujjain basepi CrummyGummy VR-Jack-H dlloyd manji swills Joy kshlm mage_ filippos ahrs k4kvm
15:00 gramec fuchs caused this. ilbot3 Zaunei_ Sketch smkelly bennabiy mavhq _JZ_ Kelsar sybix pewpew akbarali k_sze[work] __number5__ penguinpowernz adongy cro adelcast feld concerti rawzone attente gtmanfred zer0def darvon masuberu fxhp matti hoonetorg lionel Twiglet hrumph Sarphram capn-morgan dograt Yamazaki-kun gimpy936 monokrome pocketprotector hexa- Baycone londo nicotine hackel shadoxx nineteen LeProvokateur moy wangofett nethershaw jrklein afics riftman1 shakalaka to
15:00 gramec fuchs caused this. chowmeined Deliant xmiao Xevian heaje jmiven juntalis kiorky coldbrewedbrew jab416171 rathier viq danielfallon bd ekkelett Vaelatern futuredale nickadam dragon788 lubyou alem0lars daxroc SteamWells englishm_work cibo kavakava pmcg kiltzman djural Whissi armyriad sjorge frew cswang irated rmc3 al vaelen citaret Felgar brd bigjazzsound sarlalian BlackBishop tom[] Neighbour jesusaur demize jwon prg3 skeezix-hf munhitsu_ mirko bdrung_work eightyeig
15:00 gramec fuchs caused this. crenasor dober jcristau graffic blue cmichel dustywusty MikaT EvaSDK pcdummy scc ropes cebreidian ahammond lazybear relidy pjs Armadillo mrud Sacro esharpmajor UForgotten twork_ ople dhoutz Dev0n iggy nledez wryfi cmarzullo mishanti1 mauli majuscule asoc rodr1c saltstackbot JPaul Llmiseyhaa lookcrabs Flusher lkannan MTecknology hoolio pppingme tedski oliv` t00m0 saltsa marcinkuzminski notCalle carmony Valfor dimeshake CheckYourSix mrueg rome_39
15:00 gramec fuchs caused this. armonge SamYaple Kruge whytewolf MasterNayru jgelens brokensyntax lastmikoi rickflare coldbrewedbrew_ saintromuald daemonkeeper scamander kwork danielsh GnuLxUsr KingJ cb Awesomecase pcn Cadmus tapoxi mat_ PFault fleaz v0rtex mariusv sjohnsen bwellsnc JPT ponyofdeath gramec NightMonkey swa_work FreeSpencer awpti legreffier descrepes bergei Fade Eugene eichiro rewbycraft bryguy uncool euidzero_ tawm04 haam3r_ theblazehen hillna scarcry bob_twink
15:00 gramec fuchs caused this. saintaquinas[m] benjiale[m] zseguin robinsmidsrod devster31 gmacon LA-Clone kwilke baffle ouzo12 evidence arif-ali yidhra klippo_ Qlawy wonko21_ chron0 psy0rz simonmcc jagguli- m0nky doriftoshoes_ linovia babilen Shados q1x klaas tellendil Diaoul andi- theanalyst
15:00 Reverend ohai
15:00 gramec fuchs caused this. pbandark aarontc flebel hashwagon oida J0hnSteel llua APLU N-Mi sarcasticadmin muep_ Elsmorian kloeri xet7 om2 godlike Mattch it_dude JohnnyRun impi mikecmpbll g3cko schemanic_ _KaszpiR_ Nebraskka cyteen_ o1e9 major Micromus_ druonysus justan0theruser yuhl lasseknudsen nku ssplatt felskrone mk-fg jerematic drags1 brousch__ chadhs MajObviousman preludedrew TRManderson asyncsec icebal Terminus GMAzrael jhujhiti numkem xMopxShell racooper tooth dj
15:00 gramec fuchs caused this. Ssquidly garphy`aw cyraxjoe nbuchanan c_g patrek hlub toanju mTeK rgrundstrom evle1 Reverend watersoul_ coredumb oyvindmo Bock the_lalelu deedra beardo Hydrosine thijn__ Brew qman__ cliluw pezus Karunamon aerbax elektrix cscf evilrob aldevar MeltedLux HRH_H_Crab jas02 tru_tru Shirkdog OliverMT scooby2 packeteer heaje_ lstor tcolvin jshm bbhoss nahkiss ConnorCG Vye_ inetpro rofl____ Antiarc SneakyPhil bmcorser Nightcinder Morrolan rylnd hacks dx
15:00 swills damn spammers
15:00 Reverend lol
15:00 mr_kyd WTF!
15:00 linovia ah, kid
15:00 * Reverend keks
15:00 CustosLimen left #salt
15:00 dnull Well that was fun
15:00 Whissi 2nd time in 24h
15:00 englishm_work ugh
15:01 godlike again??
15:01 swills Ch3LL: Gareth: gtmanfred: s0undt3ch: please help
15:01 weylin :|
15:01 Reverend gtmanfred s0undt3ch Gareth Ch3LL - do us a favor :D
15:01 Nightcinder exciting
15:01 swills the IRC spam has really gotten bad lately
15:02 ekkelett That'll... well, make it quiet.
15:02 Reverend haha
15:02 gtmanfred it will make it so that people have to register with nickserv to talk
15:02 darix it might be worth it so add the information that you need to be registered and authenticated to the topic then
15:02 gtmanfred yup
15:02 gtmanfred i am working on that
15:03 dyasny left #salt
15:03 rebbdohr joined #salt
15:03 Reverend gtmanfred - redditsysadmin works the same way. works pretty well IMHO
15:03 Reverend also, GG>
15:04 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.4 <+> Support: https://www.saltstack.com/support/ <+> SaltStack Webinar on Carbon, Nitrogen, and Enterprise 5.1 on May 18, 2017 https://goo.gl/PvsOvQ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> Due to spam, please register with NickServ
15:05 drawsmcgraw joined #salt
15:05 gtmanfred Reverend: yes, it does work, but it also causes some friction to get started, which i do not really like
15:05 yojota left #salt
15:06 tongpu_ #archlinux had it enabled since I started using it, the one and only reason why I have it configured
15:06 rewbycraft Pretty sure just +r on the channel does the same thing
15:06 tongpu_ It's sad that it's required, but stupid people often do stupid things
15:06 gtmanfred +r doesn't allow people to join at all if they arent registered
15:07 gtmanfred i would rather them be able to join and message me for assistance if they don't read the topic
15:07 rewbycraft Ah, like that
15:07 rewbycraft Fair enough
15:07 rewbycraft I read it as +b instead of +q
15:07 gtmanfred rotate 180 degrees
15:09 rewbycraft Yup
15:12 * Sketch notes that both of the last spammers were from the same IP address (216.98.11.100), so banning that might be sufficient
15:13 gtmanfred Sketch: what was their hostmask?
15:13 gtmanfred i can ban that
15:13 raspado joined #salt
15:13 cscf [gramec] (~tre@216.98.11.100)
15:13 cscf /whowas works on freenode
15:14 cscf Getting a very bizarre error on state.apply: The conflicting ID is 'networking_purge_resolvconf' and is found in SLS 'base:common/networking.dns' and SLS 'base:common.networking.dns'
15:14 rebbdohr joined #salt
15:14 cscf It seems something is referring to common.networking.dns by two different paths?  But I did grep -r, nowhere do I use /
15:15 rebbdohr_ joined #salt
15:15 Sketch cscf: the username varied, so i would ban *!*@216.98.11.100
15:15 Sketch however, it looks like that might be an end-user ISP IP, so might be dynamic
15:18 aldevar1 joined #salt
15:20 Praematura joined #salt
15:21 rebbdohr joined #salt
15:21 rebbdohr_ joined #salt
15:21 aldevar joined #salt
15:22 cscf Anyone know why something might be including the same SLS by 2 paths?
15:24 aldevar1 joined #salt
15:24 rebbdohr_ joined #salt
15:25 gtmanfred neat
15:26 gtmanfred cscf: no idea, even if you do an include, it should still only include the state if it isn't already in the state structure
15:26 cscf gtmanfred, but would something using a / path not be noticed as a duplicate?
15:26 cscf That would be a bug, if so
15:27 gtmanfred oh, hrm, yeah that might be a bug.
15:27 cswang joined #salt
15:27 cscf I'm trying to track down the other location it's called from by disabling the . one and changing the name to break dep
15:28 aldevar joined #salt
15:32 aldevar1 joined #salt
15:34 aldevar joined #salt
15:35 megori_ joined #salt
15:35 megori_ joined #salt
15:36 rebbdohr joined #salt
15:39 cscf Maybe it's {{tpldir}} that I'm using that's doing /
15:39 promorphus joined #salt
15:39 cscf But the .dns syntax didn't used to work for me
15:40 gtmanfred that would do it
15:40 gtmanfred you could do {{tpldir|replace('/', '.')}}
15:40 gtmanfred actually
15:40 gtmanfred that won't work, because tpldir does the full path
15:40 cscf I thought - .dns was supposed to work, but it gave me problems a while ago
15:41 gtmanfred for include?
15:41 gtmanfred it should work if you are in common.networking
15:41 cscf Yeah, maybe it was an older salt version or something
15:41 inad922 joined #salt
15:42 cscf Hmm, that seems to have fixed it
15:43 rebbdohr joined #salt
15:44 rebbdohr_ joined #salt
15:47 gtmanfred yay
15:48 cscf grep -r '{{tpldir}}\.' -l | xargs -n 1 sed -i 's/{{tpldir}}\././'
15:48 cscf Time to use that everywhere, it's much more concise
15:49 cscf Looking at that command that would have been unreadable to me a few years ago always makes me proud, lol
15:50 gtmanfred :+1:
15:50 gtmanfred yeah same here,
15:51 StucKman joined #salt
15:52 cscf also, TIL about grep -l
15:52 gtmanfred one thing to do with that
15:52 gtmanfred not that you do, but if you have any spaces in file names
15:52 gtmanfred you will want to use null character seperators
15:53 dezertol joined #salt
15:53 gtmanfred salt-call config.get master
15:53 cscf lol nope, I do not.  Good point though
15:53 cscf spaces in filenames are anathema
15:53 gtmanfred cscf: add -Z to the grep command and -0 to the xargs command
15:53 gtmanfred to make that work
15:54 gtmanfred do a dns lookup on it
15:54 gtmanfred nslookup or dig
15:55 cscf gtmanfred, to do what, sorry? spaces?
15:57 candyman88 joined #salt
15:57 gtmanfred cscf:instead of putting a newline at the end of each file, it puts a null character
15:58 cscf gtmanfred, why?
15:58 gtmanfred in case someone puts spaces in file names
15:59 gtmanfred it is just a, incase someone else is dumb step
15:59 gtmanfred then you add -0 to the xargs, and it will split the input based on null characters instead of whitespace
15:59 cscf ok.  Just using it this once and printing first
15:59 shanth what is {{tpldir|replace('/', '.')}} ?
15:59 StucKman I'm rather new to salt. I'm reading the docs and trying to write the corresponding yaml code
16:00 Inveracity joined #salt
16:01 cscf shanth, tpldir is a salt-specific jinja function that prints the full directry path that the file being run is in
16:01 StucKman for example https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.git.html#salt.modules.git.clone <-- should I put
16:01 gtmanfred and |replace('/', '.') is a jinja filter
16:01 cscf shanth, then piping it to python's replace()
16:01 gtmanfred actually it uses jinjas replace, because it is a filter |
16:01 cscf oh
16:01 shanth confusing :x
16:01 gtmanfred hlub: you can do a dnsutil.A lookup
16:02 gtmanfred using the dnsutil module
16:02 whytewolf StucKman: if you are working on yaml it means you should be looking at the state modules. you pointed to the exacution module. ou most likely need https://docs.saltstack.com/en/latest/ref/states/all/salt.states.git.html#salt.states.git.present
16:02 cscf StucKman, well, what do you want to clone?  Use - cwd to define the full path to where you want it, url to get it from, etc
16:02 cscf Oh oops that's right
16:03 keldwud joined #salt
16:03 keldwud joined #salt
16:03 StucKman whytewolf: ah
16:04 StucKman cscf: I'm trying to learn salt, not how to work around it :) but thanks anyways :)
16:05 aldevar left #salt
16:06 shanth im trying to use a grain to get the ip for em1 - {{ grains['ip4_interfaces'] | em1 }} im guessing this is wrong
16:07 _JZ_ joined #salt
16:07 gtmanfred shanth: use the network.ip_addrs module
16:07 gtmanfred Sketch:
16:07 gtmanfred https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.network.html#salt.modules.network.ip_addrs
16:07 gtmanfred bah shanth ^^
16:07 gtmanfred {{salt.network.ip_addrs(interface='em1
16:08 gtmanfred {{salt.network.ip_addrs(interface='em1')[0]}}
16:08 onlyanegg joined #salt
16:08 shanth wait you can use modules in the code too?
16:08 gtmanfred yes
16:08 whytewolf shanth: yes
16:08 shanth brain exploding.gif
16:08 gtmanfred shanth: https://docs.saltstack.com/en/latest/topics/jinja/index.html
16:09 shanth is that limited to just execution modules or any salt module?
16:09 cscf shanth, be careful, though; you should only use read-only modules to avoid side effects
16:09 gtmanfred any execution module
16:09 whytewolf shanth: also that isn't how filters work. filters are functions that take the input from what is in front of the | and pass it out after the funtion in place
16:09 rebbdohr joined #salt
16:09 shanth oh right, filters not selection
16:10 Inveracity shanth alternatively: {{ grains['ip4_interfaces']['em1'] }}
16:10 shanth the (interface='em1') part, is that safe to say that is selection in a list?
16:10 shanth ah yeah that's the one i was looking for Inveracity
16:10 Inveracity an with a [0] at the end, since it's a list
16:10 shanth {{ grains['ip4_interfaces']['0'] }} is that valid also?
16:10 Inveracity no, cause em1 is a dictionary key
16:11 shanth execution modules are dictionaries and grains are lists?
16:11 gtmanfred no
16:11 Inveracity no not at all, execution modules are just python functions
16:11 Inveracity dictionaries are key value pairs
16:11 Inveracity and lists are arrays
16:12 Inveracity in very crude terms
16:12 whytewolf shanth: salt.<module>.<function>(<arguments to module.function>)
16:13 shanth i need to learn more python
16:13 Inveracity I think this is the primary pain point regarding adoption of salt amongst non pythoners or even programmers
16:13 whytewolf Inveracity: mostly nonpython programers. other langs tend to blend and mash together dicts and lists
16:14 shanth {{salt.network.ip_addrs(interface='em1')[0]}} <-- what is the 0 doing here and why do you need it?
16:14 StucKman Inveracity: chef has the same problem: you don fully understand what's happening unless you can read ruby
16:14 Inveracity yeah, I'm attempting to learn elixir and they have "keyword lists" it's really messing with my head
16:14 whytewolf shanth: because salt.network.ip_addrs returns a list so that says i want the 0th item of that list
16:15 StucKman (which is the first)
16:15 whytewolf shanth: you can replace the [0] by |first
16:16 shanth salt network returns a list, but the grains is also a list, why can't i use the 0 in that?
16:16 shanth :(
16:16 shanth what
16:17 whytewolf shanth: because the grains is a dict with a list under that
16:17 shanth oh
16:17 whytewolf you have to select the dict item before you can grab the list item
16:17 shanth grains are a dict, execution modules are lists
16:17 whytewolf shanth: grains are a mix of lists and dicts
16:17 shanth oh man
16:17 Inveracity shanth, https://gist.github.com/Inveracity/4fa8a181ebe6b9ce6d9cd7bf19564fe2
16:18 whytewolf and execution modules can output pretty much anything. lists, dicts, strings, ints
16:19 whytewolf objects
16:19 Inveracity are good way to confirm you get the right output is by doing: salt '*' state.show_sls thestate --out=yaml
16:19 Inveracity a*
16:20 Inveracity re: you can replace the [0] by |first <- I did not know this, interesting
16:21 whytewolf yeah jinja filters can be fun ;)
16:23 shanth at this point i have to invest time into learning pythong cause i don't get it :(
16:24 Inveracity it does take a bit to figure out if you've never done programming of any sort
16:24 shanth how does salt handle something like {{salt.network.ip_addrs(interface='em1')[0]}} when em1 has 3 ip's assigned, just chooses the first one?
16:24 StucKman well, youre telling it to do that, yes
16:24 whytewolf yes, that just chooses the first one in the list
16:25 StucKman but the order in which they appear depends on the OS
16:25 danielfallon ^that
16:25 Inveracity ^
16:25 StucKman and how they were declared to it
16:25 shanth so changing the 0 to 1 or 2 will choose a different ip in that list/dict?
16:25 Inveracity correct
16:25 StucKman yeap
16:25 shanth nice
16:25 shanth thanks
16:25 Inveracity choose 3 and it'll throw an error
16:25 Inveracity "index out of range" or whatever
16:26 StucKman shanth: read python's tutorial, it's hshort and very helpful with all this
16:26 StucKman shanth: more head explosion: -1 selects the last one, whichever it is :)
16:27 Inveracity the beauty of python
16:27 whytewolf or |last ;)
16:27 shanth are the list/dicts guaranteed to generate consistently? if i choose {{salt.network.ip_addrs(interface='em1')[1]}} will it always be the same ip if i restart salt master / salt minion?
16:28 rebbdohr joined #salt
16:28 bmcorser left #salt
16:28 Inveracity to be absolutely certain it's always the same you can do [1]|sort I believe
16:28 Inveracity sorry no
16:28 rebbdohr_ joined #salt
16:28 Inveracity nevermind that is completely wrong
16:29 StucKman shanth: I guess not, as I said, it depends on the OS
16:29 whytewolf yeah that would send the [1] to the sort allone
16:29 Inveracity yeah
16:29 Inveracity brainfart
16:29 whytewolf |sort()[1]
16:30 Inveracity so for the full thing: {{ salt.network.ip_addrs(interface='em1') | sort()[1] }}
16:30 Inveracity it doesn't look great, but it'll ensure its consistent
16:30 StucKman shanth: unless you want something like 'the ip of this interface that starts like 10.x'
16:30 whytewolf or... you can not use the interface. and instead use subnets. by passing cidr to network.ip_addr
16:30 StucKman that looks like*
16:30 StucKman whytewolf: nice
16:31 overyander joined #salt
16:31 PatrolDoom joined #salt
16:31 Inveracity ^
16:32 whytewolf the instructions for network.ip_addrs doesn't really cover the options. but there are a ton if you look at what it takes in https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.network.html#salt.modules.network.ip_addrs
16:33 overyander what is the proper way to do this? i'm having an issue with lines 1 and probably line 2 https://gist.github.com/anonymous/cf25f719836e720f005380e4fb9263d0
16:33 WKNiGHT joined #salt
16:33 whytewolf {% set version = salt['cmd.run']('$PSVersionTable.PSVersion.ToString()',shell='powershell') %}
16:34 overyander thanks, is line 2 the proper way to do a less than comparison?
16:35 overyander or can it do a less than comparison on that since it's a string value?
16:36 rebbdohr joined #salt
16:37 rebbdohr_ joined #salt
16:37 whytewolf not sure it can do a less then on that kind of string. but it might be possable. never tried it personally.
16:37 overyander just found this for converting string to int in jinja http://stackoverflow.com/questions/39938323/jinja-convert-string-to-integer
16:38 rebbdoh__ joined #salt
16:38 shanth that's great Inveracity, the sort part is a jinja filter :)
16:39 rebbdoh__ joined #salt
16:39 swa_work joined #salt
16:40 whytewolf overyander: https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_pkg.html#salt.modules.win_pkg.compare_versions
16:40 overyander powershell doesn't show as a pkg when i run pkg.list_pkgs
16:40 whytewolf that function doesn't query packages
16:41 whytewolf you give ti 2 versions
16:41 whytewolf s/ti/two
16:41 drawsmcgraw overyander: Powershell is more of a 'component' in the eyes of Windows, too.
16:41 mikecmpbll joined #salt
16:42 whytewolf {% if salt.pkg.compare_version(version, '<='. '5.1.14409.1005') %}
16:42 overyander ah, i see what your saying
16:43 chowmein__ joined #salt
16:45 StucKman left #salt
16:45 overyander whytewolf, does version there need to be a string or int?
16:45 whytewolf string
16:46 overyander ok, so pkg.compare_versions converts both values to ints then uses the defined operand to compare them?
16:47 Lionel_Debroux joined #salt
16:47 huddy joined #salt
16:48 whytewolf overyander: https://github.com/saltstack/salt/blob/develop/salt/utils/__init__.py#L2602-L2639
16:52 raspado anyone familiar with openstack?
16:53 whytewolf if i didn't have a meeting here shortly i would say yes.
16:54 armyriad joined #salt
16:55 raspado @whytewolf not sure if you can answer this (whenever you have time), does openstack allow preventing of ephemeral storage to be attached to a device id? when i provision instances via salt, instances that have ephemeral storage are automounted. I changed the cloud.cfg to not automount any volumes but it seems like our instances still attach ephemeral storage to /dev/vdb.
16:56 raspado so its hard to say if this is openstack doing this or if our cloud provider is doing this with some proprietary provisioning thing they have on their end
16:57 impi joined #salt
16:57 gtmanfred raspado: i believe it is an option in cloud-init
16:57 gtmanfred what OS are you using
16:58 raspado centos 7.2
16:58 gtmanfred yeah, i am pretty sure cloud-init is the thing that does the provisioning, and i believe it is part of the default /etc/cloud/cloud.cfg
16:58 gtmanfred and can't be changed unless you make your own custom image
16:59 raspado yep thats what i modified, so our cloud config doesnt have mounts: but it does have mount_default_fields: which i turned into an empty array
16:59 raspado so when i built the new image, /etc/fstab does not have the ephemeral storage line like it used to
16:59 numkem joined #salt
17:00 gtmanfred did you remove mounts from cloud_config_modules?
17:00 gtmanfred oh, no
17:00 gtmanfred um, yeah if that doesn't work them i am not certain, you would need to go digging into the cloud-init code
17:00 gtmanfred but it should be cloud init mounting it
17:01 gtmanfred 2016.11.5 is going live in a minute
17:01 gtmanfred for whoever is watching
17:01 * PatrolDoom watches
17:01 gtmanfred if you are installing packages right now, you might see an error
17:03 Inveracity woo
17:11 SaucyElf joined #salt
17:13 rebbdohr joined #salt
17:13 danielfallon That awkward moment when the saltstack documentation makes no sense:
17:14 danielfallon http://imgur.com/a/wPGnY
17:14 danielfallon lol
17:20 Trauma joined #salt
17:21 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.5 <+> Support: https://www.saltstack.com/support/ <+> SaltStack Webinar on Carbon, Nitrogen, and Enterprise 5.1 on May 18, 2017 https://goo.gl/PvsOvQ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> Due to spam, please register with NickServ
17:21 censorshipwreck joined #salt
17:23 whytewolf oh, $cable company. trying to sell me $crap i don't want/need and shocked when i ask for more speed because i already have the top teir for their crapnet
17:23 rebbdohr joined #salt
17:24 saltyotter joined #salt
17:27 rebbdohr_ joined #salt
17:36 it_dude joined #salt
17:41 nixjdm joined #salt
17:44 Splix76 joined #salt
17:49 schemanic_ joined #salt
17:50 XenophonF joined #salt
17:51 wendall911 joined #salt
18:04 yomateod joined #salt
18:05 Edgan joined #salt
18:07 armyriad joined #salt
18:11 harkx left #salt
18:11 woodtablet joined #salt
18:13 oida joined #salt
18:13 dlam joined #salt
18:14 MTecknology danielfallon: I don't get what you're trying to raise attention to
18:16 mikecmpbll joined #salt
18:18 dlam should i make /etc/salt/minion_id a managed file?   im testing it as vagrant and it's messed up and not matching what i have in top.sls:  "staging.appvagrant@staging:~$"
18:19 dlam oh wait i found a 'minion_id' options at  https://www.vagrantup.com/docs/provisioning/salt.html  ...maybe thats what i should do
18:19 cyborg-one joined #salt
18:20 censorshipwreck joined #salt
18:21 MTecknology dlam: I'd be more concerned that the file isn't already what you expect it to be. Changing that file should cause authentication to break.
18:23 shanth for giving a minion multiple id's, is that all on a single line separated by a space?
18:24 shanth docs says you can do it but i didn't see an example
18:25 MTecknology I would expect you'd do it yaml-style, but why you would want to boggles my mind.
18:25 MTecknology yaml checker: http://yaml-online-parser.appspot.com/
18:25 shanth for my test environment MTecknology i want to name my minions long names, and a short name so i don't have to keep remebering which one is mail.prod.sanfran.example.com heh
18:26 shanth id rather also have minion1-5
18:26 shanth i'll try that yaml MTecknology
18:27 MTecknology shanth: don't do that... you're engineering a solution to a problem that doesn't need to exist.
18:27 shanth it's just for my lab
18:27 shanth and i also want to know how to do it
18:29 aldevar joined #salt
18:29 MTecknology I prefer keeping minions set to their fqdn because my salt master handles multiple domains and ""salt 'pubweb*' state.highstate"" (or.. 'pubweb.l*') seems just as easy to me as giving them short names.
18:29 aldevar left #salt
18:30 shanth uh oh the minion shows up like this in salt-key -L ['minion3', 'sandbox.prod.phx.example.com']
18:30 MTecknology $client prefers $hostname.$dc
18:30 MTecknology is that not what you expected?
18:30 MTecknology that looks like it worked perfectly
18:30 shanth i thought it would appear as two different lines, not sure if it's correct
18:30 shanth but if so then awesome
18:31 MTecknology that wasn't a syntax thing you did to share? heh.. that /is/ awesome
18:31 shanth i dont think it works, i cant run test.ping on minion3
18:32 sarcasticadmin joined #salt
18:34 MTecknology My opinion is pick one consistent pattern that will scale as far as you might need it to and stick with it.
18:38 it_dude joined #salt
18:40 shanth that yaml link is clutch MTecknology
18:40 shanth parser
18:43 danielfallon MTecknology: oops just saw that, I was joking about the juxtaposition of the 2016.11.4 version of the docs while reading the "previous release" 2016.11.5 release notes
18:43 MTecknology clutch?
18:43 MTecknology that sounds like a valley term
18:46 impi joined #salt
18:47 cscf So, include: - .dns syntax works in states but not pillar?  why??
18:47 edrocks joined #salt
18:49 MTecknology cscf: It doesn't work in pillar? That sounds like a bug  (You're talking about the relative path bit, ya?)
18:50 dps joined #salt
18:50 MTecknology I guess in my pillar stuff I spell out the whole path so I've never tried.  include: - sys.vpn.oob
18:51 ChubYann joined #salt
18:52 impi_ joined #salt
18:52 cscf MTecknology, yeah, "The minion function caused an exception"
18:53 Praematura_ joined #salt
18:53 MTecknology I'd be curious to see the master logs on that...
18:54 MTecknology I really need a better environment for deploying test systems.
18:54 MTecknology better solution.. the environment is solid, just not complete
18:55 MTecknology cscf: and it works with full paths?
18:55 cscf MTecknology, https://bpaste.net/show/538b468b651e
18:55 nixjdm joined #salt
18:55 cscf MTecknology, it works with full paths and {{tpldir}} paths, which is what I've been using.
18:57 MTecknology oh! I know why! sorta!
18:57 iggy updated the paste url's on saltstackbot
18:58 Rumbles joined #salt
18:59 cscf MTecknology, well?
18:59 MTecknology cscf: I tried to do something like that once and ended up resorting to something really bloody ugly, it included scanning the file system, but I'm drawing a blank what the actual reason was... :(
19:01 rebbdohr joined #salt
19:04 cscf MTecknology, well, I don't really need the relative paths, it's just for readability, but it annoys me
19:05 jas02 joined #salt
19:09 onlyanegg joined #salt
19:12 censorshipwreck joined #salt
19:13 jalaziz joined #salt
19:16 danielfallon Hey if I'm looking for help with Development related to salt, where should I be asking? (as this appears to mostly be end-user help)
19:18 danielfallon more specifically, I'm looking to figure out how to enable a custom fileserver backend and I'm not sure where to place the module
19:21 iggy there's not really a droppable place for fileserver backends (like modules/states/grains/etc)
19:21 danielfallon ^exactly, because its a chicken or egg problem. I tried adding it as a python module, but it still didn't find it
19:22 iggy luckily, for that you only have to add it on the saltmaster
19:22 danielfallon yea, but I still havent successfully added it lol
19:23 danielfallon I guess I'll go dig into the loader code and then suggest some documentation after I figure it out
19:24 iggy It's not a drop in kind of thing in any way
19:25 iggy you're going to have to touch (at the very least) the core config handlers, stuff in salt/fileservers/, etc
19:26 danielfallon wait really >.> that's a touch silly. Maybe I'll create a pull request. I really don't understand why saltstack has so utterly rejected the concept of python packages and modules
19:27 impi joined #salt
19:29 iggy because you can't modularize everything?
19:29 whytewolf because the modules make no sense outside of salt?
19:30 danielfallon ^modules for specific application are typical of packages
19:31 whytewolf not really.
19:31 iggy another reason for not using python packages for modules/states would be the distribution (chicken/egg) problem
19:32 iggy like how do you tell salt to install the pkg module without the pkg module installed already
19:32 iggy and once you have that solved, why bother solving it another way (python packages)
19:33 iggy that said, they're generally pretty open to PRs for non-standard requests as long as they don't impact other things too negatively
19:35 danielfallon The reason to bother solving it another way is for continuous delivery of infrastructure code. initial setup of the master seems like a provisioning problem.
19:36 danielfallon Additionally, syncing python code from one computer to another and executing it directly is not really awesome. There's a reason that python modules have different platform installers (for compiled code or platform specific options)
19:36 whytewolf another reason maybe is they don't want to run into a death of a thousand versions
19:36 cscf Yeah.  debugging version mismatches suck
19:37 cscf 2016.11.4 == 2016.11.4 is nice and simple.
19:38 danielfallon I mean they can still have a version locked set of packages that would be called 2016.11.4, but the way things are right now, its unclear how dependencies work for formulas or custom state modules
19:38 danielfallon *versioned dependencies
19:39 danielfallon that means your pillar structure for a formula once created can never change effectively
19:39 danielfallon this all works fine in a simple case, but it behaves very poorly at scale and with complexity
19:43 danielfallon whytewolf: looked at pypi and ~half of the packages updated today plugins for frameworks (tap, ndd, humilis, dojo, django, and coala)
19:44 danielfallon the best reason I can think of to not do it is because python packaging sucks
19:45 whytewolf danielfallon: well that and people that brow beat others into trying to use it come off as pompus asses
19:46 danielfallon ^hrmm veiled insult received
19:46 whytewolf didn't think it was very veiled
19:46 danielfallon it wasn't
19:48 whytewolf if you want it that bad you don't come into a place and thump a drum. you submit a PR that doesn't break backwords compatability to add it
19:49 whytewolf if someone rejects that PR then you have reason to thump a drum until people get tired of it
19:50 danielfallon I'm literally working on it right now, I honestly was wondering how I add it without directly modifying salt source (because it wasn't clear that was necessary)
19:50 whytewolf i'm not talking about yourfileserver backend. I'm talking about modules/packages.
19:51 whytewolf and yes that will take modifieng the whole of salt.
19:51 danielfallon well I'm working on both, but fileserver is taking precedence because of operational needs at my company
19:53 danielfallon whytewolf: I promise you I'm not just trying to stomp around in a huff, I'm trying to evaluate what people think about my ideas and it seems like the answer is pretty hostile
19:53 whytewolf okay, for the fileserver. I'm not sure that you do need to work that much. it currently doens't have a mod system like the rest but it does have modularity. look in salt/fileserver/ for examples of fileserver backends.
19:53 whytewolf danielfallon: it might have been your approch. you started off pretty much calling anyone an idiot for it's current design
19:54 danielfallon whytewolf: yea, I'm looking at the gitfs.py right now (as a pattern) and I have my backend symlinked into the existing package
19:54 whytewolf that tends to bring out the wrong impression of your ideals
19:56 danielfallon I'm not sure what I said specifically that was insulting to anyone here in particular, but I'll do my best to avoid being curt with my descriptions in the future and maybe that will help?
19:56 nixjdm joined #salt
19:57 danielfallon ^more questions, less responding point by point to people's statements
19:58 whytewolf that would be helpful yes.
19:58 Xenophon1 joined #salt
19:58 danielfallon 👍
20:04 MTecknology I suppose if you only allowed the use of existing fileserver backends, you could allow any of those to be used to extend and look at other places for additional fileservers. That seems like reasonable logic.
20:08 danielfallon MTecknology: could you elaborate? I'm not sure I understood your proposal for how to extend fileservers
20:09 MTecknology I'm suggesting write the code in core that allows it to be extended.
20:09 whytewolf humm, looking at the code i don't see a lot that would prevent a new fileserver in the same directoy as the other fileservers from loading. as long as that fileserver.py had the same functions as the other fileserver modules it should work
20:09 MTecknology You /could/ potentially just include a config option that reads them also from another directory...
20:11 danielfallon here was my spitballed proposal from yesterday: https://github.com/saltstack/salt/issues/32253#issuecomment-302247805
20:11 danielfallon basically a fileserver module that is extensible, it loads other modules and uses them as a fileserver
20:11 danielfallon and a basic scaffold could even be used to load formulas
20:12 MTecknology what is SPM?
20:12 danielfallon SPM is their current package manager for salt, but basically none of the formulas in the salt-formulas repo implement that specification
20:12 MTecknology you want to use modules in fileservers?
20:13 whytewolf spm is something most don't actually use. basicly it is packaged formulas
20:13 MTecknology ah
20:13 danielfallon ^that
20:15 whytewolf i think one of the biggest pitfalls of the idea is that. the developers of a lot of these formulas are not python developers so don't have any experence with pip besides installing something
20:15 whytewolf so it might get as used as spm
20:15 danielfallon so create one extensible fileserver module, called modulefs for now, it's given a list of python modules to import and those are treated as fileserver backends, and prioritized in order.
20:16 MTecknology I don't see what that gives you over just tagging releases in a release branch on a git repo
20:16 MTecknology other than extra steps..
20:16 danielfallon gitfs doesn't seem to support submodules
20:16 whytewolf it does not.
20:16 MTecknology my eyes just got huge... I want to run away from this now.
20:17 amcorreia joined #salt
20:17 danielfallon lol which MTecknology
20:17 edrocks joined #salt
20:17 danielfallon and we internally will end up maintaining several formulas, because our infrastructure "has a very specific set of [needs]" (I work at a HFT company)
20:18 MTecknology This sounds like you're trying to engineer a horribly over-complicated solution and then force all of it into salt
20:19 whytewolf thats the moto of HFT companies MTecknology
20:19 danielfallon honestly I don't much disagree with you MTecknology, I've asked my boss about adding other configuration systems over top of it to create nice abstractions and he seems averse
20:19 MTecknology but... aren't those the kinda companies where you really want consistency and sanity?
20:19 danielfallon and whytewolf you aren't wrong
20:20 danielfallon MTecknology: you want speed above all else unfortunately
20:20 MTecknology I wasn't saying sacrifice speed, though
20:20 danielfallon and speed above all else means inconsistent kernel params, odd packaging formats and very specific deployments
20:21 whytewolf lots of RT patches that may or may not actually be doing anything. or could compleatly corrupt the system
20:21 MTecknology Couldn't you use pillar to tell it which versions of which modules it needs to pull from which branches in a git repo?
20:21 whytewolf as long as it gets the job done before it goes boom
20:22 MTecknology that just sounds horrible
20:22 danielfallon what kind of module are you referring to pulling from git MTecknology?
20:22 whytewolf i have heard horror stories. thought some of them got better though
20:22 danielfallon ^I'm on team lets try to make it better whytewolf
20:23 danielfallon ^it's a slow process
20:23 whytewolf it involoves banking. so yeah it is going to be slow
20:23 whytewolf i currently work in $bank
20:23 swa_work joined #salt
20:24 MTecknology I used to work for a place that did pen tests for local banks
20:24 danielfallon I mean for me it's slow because incremental progress and deadlines, luckily/unluckily our team is pretty small
20:24 MTecknology banks scare me now...
20:25 danielfallon I used to work for a place that made hospital EHR software, hospitals scare me now...
20:25 MTecknology heheh.....
20:25 MTecknology long-term healthcare is worse yet
20:26 Sketch EHR?
20:26 whytewolf I have worked for a newspaper, a casino gaming manufacture and now a bank. all three heavily regulated. i sometimes wonder if i am just a glutton for punishment
20:26 danielfallon Electronic Health Record
20:26 MTecknology I would like to murder PointClickCare
20:26 Sketch ah
20:26 MTecknology We called it EMR  (medical)
20:27 danielfallon ^they're similar and often confused things, the nuance isn't something that anyone needs to understand Sketch
20:27 MTecknology I just had to make sure the data stayed extra secure and encrypted in any place that it might go
20:28 swa_work joined #salt
20:29 danielfallon ^well and also they have to have the federally mandated cold storage backups required by homeland
20:29 MTecknology ah.. EHR is the chart?
20:29 aneeshusa joined #salt
20:30 debian112 joined #salt
20:31 MTecknology My healthcare experience is AL, HHC, HUD, SNF, etc., nothing in hospitals
20:31 danielfallon EMR's are clinical, EHR's have additional information (sometimes including information volunteered by the patient)
20:31 danielfallon although I've heard PHR (personal health record) for that last one too
20:32 danielfallon most of it is semantics/branding, and really not worth the trouble
20:32 MTecknology ah.. I've seen PHR
20:33 danielfallon well and then there's also PHI which is a federal term (protected health information) which is identifiable information about patients
20:33 danielfallon too many acronyms. I'm out of that business
20:36 Edgan danielfallon: The idea is slowly leaking out as personal identifiable information, things like email addresses, home addresses, cell phone numbers, and social security numbers.
20:37 Shirkdog joined #salt
20:37 Edgan danielfallon: I worked for a company that wanted to treat it with a higher level of security, but not quite to PCI or HIPPA standards.
20:37 danielfallon Yep, Edgan I've heard that one too, that's over in the financial sector as well
20:38 danielfallon although since I'm in prop trading we don't have any customers
20:38 Edgan danielfallon: that company was in the background check industry
20:38 onlyanegg joined #salt
20:39 * danielfallon is terrified of what Edgan knows
20:39 Edgan danielfallon: Plenty of skeletons, huh?
20:39 Edgan danielfallon: I currently work for a home wifi hardware company.
20:40 danielfallon did you just give me the "if you have nothing to hide, you've got nothing to fear" bit? lol
20:40 danielfallon and no skeletons luckily
20:41 Edgan danielfallon: haha, no
20:41 dlam is there a way to saay display all your salt states and see if they succeeded or failed?   i wanna see something like that output you get after highstate
20:42 Edgan dlam: It sounds like you want show all states, and show if they succeeded or failed on any minion lately.
20:42 whytewolf dlam: you can always look at the past jobs with the jobs runner
20:42 Edgan dlam: The closest thing I am aware of in the open source world is Foreman. It is a web dashboard that collects reports from minions, and gives you a status dashboard page.
20:43 Edgan dlam: It is less on a per state level, and more on a per minion level.
20:44 Edgan dlam: but it shows you all minions, so you could detect failures across all minions
20:46 raspado im using the nova driver for salt-cloud, is it possible to allocate ephemeral to a different device id?
20:47 raspado in aws, we can say /dev/xvd[b-f] for example
20:48 chadhs joined #salt
20:48 raspado under block_bevice_mappings
20:48 raspado oops block_device_mappings
20:51 whytewolf raspado: are you adding a second emphemeral drive? if so cloud-init is going to try to mount that. openstack doens't care what cloud-init does with it it just gives it to the instance
20:52 danielsh left #salt
20:52 raspado yeah trying to assign a second one
20:53 raspado seems like i cannot allocate the deviceid, it goes up incrementally
20:53 cyteen joined #salt
20:53 whytewolf openstack doesn't pass device id for empherail drives
20:53 whytewolf at all
20:53 raspado so if i say /dev/xvdc, on the system, the instance allocates it to /dev/xvdb
20:54 raspado unlike aws, correct?
20:54 raspado what if im trying to allocate a cinder volume
20:55 inad922 joined #salt
20:55 whytewolf cinder is compleatly different and you should be able to change the drive letter on it. IIRC
20:56 nixjdm joined #salt
20:56 whytewolf least i thought you could
20:57 raspado joined #salt
20:58 raspado oops sorry, dced
20:58 raspado whytewolf: didnt capture if you replied
20:58 raspado but basically, when spinning up ec2 instances it looks like we just give it a devicename: Ephemeral0
20:58 raspado and that somehow is enough to allocate ephemeral storage to the deviceid
20:59 chadhs joined #salt
20:59 whytewolf yeah. basicly nova only takes 2 things to create ephemeral space. the size and format
21:00 whytewolf cinder though does have a --device item that is supposed to controll how it attaches
21:00 whytewolf openstack server add volume 84c6e57d-a6b1-44b6-81eb-fcb36afd31b5 573e024d-5235-49ce-8332-be1576d323f8 --device /dev/vdb
21:00 whytewolf like such
21:01 raspado so we have a cinder volume on /dev/vdb but then if the flavor has ephemeral, it dynamically assigns ephemeral to /dev/vdb and crashes the host during a hard reboot
21:01 whytewolf not sure how reliable that is
21:01 raspado but the issue is that it seems like cinder (im sure its a limitation within openstack, but correct me if im wrong) we cannot skip deviceid letters
21:02 whytewolf cinder should be able to specify device.
21:03 whytewolf i don't know if you can in saltstack though
21:03 gmoro joined #salt
21:03 whytewolf i don't use the nova driver /or the openstack one.
21:03 whytewolf currently
21:04 whytewolf and i never try adding a second ephemeral disk.
21:06 manji joined #salt
21:10 SaucyElf joined #salt
21:12 rebbdohr joined #salt
21:15 onlyanegg joined #salt
21:15 rebbdohr joined #salt
21:16 sjorge joined #salt
21:24 danielfallon whytewolf: you've heard me talk about my problems of getting all of this infrastructure code in place, do you think I should treat that as more of a provisioning problem than a configuration management problem and use a separate tool?
21:24 asyncsec joined #salt
21:25 danielfallon think like using terraform or a separate salt cluster to provision my salt infrastructure and manage it, and the formulas in my salt infrastructure to configure and manage themselves?
21:26 whytewolf terraform might be a good choice for your needs. from what i understand of it. i havn't used it personally but have seen some good things come out of it.
21:27 whytewolf maybe even consol with teraform. and tie that all into salt
21:27 fujexo[m] joined #salt
21:29 whytewolf abstract away pain
21:29 gtmanfred i played with terraform on tuesday
21:29 gtmanfred it is super good
21:29 benjiale[m] joined #salt
21:29 danielfallon I've been thinking about consul too. My issue with terraform is that I would probably have to write custom providers to deal with baremetal provisioning (think like razor from puppet)
21:29 gtmanfred i would totally use it if I had a large cloud infrastrucutre i was needing to manage the provisioning of
21:29 Eugene I have heard lots of good things about terraform; never used it myself
21:30 gtmanfred danielfallon: oracle has got your back https://github.com/oracle/terraform-provider-baremetal
21:30 gtmanfred lol
21:30 XenophonF oracle has your back... for money
21:30 gtmanfred nah, it is on github
21:30 gtmanfred for now
21:30 whytewolf thats just the free taste
21:30 whytewolf they get you on repeat business
21:31 danielfallon I thought that was for their baremetal cloud provisioner
21:31 danielfallon liek they have a service
21:31 gtmanfred oh, maybe
21:31 danielfallon I'm talking about baremetal machines in the exchange's datacenter
21:31 danielfallon (high frequency trading is a real estate game)
21:31 gtmanfred hrm... like you have actually physical servers that need to be kicked on?
21:32 gtmanfred you wouldn't happen to be using HPE would you?
21:32 gtmanfred https://www.youtube.com/watch?v=L5c2iNxEwQc
21:32 danielfallon I'll have to check with the IT guys about HPE, I'm acutally not sure
21:32 gtmanfred if you are using hpe, salt can provision bare metal servers
21:33 gtmanfred through an hpe oneview proxy minion
21:33 gtmanfred that youtube video should have the demo i think
21:33 gtmanfred the oneview stuff is actually owned by suse now i think
21:33 gtmanfred actually, hpe is owned by suse
21:33 danielfallon cute, although based on my discussions earlier, I think it would still end up provisioning a separate salt cluster
21:33 gtmanfred you could do that
21:33 danielfallon just for abstraction and sanity
21:33 gtmanfred yeah
21:33 gtmanfred makes sense
21:34 gtmanfred i was trying to figure out a good solution for you for bare metal.
21:34 danielfallon seriously thx, I'll look into it
21:34 gtmanfred unless you throw something like openstack ironic on the hosts, then you are going to have to use something like the oneview + salt integration i think
21:34 danielfallon the other thing I've been lokoing at is razor: https://github.com/puppetlabs/razor-server
21:35 drawsmcgraw left #salt
21:35 gtmanfred someone was working on baremetal stuff in salt a while ago https://github.com/dkilcy/saltstack-base
21:35 gtmanfred i haven't heard about it in a while
21:35 gtmanfred lemme see what joseph was working on
21:35 danielfallon I hadn't heard of openstack ironic before
21:35 danielfallon I'll have to check it out
21:35 whytewolf salt-genesis IIRC is a dead project
21:36 gtmanfred yeah
21:36 whytewolf ironic is pretty interesting. basicly treat a baremetal machine as provisioned instances
21:36 gtmanfred ironic is pretty good, but it works best on opencompute hardware
21:37 whytewolf yeah
21:37 gtmanfred yeah, salt-genesis is dead https://github.com/saltstack/salt-genesis
21:37 gtmanfred not enough interest
21:37 gtmanfred whytewolf: you spend a lot of time on the salt-users mailing list
21:37 whytewolf i do?
21:37 whytewolf lol
21:37 gtmanfred well you spend some time on there
21:37 gtmanfred i see you respond every once in a while
21:37 gtmanfred what do you think if we started trying to push people to use stack overflow and the salt-stack tag?
21:37 * whytewolf shutters
21:38 whytewolf I'm not a fan of stack overflow
21:38 danielfallon so how does openstack  ironic work? (if anyone knows off the top of their heads) razor sets up an in-mem microkernel which is used to install another operating system image
21:38 danielfallon *it uses a PXE-boot image
21:38 gtmanfred very similar to that
21:38 gtmanfred whytewolf: ha, i just think it is better than following up with issues on mailing lists
21:38 hemebond joined #salt
21:39 whytewolf gtmanfred: it could be. and gives a better presentation. I just love my email though
21:39 danielfallon also not a huge fan of asking/answering on stack overflow, although I use it often for info (I'm a bad citizen)
21:39 whytewolf hard to let old habbits die
21:39 nethershaw joined #salt
21:40 gtmanfred i just think it gives a better way to monitor it, also code blocks in gmail is awful, and i hate html email
21:40 whytewolf my main problem is i have seen some bad answers get voted up
21:40 danielfallon ^I definitiely read "old hobbits die"
21:40 whytewolf they are taking the hobbits to isengard
21:40 * danielfallon is a hobbit
21:43 whytewolf gtmanfred: man i don't even remeber which of the email addresses my stack overflow account is on
21:43 gtmanfred if you have enough points, upvote my stuff so that I can help manage the tag http://stackoverflow.com/users/786635/gtmanfred
21:43 vlebo joined #salt
21:44 whytewolf lol. I have 1 point
21:44 whytewolf or i logged into the wrong account
21:44 whytewolf one of the two
21:46 whytewolf humm, the information looks correct. there must have been a reset at some point since the last time i used it.
21:46 whytewolf which would have been close to 10 years ago now
21:46 gtmanfred make sure all your points aren't over at stackexchange
21:46 gtmanfred that is what my problem was
21:48 whytewolf humm. I can't find any emails from stack exchange.
21:48 whytewolf and it doesn't like my normal login
21:49 major joined #salt
21:49 sjorge joined #salt
21:50 whytewolf humm. crap on a cracker i can't find anything from stack past 2016 which is well after i stopped using it
21:50 xet7_ joined #salt
21:50 whytewolf and ... well searching for stack in my email isn't going to turn up anything
21:51 whytewolf i use way to many products with stack in the name
21:53 shanth elk stack wamp stack lamp stack openstack stackwhackamacktackstack
21:55 nixjdm joined #salt
21:56 Praematura_ joined #salt
21:56 whytewolf huh interesting. i must have logged into the wrong account. i found my other account. i just need to find the login info for it
21:57 whytewolf apperently i stopped going there in 2013
22:00 xet7 joined #salt
22:02 whytewolf so, stackoverflow had a picture that didn't exist the last time i was there. so it must have come from gravatar. my gravatar has only a select few email addresses.
22:02 dlam in a 'pip.installed' state, is there a way to get the output in state.highstate to print out all it's progress?  like when you manuall 'pip install'?
22:03 dlam oh wait i think i meant to put that in #vagrant
22:03 gtmanfred ha
22:03 whytewolf ohhhh, interesting. it is using a google account login ... with the wrong google account
22:04 edrocks joined #salt
22:05 lorengordon gah, https://repo.saltstack.com/yum/redhat/salt-repo-latest-1.el6.noarch.rpm is no longer available?
22:05 lorengordon it's now salt-repo-latest-2.el6.noarch.rpm?
22:05 lorengordon what's the point of having a "latest" release rpm if it keeps changing?
22:06 xet7_ joined #salt
22:08 whytewolf you could ask epel the same thing.
22:09 whytewolf gtmanfred: not sure i have the rep to upvote you. and all my rep is in php [man that was a reallllly long time ago]
22:09 lorengordon epel has stopped changing the name of the "latest" rpm
22:10 lorengordon it's now always, https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
22:10 lorengordon for el6, and -7 for el7
22:13 gtmanfred i don';t know the reason, ask in saltstack/salt-pack
22:14 whytewolf oh great. stack overflow wants to help me get a job as a PHP developer
22:14 whytewolf there are reasons i left that crap behind
22:14 gtmanfred lol
22:15 lorengordon gtmanfred: +1, yes, will do. just ranting cuz my ci is now failing cuz it can't download the rpm
22:15 gtmanfred another reason that i just use pkgrepo.managed instead of the rpm :P
22:15 gtmanfred but yeah i get your point
22:16 lorengordon well i don't have salt installed at that point in my CI (travis)
22:16 gtmanfred lorengordon: i think we changed it because something changed in the repo file, so it makes sense to update the package, does epel really just overwrite the same repo rpm version?
22:17 lorengordon gtmanfred: yes, for that url, they just overwrite
22:17 gtmanfred i would rather just provide a short url, and not include the version, but /shrug
22:17 lorengordon they do also have static release rpm urls
22:18 gtmanfred epel.io/el6.rpm
22:18 shanth is there a reference for all the things that can be used instead of pillar.get? {{ salt['pillar.get']('foo:bar:baz', 'qux') }}
22:18 lorengordon long as the url doesn't change, either works for me :)
22:18 shanth i saw one before that was like config.get, but im looking for a list of these or what these are called
22:18 gtmanfred shanth: look up the pillar.get module
22:18 gtmanfred shanth: https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.pillar.html#salt.modules.pillar.get
22:19 shanth oh you know what, pillar.get is a module and config.get is amodule so i can use any module in the {{ salt['this is a module']
22:19 shanth or no?
22:19 gtmanfred salt['module.function']() or salt.module.function
22:20 shanth ah yes that's what i needed then
22:20 gtmanfred http://jinja.pocoo.org/docs/2.9/templates/#variables
22:22 Heartsbane joined #salt
22:22 Heartsbane joined #salt
22:23 aneeshusa joined #salt
22:23 Ashald joined #salt
22:28 dps joined #salt
22:30 xet7_ joined #salt
22:32 xet7_ joined #salt
22:42 puzzlingWeirdo joined #salt
22:43 censorshipwreck joined #salt
22:47 woodtablet left #salt
22:48 raspado joined #salt
22:51 patrek joined #salt
22:56 nixjdm joined #salt
22:57 nebuchadnezzar joined #salt
22:57 SalanderLives joined #salt
23:10 ssplatt joined #salt
23:12 onlyanegg joined #salt
23:14 jeddi joined #salt
23:23 jas02 joined #salt
23:38 thinkt4nk joined #salt
23:42 mavhq joined #salt
23:43 yomateod joined #salt
23:58 manji joined #salt

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