Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-07-29

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

All times shown according to UTC.

Time Nick Message
00:01 Ni3mm4nd joined #salt
00:02 noraatepernos joined #salt
00:03 rpb joined #salt
00:32 sh123124213 joined #salt
00:36 squishypebble joined #salt
01:06 mbuf joined #salt
01:15 deep-book-gk_ joined #salt
01:16 deep-book-gk_ left #salt
01:26 nethershaw joined #salt
01:50 justanotheruser joined #salt
01:52 ilbot3 joined #salt
01:52 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.6, 2017.7.0 <+> Support: https://www.saltstack.com/support/ <+> 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 <+> The call for speakers for SaltConf17 is now open: http://tinyurl.com/SaltConf17
02:02 Ni3mm4nd joined #salt
02:24 teratoma joined #salt
02:25 deep-book-gk_ joined #salt
02:25 deep-book-gk_ left #salt
03:03 donmichelangelo joined #salt
03:10 noobiedubie joined #salt
03:16 mbuf joined #salt
03:38 deep-book-gk_ joined #salt
03:42 deep-book-gk_ left #salt
03:46 jimklo_ joined #salt
04:03 pdayton joined #salt
04:04 Ni3mm4nd joined #salt
04:40 pdayton joined #salt
05:03 inad922 joined #salt
05:06 Ni3mm4nd joined #salt
05:13 Bock joined #salt
05:50 Ni3mm4nd joined #salt
05:53 tobstone joined #salt
06:06 fritz09 joined #salt
06:32 fritz09 joined #salt
07:16 cyborg-one joined #salt
07:30 Inveracity joined #salt
07:38 donmichelangelo joined #salt
07:48 justan0theruser joined #salt
07:51 high_fiver joined #salt
07:55 Guest73 joined #salt
08:00 justanotheruser joined #salt
08:04 joe_n joined #salt
08:12 joe_n joined #salt
08:15 rpb joined #salt
08:51 ProT-0-TypE joined #salt
09:12 joe_n joined #salt
09:19 joe__n joined #salt
09:21 cyteen joined #salt
09:36 yidhra joined #salt
09:45 seffyroff joined #salt
09:46 NightMonkey joined #salt
10:35 yidhra joined #salt
10:53 gmoro joined #salt
11:10 Hybrid joined #salt
11:14 Whissi joined #salt
11:15 AlexLau joined #salt
11:19 Whissi joined #salt
11:27 Hybrid joined #salt
11:36 rpb joined #salt
11:38 yidhra joined #salt
11:40 jeddi joined #salt
12:08 aldevar joined #salt
12:25 aldevar left #salt
12:50 davidtio_ left #salt
12:50 DeuX joined #salt
12:58 ssplatt joined #salt
13:16 debian112 joined #salt
13:23 xet7 joined #salt
13:31 debian1121 joined #salt
13:39 debian112 joined #salt
13:41 squishypebble joined #salt
13:50 ujjain joined #salt
13:50 ujjain joined #salt
14:00 ujjain joined #salt
14:00 ujjain joined #salt
14:10 aldevar joined #salt
14:21 Hybrid joined #salt
14:29 tacoboy joined #salt
14:32 infrmnt joined #salt
14:33 ujjain joined #salt
14:33 ujjain joined #salt
14:34 high_fiver joined #salt
15:05 Hybrid joined #salt
15:12 impi joined #salt
15:18 _JZ_ joined #salt
15:56 high_fiver joined #salt
16:07 swa_work joined #salt
16:07 Rumbles joined #salt
16:11 Hybrid joined #salt
16:23 swa_work joined #salt
16:35 cyborg-one joined #salt
16:36 Rumbles joined #salt
17:18 pdayton joined #salt
17:29 kiltzman joined #salt
17:39 Lionel_Debroux joined #salt
17:42 EvaSDK joined #salt
17:48 high_fiver joined #salt
17:53 svij3 joined #salt
18:05 Guest73 joined #salt
18:22 armguy joined #salt
18:22 Nazca joined #salt
18:28 Guest73 joined #salt
18:41 mavhq joined #salt
18:42 ecdhe joined #salt
18:53 cyborg-one joined #salt
18:55 dnull joined #salt
18:57 dnull joined #salt
18:57 debian112 joined #salt
19:02 high_fiver joined #salt
19:03 debian1121 joined #salt
19:05 Guest73 joined #salt
19:08 Hybrid joined #salt
19:12 aphor joined #salt
19:13 justan0theruser joined #salt
19:17 justanotheruser joined #salt
19:18 Guest73 joined #salt
19:26 debian112 joined #salt
19:27 Hybrid joined #salt
19:31 fatal_exception joined #salt
19:39 J0hnSteel joined #salt
19:43 oida joined #salt
19:46 c4t3l joined #salt
19:48 c4t3l joined #salt
19:49 cedwards joined #salt
19:50 NeoXiD joined #salt
19:50 c4t3l hello all. I'm trying to determine the best way to manage packages with salt (OS packages not SPM).  One school of thought says to put the package lists in pillar and reference that way, another says place them in state files.  Does anyone here have any other suggestions?
19:51 c4t3l the OS in question is centos
19:52 viq for me most of packages are related to an applied state, therefore that's where I put them
19:53 cedwards Is there any difference in dependencies to salt-ssh vs salt?
19:54 viq On the managed host? I believe for normal salt minion you need a bunch of crypto, zmq, etc, whereas for salt ssh I think it's just python and maybe a couple more libraries
19:55 c4t3l viq: ok, so if you had for example an nginx state, you'd reference the package there rather than one generic "packages" state?
19:56 viq c4t3l: you want to install nginx on machines that are to run nginx and therefore have nginx state applied, not on all of your machines.
19:56 viq Mind you, there may very well be a list of packages you do want installed on all your hosts. But again I would probably put that in a "baseline" state, that's applied to all hosts.
19:57 c4t3l correct.  we are targetting machines based on pillar (using a role)
19:57 c4t3l we also have a global package state that is applied to hosts regardless of role
19:57 viq c4t3l: keep in mind you can't reference pillars in pillars
19:58 viq So you can't have a pillar that says "if that pillar has value X then do Y"
19:58 c4t3l sounds like the best place for these package lists is in the state then.
19:58 viq That's what I'm doing.
20:00 c4t3l I'd like to avoid a lot of if-then statements in these states.  I'm in a big refactor phase now... going over older formulas that were written very specifically with tons of jinja conditional logic in them
20:01 viq What kind of if statements?
20:03 c4t3l {% if host in ['blah', 'blah2', 'blah3'] %} {% set pkg = 'nginx' %} {% elif other things... %} {% endif %}
20:04 viq I'd say write varying states, and assign them based on $things. Also there's "extend", though personally I haven't used that statement yet
20:04 c4t3l I'm way over simplifying here, there are some of the lists that have 30 or more hosts in them
20:05 c4t3l most of what I've done before is just code formulas based upon system role and everything is isolated that way
20:05 viq mhmm
20:05 viq ok, time for me to get going
20:06 c4t3l but the environment I'm in now has many more complciated cluster setups than just plain old weblogic and oracle db
20:06 c4t3l have a good one!
20:06 c4t3l thanks for the chat
20:10 Hybrid joined #salt
20:23 justan0theruser joined #salt
20:26 maanist joined #salt
20:33 Hybrid joined #salt
20:37 noraatepernos joined #salt
20:59 Hybrid1 joined #salt
21:04 maanist joined #salt
21:12 seffyroff joined #salt
21:15 nledez joined #salt
21:24 babilen joined #salt
21:26 pdayton joined #salt
21:28 maanist joined #salt
21:36 TomJepp joined #salt
21:38 TomJepp joined #salt
21:42 justanotheruser joined #salt
21:43 justanotheruser joined #salt
21:45 pdayton joined #salt
22:00 svij3 joined #salt
22:02 Ni3mm4nd joined #salt
22:04 maanist joined #salt
22:07 Ni3mm4nd joined #salt
22:07 tapoxi_ joined #salt
22:09 pdayton joined #salt
22:28 maanist joined #salt
22:32 c4t3l joined #salt
22:37 rpb joined #salt
22:38 pcgod joined #salt
22:39 noraatepernos joined #salt
22:43 tobstone joined #salt
23:06 Rumbles joined #salt
23:07 Ni3mm4nd joined #salt
23:16 Guest73 joined #salt
23:24 deep-book-gk_ joined #salt
23:25 deep-book-gk_ left #salt
23:58 noraatepernos joined #salt

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