Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-05-26

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

All times shown according to UTC.

Time Nick Message
00:03 woodtablet left #salt
00:09 zerocoolback joined #salt
00:22 zerocoolback joined #salt
00:25 brd joined #salt
00:25 brd joined #salt
00:27 Praematura_ joined #salt
00:34 raspado joined #salt
00:34 walker joined #salt
00:50 Rubin joined #salt
01:04 iggy it wouldn't hurt if there were an option for the eapi/gui without per node support
01:06 johnkeates joined #salt
01:27 puzzlingWeirdo joined #salt
01:38 brousch__ joined #salt
01:42 zerocoolback joined #salt
01:48 ilbot3 joined #salt
01:48 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.5 <+> Support: https://www.saltstack.com/support/ <+> 1st Salt Cloud Working Group meeting June 1st, 2017 https://goo.gl/o2OK49 <+> 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
02:00 Praematura_ joined #salt
02:05 edrocks joined #salt
02:12 fracklen joined #salt
02:50 prg3 joined #salt
02:58 citaret joined #salt
03:09 wych joined #salt
03:10 wych left #salt
03:10 wych joined #salt
03:18 citaret joined #salt
03:19 _JZ_ joined #salt
03:30 zerocoolback joined #salt
03:47 citaret joined #salt
03:49 SaucyElf joined #salt
04:06 SaucyElf joined #salt
04:06 edrocks joined #salt
04:12 Praematura joined #salt
04:15 Diaoul joined #salt
04:18 debian112 joined #salt
04:23 beardedeagle joined #salt
04:24 evle joined #salt
04:57 rmelero joined #salt
05:04 autofsckk im reading the manual and i see this config to run salt as non root, but it says that it wont improve security, does it worth the effort to make it run as
05:04 autofsckk another user?
05:04 Terminus joined #salt
05:04 capnhex joined #salt
05:11 sh123124213 joined #salt
05:13 _JZ_ joined #salt
05:19 beardedeagle is it a requirement?
05:19 sh123124213 joined #salt
05:19 beardedeagle or do you have people using it that aren't allowed to use root?
05:23 sh123124213 joined #salt
05:23 autofsckk well not really a requirement, im just always concerned about security
05:24 autofsckk i havent used salt, im reading and learning about it
05:27 inad922 joined #salt
05:29 Bock joined #salt
05:29 beardedeagle well you could make it run as a user...or restrict access to root?
05:35 sh123124213 joined #salt
05:37 sh123124213 joined #salt
05:42 sh123124213 joined #salt
05:50 Kanoxbox_ joined #salt
05:51 Kanoxbox_ joined #salt
05:53 do3meli joined #salt
05:53 Kanoxbox_ joined #salt
05:53 dxiri joined #salt
05:53 do3meli left #salt
05:54 Kanoxbox_ joined #salt
05:55 Kanoxbox_ joined #salt
05:57 Kanoxbox_ joined #salt
05:58 llua if you are concerned about security and the docs mention it not improving security, why attempt it?
05:58 Kanoxbox_ joined #salt
06:00 hemebond autofsckk: The idea is to have Salt manage the machine, just like an admin would. To do the things it usually needs to do, it requires top privileges.
06:00 hemebond Of course, if you're just doing some basic file changes then you could just run the minion as a different user.
06:02 whiteinge joined #salt
06:02 whiteinge joined #salt
06:05 zerocool_ joined #salt
06:06 impi joined #salt
06:10 golodhrim|work joined #salt
06:25 walker joined #salt
06:26 capnhex joined #salt
06:31 keldwud joined #salt
06:31 keldwud joined #salt
06:34 pfallenop joined #salt
06:36 jas02 joined #salt
06:40 Ricardo1000 joined #salt
06:45 hlub left #salt
06:48 jas02 joined #salt
06:50 Ankita joined #salt
06:52 yuhl joined #salt
06:53 pfallenop joined #salt
06:58 Ankita I'm creating new subnet in AWS and inside that I have to create a new ec2 instance. But the provider should know about the subnet-id which is created dynamically. Now I need this subnet ID for the provider but I don't have subnet ID with me as it's created dynamically. I see 2 solutions here, either subnet should be identified by name, which is apparetnly not possible, second option is if there is any way we can fetch the subnet-id at r
07:15 Neighbour Ankita: Would this help? https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.boto_vpc.html#salt.modules.boto_vpc.describe_subnets
07:15 LostSoul joined #salt
07:21 xet7 joined #salt
07:27 jas02 joined #salt
07:30 SubordinadaBimem joined #salt
07:30 taserface joined #salt
07:31 taserface HI
07:31 taserface i'm so dull
07:31 BIGBOSS joined #salt
07:31 BIGBOSS ho-ho
07:31 SubordinadaBimem ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▄▄██████▄
07:31 taserface has someone a little bit of salt?
07:31 SubordinadaBimem ▒▒▒▒▒▒▒▒▒▒▄▄████████████▄
07:31 SubordinadaBimem ▒▒▒▒▒▒▄▄██████████████████
07:31 SubordinadaBimem ▒▒▒▄████▀▀▀██▀██▌███▀▀▀████
07:31 SubordinadaBimem ▒▒▐▀████▌▀██▌▀▐█▌████▌█████▌
07:31 SubordinadaBimem ▒▒█▒▒▀██▀▀▐█▐█▌█▌▀▀██▌██████
07:31 SubordinadaBimem ▒▒█▒▒▒▒████████████████████▌
07:32 SubordinadaBimem ▒▒▒▌▒▒▒▒█████░░░░░░░██████▀
07:32 SubordinadaBimem ▒▒▒▀▄▓▓▓▒███░░░░░░█████▀▀
07:32 SubordinadaBimem ▒▒▒▒▀░▓▓▒▐█████████▀▀▒
07:32 taserface thanks
07:32 SubordinadaBimem ▒▒▒▒▒░░▒▒▐█████▀▀▒▒▒▒▒▒
07:32 SubordinadaBimem ▒▒░░░░░▀▀▀▀▀▀▒▒▒▒▒▒▒▒▒
07:32 SubordinadaBimem ▒▒▒░░░░░░░░▒▒
07:32 SubordinadaBimem ur welcome m8
07:32 BIGBOSS ds
07:32 BIGBOSS df
07:32 BIGBOSS ds
07:32 BIGBOSS f
07:32 BIGBOSS ds
07:32 taserface -i will never forget you saltman
07:32 BIGBOSS i am liarla
07:32 taserface picha
07:32 BIGBOSS ninoninonino batman
07:32 taserface and if you don't love me now
07:33 SubordinadaBimem you'll never love me again
07:33 taserface i can't still hearing you saying
07:33 BIGBOSS Gareth Bale
07:33 SubordinadaBimem that you'll never break the chain
07:33 BIGBOSS where are you
07:33 SubordinadaBimem dudududuuu
07:33 taserface in your ass
07:33 BIGBOSS you are connected
07:33 BIGBOSS i watch you
07:33 sh123124213 joined #salt
07:33 taserface i'm behind you
07:34 SubordinadaBimem hellooo
07:34 BIGBOSS BIGBOSS is watching you
07:34 taserface hi
07:34 SubordinadaBimem How, taserface¿¿
07:34 taserface boy
07:34 SubordinadaBimem thats creepy
07:34 BIGBOSS paste
07:34 taserface because my face is so ugly
07:34 SubordinadaBimem ah ok
07:34 BIGBOSS number 5
07:34 taserface and sometimes i have spasmes
07:34 BIGBOSS where are you
07:35 taserface in front of you
07:35 SubordinadaBimem swiming in the indian ocean
07:35 taserface me in the artic
07:35 BIGBOSS salta
07:35 BIGBOSS
07:35 SubordinadaBimem gr8 m8
07:35 BIGBOSS
07:35 taserface conmigo
07:35 BIGBOSS
07:35 BIGBOSS
07:35 BIGBOSS
07:35 BIGBOSS
07:35 taserface salta
07:35 SubordinadaBimem
07:35 BIGBOSS
07:35 BIGBOSS
07:35 BIGBOSS
07:35 taserface kick ban bigboss
07:35 BIGBOSS votekick
07:35 SubordinadaBimem +1
07:35 taserface voteckick
07:36 BIGBOSS !votekick taserface
07:36 LostSoul joined #salt
07:36 SubordinadaBimem (ง ͠° ͟ʖ ͡°)ง ᴛʜɪs ɪs ᴏᴜʀ ᴄʜᴀᴛ ᴍᴏᴅs (ง ͠° ͟ʖ ͡°)ง (ง •̀_•́)ง ʏᴇᴀʜ sᴘᴀᴍ ɪᴛ! (ง •̀_•́)ง
07:36 BIGBOSS we need 2 players for kick taserface
07:36 taserface please has someone a laxant i'm so constipated
07:36 SubordinadaBimem I have
07:36 SubordinadaBimem but i dont wanna giv eit to you
07:36 taserface please bring it to me
07:37 taserface no why?
07:37 taserface :(
07:37 SubordinadaBimem ill gove you a toucan instead
07:37 SubordinadaBimem
07:37 SubordinadaBimem ▄▄▄▀▀▀▄▄███▄
07:37 SubordinadaBimem ░░░░░▄▀▀░░░░░░░▐░▀██▌
07:37 SubordinadaBimem ░░░▄▀░░░░▄▄███░▌▀▀░▀█
07:37 SubordinadaBimem ░░▄█░░▄▀▀▒▒▒▒▒▄▐░░░░█▌
07:37 SubordinadaBimem ░▐█▀▄▀▄▄▄▄▀▀▀▀▌░░░░░▐█▄
07:37 SubordinadaBimem ░▌▄▄▀▀░░░░░░░░▌░░░░▄███████▄
07:37 taserface big boss in reality is little slave
07:37 SubordinadaBimem ░░░░░░░░░░░░░▐░░░░▐███████████▄
07:37 SubordinadaBimem ░░░░░le░░░░░░░▐░░░░▐█████████████▄
07:37 SubordinadaBimem ░░░░toucan░░░░░░▀▄░░░▐██████████████▄
07:37 SubordinadaBimem ░░░░░░has░░░░░░░░▀▄▄████████████████▄
07:37 SubordinadaBimem ░░░░░arrived░░░░░░░░░░░░█▀██████
07:37 SubordinadaBimem
07:37 BIGBOSS haha no
07:38 SubordinadaBimem ヽ`ヽ`、ヽヽ`ヽ`、ヽヽ`ヽ、ヽヽ`ヽ`、ヽヽ`ヽ`、`、ヽヽ`ヽ`、ヽヽ`ヽ`、ヽヽ`ヽ`、ヽヽ`ヽ`、ヽヽ`ヽ`、ヽヽ`ヽ`、ヽヽ༼ຈ ل͜ຈ༽ノ☂ ɪᴛs ʀᴀɪɴɪɴɢ sᴀʟᴛ! ヽ༼ຈل͜ຈ༽ノ☂ ヽ`ヽ`、ヽヽ`ヽ`、`ヽ`、ヽヽ
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:https://www.google.es/search?q=rick+astley&safe=strict&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&biw=1366&bih=654#imgrc=m6YEeETne7OhiM:https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB
07:38 taserface 78Q_AUICygC&biw=1366&bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 SubordinadaBimem sexy
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface yea
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:38 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:39 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:39 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:39 taserface v
07:39 BIGBOSS I go to play clash royale
07:39 taserface v
07:39 taserface v
07:39 taserface go
07:39 SubordinadaBimem Everybody,say hello to Shirkdog!!!
07:39 taserface bitcb
07:39 taserface hi shirkidog
07:39 taserface every dog say hello to gareth
07:39 taserface hi gareth
07:40 SubordinadaBimem hello gareth
07:40 Swant joined #salt
07:40 SubordinadaBimem Ehell swant :P
07:40 SubordinadaBimem Hello
07:40 taserface hi swant
07:40 Swant Hello
07:40 BIGBOSS hi
07:40 taserface have you a clinex for me?
07:40 BIGBOSS lol is a person
07:40 SubordinadaBimem Your real name is IKEA?
07:40 taserface this is my father
07:40 taserface https://www.google.es/search?q=rick+astley&amp;safe=strict&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjd5tPSho3UAhWCsxQKHQ9JB78Q_AUICygC&amp;biw=1366&amp;bih=654#imgrc=m6YEeETne7OhiM:
07:41 SubordinadaBimem Can you give me some meatballs please?
07:41 BIGBOSS (:
07:41 BIGBOSS no cucumbers
07:41 taserface yea i have two
07:41 BIGBOSS of ikea
07:41 taserface swant? are you scared about us?
07:41 BIGBOSS sadasdasd
07:41 BIGBOSS as
07:41 BIGBOSS d
07:41 BIGBOSS as
07:41 BIGBOSS d
07:41 BIGBOSS asd
07:41 BIGBOSS spam
07:41 candyman88 joined #salt
07:41 BIGBOSS adios compañeros
07:42 taserface swant? are you scared about us?
07:42 taserface swant? are you scared about us?
07:42 taserface swant? are you scared about us?
07:42 SubordinadaBimem I sexually Identify as an Attack Helicopter. Ever since I was a boy I dreamed of soaring over the oilfields dropping hot sticky loads on disgusting foreigners. People say to me that a person being a helicopter is Impossible and I'm fucking retarded but I don't care, I'm beautiful. I'm having a plastic surgeon install rotary blades, 30 mm cannons and AMG-114 Hellfire missiles on my body. From now on I want you guys to call me "Apache"
07:42 SubordinadaBimem and respect my right to kill from above and kill needlessly. If you can't accept me you're a heliphobe and need to check your vehicle privilege. Thank you for being so understanding.
07:42 taserface swant? are you scared about us?swant? are you scared about us?
07:42 taserface swant? are you scared about us?
07:42 taserface swant? are you scared about us?
07:42 taserface swant? are you scared about us?
07:42 taserface swant? are you scared about us?
07:42 taserface swant? are you scared about us?
07:42 taserface swant? are you scared about us?swant? are you scared about us?
07:42 taserface swant? are you scared about us?v
07:42 taserface swant? are you scared about us?v
07:42 taserface swant? are you scared about us?swant? are you scared about us?swant? are you scared about us?swant? are you scared about us?swant? are you scared about us?swant? are you scared about us?
07:42 taserface g
07:42 taserface g
07:42 SubordinadaBimem have a gr8 day m8s
07:46 GeGeN joined #salt
07:47 preludedrew joined #salt
07:47 aldevar joined #salt
07:55 Elsmorian joined #salt
07:58 LostSoul joined #salt
08:01 aldevar left #salt
08:06 cyborg-one joined #salt
08:06 oida_ joined #salt
08:07 darioleidi joined #salt
08:11 mikecmpbll joined #salt
08:14 Rumbles joined #salt
08:17 _KaszpiR_ joined #salt
08:17 censorshipwreck joined #salt
08:18 hemebond wtf happened while I was away?
08:27 mikecmpbll joined #salt
08:28 babilen hemebond: Some Spanish kids dropped in and were looking for a nice playground
08:28 babilen ENOOPSINEUROPE
08:28 hemebond >:-(
08:29 LostSoul joined #salt
08:36 dxtr That was interesting
08:38 pbandark joined #salt
08:41 Ricardo1000 joined #salt
08:55 rgrundstrom joined #salt
08:55 rgrundstrom Good morning.
09:04 fracklen joined #salt
09:08 rgrundstrom I am currently configureing salt to use with sevral diffrent OS versions. What I have setup so far meets my customers demands. Exept for 1 OS. Due to that its old i can only install version 2014.7.1 of salt. And my configurations dont work with that old version of salt. My question is how would you solve this problem?
09:09 rgrundstrom I could write code for that specifik OS or I could try and get a newer version of Salt to work. But none of thease seems like a good solution.
09:10 Neighbour rgrundstrom: And upgrading the old OS (or replacing) is not an option? Given that OS'es that old are probably no longer kept up to date anyway
09:10 Trauma joined #salt
09:11 edrocks joined #salt
09:20 Praematura joined #salt
09:30 sillywilly joined #salt
09:31 SaltyVagrant joined #salt
09:37 kedare joined #salt
09:45 sh123124213 joined #salt
09:49 inad922 joined #salt
10:21 cyteen joined #salt
10:23 o1e9 joined #salt
10:42 k3dare joined #salt
10:43 k3dare left #salt
11:01 teclator joined #salt
11:03 nku joined #salt
11:04 nku hi, i have inherited a setup with multiple syndics, and i need to sync the states files to all syndic hosts to be able to apply them, does that sound correct?
11:04 nku i wonder if we really need syndics anyway.. the network is segmented, but if port 22 is open it can't hurt to let salt speak to the hosts either, can it? we don't have anything to scale, it's a fixed, low number of hosts..
11:08 lorengordon joined #salt
11:12 rgrundstrom Neighbour: In time its going to be replaced. Curretnly about 90% of the server runs this old OS. My current task is to get Salt working and running thru out the hole server park and then look into upgrading the OS
11:13 rgrundstrom Neighbour: But i agree with you. Replacing the old OS system is prefered.
11:13 edrocks joined #salt
11:15 rgrundstrom Im dealing with about ~300 servers that have not had a administrator for 2-3 years
11:15 Arendtsen rgrundstrom: My condolences
11:16 nku ah well, it helps not to set a file_root on the syndic nodes... this entire install is a big mess anyway..
11:17 rgrundstrom Arendtsen: Thank you. But I like the challenge :p
11:17 Arendtsen rgrundstrom: I would think you got one. One kind of Linux or a mix?
11:18 rgrundstrom Arendtsen: Ubuntu 12, 14, 16, Centos 6, 7, Debian 6, 7
11:18 candyman88 joined #salt
11:19 rgrundstrom Arendtsen: Debian 6 is the one causing problems
11:19 Arendtsen rgrundstrom: I could imagine. Damn that's old. And if the stabile version... ouch
11:20 rgrundstrom Arendtsen: Basicly everytgin in the system needs updating in one way or another...
11:20 rgrundstrom Arendtsen: Sorry about the bad spelling....
11:20 Arendtsen rgrundstrom: Oh joy. Oh well... You wanted a challege :)
11:21 Arendtsen No worries. My spelling isn't really that good either
11:21 rgrundstrom Arendtsen: True.. I love a good challange... That is when you learn the most... If you dont learn something new every day, its not worth the effort.
11:26 withasmile joined #salt
11:29 Arendtsen rgrundstrom: I fully agree
11:29 jas02 joined #salt
11:35 James5mith joined #salt
11:52 Rumbles joined #salt
11:54 jas02 joined #salt
11:59 sh123124213 joined #salt
12:00 jas02 joined #salt
12:13 candyman88 joined #salt
12:16 desku joined #salt
12:20 it_dude joined #salt
12:31 Praematura joined #salt
12:33 Terminus joined #salt
12:34 evle joined #salt
12:43 it_dude joined #salt
12:46 thinkt4nk joined #salt
12:50 ssplatt joined #salt
12:52 impi joined #salt
12:53 sh123124213 joined #salt
12:54 edrocks joined #salt
12:58 dendazen joined #salt
12:58 edrocks joined #salt
13:05 kedare joined #salt
13:05 kedare Hi again :)
13:06 kedare Small question, is it a good idea to use Salt fileserver for large binary files (between 10MB and 50MB), or should I use something else ? (Basically just deploy the files in a specified location on the server, no template thing)
13:06 kedare Should I use file.managed for that or something else ?
13:06 capnhex left #salt
13:06 lorengordon joined #salt
13:07 setkeh can you not build the binary on the server ??
13:08 kedare No, in my case that would be precompiled applications
13:08 kedare (Golang)
13:08 fracklen joined #salt
13:09 kedare I can put them in a http server / bucket ideally and just grab them if the file doesn't exists
13:09 setkeh as in the binary is written in golang or your installing golang ??
13:10 kedare The binary is a compiled golang application
13:11 setkeh can you package it ?
13:11 kedare It's on Windows :)
13:12 kedare If not I would have made a rpm/deb package or eventually a docker image
13:12 setkeh chocolaty ??
13:13 kedare Hmm that's a lot to setup a repository just for that
13:13 kedare Eventually I may be able to do something with winrepo
13:13 kedare As I already have some applications using a custom winrepo
13:13 hemebond left #salt
13:13 kedare I need to check how to create a msi or other kind of setup
13:14 setkeh tbh i if you cant package it in a SANE way or build it i dont know i have not had to deal with that situation before XD
13:16 kedare I've checked a little bit how it's managed on a linux platform for one of the app we have to deploy (Consul agent), and they are using file.managed to download it with http
13:16 kedare https://github.com/saltstack-formulas/consul-formula/blob/master/consul/install.sls
13:21 banjo joined #salt
13:26 banjo can someone please let me know what AES key length is used in salt 128/192/256 for encryption?
13:27 thinkt4n_ joined #salt
13:34 Whissi joined #salt
13:35 sh123124213 joined #salt
13:35 poliva joined #salt
13:35 racooper joined #salt
13:37 DammitJim joined #salt
13:45 poliva Just wondering, does salt have official slack or hipchat team/channel? Or only irc?
13:45 XenophonF wouldn't slack/hipchat be redundant if there's already an irc channel?
13:46 * XenophonF starts grumbling about kids on his lawn
13:46 poliva :)
13:46 XenophonF banjo: iirc it's AES-256
13:47 poliva I am already on other slack/hipchat channel for other things. So just asking :)
13:47 XenophonF but you could glace through the transport-related code to be sure
13:47 XenophonF ;)
13:47 babilen poliva: IRC is where it is ... most people have IRC anyway
13:48 XenophonF kedare: i've got some experience repackaging things using MSI - PM me if you wanna chat
13:48 XenophonF not sure it's on topic for here
13:49 yuhl hello, i'v written a #!py sls. How could I run, and see the output. By output, I mean what the run function render ?
13:51 babilen It's the same as running states
13:51 babilen "normal" states that is
13:52 poliva Is Salt Package Manager a fairly new development in Salt world? https://docs.saltstack.com/en/latest/topics/spm/
13:53 poliva I recently switched to new position. My last company was more of a chef shop whereas at my new job they have a pretty mature salt infrastructure.
13:54 poliva Used to cookbooks in chef being each in own repo and versioned. Noticing at new position they maintain this giant monolithic repo with all their salt states.
13:55 XenophonF poliva: you can decompose states/pillars into separate repos if you want
13:56 banjo XenophonF: thanks!
13:56 XenophonF banjo: np
13:56 XenophonF poliva: you can further decompose things into separate (but loosely related) Salt masters too
13:57 XenophonF look for keywords like "master of masters" or syndic in the docs
13:57 XenophonF (I don't use that arch myself so I can't tell you more.)
13:58 poliva Ok thanks XenophonF, I will search the docs more.
13:58 XenophonF sorry I can't help you more
14:00 poliva Apparently Tom Hatch coming to our office in couple weeks for half day. I assume he might know ;)
14:01 amcorreia joined #salt
14:02 babilen poliva: It's a rather new project that hasn't seen much uptake, but should™ be embraced by the community a lot more than it is at the moment
14:02 babilen poliva: Take a look at https://github.com/saltstack-formulas/ for some recipes
14:03 wangofett hey, does anyone know who it was from SaltStack that went to PyCon?
14:03 Terminus joined #salt
14:03 numkem joined #salt
14:04 yuhl babilen: thanks, but how do you do it with normal states ?
14:06 schemanic joined #salt
14:06 schemanic Hello
14:07 schemanic ClamAV on my distro doesn't create a logfile, so I need to use salt to make one. What's the right salt module to use for that? file.managed/touch/exists?
14:07 babilen yuhl: What exactly are you after?
14:08 yuhl babilen: I'm trying to understand what is the *yaml* constructed for a state.
14:09 babilen yuhl: Didn't you just say that you have written a Python state?
14:09 yuhl State do use #!py or jinja. And when running the code, it returns a *yaml* state. I'd like to see this yaml.
14:10 yuhl Yes, actually it it a #!py one. The run() command returns a structure. And I'd like to be able to see it.
14:11 onlyanegg joined #salt
14:14 babilen yuhl: Look into state.show_sls / show_low_sls and other functions in there. That won't get you YAML though
14:16 thinkt4n_ joined #salt
14:16 babilen (unless you explicitly create YAML in the Python and render the SLS with #!py|yaml)
14:16 yuhl babilen: That is awesome !
14:16 yuhl I love it !
14:17 babilen Spread the love
14:17 babilen It's such a pleasant day today
14:26 schemanic how can I require a state? I'm not understanding what I'm seeing with require:\n  - pkg: <whatever>. I'm reading that to mean 'require that the package I've specified is installed' and what I want is 'require that the state I've specified has run successfully'
14:27 schemanic would I write that as 'require:\n  - state: <state_id>?
14:28 XenophonF pkg is the state
14:28 XenophonF hang on i'll show you an example
14:29 XenophonF https://github.com/irtnog/openssh-formula/blob/master/sshd/init.sls#L46
14:29 XenophonF that `pkg: sshd` requisite refers to line 35
14:29 XenophonF https://github.com/irtnog/openssh-formula/blob/master/sshd/init.sls#L35
14:35 PatrolDoom joined #salt
14:35 schemanic XenophonF, yes but what if my state is called 'my_specific_state', do I still call to it with - pkg: my_specific_state?
14:35 schemanic in all the examples I'm seeing the form of the states are written using the package names as identifiers
14:35 schemanic mine are not written that way
14:35 XenophonF neither are mine
14:36 _JZ_ joined #salt
14:36 Inveracity joined #salt
14:36 schemanic XenophonF, I see, 'sshd' is not a package
14:36 XenophonF correct
14:36 schemanic okay thank you
14:36 XenophonF sure!
14:37 schemanic its still somewhat confusing - I mean, what if what you want is 'I care that a package is installed' vs 'I care that a state has been run'?
14:37 XenophonF somewhere in the docs it explains that 'pkg.install' (or whatever) is, under the covers, actually 'pkg: [install, kwarg: val, ...]
14:37 XenophonF '
14:37 schemanic yeah but still thats a wierd way to write it
14:37 XenophonF "I care that a pkg.installed state has been run " == "I care that a package is installed"
14:38 schemanic like, even if what you have to do is write a STATE that calls pkg.install, you're still saying that you want that STATE to have been run
14:38 XenophonF yes
14:38 anotherZero joined #salt
14:38 schemanic yes so it should be require:\n  - state: <state_id>
14:38 XenophonF no
14:39 XenophonF there is no such thing as a generic "state" state
14:39 schemanic well say we no longer care about packages
14:39 XenophonF you want require:\n  - pkg: <state_id_that_has_a_pkg.installed_state>
14:39 schemanic say we want other states that don't install packages to have been done
14:39 XenophonF OK
14:39 XenophonF I have an example of that too!
14:39 XenophonF https://github.com/irtnog/openssh-formula/blob/master/sshd/init.sls#L52
14:40 schemanic what does 'watch' mean?
14:40 XenophonF that service state depends on both the pkg.installed and file.recurse states
14:41 XenophonF watch == require + a signal that the watched state changed, which other states like service.running use to do stuff (in this case, restart the service)
14:41 XenophonF here let me quote you chapter and verse
14:41 schemanic I still don't understand why it's called 'pkg' for requirement. You could totally have states that should come before other states that have nothing to do with packages
14:41 schemanic like if you're writing deploy code with saltstack
14:41 XenophonF https://docs.saltstack.com/en/latest/ref/states/requisites.html\
14:42 schemanic step_1_state:
14:42 schemanic blah blah blah
14:42 schemanic step_2_state: blah blah blah - require:\n  - state: step_1_state
14:42 XenophonF no
14:42 XenophonF that won't work
14:42 schemanic I KNOW it wont work
14:42 yuhl left #salt
14:43 XenophonF OK OK sorry :-D
14:43 schemanic I'm saying its semantically odd to not say 'state' instead of 'pkg'
14:43 XenophonF here's what the compiled data looks like
14:43 XenophonF https://docs.saltstack.com/en/latest/ref/states/compiler_ordering.html
14:43 XenophonF pkg is the state
14:43 XenophonF in my second example file is another state
14:43 schemanic I'm sorry I kindof transitioned out of 'please help me with a technical question' to 'I have opinions about what is odd' without saying so
14:43 XenophonF the requisite reference is to the combo of state module + state ID
14:44 XenophonF sorry i'm trying to find the docs
14:44 XenophonF the <state module>.<state function> syntax is a bit of syntactic sugar
14:44 schemanic It's okay. my rant is just that 'when I see 'pkg', I think 'package' which means 'yum install <a thing>'
14:45 XenophonF in reality, it looks like <state ID>:\n  <state module>:\n   - <state function>\n    - <function kwarg1>: <value 1>
14:46 XenophonF i'm doing a terrible job explaining this
14:47 XenophonF let me put this into a gist real quick - writing properly formatted yaml might help make this clearer
14:48 babilen Requisites are defined as a tuple of <state execution module name, state id or state name attribute>
14:48 babilen So "pkg: foo_bar" or "service: baz_barf"
14:48 XenophonF https://gist.github.com/xenophonf/5fbc28087b9240615f83c1192722915f
14:49 Circuitsoft joined #salt
14:49 XenophonF in that gist example1.sls is the old way of writing states, and it represents (partially) in YAML the in-memory data structure that comprises a state definition
14:50 XenophonF example2.sls is slightly more concise - i'm not sure when they introduced the updated syntax
14:50 XenophonF it was well before i started using salt
14:50 XenophonF OK second gist on its way, just a moment
14:53 XenophonF ok so refresh https://gist.github.com/xenophonf/5fbc28087b9240615f83c1192722915f, and you'll see example3.sls and example4.sls
14:53 schemanic I think I'm getting the picture.
14:53 XenophonF example3 has an error
14:54 XenophonF it won't work if you try to run it because even though it looks like you have two unique keys under install_packages, in reality, salt turns that into what example4.sls looks like
14:54 XenophonF which results something along the lines of a duplicate key error (I forget exactly what Salt throws in that situation)
14:55 numkem joined #salt
14:55 XenophonF this is one of those things i (personally) don't like with salt b/c it screws up POLA for people new to Salt
14:55 XenophonF I mean, you'd expect the requisite to look like 'pkg.installed: state_id' or something like that
14:56 schemanic mmm
14:56 cscf group.present fails, and the groupadd command says that it fails because the group already exists!  Sounds like a bug?
14:56 XenophonF but in reality, the 'installed' part (which is a reference to the installed() function in salt/states/pkg.py) isn't actually a part of the key name
14:56 cscf what's POLA?
14:56 schemanic Can you do multiple requirements for a state?
14:56 XenophonF Principle of Least Astonishment
14:57 cscf schemanic, yup, - require: takes a list
14:57 schemanic like required:\n  - pkg: thing_1\n  - pkg: thing_2?
14:57 cscf schemanic, yup
14:57 cscf except it's require, not required
14:57 jas02 joined #salt
14:58 XenophonF imagine https://github.com/irtnog/openssh-formula/blob/master/sshd/init.sls#L52, only replacing "watch" with "require"
14:58 schemanic thanks. I've learned that you cant call state modules twice in the same state so I wasnt sure if it was like that
14:58 cscf schemanic, no, require just changes ordering, you can do whatever you want so long as you don't loop or something
14:58 masuberu joined #salt
15:02 dfinn joined #salt
15:04 matt11 joined #salt
15:05 matt11 how do you guys test and debug your jinja templates?
15:07 candyman88 joined #salt
15:11 cscf matt11, I generally find that the render errors or simply the result is enough info to fix it
15:11 cscf matt11, you can file.manage it to a different place before clobbering the real file, or use file.cp
15:15 _JZ__ joined #salt
15:17 raspado joined #salt
15:21 hashwagon joined #salt
15:22 dxiri joined #salt
15:22 dxiri joined #salt
15:22 sarcasticadmin joined #salt
15:24 Heartsbane joined #salt
15:25 Trauma joined #salt
15:26 cscf command line: "groupadd: group 'www-logs' already exists" salt: The following group(s) are not present: www-logs
15:26 cscf doesn't happen on my salt-dev box.  Something to do with system groups maybe?
15:27 cscf I rebooted the minion and now it's there.  Does the salt-minion need to refresh it's env to see groups?
15:28 gtmanfred hrm, that is weird
15:29 _JZ_ joined #salt
15:31 eightyeight joined #salt
15:31 hashwagon joined #salt
15:32 promorphus joined #salt
15:33 _JZ__ joined #salt
15:34 MajObviousman in jinja, if I'm invoking an execution module with more than one argument, how do I encapsulate it?
15:34 cscf MajObviousman, isn't it just python syntax? func(a,b,c) ?
15:36 MajObviousman best practices doc uses the salt['pillar.get'] idiom instead of salt.pillar.get
15:36 MajObviousman so that's what I've been following
15:36 MajObviousman something like this I thin?  salt['file.search'](['/etc/elasticsearch/master-hosts', givenhost], False)
15:37 cscf MajObviousman, yes
15:38 _JZ_ joined #salt
15:46 gtmanfred you need to learn whitespace management
15:46 gtmanfred schemanic: http://jinja.pocoo.org/docs/2.9/templates/#whitespace-control
15:46 rmelero joined #salt
15:46 gtmanfred {{- thing|indent(2, 4) }}
15:47 gtmanfred http://jinja.pocoo.org/docs/2.9/templates/#indent
15:48 gtmanfred yar
15:50 gtmanfred no problem
15:50 fracklen joined #salt
15:50 whytewolf MajObviousman: salt['pillar.get'] vs salt.pillar.get isn't a best practice choice. it is a style choice. there is no difference between them.
15:51 whytewolf also, do i have people on ignore i am only seeing have of some conversations
15:54 whytewolf okay, so i have no one on ignore ...
15:56 onlyanegg joined #salt
15:56 XenophonF i found Jinja's whitespace management rules to be kind of hard to wrap my brain around
15:57 XenophonF it takes some experimentation to get exactly the desired result
15:57 SalanderLives joined #salt
15:58 XenophonF plus a little git push -f or git rebase to make the change history look prettier
15:59 XenophonF instead of fifty million "fix jinja whitespace" commits :O
15:59 gtmanfred Ryan_Lane: XenophonF MTecknology whytewolf babilen iggy Edgan, we are looking for someone with knowledge of puppet v. salt, and our sales team has a request from a big puppet shop to talk to a customer about advantages of moving to Salt and want to go deep into the technology.  Any of yall willing to help?  Or can think of someone who might be able to?
16:00 whytewolf I don't have puppet experence
16:00 XenophonF I don't either.
16:00 XenophonF I'd love to help, otherwise.
16:04 Ryan_Lane Did you point them at my blog post?
16:04 Ryan_Lane I guess for the most part it is ansible vs salt
16:04 Ryan_Lane But it's based on us moving away from puppet
16:08 sh123124213 joined #salt
16:10 gtmanfred yeah, they really want to talk to someone, so i am not sure a blog post will cover it.
16:17 gtmanfred Corey: ping
16:18 MTecknology ansible, to me, feels like you're just wedging scripts into automation so that you can ultimately end up doing things the same broken way you've always been doing them
16:19 MTecknology not relevant here, but still sharing my opinion
16:19 whytewolf chef feels the same way to me, only instead of building your scripts in bash your building them in ruby
16:22 MTecknology chef felt like everything had to be a horribly complicated formula
16:23 gtmanfred cookbook*
16:23 gtmanfred i am glad the devops community has gotten away from topic based naming
16:23 whytewolf yeah cookbook, salt has the corner on horribly complicated formulas
16:23 gtmanfred kitchen, knife, knifeblock, recipes,
16:24 gtmanfred what was the one that made me insane
16:24 gtmanfred oh yes, food critic
16:24 whytewolf honestly i hate search google for anything chef
16:24 XenophonF ruby :(
16:24 gtmanfred s/search google for anything//
16:25 gtmanfred i should really put my personal bootstrap into tests script into version control
16:25 whytewolf well I would have to actually use the product to know if i hate it. but since i can't find anything chef related with out running across a cooking website i gave up
16:26 MTecknology btw, I didn't typo on "formula"
16:26 MTecknology I felt like they were essentially synonymous, where the chef version was much less flexible
16:30 MTecknology I don't think I've touched puppet since salt 0.15.x
16:30 DammitJim I miss my puppet
16:33 sh123124213 joined #salt
16:34 Trauma joined #salt
16:35 whytewolf everytime i think of puppet i start thinking about a salt grain saying there are no strings on me.
16:35 whytewolf then i wake up from that post appocoliptic dream
16:35 cyborg-one joined #salt
16:36 whytewolf you know gtmanfred been thinking about the machine learning thing and i was saying it in jest yesterday but now that i think about it. it would be easy to impliment as an engine
16:37 gtmanfred yeah, i thought it was a pretty good idea
16:44 cscf whytewolf, a machine learning engine for salt? To do what?
16:45 gtmanfred so learn from when things break on minions
16:45 gtmanfred and how to fix them
16:45 gtmanfred use machine learning to get rid of on call rotation
16:46 nicksloan joined #salt
16:46 mavhq joined #salt
16:48 edrocks joined #salt
16:49 cscf goal: no more clients experiencing slow requests.  Solution: eliminate all humans
16:49 gtmanfred yup
16:49 gtmanfred next step skynet
16:53 _JZ_ joined #salt
16:53 lorengordon joined #salt
16:56 Rubin joined #salt
17:04 englishm_work joined #salt
17:07 sh123124213 I think this sums up my answer to puppet vs salt : https://www.upguard.com/articles/puppet-vs-salt
17:07 sh123124213 its all about requirements :)
17:09 sh123124213 also, to my knowledge, you cannot do pupplet -L server command
17:09 sh123124213 master is resource hungry
17:10 sh123124213 you always need some kind of cron or ssh to trigger puppet run remotely
17:11 sh123124213 positives, hiera is pretty cool with inheritance or default yaml and enryption
17:11 LostSoul joined #salt
17:11 gtmanfred or use salt to do it
17:11 gtmanfred that is what its original purpose was
17:12 whytewolf i do find it funny that salts original purpase was a puppet tool
17:12 cscf whytewolf, it was?
17:12 gtmanfred yes
17:13 whytewolf that is what i gathered from what gt just said
17:13 gtmanfred thatch originally created it to remotely kick off puppet to sync minions
17:13 gtmanfred effectively making the push highstate that we have in salt
17:18 nixjdm joined #salt
17:18 cscf 42 days uptime and nautilus doesn't launch.  I guess I should reboot, lol
17:20 Reverend babilen!!!!
17:21 Reverend any reason why the file that I'm creating in salt is saying to the service state that it's finished before it has?
17:21 Reverend or gtmanfred :D
17:21 Reverend or anyone
17:21 Reverend :)
17:22 whytewolf well with out knowing how it is being written i can not even fantom a guess.
17:23 Reverend me either babycakes
17:23 Reverend me either
17:25 Reverend imjust working ona  cheap hack
17:25 whytewolf Reverend: are you using file.managed? rsync? a cmd.run? cmd.script? an native amaerican with a blanket and a fire?
17:25 Reverend yeah, file.managed
17:25 Reverend whytewolf ^
17:26 Reverend then `- require:\n   - file: <statename>`
17:27 whytewolf humm, okay. that should defintly wait for the file to finsih being changed. unless we are talking about a file to large to transfer through salt. but that shouldn't fire off a require that should fail
17:27 zerocoolback joined #salt
17:28 cscf joined #salt
17:29 lorengordon joined #salt
17:31 Reverend 1.7M
17:31 Reverend :/
17:31 whytewolf that should be small enough
17:31 Reverend you want my states just to make sure I'm not losing my mind?
17:32 stanchan joined #salt
17:32 Reverend https://hastebin.com/tonafupego.js
17:32 Reverend I'd have thought that the order: last on it would mean it'll take it's time with the restart anyway
17:32 Reverend not do it instantly
17:34 Praematura joined #salt
17:34 whytewolf I would use a listen instead of a watch personlly. but that gets confusing sometimes as it creates another state that launches at the end
17:34 Reverend listen?
17:35 nicksloan joined #salt
17:35 whytewolf https://docs.saltstack.com/en/latest/ref/states/requisites.html#listen-listen-in
17:35 major o.O
17:37 alvinstarr joined #salt
17:37 lordcirth_work I should probably use that more
17:37 _KaszpiR_ joined #salt
17:39 mikecmpbll joined #salt
17:42 fracklen joined #salt
17:43 Reverend im out
17:43 Reverend i gotta go to a bbq
17:43 Reverend love you long time
17:43 Reverend thanks for the help whytewolf
17:43 whytewolf no problem
17:46 Reverend whytewolf - FYI it appears to have fixed it. You're a hero. I can now go to my bbq
17:46 Reverend <3
17:46 Reverend i owe you a beer.
17:47 shred joined #salt
17:48 gtmanfred come to salt conf
17:48 gtmanfred buy everyone a round
17:49 whytewolf has it been announced yet :P
17:49 lordcirth_work Maybe saltconf17 should exist http://saltconf.com/
17:55 gtmanfred not yet
17:56 gtmanfred as soon as we announce it, i will have it in the topic
17:57 gtmanfred https://saltstack.com
17:57 gtmanfred an orchestration and configuration management software
17:58 whytewolf ... um, did i miss something?
17:58 whytewolf is the room on +q?
17:58 gtmanfred oh yoiu might not be able to see him, we have been having problems with spammers
17:58 gtmanfred shred: ^^ you have to register with nickserv for everyone to see you talk
17:59 mikecmpbll joined #salt
17:59 gtmanfred shred: https://freenode.net/kb/answer/registration
17:59 gtmanfred whytewolf:they asked "what is salt"
17:59 whytewolf ahhh.
17:59 gtmanfred i can see them because +z is on the room
18:00 gtmanfred hrm, i should probably set up a bot to let them know they need to register
18:00 whytewolf yeah, tha tmight be helpful.
18:01 gtmanfred iggy: ^^ can you help us with that with your bot? check every user that joins, and if they aren't registered with nickserv let them know they need to?
18:02 SalanderLives joined #salt
18:15 Praematura_ joined #salt
18:22 nicksloan joined #salt
18:41 LondonAppDev_ joined #salt
18:48 justanotheruser joined #salt
18:57 kpiz joined #salt
19:01 kpiz joined #salt
19:02 Kanoxbox_ joined #salt
19:03 Kanoxbox_ joined #salt
19:04 edrocks joined #salt
19:05 Kanoxbox_ joined #salt
19:06 Kanoxbox_ joined #salt
19:08 Kanoxbox_ joined #salt
19:09 Kanoxbox_ joined #salt
19:11 Kanoxbox_ joined #salt
19:11 LostSoul joined #salt
19:11 SaucyElf joined #salt
19:12 Kanoxbox_ joined #salt
19:14 Kanoxbox_ joined #salt
19:16 Kanoxbox_ joined #salt
19:17 Kanoxbox_ joined #salt
19:19 Kanoxbox_ joined #salt
19:20 Kanoxbox_ joined #salt
19:20 rojem joined #salt
19:27 Splix76 joined #salt
19:28 Splix76 question on multi-environment states in top.sls. I understand the use case for a dev, qa, prd, as show in the docs. Is there an issue with using symlinks similar to sites-available / sites-enabled in apache?
19:28 Splix76 one dir for all states written, symlinked into each file_base for an environment.
19:28 Splix76 thus enabling them in dev, then qa, then prod does not require a copy of the state file.
19:29 sh123124213 looks like a use case for git submodules
19:30 sh123124213 but I have no idea if symlinks would work not. you can test easily
19:30 Splix76 I will review git submodules and compare to symlinks.
19:31 Splix76 symlinks are so simple and it's an easy way to track what's enabled from the state files while not duplicating storage of files in each file base.
19:31 LostSoul joined #salt
19:33 fracklen joined #salt
19:35 sh123124213 true, if you have large binary files symlinks might be the way to go
19:37 Splix76 None of them are large, just avoiding duplication is best practice in my mind.
19:37 Splix76 storage would not be an issue, but managing the repo could be complex if 4 version of all files exist in git then submodues or editing 4x is required, not worth the hassle if symlinks work.
19:38 sh123124213 maybe you can add the versions in pillars ?
19:41 whytewolf most people i know who are going into enviroments 'shudder' normally have left the filesystem behind. and are using gitfs to seperate out enviroments. makeing the "module editing" a little more then merging
19:44 Trauma joined #salt
19:44 Splix76 gitfs is interesting as a way to control the multi-environments.
19:45 Splix76 I thought of just using one environment and checking a role grain I set for package deployment, but that is less separated than the environment approach.
19:45 Splix76 a simple incorrect if can apply dev to prod in that setup.
19:45 Splix76 the split environment helps limit the risk of human error applying dev changes / code to prod systems.
19:46 Kanoxbox_ joined #salt
19:47 whytewolf enviroments in salt are not a true hard split which is my main problem with them. if a minion can see all enviroments then it WILL error if those two enviroments have files with the same id
19:47 Splix76 only if the targeting matches in both environments first correct?
19:47 Kanoxbox_ joined #salt
19:48 Splix76 I am using hostname standardization as a way to set roles and control targeting.
19:48 whytewolf that i don't know. generally if i break down into enviroments i actually split them up with a hard line at the master level. a master per enviroment
19:48 Splix76 dev-role-xx, qa-role-xx, prd-role-xx for example, with targeting using the dev-* and/or *-role-* for matches.
19:49 Splix76 This solution only works if hard naming standards are followed, and I still need to add some kind of location and project value for the naming standard which leads to complex system names.
19:49 Splix76 and long system names.
19:50 Splix76 proj-us-prd-nfs-12 for example is a long ass hostname, but works for the role assignment and targeting quite well.
19:52 whytewolf juspnfs012 <project uuid - 1 char> <location 2 char> <env identifier 1 char> <role 3 char> <stagnated number 3>
19:53 Splix76 with the dash spacing you can get mis-targeting of 3 char matching strings.
19:53 Splix76 the dash protects you from a project name and location matching a role target abbreviation for example.
19:53 Splix76 sorry, without the dash spacing**
19:53 whytewolf ? = 1 char matching ....
19:54 whytewolf masking is easy
19:55 LostSoul joined #salt
19:55 Splix76 I would till use j-us-p-nfs-12 in this case, to ensure the targeting of *-p-* never accidentally matches anything else.
19:55 whytewolf with masking it wouldn't
19:56 whytewolf ???p?????? will always be prod
19:56 Splix76 should be yes, with regex mash matching it does solve that provided I can get everyone to use it properly.
19:57 Splix76 which is just as much a dependency of the other options.
19:57 whytewolf launch anyone not following standards out of a cannon
19:58 whytewolf anyway, i have a meeting to attend
19:58 * whytewolf puts on his cannon helmet
19:58 sh123124213 @gtmanfred , wouldnt it be nice if you sent a command to a minion and its dead and after you start it will get the command and return. maybe there would be a timeout of how long a command can be in the queue
19:58 Splix76 The other change would be for the number to always be a 5 digit integer, and always be unique. So I can easily say system '00015' and nobody thinks I am talking nfs-12 instead of winfs-12, avoids confusion if numbers never repeat.
19:58 Splix76 good luck at the meeting (read storing the castle)
19:59 Splix76 arch... hands are cold. 'storming the castle', from princess bride Miracle Max.
20:39 lubyou joined #salt
20:49 edrocks joined #salt
20:49 XenophonF left #salt
20:49 aldevar joined #salt
20:50 onlyanegg joined #salt
21:08 onlyanegg joined #salt
21:19 mikecmpbll joined #salt
21:19 onlyanegg joined #salt
21:21 jas02 joined #salt
21:35 nicksloan joined #salt
21:38 N-Mi joined #salt
21:38 N-Mi joined #salt
21:39 sjorge joined #salt
21:44 aldevar joined #salt
21:54 nonprofit joined #salt
21:57 gtmanfred are you using redhat 6 and just upgraded from 2016.11.4 to 2016.11.5?
21:58 whytewolf that +z is going to cause me to think i am insane. or gtmanfred is
21:58 whytewolf :P
21:58 gtmanfred nonprofit: you need to identify on nickserv to talk to everyone
21:58 gtmanfred nonprofit: https://github.com/saltstack/salt/issues/41424
21:58 gtmanfred nonprofit: please add feedback there
22:00 whytewolf ohhh, another pycrypto vs pycryptodomex issue :/ so many things broke with that.
22:00 gtmanfred yeah, unfortunately
22:01 gtmanfred i haven't been able to replicate this exact bug yet though
22:01 gtmanfred nonprofit: if you remove python-pycryptodomex, does it solve the problem?
22:02 gtmanfred also, i am going to be removing +z, so you will need to register with nickserv to respond
22:02 gtmanfred nonprofit: https://freenode.net/kb/answer/registration
22:03 shred joined #salt
22:04 fracklen joined #salt
22:08 rav_ joined #salt
22:13 edrocks joined #salt
22:21 mattl left #salt
22:40 justanotheruser joined #salt
23:24 raspado joined #salt
23:24 Nahual joined #salt
23:42 jmiven joined #salt
23:45 dendazen joined #salt
23:55 niao joined #salt
23:56 onlyanegg joined #salt

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