Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2018-01-15

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

All times shown according to UTC.

Time Nick Message
00:00 saltslackbridge joined #salt
00:03 taylorbyte left #salt
00:15 saltslackbridge <gtmanfred> You can put cloud providers and profiles on pillar data for the cloud modules and states, but not for the salt-cloud command or the runner
00:15 saltslackbridge <gtmanfred> https://docs.saltstack.com/en/latest/topics/cloud/config.html#pillar-configuration
00:57 hammer065 joined #salt
01:16 MTecknology I wonder if my first challenge should be getting map data read from pillar.
01:26 * MTecknology is scared of digging into this one. It's going to be unpleasant. :(
01:32 pipps joined #salt
01:34 Kax joined #salt
01:38 pipps joined #salt
01:42 pipps99 joined #salt
02:17 nomeeed joined #salt
02:30 armyriad joined #salt
02:34 armyriad joined #salt
02:57 ilbot3 joined #salt
02:57 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.8, 2017.7.2 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic, and https://saltstackcommunity.herokuapp.com (for slack) <+> We are volunteers and may not have immediate answers
03:14 pipps joined #salt
03:17 shiranaihito joined #salt
03:34 stduolc joined #salt
03:37 tiwula joined #salt
03:48 JPT joined #salt
03:51 aerbax joined #salt
04:02 Vaelatern joined #salt
04:04 lompik joined #salt
04:04 Vaelatern So if I have a salt master that uses a local (on-disk) git-repo as files and pillar source (for easy pushing from my laptop), is it reasonable for me to have a `salt '*' saltutil.refresh_pillar` in my git-hooks for that repo?
04:05 Vaelatern And then have a cron job for calling highstate on the minions?
04:57 zerocoolback joined #salt
05:11 jacksontj joined #salt
05:43 justan0theruser joined #salt
06:11 indistylo joined #salt
06:23 aruns joined #salt
06:33 sergeyt joined #salt
06:43 flagword joined #salt
06:44 flagword joined #salt
06:47 aruns__ joined #salt
06:57 pipps joined #salt
07:15 aruns joined #salt
07:16 Mogget joined #salt
07:18 esharpmajor joined #salt
07:27 sergeyt joined #salt
07:28 schasi joined #salt
07:28 georgemarshall joined #salt
07:34 pipps joined #salt
07:38 colttt joined #salt
07:59 Ricardo1000 joined #salt
08:00 Tucky joined #salt
08:10 schasi joined #salt
08:10 aldevar joined #salt
08:11 hoonetorg joined #salt
08:22 JohnnyRun joined #salt
08:26 ccha joined #salt
08:30 Hybrid joined #salt
08:36 sol7 joined #salt
08:41 hammer065 joined #salt
08:42 impi joined #salt
08:43 Tucky joined #salt
08:45 justanotheruser joined #salt
08:48 nielsk joined #salt
08:55 jrenner joined #salt
09:02 Creme joined #salt
09:06 darioleidi joined #salt
09:24 daemonkeeper joined #salt
09:29 Mattch joined #salt
09:41 wonko21 joined #salt
09:54 msn joined #salt
09:59 _JZ_ joined #salt
10:00 pbandark joined #salt
10:17 sh123124213 joined #salt
10:24 CrummyGummy joined #salt
10:35 oleg joined #salt
10:35 skorhone joined #salt
10:41 skorhone Is ignore_missing in pillars an officially supported feature? The fact that feature is not documented leaves questions about whether one should use it
10:52 pbandark1 joined #salt
11:09 oida joined #salt
11:09 ccha left #salt
11:10 oida joined #salt
11:14 msn joined #salt
11:23 sergeyt joined #salt
11:26 EvaSDK joined #salt
11:27 bluenemo joined #salt
11:28 yidhra joined #salt
11:30 XenophonF it isn't well documented: https://duckduckgo.com/?q=site%3Adocs.saltstack.com+"ignore_missing"
11:31 XenophonF this is your chance to contribute a docfix back to the project! https://docs.saltstack.com/en/latest/topics/development/contributing.html
11:31 XenophonF fortune and glory await!
11:33 gmoro_ joined #salt
11:55 cyteen joined #salt
12:10 yidhra joined #salt
12:14 sol7 joined #salt
12:42 zerocoolback joined #salt
12:57 zerocoolback joined #salt
13:14 jdipierro joined #salt
13:25 sergeyt joined #salt
13:47 skorhone I think that is something that we could help with, if the feature is supported. Right now, we have to use a hack, to do this (as we don't want our system to break, if feature gets removed / changed)
13:56 gh34 joined #salt
13:57 mchlumsky joined #salt
14:08 numkem joined #salt
14:19 babilen skorhone: If you only use the features that have made it into the documentation, you restrict yourself *a lot* when using SaltStack
14:20 babilen IMHO they shouldn't accept PRs that add a feature and don't also contain documentation changes (even if its just a single "This exists" sentence)
14:27 mchlumsky joined #salt
14:28 skorhone babilen: We do know about that. But considering our infrastructure relies heavily on salt and we have dozens of operators (of which not all have required skill to dig up things from source code), we prefer using well-documented features :-)
14:35 XenophonF skorhone: I empower you to document features you find in code but not in the docs.
14:35 lompik joined #salt
14:36 * XenophonF starts playing Stan Bush.
14:44 babilen skorhone: No, I totally agree. I simply consider that a fairly "save" feature to use and wouldn't expect that to be removed without causing, well, dismay
14:46 edrocks joined #salt
14:49 sergeyt joined #salt
14:54 zerocoolback joined #salt
14:57 mchlumsky joined #salt
15:01 yidhra joined #salt
15:26 Hybrid joined #salt
15:29 englishm_work joined #salt
15:38 bluenemo joined #salt
15:46 sergeyt joined #salt
15:49 alvinstarr joined #salt
15:51 ouemt joined #salt
15:54 ipmb Is there anyway to get the JID of a state that runs in the orchestrate runner?
15:54 cgiroua joined #salt
15:54 Vaelatern I have a salt master that uses a local (on-disk) git-repo as files and pillar source (for easy pushing from my laptop), is it reasonable for me to have a `salt '*' saltutil.refresh_pillar` in my git-hooks for that repo?
15:55 Vaelatern (sorry for asking again after only 11 hours)
15:55 Vaelatern I'm just not sure how to not babysit my salt changes
15:59 ipmb It's rare that I need to run that function, but it does come up periodically.
15:59 ipmb I don't think it would hurt to have it as a git-hook.
16:01 Vaelatern So my understanding is that minions regularly check in and apply changes to their states, but that the pillar is not registered as changed until a highstate or refresh_pillar
16:03 justanotheruser joined #salt
16:03 justanotheruser joined #salt
16:06 ipmb I'm not sure of the details there. My workflow is typically to push a change via git and then run a highstate to apply it
16:08 babilen Vaelatern: Unless explicitly configured to do so, no changes would be applied automatically.
16:08 babilen I highstate refreshes pillars, so if you run that to apply changes explicitly, you won't have a problem. Computing pillars can be intensive and i wouldn't necessarily do so as part of a git hook
16:35 impi joined #salt
16:35 darioleidi joined #salt
16:40 tiwula joined #salt
16:46 permalac joined #salt
16:50 mpanetta joined #salt
17:00 sergeyt joined #salt
17:06 DanyC joined #salt
17:09 m4rk0 joined #salt
17:09 m4rk0 Hello
17:12 m4rk0 How can I downgrade system package with Salt on CentOS? I'm using pkg.install with specified version and it works for new installations or upgrade from older version, but when it should downgrade package it just throw an error: An exception occurred in this state: Traceback...
17:14 hoonetorg joined #salt
17:22 tiwula joined #salt
17:29 m4rk0 And I found it finally :) "name:" works for installing new package and upgrading, but for downgrading I have to use "pkgname:" :/ https://github.com/saltstack/salt/issues/44050#issue-264726018
17:46 m4rk0 ... or not :)
17:47 cliluw joined #salt
17:49 cliluw joined #salt
17:51 hihigo joined #salt
17:53 fxhp joined #salt
17:59 edrocks joined #salt
18:08 ProT-0-TypE joined #salt
18:11 m4rk0 FYI I'm open for suggestions... :)
18:26 t3rm joined #salt
18:27 t3rm hi, is it possible to have '.' in a salt minion name and use it with a multi-environment setup? would the '.'s cause a problem?
18:35 Vaelatern I have salt minions where the name is a fqdn, I don't see the problem
18:36 t3rm what about substates, which are referenced in sls files with '.'?
18:37 Vaelatern Minion names are under top files, right? Not in substates, right?
18:37 Vaelatern (I could be wrong)
18:37 fredrick joined #salt
18:42 zer0def m4rk0: i think the pkg state or module describes how to install a specific version, so use that to downgrade, assuming said version is still available in repos
18:43 zer0def t3rm: arguments are usually positional enough to be able to tell whether you have a execution module function in mind, a target or an argument
18:44 zer0def and if they're not, use kwargs
18:45 fredrick left #salt
18:47 ruck joined #salt
18:50 Vye joined #salt
18:51 fredrick joined #salt
18:53 t3rm thanks @Vaelatern & @zerodef
18:56 ymasson joined #salt
18:57 UtahDave joined #salt
19:17 lordcirth_work Trying to use mysql_grant.present and I get: Failed to execute: "GRANT all privileges ON nextcloud_gi TO nextcloud_gi@localhost" (MySQL Error 1102: Incorrect database name '')
19:17 lordcirth_work What does the config line mysql.db: 'mysql' even do?
19:24 q1x joined #salt
19:26 UtahDave lordcirth_work: I believe it's the name of the mysql database you're wanting to access.
19:32 mianosm joined #salt
19:45 q1x joined #salt
19:54 Trauma joined #salt
19:55 lordcirth_work UtahDave, that's what I thought, but if I populate it, the error stays the same?
20:04 aldevar joined #salt
20:16 Kelsar joined #salt
20:29 al joined #salt
20:29 chutzpah joined #salt
20:29 stanchan joined #salt
20:33 aruns__ joined #salt
20:34 KaczuH joined #salt
20:36 edrocks joined #salt
20:37 Lionel_Debroux joined #salt
20:39 Aleks3Y joined #salt
20:45 sh123124213 joined #salt
20:54 n9817 joined #salt
20:56 saltslackbridge <netcho> hey guys
20:56 saltslackbridge <netcho> trying to setup simple beacon but for some reason i don't get anything on the event bus
20:58 Dr_Jazz UtahDave: now, that you are online, kudos for some nice youtube videos!
21:16 esteban joined #salt
21:36 shred joined #salt
21:38 prg3 joined #salt
21:46 relidy joined #salt
21:52 sh123124213 joined #salt
22:07 Kelsar joined #salt
22:14 stanchan joined #salt
22:33 stanchan joined #salt
23:07 cliluw joined #salt
23:14 stanchan joined #salt
23:27 cgiroua joined #salt
23:48 MTecknology I'm having some troubles with whitespace. I'd like to use jinja's include but I'd like the included stuff to all be left aligned to the import tag. What I get is the first line spaced correctly and then every other line X-spaces short. I can add the whitespace to everything in the included file, but then that file's inclusion depends on the spacing where it's needed.
23:52 MTecknology I see something about {%+ ... %}, but on include, that seems to cause '''Jinja syntax error: tag name expected'''

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