Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-12-22

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

All times shown according to UTC.

Time Nick Message
00:00 nicksloan joined #salt
00:02 martoss joined #salt
00:09 madboxs joined #salt
00:10 abednarik joined #salt
00:10 onlyanegg joined #salt
00:30 pfallenop joined #salt
00:31 wavded joined #salt
00:38 lempa joined #salt
00:39 filippos joined #salt
00:39 orianbsilva joined #salt
00:40 ekristen_ joined #salt
00:42 nebuchadnezzar joined #salt
00:42 hatifnatt1 joined #salt
00:42 TyrfingM1olnir joined #salt
00:43 pipps joined #salt
00:43 pmcg_ joined #salt
00:43 dunz0r_ joined #salt
00:44 theblazehen_ joined #salt
00:45 mariusv_ joined #salt
00:46 huleboer joined #salt
00:49 aw110f joined #salt
00:54 jesusaur joined #salt
00:54 woodtablet boo, i have to go home soon
00:54 woodtablet and i still cant get this ext_pillar to show up in my pillar items for a minino1
00:54 mikecmpbll joined #salt
00:55 uu joined #salt
00:56 dxiri joined #salt
00:56 nickabbey joined #salt
01:01 dxiri_ joined #salt
01:02 edrocks joined #salt
01:04 dxiri joined #salt
01:05 wavded joined #salt
01:07 kidneb joined #salt
01:07 writteno1 joined #salt
01:07 diagnostuck joined #salt
01:07 dragon788 joined #salt
01:07 cscf joined #salt
01:07 esharpmajor joined #salt
01:07 mattl joined #salt
01:07 Satyajit joined #salt
01:07 M-MadsRC joined #salt
01:07 ThomasJ joined #salt
01:07 doriftoshoes joined #salt
01:07 wavded joined #salt
01:12 dxiri joined #salt
01:14 Led_Zeppelin joined #salt
01:15 uu joined #salt
01:16 Led_Zeppelin trying to setup a simple state. Linux as my master and Windows as my minions. Can one give me an example?
01:16 wavded joined #salt
01:17 Edgan joined #salt
01:17 Edgan gtmanfred: latest version in topic is outdated
01:18 tom29739 joined #salt
01:20 Led_Zeppelin or can someone direct my to a very simple state file? I want to make sure my instllation is working
01:21 amontalban joined #salt
01:21 amontalban joined #salt
01:23 CeBe Led_Zeppelin: something like   salt '*' test.ping
01:24 UForgotten joined #salt
01:24 CeBe that should receive a "True" from all minions if all is fine
01:24 Led_Zeppelin thanks CeBe. that works :-p
01:24 stooj joined #salt
01:24 Led_Zeppelin let me give you a real scnerio then. How can I sync a file from Master to all minions?
01:24 ivanjaros joined #salt
01:25 CeBe Led_Zeppelin: for states, see https://docs.saltstack.com/en/latest/topics/tutorials/starting_states.html
01:25 DoomPatrol joined #salt
01:25 CeBe there is also an example about files in the first example
01:25 CeBe file.managed
01:26 Led_Zeppelin let me check
01:28 PatrolDoom joined #salt
01:29 madboxs joined #salt
01:29 Led_Zeppelin so, in my master I have file_roots:  base:  - /srv/salt
01:29 Led_Zeppelin i don't have /srv/salt as a filesystem on the linux box. However, I have srv/salt from root_dir . Is that OK?
01:29 Led_Zeppelin do I have to have a filesystem mounted as /srv/salt ?
01:30 CeBe Led_Zeppelin: you do not need a separate file system for /srv/salt, you just need to create that directory. Or use any other directory you like and configure that in the master config
01:31 Led_Zeppelin ok, so if I have /srv/salt can I have it relative to root_dir ?
01:32 CeBe I do not really understand what you mean with that
01:32 PatrolDoom joined #salt
01:32 DEger joined #salt
01:32 CeBe what is root_dir?
01:35 Led_Zeppelin root_dir is something I have in my master file
01:35 PatrolDoom joined #salt
01:35 Led_Zeppelin root_dir: /data/s
01:35 Led_Zeppelin so /srv/salt will be /data/s/salt
01:36 CeBe I see
01:36 CeBe yes, that should work
01:37 Led_Zeppelin phew ok.
01:38 DoomPatrol joined #salt
01:38 Led_Zeppelin lets say I have a file called "foo" and I want to sync that to all my minions. I am creating a srv/salt/top.sls which will have the following:  base:  '*': -webserver
01:38 Led_Zeppelin is that right?
01:38 Led_Zeppelin do I need a top.sls ?
01:40 DoomPatrol joined #salt
01:41 woodtablet left #salt
01:42 DEger joined #salt
01:44 madboxs joined #salt
01:45 Led_Zeppelin CeBe, any thoughts?
01:47 CeBe Led_Zeppelin: you do not need a top.sls, I am not using one in my setup. but that does not mean anything about whether it is useful for you or not
01:47 Led_Zeppelin heh ok
01:47 Led_Zeppelin let me remove it.
01:47 Led_Zeppelin I have read that i needed a top.sls
01:49 CeBe fine, lets have it. content looks okay
01:49 Led_Zeppelin k
01:49 CeBe now the webserver.sls should contain the state config about the file you want to sync
01:50 Led_Zeppelin so, now I do salt 'host' state.sls tmpversion
01:51 Led_Zeppelin i have a file called s/srv/tmpversion/init.sls which has /tmp/salt.config.version:  file.managed:  - source://tmp/salt.config.version
01:53 Led_Zeppelin i keep getting. Data failed to compile: ---- not matching sls found for 'tmpversion' in env 'base'
01:54 CeBe it could be that your top.sls restricts the visibility of states. I suggest to remove it for now
01:54 CeBe it is not needed if you apply the state like in the command above
01:55 Led_Zeppelin let me remove it
01:55 gb_ joined #salt
01:55 Led_Zeppelin removed.
01:55 Led_Zeppelin still the same
01:56 CeBe did you restart the master after changing the config file?
01:56 Led_Zeppelin no. let me do that
01:56 Led_Zeppelin restarted
01:56 Led_Zeppelin same error
01:56 Led_Zeppelin erm
01:56 Led_Zeppelin stuck for hours on this...not sure what else to check
01:57 CeBe what is the path you have in file_roots:  base: in the master config?
01:58 CeBe should be /data/s/salt from what I have understood
01:58 CeBe why is the name of the file s/srv/tmpversion/init.sls then? and not /data/s/salt/tmpversion/init.sls ?
01:59 Led_Zeppelin let me redo my setup
01:59 Led_Zeppelin now, i have everything in /tmp/s (thats is my root)
02:00 Led_Zeppelin "/tmp/s/srv/salt/tmpversion/init.sls" exists
02:00 CeBe why? it will be gone once you restart.
02:00 Led_Zeppelin its fine. i already made the change :p
02:00 CeBe *reboot
02:00 Led_Zeppelin want a more generic setup
02:00 Led_Zeppelin LOL
02:01 CeBe then why not use the default paths? that would remove a lot of confusion ;)
02:01 Led_Zeppelin i dont have root access
02:01 Led_Zeppelin i am using SS for application stack.
02:01 CeBe hm ok
02:02 Led_Zeppelin so, I restarted still the same error
02:02 CeBe what is your config path exactly?
02:03 Led_Zeppelin "/tmp/s" is where my salt stuff exists. /tmp/s/master is my confiugration file
02:03 CeBe file_roots:   base:     - /tmp/s/srv/salt
02:03 CeBe should be configured in the master file
02:04 CeBe on multiple lines, not sure if yaml understands it on one line
02:05 Led_Zeppelin ok. made that change
02:05 Led_Zeppelin wow!
02:05 Led_Zeppelin looks better!
02:05 Led_Zeppelin horray!
02:05 Led_Zeppelin ETF
02:05 Led_Zeppelin WTF
02:05 CeBe wtf?
02:05 Led_Zeppelin it was that simple?
02:06 CeBe yes
02:06 Led_Zeppelin I see all examples using relative path. Should be an example with absolute path
02:06 CeBe where have you seen relative paths?
02:07 Led_Zeppelin so, the minion in a windows host, so I need to change /tmp to c:\temp\foo
02:07 Led_Zeppelin all over the internet i seen relative paths
02:07 CeBe yeah, I was going to ask you where /tmp will end up on a windows system :)
02:07 CeBe Led_Zeppelin: check out the official docs ;)
02:08 CeBe I see no relative paths in https://docs.saltstack.com/en/latest/ref/configuration/master.html
02:08 Led_Zeppelin ok, so my tmpversion/init.sls should be
02:08 Led_Zeppelin c:\temp\salt.config.version:  file.managed:  -source: salt://tmp/salt.config.version ?
02:09 CeBe try it
02:10 Led_Zeppelin i love you man!
02:10 Led_Zeppelin it works!
02:12 Led_Zeppelin how can I do a dry-run? I am doing salt -c . 'host' state.sls tmpversion. I want to see if it needs to be updated or not.
02:12 XenophonF add the command line argument test=True
02:12 KevinAn27 joined #salt
02:13 XenophonF that will signal to the state.sls function that you want to do a test run
02:13 XenophonF it won't make any changes
02:13 XenophonF it should show you what would have changed
02:13 XenophonF or maybe only that something would change
02:13 XenophonF depends on the state function
02:14 XenophonF salt -c . 'host' state.sls tmpversion test=True
02:14 DoomPatrol joined #salt
02:14 Led_Zeppelin works like a champ!
02:14 Led_Zeppelin now, I am getting the hang of it.
02:18 Led_Zeppelin instead of using source: salt://tmp/file. is it possible to use an alternative source such as http server or something else?
02:19 CeBe Led_Zeppelin: if so, it is documented ;) https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.managed
02:21 Led_Zeppelin thanks man
02:21 Led_Zeppelin really appreciate your help. Literally took me the whole day in my lab to figure this out
02:21 XenophonF i have used s3 buckets, too
02:21 Led_Zeppelin XenophonF, cool.
02:22 Led_Zeppelin so, I am managing c:\temp\salt.config.version. now I want to mange another file. should I put it in the same salt/tmpversion/init.sls or create a new file for it?
02:23 XenophonF whichever is the easiest for you-six-months-from-now to understand
02:23 Led_Zeppelin fair enough
02:23 XenophonF i prefer to separate concerns
02:23 Led_Zeppelin yeah me too
02:24 XenophonF so e.g., if two files are for the same logical "thing", then i manage them in a single .sls file
02:24 Led_Zeppelin yeah. makes sense
02:24 Led_Zeppelin now, i have 4 hosts. I want to group them called "devhosts". How can I do that?
02:24 XenophonF i also try to avoid writing lots of file.managed states, thus i tend to use file.recurse a lot
02:24 XenophonF YMMV
02:25 Led_Zeppelin also, to find all minions I do salt-key -c . '*' -L
02:25 Led_Zeppelin is that the best way? or some other preffered way?
02:25 DoomPatrol joined #salt
02:25 XenophonF salt-key will list all minions registered with the master
02:26 Led_Zeppelin ok. so,  I think thats the best way
02:26 XenophonF there's also the test.ping function
02:26 XenophonF there's a runner function too, i think it's called minion.up or something? hang on let me RTFM
02:27 XenophonF manage.up
02:27 XenophonF https://docs.saltstack.com/en/latest/ref/runners/all/salt.runners.manage.html#salt.runners.manage.up
02:27 XenophonF as for grouping, there's a feature called nodegroups
02:27 XenophonF i don't use it but if you do a site search of docs.saltstack.com, you'll find it
02:27 Led_Zeppelin ok. i will look into that.
02:27 Led_Zeppelin do you use a GUI? like a webgui like halite or all CLI?
02:28 Led_Zeppelin (i am a cli person but sometimes its nice to see the GUI)
02:28 XenophonF i tend to group minions using Pillar keys
02:28 Led_Zeppelin interesting. Pillar keys
02:29 XenophonF e.g., i have a pillar key named "role", so if I want to ping all of my Shibboleth IdP servers, I'd do something like `salt -I role:identity-provider test.ping`
02:29 Led_Zeppelin XenophonF, do you have any windows in your env?
02:29 XenophonF yes
02:29 Led_Zeppelin ah..same here
02:29 XenophonF Windows, CentOS, Ubuntu, Debian, and FreeBSD
02:29 Led_Zeppelin have you figured out how to install salt other than c:\salt?
02:29 XenophonF no but that works for me
02:29 Led_Zeppelin ok
02:30 XenophonF i'm a try-to-always-use-the-defaults kind of guy
02:30 Led_Zeppelin do you use it to mange services? say you want to run a process, do you create a service and run it? or have salt manage it for you?
02:31 komputes joined #salt
02:32 XenophonF i use salt to install and manage services
02:32 Led_Zeppelin fair enough
02:33 Led_Zeppelin have a good night...you were very helpful
02:33 XenophonF sometimes it requires deploying my own systemd units or rc scripts
02:33 XenophonF e.g., https://github.com/irtnog/spigotmc-formula
02:34 XenophonF good night!
02:34 XenophonF sleep tight
02:34 XenophonF don't let the bedbugs bite!
02:34 XenophonF (as my dad would always say, much to my mother's annoyance)
02:47 dxiri joined #salt
02:55 catpigger joined #salt
02:55 DoomPatrol joined #salt
03:04 edrocks joined #salt
03:13 stooj joined #salt
03:16 swills joined #salt
03:19 stooj joined #salt
03:19 DEger joined #salt
03:27 gableroux joined #salt
03:29 wangofett joined #salt
03:29 prg3 joined #salt
03:33 mpanetta joined #salt
03:53 bastiand1 joined #salt
03:56 stooj joined #salt
04:06 edrocks joined #salt
04:11 DEger joined #salt
04:12 stooj joined #salt
04:12 DEger joined #salt
04:18 cyborg-one joined #salt
04:21 stooj joined #salt
04:27 dps joined #salt
04:28 jeddi joined #salt
04:32 rwaweber joined #salt
04:51 sh123124213 joined #salt
04:53 nickabbey joined #salt
04:56 sh123124213 joined #salt
05:02 fracklen joined #salt
05:04 stooj joined #salt
05:19 rdas joined #salt
05:26 onlyanegg joined #salt
05:33 preludedrew joined #salt
05:47 nickabbey joined #salt
05:52 jhujhiti_ joined #salt
05:54 onlyanegg joined #salt
05:56 stooj joined #salt
06:00 bocaneri joined #salt
06:17 stooj joined #salt
06:17 amontalban joined #salt
06:32 madboxs joined #salt
06:34 stooj joined #salt
06:36 gladia2r joined #salt
06:40 muxdaemon joined #salt
06:52 keimlink joined #salt
06:54 chowmeined joined #salt
06:58 sh123124213 joined #salt
07:04 sebastian-w joined #salt
07:09 edrocks joined #salt
07:13 fracklen joined #salt
07:24 stooj joined #salt
07:30 fracklen joined #salt
07:30 sh123124213 joined #salt
07:33 Miouge joined #salt
07:37 jhauser joined #salt
07:49 evle joined #salt
07:50 fracklen joined #salt
07:51 fracklen joined #salt
07:52 fracklen joined #salt
07:56 madboxs joined #salt
08:09 martoss joined #salt
08:09 martoss left #salt
08:17 DEger joined #salt
08:19 amontalban joined #salt
08:21 felskrone joined #salt
08:26 stooj joined #salt
08:31 nickabbey joined #salt
08:36 madboxs joined #salt
08:37 stooj joined #salt
08:38 JohnnyRun joined #salt
08:39 preludedrew joined #salt
08:46 samodid joined #salt
08:48 stooj joined #salt
08:51 madboxs joined #salt
08:56 hlub is it possible to write a reactor in python?
08:57 babilen_ Which part?
08:58 babilen But it should be
08:59 bfrog joined #salt
09:02 sh123124213 joined #salt
09:12 edrocks joined #salt
09:12 scarcry joined #salt
09:26 nickabbey joined #salt
09:36 N-Mi__ joined #salt
09:37 LostSoul joined #salt
09:47 Antiarc joined #salt
09:50 netcho joined #salt
09:50 abednarik joined #salt
09:58 N-Mi__ joined #salt
10:01 madboxs joined #salt
10:14 hlub babilen: I mean the reactor itself. is there other parts? :)
10:15 hlub maybe I should follow the general docs for python-rendered sls.
10:17 flyboy joined #salt
10:21 amontalban joined #salt
10:21 amontalban joined #salt
10:25 madboxs joined #salt
10:27 babilen hlub: There's the bit where you wire events to SLS files in the master config and the SLS files that define what is being done
10:28 oida joined #salt
10:36 madboxs joined #salt
10:41 theblazehen joined #salt
10:58 perun_ joined #salt
11:01 perun_ Hi. I need some help. I have to run three similiar commands but only if host listens on tcp port 8080. How can I check if it is listening, and wait for it if it isn't? (because tomcat needs some time to bring up)
11:01 amcorreia joined #salt
11:03 teclator joined #salt
11:04 sh123124213 joined #salt
11:07 fredvd joined #salt
11:09 ivanjaros joined #salt
11:10 mk-fg joined #salt
11:11 mk-fg joined #salt
11:11 oida joined #salt
11:12 hgf joined #salt
11:12 onmeac joined #salt
11:13 hgf hey! I'm using saltstack for a while now, but without using multiple environments
11:13 hgf but now It's starting to make sense to have it, because of multi-dc, multi-master, etc
11:13 hgf but the multiple environments is a confusing feature to me, and doc are not clear enough
11:13 hgf so I have a few questions
11:14 hgf can I have multiple environments for pillars as well? the docs only mentions states
11:17 hgf I also have the feeling that the multiple environment idea is mixing two different separations, one from the master perspective (env dirs) and another for the minion addressing
11:17 hgf would be nice to have a chat with other users here to understand how are you using this feature
11:21 flebel joined #salt
11:22 netcho joined #salt
11:22 mk-fg joined #salt
11:26 mikecmpbll joined #salt
11:44 teclator joined #salt
11:44 madboxs joined #salt
11:47 Miouge joined #salt
11:49 alexlist joined #salt
11:50 dps joined #salt
11:50 mavhq joined #salt
11:51 darioleidi joined #salt
11:52 Rumbles joined #salt
11:54 Rumbles hi, I recently created a new salt master, now the minion running on my salt master won't reconnect (all the other minions seem fine) when I run salt-minion in debug mode it's trying to connect to the old IP address the master ran on
11:54 Reverend did you restart salt minion?
11:54 Rumbles I moved the old disk to the new host
11:54 Rumbles yea
11:54 Rumbles I stopped it and started in debug mode
11:54 Reverend did you need to reconfigure the master line in /etc/salt/minion ?
11:54 Rumbles It was hashed out
11:55 Rumbles so I tried updating it with the full DNS name of the master
11:55 Rumbles still trying to connect ot the old IP
11:55 Rumbles but the hostname updated :/
11:55 dps_ joined #salt
11:56 Rumbles I just tried changing it back, but the hostname isn't changing :/
11:59 oida joined #salt
12:00 pmcg joined #salt
12:00 Rumbles this is the debug out: https://paste.fedoraproject.org/511021/14824080/
12:01 Rumbles The IP it mentions is the old one, but that's not defined anywhere  can find it :/
12:02 Rumbles ffs
12:02 Rumbles nmind
12:03 Rumbles someone put it in the hosts file
12:15 Reverend Rumbles: have you tried pinging that hostname jsut to see where it goes
12:15 Reverend oh
12:15 Reverend you got it
12:15 Reverend GG
12:15 Reverend whoever used that hostname needs PBL’ing. go do it.
12:15 * Reverend hands Rumbles a baseball bat.
12:16 Rumbles it was my boss, he denied it, but he's a terrible liar :)
12:16 Rumbles sorry for the bother!
12:16 Reverend oh it’s no problem
12:16 Reverend I’m not the one that fixed it ;)
12:16 Reverend GG. also - tell your boss he’s a noob.
12:17 tkharju joined #salt
12:18 Rumbles it's alright, I know how to crash his laptop from the login screen :D
12:19 Reverend do it
12:19 Reverend >:)
12:23 amontalban joined #salt
12:33 mavhq joined #salt
12:44 oida joined #salt
12:46 lasseknudsen2 joined #salt
12:49 bluenemo joined #salt
12:58 mavhq joined #salt
13:05 jacekplacek joined #salt
13:07 chowmein__ joined #salt
13:09 patrek joined #salt
13:09 mikecmpbll joined #salt
13:12 Tanta joined #salt
13:14 edrocks joined #salt
13:19 ajackson0369 joined #salt
13:29 omerzzz joined #salt
13:37 edrocks joined #salt
13:42 madboxs joined #salt
13:47 cyborg-one joined #salt
13:50 lasseknudsen joined #salt
13:52 jhujhiti joined #salt
14:03 madboxs joined #salt
14:08 amontalban joined #salt
14:13 numkem joined #salt
14:15 Rumbles joined #salt
14:16 amontalban joined #salt
14:16 amontalban joined #salt
14:24 madboxs joined #salt
14:31 _Cyclone_ joined #salt
14:38 riftman joined #salt
14:39 racooper joined #salt
14:41 nickabbey joined #salt
14:45 madboxs joined #salt
14:46 oida joined #salt
14:51 fracklen joined #salt
14:57 theblazehen joined #salt
14:58 austin_ joined #salt
14:58 sagerdearia joined #salt
14:58 austin_ is there a merging strategy for minion.d/*.conf ?
15:03 mavhq joined #salt
15:07 dxiri joined #salt
15:08 sarcasticadmin joined #salt
15:12 edrocks joined #salt
15:12 abednarik joined #salt
15:13 aarontc joined #salt
15:17 promorphus joined #salt
15:22 abednarik joined #salt
15:23 swills joined #salt
15:26 madboxs joined #salt
15:27 djgerm joined #salt
15:28 swills_ joined #salt
15:34 swills joined #salt
15:35 keimlink joined #salt
15:35 mavhq joined #salt
15:37 keimlink joined #salt
15:41 usher_ joined #salt
15:47 madboxs joined #salt
15:49 swills joined #salt
15:53 DammitJim joined #salt
15:58 Rumbles joined #salt
16:02 Andrew_Shay_ joined #salt
16:05 mavhq joined #salt
16:06 mpanetta joined #salt
16:08 madboxs joined #salt
16:16 JohnnyRun joined #salt
16:26 abednarik joined #salt
16:29 madboxs joined #salt
16:30 cmarzullo yes. it'll merge as normally.
16:31 tapoxi anyone using the slack engine?
16:31 tapoxi mine just started bugging out
16:32 tapoxi https://hastebin.com/selunususe.scala
16:32 fracklen joined #salt
16:32 tapoxi is there a way I can see why/how it's dying?
16:33 Tech01x joined #salt
16:34 Tech01x Hi all! I hope someone can help me with an apache formula question
16:35 Tech01x I would like to set up site files for both the non-ssl port 80 for redirect to the ssl port 443 site
16:35 Tech01x but the formula wants unique names under sites
16:35 Tech01x and uses the name as the servername
16:35 Tech01x both have the same server name, but one is for port 80 and the other is port 443
16:38 Tech01x Oh! just set ServerName explicity
16:38 ivanjaros joined #salt
16:42 samodid joined #salt
16:43 onlyanegg joined #salt
16:44 Reverend hey chaps - just looking into iptables to ban some assholes
16:45 Reverend for some reason it’s adding “-m comment --comment blerp”
16:45 Reverend why -m comment? :S
16:47 gableroux joined #salt
16:50 madboxs joined #salt
16:56 DEger joined #salt
16:57 Salander27 joined #salt
16:58 mavhq joined #salt
17:00 sh123124213 joined #salt
17:04 austin_ cmarzullo: i was looking more for _how_ its merged. what is normally? does it simply sort alphabetically and take the higher or lower key/value pair in the list of confs?
17:05 austin_ things like that
17:10 abednarik joined #salt
17:14 cmarzullo oh. like if you have the same key/value in a dict in multiple files? I avoid that. If the keys are unique you should be ok.
17:14 whitenoise joined #salt
17:15 cmarzullo But more specifically would probably have to look at the code.
17:16 johnkeates joined #salt
17:17 stewart joined #salt
17:17 promorphus joined #salt
17:17 Reverend any ideas how to ban an IP in firewalld?
17:17 Reverend :P
17:17 stewart Good afternoon everyone
17:17 Reverend in saltstack ofc
17:19 stewart wondered if anyone had any ideas on how to perform directory exists check that includes a variable pulled from pillar, here is the current version fails once a variable is used http://pastebin.com/3phXMsTN
17:20 Reverend what line? -_-
17:20 Reverend i cba to read all that shit
17:20 Reverend sorry
17:20 Reverend also - what’s the error
17:20 johnkeates what line; the line of coke on the mirror in front of you!
17:20 Reverend johnkeates: i wish
17:20 johnkeates ;-)
17:21 johnkeates Salt, Coke, what's the difference. CokeStack for the win?
17:21 Reverend stewart: also - I usually use “unless: test -e /this/file/or/folder”
17:21 Reverend dont know if that might fix it
17:22 stewart let me try, and see what happens
17:23 Reverend oh
17:23 Reverend wait
17:23 Reverend you mean this line here:     {% if not salt['file.directory_exists' ]('/opt/activemq/apache-activemq-5.13.1/{{site}}') %}
17:23 darkpixel left #salt
17:23 Reverend ?
17:23 Reverend it’
17:23 Reverend it’s because you’ve got it inside your quotes.
17:23 Reverend like I said, send me the error
17:24 stewart yes I do, there is no error it just treats the if statement as always false
17:24 Reverend oh okay.
17:24 Reverend try:     {% if not salt['file.directory_exists' ]('/opt/activemq/apache-activemq-5.13.1/'+{{ site }}) %}
17:24 usher_ JOIN
17:25 stewart I changed the {{site}} to the actual zone name it works fine, and the variable is being fetched fine
17:25 Reverend read my last message
17:30 Reverend stewart: did it work? O.o
17:32 keltim joined #salt
17:32 stewart Thank you Reverend the -e seems to work fine
17:32 Reverend oh
17:32 Reverend wait what
17:32 keltim how can I make salt assign a random password to a user account?
17:32 Reverend i thought it was your {% if %} that was failing?
17:33 Reverend if so - just append the {{ site }} onto the end (outside of your quotes) with a ‘+’
17:33 Reverend “like”+{{ this}}
17:33 Reverend “instead of {{ this }}”
17:34 Lionel_Debroux joined #salt
17:35 kshlm joined #salt
17:35 stewart The script was always running even when the directory existed, I added -e just doing some further testing but everything looks good
17:36 Reverend ah. okay - nice.
17:36 nidr0x joined #salt
17:38 stewart lol was banging my head against the desk all morning, I owe you one guess I start hanging out here to return the favour to someone since salt has been becoming a life saver
17:41 Reverend this channel is awesome for people.
17:41 Reverend generally helpful. except when it comes to firewalld!
17:41 Reverend ~_~
17:41 pipps joined #salt
17:42 Reverend keltim: why do you need a random password?
17:43 sh123124213 joined #salt
17:43 mikecmpbll joined #salt
17:44 woodtablet joined #salt
17:44 Reverend Comment: State 'firewalld.present' was not found in SLS 'nginx-sslterm'
17:44 Reverend whut
17:44 debian112 joined #salt
17:46 tiwula joined #salt
17:48 felskrone joined #salt
17:49 Edgan joined #salt
17:57 woodtablet pew pew, figured out a solution to my ext_pillar, stack, roles. instead of using the jinja, i have one big file
17:58 Edgan woodtablet: care to share the idea?
17:59 woodtablet Edgan: ya, this stack file:
17:59 woodtablet https://gist.github.com/gwaters-web/aeeb1e6f677f122e26ad75e1ffc9cd68
17:59 Trauma joined #salt
18:00 woodtablet Edgan: I am not sure why the jinja isnt work, everytime I looked at the pillar.items I never saw any of this jinja in it
18:01 woodtablet i mean, i never saw any of the role elements from that jinja for loop
18:08 woodtablet Reverend: do you have a formula for firewalld or something ? I came in late and missed part of your message
18:08 Reverend woodtablet: no - im just starting out... but the documentation is fucking garbage.
18:09 Reverend i’m doing what the docs say... but my master is telling me it’s not suitable for carbon -_-
18:09 Reverend sadface.
18:09 Reverend either I’m truly missing something blindingly obvious... or the documentation is missing.
18:10 armguy joined #salt
18:10 Edgan Reverend: What are you trying to do?
18:10 Reverend Edgan: add a block on an IP :/
18:11 Edgan Reverend: iptables via salt?
18:11 Edgan woodtablet: I do that by hostnames
18:11 Reverend Edgan: firewalld - im on centos7
18:11 Edgan Reverend: Which is really just a frontend for iptables, right?
18:12 woodtablet Reverend: different service
18:12 Reverend Edgan: not really. I mean, sure... it’s a firewall, but the way it’s configured is completely different.
18:12 woodtablet Reverend: and different default rule sets
18:12 Edgan Reverend: it translates into iptables
18:12 Edgan Reverend: Do you have a sample of what doesn't work for you?
18:13 woodtablet Reverend: I had to switch to the "iptables.service" and the iptables formula worked great
18:13 woodtablet Reverend: the iptables formula doesnt work with firewalld
18:13 Reverend woodtablet: hmm. okay. I like IPtbales... so might just do that.
18:14 Edgan Reverend: I have found reading the code to be useful in some cases. The documentation is how generated, and sometimes the code has additional information of how to actually configure it.
18:14 Reverend Edgan: let me just fix my load balancer that I just set on fire... and then I’ll let you know :)
18:14 woodtablet I agree with Edgan on reading the code on few occasions
18:14 woodtablet its very readable
18:17 Edgan woodtablet: for modules like iptables and firewalld, yes
18:17 Edgan woodtablet: For the core code, not nearly as much.
18:18 s_kunk joined #salt
18:21 woodtablet Edgan: exactly
18:21 Reverend any idea how to restart the service as the last step?
18:21 woodtablet @channel: Happy Holidays you guys ! you guys are great =D
18:21 Reverend i need to enable it as the first step
18:21 Reverend and then reload it right at the end :P
18:21 Reverend haha
18:21 hexa- to you as well
18:21 Reverend woodtablet: you too buddy :)
18:23 stewart Reverend would you have any other ideas noticed the -e was causing if condition to be true and -f was always false
18:23 Reverend f means it’s a file.
18:23 Reverend -e is anything
18:23 Reverend file, directory, etc.
18:24 Reverend you can use -d for directory if you want
18:24 edrocks joined #salt
18:26 woodtablet Reverend: i think if you do service.running and have it watch the file, the service shuold reload if the file changed
18:27 woodtablet Reverend: example: https://gist.github.com/gwaters-web/8eab8ce1f529b279c1224db919984547
18:27 _JZ_ joined #salt
18:27 Reverend i don’t know what file to watch though hahahahaha
18:27 Reverend omg
18:27 Reverend i need sleep
18:27 Reverend help me sleep woodtablet. hold me.
18:28 Edgan Reverend: here is a standard example of how I do services, https://paste.fedoraproject.org/511187/48243128/
18:28 woodtablet /etc/sysconfig/iptables
18:28 Reverend woodtablet: not for firewalld >_< it’s empteh
18:28 Reverend sec.. i’ll see if I can fine it
18:29 woodtablet Reverend: i thought you went to iptables ?
18:29 Reverend not yuet
18:29 woodtablet lol
18:29 Reverend im close to doing so though
18:29 Reverend :P
18:29 Reverend haha
18:30 woodtablet for firewalld, you would want to watch the service directory
18:30 woodtablet Reverend: but go get some sleep, this stuff will make you nuts if you are foggy
18:30 Reverend does it add them in if you do a -permanent then? if so... win
18:30 Reverend this is basically my last day of work... soooo need to finish D:
18:30 edrocks joined #salt
18:30 woodtablet lol
18:32 keimlink joined #salt
18:32 promorphus joined #salt
18:33 madboxs joined #salt
18:35 Reverend okay - it sucessfully added things.
18:38 keimlink joined #salt
18:47 Reverend Warnings: 'sources' is an invalid keyword argument for 'firewalld.present'.
18:47 Reverend that;’s the error Edgan...
18:47 Reverend even though it’s blatantly in the docs.
18:47 Reverend https://docs.saltstack.com/en/latest/ref/states/all/salt.states.firewalld.html
18:48 Rumbles joined #salt
18:48 madboxs joined #salt
18:49 Reverend okay fuck this shit im moving to iptables
18:50 Edgan Reverend: show me a sample of your code
18:51 Reverend I just deleted it all
18:51 Reverend sorry
18:51 Reverend i’m done
18:51 Reverend <3
18:51 cscf Reverend, git is a thing :)
18:51 Reverend I use it to commit working code :(
18:53 windowsrefund joined #salt
18:53 Praematura joined #salt
18:54 woodtablet oh nifty there is a firewalld state built in !
18:54 woodtablet i didnt know that, i ll have to look into that someday
18:55 woodtablet i bet he had -sources spaces over too much
18:57 Edgan Reverend: what version of salt?
18:57 Edgan Reverend: looking at the code it definitely has sources in firewalld.present in salt-2016.11.0
18:59 Reverend Edgan carbon :/
18:59 Reverend salt 2016.11.0 (Carbon)
19:00 Reverend I had something like:
19:01 Reverend - sources:
19:01 Reverend - 10.xxx.xxx.xxx
19:04 madboxs joined #salt
19:05 aarontc joined #salt
19:09 Edgan Reverend: I have previously found old rotted salt features. Firewalld is new enough I wouldn't expect it to be rot, but could just be bad code.
19:09 * Reverend shrugs
19:09 Reverend who knows. I really really appreciate the help though Edgan and woodtablet
19:09 Edgan Reverend: I have found problems in the cassandra and mongodb parts.
19:13 Reverend didya PR? :P
19:13 Edgan cassandra, not yet
19:14 windowsrefund joined #salt
19:14 johnkeates joined #salt
19:15 Edgan Mongodb I filed a bug, but closed it. I found a workaround. But then I hit the bug again. I should reopen it.
19:15 Reverend oh piss
19:15 Reverend Edgan - my colleague worked it out
19:16 Reverend we’re using a fuckign load balancer!!!!!!!!! real-ip is not the clkient IP
19:16 Reverend hahahahaha
19:16 Reverend WHAT A TWAT
19:16 * Reverend facepalms
19:16 Edgan Reverend: I facepalm so often around here.
19:16 Edgan Reverend: https://github.com/saltstack/salt/issues/created_by/edgan
19:19 fracklen joined #salt
19:19 Reverend I’ve litterally been doing this for like 4 hours
19:19 Reverend bye bye lifespan
19:19 fracklen joined #salt
19:20 madboxs joined #salt
19:20 Edgan Reverend: One long broken awesome feature was test.check_pillar. It finally got fixed. That one was biting me for months, even though we had a patched version. People would upgrade to latest, or install the unpatched version.
19:20 Reverend haha
19:22 windowsrefund joined #salt
19:29 Reverend you guys wouldn’t happen to know if you can append text onto a return in nginx would ya?
19:30 Reverend ooo. ya can
19:30 Reverend noice
19:32 abednarik joined #salt
19:32 promorphus joined #salt
19:32 fracklen joined #salt
19:35 madboxs joined #salt
19:37 cyborg-one joined #salt
19:39 Rumbles joined #salt
19:42 Straphka joined #salt
19:43 Straphka joined #salt
19:44 sh123124213 joined #salt
19:48 pipps joined #salt
19:52 wangofett does anyone know if pillar data gets refreshed if you run highstate on the minion, vs. from the master?
19:53 fracklen joined #salt
19:54 Edgan wangofett: should be equal, if you are triggering the highstate through mention and not salt-call local aka masterless.
19:55 whytewolf it should. in thoery. but to be sure i still do a pillar_refresh everytime i change pillars just in case
19:56 abednarik joined #salt
19:56 XenophonF wangofett: it's the same function being called in both instances (salt.modules.state.highstate() on the minion)
19:57 wangofett thanks
20:09 irctc735 joined #salt
20:11 derrick1234 All, I have a question. I am using the formula https://github.com/tcpcloud/salt-formula-jenkins and it is failing on a block
20:11 derrick1234 Rendering SLS 'base:jenkins.slave' failed: Jinja variable 'salt.pillar object' has no attribute 'linux'
20:11 derrick1234 Basically it is {%- if pillar.linux.system.user.jenkins is not defined %}
20:11 derrick1234 is that kind of statement depreciated?
20:13 Ahlee can you do is defined on a wildcard pillar?
20:13 Ahlee something like salt['pillar.get']('foo:bar:*', None is defined
20:14 derrick1234 I could, I am just surprised that the formula is broken
20:14 derrick1234 I'm assuming this used to work
20:14 whytewolf that is a pretty big assumption
20:16 derrick1234 when I write my own code, I always use pillar.get
20:17 derrick1234 I guess this probably never worked... answers my question I think
20:20 whytewolf well it would work if there was a pillar linux.system existed... but they don't test for those first
20:25 whytewolf I"m not a fan of calling pillars that way since i like to use dot inside of my pillars as function seperators
20:34 aidin joined #salt
20:38 promorphus hey, question folks, i was wondering if there was a way to have a reactor point to a state file in a certain environment? as in, when a minion triggers an event, if it's in the 'base' environment, it'll look at the base environments 'trigger.sls', but when the minion is in the develop environment, it'll trigger the develop environments trigger.sls?
20:38 madboxs joined #salt
20:52 abednarik joined #salt
20:54 madboxs joined #salt
20:56 ajackson0369 left #salt
21:07 promorphus joined #salt
21:07 edrocks joined #salt
21:10 madboxs joined #salt
21:14 woodtablet anyone use the tomcat formula ? i am trying to use the tomcat.config state, and it says "Cannot extend ID 'tomcat' in 'base:tomcat.config'. It is not part of the high state." But I know I have the tomcat formula included in my master's file_roots base
21:17 woodtablet i see tomcat/config.sls is there too
21:17 woodtablet this formula: https://github.com/saltstack-formulas/tomcat-formula
21:24 woodtablet doh, i am an idiot, i clobbered it, nevermind
21:25 woodtablet sometimes it just helps to talk to about it (even to myself lol)
21:25 madboxs joined #salt
21:28 edrocks joined #salt
21:33 dxiri_ joined #salt
21:37 sagerdearia joined #salt
21:40 johnkeates joined #salt
21:41 one joined #salt
21:41 madboxs joined #salt
21:41 promorphus Anyone at all able to help with the reactor / environment-specific question?
21:46 whytewolf promorphus: don't ask to ask just ask
21:46 johnkeates joined #salt
21:47 promorphus whytewolf: I did ask, sorry about that, just pinging to see if there was anyone who might be able to help. here's the original ask again:
21:47 promorphus hey, question folks, i was wondering if there was a way to have a reactor point to a state file in a certain environment? as in, when a minion triggers an event, if it's in the 'base' environment, it'll look at the base environments 'trigger.sls', but when the minion is in the develop environment, it'll trigger the develop environments trigger.sls?
21:49 whytewolf ahhh. humm. the reactor it's self only goes off of the event title. and the enviroment is not part of that info.
21:50 teclator joined #salt
21:52 whytewolf not sure of a way to determine what enviroment a system should be on as it isn't ever part of the data passed. you might be able to mine for it after the fact but that would have to be done in your trigger.sls
21:53 pipps joined #salt
21:57 madboxs joined #salt
22:03 Brew joined #salt
22:03 DoomPatrol joined #salt
22:03 djgerm Is there a way to see the Environment a minion is in? salt '*' gimme.environment
22:05 whytewolf i thought there was a grain set if you are in a different enviroment.
22:06 djgerm doesn't look like it.
22:07 DoomPatrol from the docs it seems pillars are used in that regard
22:07 * DoomPatrol re-reads templating again
22:08 whytewolf actually enviroments are kind of abstract. unless you configure it in the minion. using the enviroment setting.
22:11 whytewolf honestly, saltstack enviroments are ... to put it mildly a royal pain. there is no true seperation.
22:11 Trauma_ joined #salt
22:13 madboxs joined #salt
22:15 xbglowx_ joined #salt
22:15 hiyo joined #salt
22:15 hiyo hi
22:15 fracklen joined #salt
22:16 xbglowx_ Hi all. Does anyone know if it is possible to override 'gitfs_base' from the minion side?
22:16 Guest67990 ?
22:16 whytewolf gitfs_base???
22:16 xbglowx_ https://docs.saltstack.com/en/latest/ref/configuration/master.html#gitfs-base
22:17 whytewolf right ...
22:17 xbglowx_ I would like to be able to test changes on a minion by telling it to look at a different branch
22:17 whytewolf you do understand that the minion never talks to git with that setting right?
22:18 xbglowx_ That is what I am trying to figure out
22:18 xbglowx_ I was told that all the commands that are in the master config can now be used in the minion conf.
22:18 bekks joined #salt
22:18 bekks hi
22:18 whytewolf ... kind of
22:19 whytewolf the master still handleds the git communication. the minion doens't change that
22:19 xbglowx_ I tried using '--file-root' and '--pillar-root' with '--local' on the minion, and that kind of worked, except for secret pillar data that is not available on minions.
22:19 DEger joined #salt
22:20 whytewolf xbglowx_: ... that would be a masterless minion ... basicly you either get your files from the master... or you don't
22:20 whytewolf there is no inbetween
22:20 bekks Does someone mind to tell me a bit more about saltstack please? Today I learned that saltstack exists, and I'm curious about what can be done with saltstack in regards of administration of a hybrid environment using servers running OL/RHEL, Solaris 10/11, Windows and AIX.
22:20 martoss joined #salt
22:20 xbglowx_ whytewolf, yes, I was trying to setup masterless for a one-off when testing out changes on a minion
22:21 xbglowx_ whytewolf what do you recommend for testing out changes from a different git branch on a minion?
22:21 whytewolf then it wouldn't have the pillars from the master
22:21 xbglowx_ whytewolf correct, that is my current problem.
22:22 whytewolf i would recomend setting up a different master and minion ...
22:22 whytewolf you know like a different enviroment
22:22 DEger_ joined #salt
22:23 iggy bekks: I like to say saltstack is like a swiss army knife with a gun on it... you can do just about anything including shoot your toe off
22:23 bekks iggy: :D
22:23 woodtablet iggy: lol
22:23 whytewolf sounds about right
22:24 TyrfingMjolnir joined #salt
22:24 bekks iggy: From what I've read about it until now, it is a configuration management "tool" basically?
22:24 whytewolf i would have gone with it's like tinker toys with knives thrown in
22:24 xbglowx_ whytewolf gotcha, that is what I currently have, but was looking to do something that I used to do with puppet. With puppet I could tell a puppet slave to connect to any puppet master and test changes before pushing my changes.
22:25 iggy bekks: config managment, orchestration, cloud managment, etc
22:25 whytewolf xbglowx_: that might be the best use of how saltstack handled enviroments i have heard about ...
22:26 iggy but yeah, definitely in that same family of tools
22:26 woodtablet left #salt
22:26 bekks iggy: config management is quite clear to me, but what is orchestration and cloud management about, besides the marketing buzzwords?
22:26 whytewolf bekks the ability to spin up devices on the cloud directly. such as create entire setups and what not purly through manegment of salt
22:27 iggy well, for example, you could use salt-cloud instead of things like terraform
22:27 whytewolf also orchestration is the ability to communicate between hosts and config many different systems to work together
22:27 whytewolf such as building a cassandra cluster with 1 command
22:27 iggy and orchestration is just doing things on different systems in a certain order (i.e. you need your database server up/configured before your web server)
22:28 bekks Honestly, I have no clue what or who cassandra is :P Shame on me...
22:28 madboxs joined #salt
22:28 whytewolf it's a NoSQL database
22:28 iggy poor hon-estly... worst irc nick ever
22:29 whytewolf lol
22:29 bekks Maybe I'd describe an example environment we're deploying to customers and you mind to tell me how saltstack would be helpful on deploying and managing it?
22:31 iggy that's probably easier than people randomly throwing out bits of salt they use (and forgetting others)
22:31 bekks Ok, well, I'd probably need to use more than one line then :)
22:33 necronian joined #salt
22:34 xbglowx_ whytewolf thanks for you help. Looks like in order to get my expected behavior I will need to allow any minion to run in masterless mode.
22:36 jeddi joined #salt
22:36 bekks We're deploying one/two FC SAN storages, along with two/four SAN switches (which need to be zoned and configured for all following servers), a two-node VMware vSphere cluster running a few (<20 vms), a two-node Solaris 11 based Veritas Infoscale (formerly Symantec SFHA) running an Oracle 11g/12c failover database, a two-node Windows cluster running MSSQL, and a two-node Oracle Linux cluster running Infoscale/SFHA with an enterprise application and an ...
22:36 bekks ... Oracle 11g/12c failover database. Last but not least a Windows server and a tape library using Netbackup.
22:37 bekks Oh, two lines :P
22:38 bekks As you can see, deploying that environment needs quite a lot of work, besides the usage of a Windows Deployment server for installing the two Windows cluster nodes and the two linux boxes.
22:39 bekks Installing them, not installing the cluster stuff or configuring them.
22:39 onlyanegg joined #salt
22:41 Hazelesque_ joined #salt
22:42 stanchan joined #salt
22:43 iggy well, salt isn't going to install operating systems for you, but it can get you from basic OS to whatever state you need from there
22:43 johnkeates i have salt installing operating systems for me.
22:43 whytewolf non-cloud?
22:43 johnkeates PXE
22:43 whytewolf did you write your own pxe?
22:43 johnkeates yes
22:44 johnkeates no
22:44 madboxs joined #salt
22:44 iggy it's probably also not going to do great with some of the software you are targetting (at least the last time I tried it, the Oracle install really expect a human to be sitting in front of it answering questions, etc)
22:44 johnkeates salt spits out configs and preeseeds, only needs the MAC address of the bare metal system (or VM)
22:44 johnkeates oh, this is about oracle
22:44 johnkeates in that case: forget everything
22:44 johnkeates just hire people to push the buttons for you
22:45 bekks Scripting Oracle installs is already done :P
22:45 bekks Aint a big deal :D
22:45 johnkeates i'd script them to set themselves on fire.
22:45 iggy and you might want to talk to saltstack enterprise about some of the modules they have to talk to "enterprise" gear
22:45 bekks Which can be done if you have an Enterprise Fire license :P
22:45 johnkeates eek. SS Enterprise. nay.
22:51 telecode101 joined #salt
22:53 fracklen joined #salt
22:59 Trauma joined #salt
23:00 madboxs joined #salt
23:01 bekks So besides the installation part, I could use saltstack to configure system as I need them - when having the accordng modules, like "HP-ILO", or "Oracle ILOM", or just use existing CLI interfaces or APIs for configuring Brocade SAN switches, Infoscale, and stuff?
23:02 bekks For the configuration management part - do I need an agent or is saltstack agent-less?
23:04 Trauma_ joined #salt
23:04 bekks And for the configuration management part, please dont forget I am totally new to all this, and I'm just curious: why would I want to choose saltstack over other tools like chef, ansible or puppet, et al?
23:04 MeltedLux joined #salt
23:13 amontalban joined #salt
23:13 amontalban joined #salt
23:14 Trauma joined #salt
23:16 madboxs joined #salt
23:16 whytewolf personally for me i shoose salt over puppet and chef because I don't want to install ruby on my systems...
23:17 whytewolf as for ansiable. I'm not fond of ssh based configuration ...
23:17 johnkeates I chose salt over the rest as it wasn't eaten by the 'enterprise' label yet
23:17 johnkeates as soon as products get that label it starts going downhill...
23:18 whytewolf salt as had an enterprise label for at least the last 4 years
23:18 whytewolf :P
23:18 johnkeates yes
23:18 johnkeates but i started using it before then :p
23:18 johnkeates it was a breeze coming from puppet
23:18 johnkeates but if salt goes the puppet way, i might as well go sniff at chef
23:19 bekks Well, salt does not support Solaris 11 nor AIX, does it?
23:19 johnkeates if they have SSH and bash it does
23:19 whytewolf oracle doesn't really support solaris 11 all that much either :P
23:19 johnkeates stop using oracle, it makes my want to puke :p
23:20 whytewolf also I'm not sure but i think their used to be packages for aix
23:20 johnkeates it's not the money that's the problem, it's the bureaucracy and lack on ROI on anything that's enterprise-labeled
23:20 bekks Oracle uses Solaris 11 as one of its key OS. :P
23:21 mikecmpbll joined #salt
23:21 johnkeates Microsoft uses Windows as it's key OS, doesn't mean we have to use that either :P
23:22 whytewolf I have heard rumors that oracle is pretty done with solaris. and that they are killing it
23:22 bekks Thats the reason why they ported OpenStack to Solaris I guess :P
23:22 johnkeates whatever they do, i hope it blows up in their face. :p
23:23 whytewolf what hypervisor are they using for that port?
23:23 johnkeates VirtualBox ha.
23:23 bekks Oracle VM.
23:24 bekks Which isnt Virtualbox.
23:24 johnkeates I bet they also use Oracle English as their language and you have to have an specific set of licenses and CAL's to speak it.
23:25 stooj joined #salt
23:26 whytewolf humm final release of solaris will be 11.4
23:27 bekks Final release of Solaris 11.
23:27 bekks Solaris 12 is on the roadmap already,.
23:31 madboxs joined #salt
23:32 whytewolf I like i said rumors. the rumor is that Larry wants it canned because when they bought sun it lost value. and they are laying off 50% of the staff. and solaris 12 is canned. just rumors.
23:32 stooj joined #salt
23:32 whytewolf but the source is very dubious
23:33 whytewolf I'm not a fan of oracle. when they bought sun my job at the time got 10 times harder because of oracle messing with the support process
23:33 whytewolf what used to took 10 mins on the phone ended up taking two weeks of paper work
23:34 bekks I know that too - been there, did that. :P
23:36 whytewolf they also bought the compnay that was our secondary SAN. Pillar. that also turned into a paper work nightmare. which didn't help cause pilar was already a pain to work with
23:37 amontalb1n joined #salt
23:38 whytewolf honestly i loved working on solaris 9 and 10 [and even a little 8]
23:38 whytewolf but anyway back to your question. yes salt has at least in ght epast supported solaris and aix. they can be moving targets since they don't use traditional package managers
23:40 bekks At least Solaris 11 has something that can be called a package management.
23:41 whytewolf soalris 9 had an option for it. I don't remeber what it was called by it operated much like a modern package maneger.
23:41 whytewolf it was third party of coarse
23:42 bekks Yeah, and it was a dead end basically. Solaris 10 had pkgadd et al, which was replaced by pkg on Solaris 11.
23:43 whytewolf which is why config manegments have such a touch time working with solaris.... between version it is difficult to pin down what package manegment you are using
23:45 whytewolf with linux... you know if you are in ubuntu or a debian you are using apt-get... if you are on redhat or cent you are using yum.... doens't matter if you are on 4,5,6,7 14.04 16.06 or what not you know what the under lything package manegment is
23:47 bekks Yeah, and we're retiring all pre-11 solaris installs - so there is pkg.
23:47 madboxs joined #salt
23:47 stooj joined #salt
23:48 whytewolf looks like there is a solarisips __virtual__package
23:49 whytewolf huh... they also have one for pkgadd and pkgutil [thesolaris 9 third party tool]
23:49 whytewolf https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.pkg.html
23:50 bekks Oh, ok.
23:51 whytewolf some of the other tools might not work correctly so might take checking the issue list now and then. most of the design work is split between centos and ubuntu....
23:53 bekks Hmm.

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