Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-11-14

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

All times shown according to UTC.

Time Nick Message
00:02 kiorky joined #salt
00:07 Bryson joined #salt
00:11 deuscapturus joined #salt
00:24 johnj_ joined #salt
00:30 XenophonF eightyeight: you could query the saltversion grain
00:30 XenophonF or saltversioninfo
00:35 CampusD joined #salt
00:39 Praematura joined #salt
00:41 Guest73 joined #salt
00:42 pipps joined #salt
00:44 GMAzrael joined #salt
00:46 GMAzrael_ joined #salt
00:48 ws2k3 joined #salt
00:53 aldevar left #salt
01:09 MTecknology eightyeight: If you have any specific scenario in mind, you could could probably pull it off with a compound match. You could also just salt '*' test.version --out=json and evaluate the return.
01:11 MTecknology If you plan to do that a lot, it seems like a very simple execution module that you could write as well..  salt '*' mymod.find_versions min='1.2.3' max='1.2.7' and have them return true if their version matches
01:25 johnj_ joined #salt
01:27 bluenemo joined #salt
01:33 summers joined #salt
01:35 SlicerDicer joined #salt
01:35 SlicerDicer joined #salt
01:36 fxhp joined #salt
01:41 pipps joined #salt
01:41 johnj_ joined #salt
01:42 pipps99 joined #salt
01:42 lkolstad joined #salt
01:44 GMAzrael joined #salt
01:52 fxhp joined #salt
01:56 fxhp joined #salt
02:00 ws2k3 joined #salt
02:01 ws2k3 joined #salt
02:02 ws2k3 joined #salt
02:02 ws2k3 joined #salt
02:02 ws2k3 joined #salt
02:03 ws2k3 joined #salt
02:08 kellyp joined #salt
02:16 Praematura joined #salt
02:21 zerocoolback joined #salt
02:24 zerocoolback joined #salt
02:25 zerocoolback joined #salt
02:25 zerocoolback joined #salt
02:26 zerocoolback joined #salt
02:27 zerocoolback joined #salt
02:32 colegatron joined #salt
02:56 ilbot3 joined #salt
02:56 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
02:57 onlyanegg joined #salt
02:59 threwahway joined #salt
03:24 jmedinar joined #salt
03:25 Larri joined #salt
03:27 deuscapturus joined #salt
03:27 tiwula joined #salt
03:27 jmedinar Any idea why I am getting the following error on a module? [ https://pastebin.com/pzqA82Nw ]
03:28 jmedinar is the return on the module expecting a format? I am trying to return a list
03:28 jmedinar it prints OK when sending to log but not when returning
03:38 Larri joined #salt
03:44 Larri joined #salt
03:45 threwahway_ joined #salt
03:45 GMAzrael joined #salt
03:49 Larri joined #salt
03:50 Larri Hi, test register, sorry
03:51 Larri joined #salt
03:57 dxiri joined #salt
04:00 XenophonF well, sys.argv clearly doesn't have a second element, hence the IndexError
04:00 XenophonF without seeing the code for the ziv module, I couldn't really tell you more
04:03 MTecknology I would suspect the actual command would be more helpful
04:04 jmedinar yeah I figure it was creating a list and a few values among hundreds where returning unexpected results
04:05 jmedinar thanks for answering ;)
04:06 sp0097 joined #salt
04:08 wongster80 joined #salt
04:12 Praematura joined #salt
04:20 threwahway joined #salt
04:25 threwahway joined #salt
04:28 SkyRocknRoll joined #salt
04:29 NightMonkey joined #salt
04:38 Larry3 left #salt
04:38 Larry3 joined #salt
04:39 Larry3 left #salt
04:39 Larry3 joined #salt
04:42 GMAzrael joined #salt
04:42 Larri left #salt
04:43 Larry3 left #salt
04:43 Larry3 joined #salt
04:43 Larry3 left #salt
04:47 Larri joined #salt
04:49 laertus left #salt
04:58 wongster80 joined #salt
05:00 seanz joined #salt
05:08 dxiri joined #salt
05:09 Larri joined #salt
05:09 Yadan joined #salt
05:16 SlicerDicer joined #salt
05:16 SlicerDicer joined #salt
05:20 samodid joined #salt
05:28 SlicerDicer joined #salt
05:28 SlicerDicer joined #salt
05:28 deuscapturus joined #salt
05:35 Larri Hi, I got failure when  I run salt-run state.orch ceph.stage.0  [https://gist.github.com/losemyheaven/2248a18b7f9adb70989c6709650c915d]
05:36 Larri Could anyone help?
05:38 Praematura joined #salt
05:39 ntropy Larri: the error is caused by the colon in "rpm: -1" https://gist.github.com/losemyheaven/2248a18b7f9adb70989c6709650c915d#file-gistfile1-txt-L21
05:40 ntropy you should try putting the entire value in quotes, so you have - installed: 'rpm: -1'
05:41 ntropy with rendering errors i generally recommend running salt with debug logging enabled and looking at the template that gets rendered and passed to salt
05:42 GMAzrael joined #salt
05:43 justanotheruser joined #salt
05:49 Larri ntropy: Hi ntropy, thanks for your help, but I did not get your point
05:51 Larri ntropy: I have not modified the source code, and installed them from opensuse repo
06:00 Lionel_Debroux joined #salt
06:00 ntropy Larri: im suggesting you try to put quotes around the value for the "installed" key
06:01 ntropy its not an error with source, but with the base:ceph.updates.restart.default state
06:02 Larri do you mean modify /srv/salt/ceph/updates/restart/default.sls?
06:03 Larri change all {{ installed }}  to {{ "installed" }}
06:03 Larri ?
06:03 ws2k3 joined #salt
06:04 ws2k3 joined #salt
06:04 ws2k3 joined #salt
06:05 ntropy no, change this https://gist.github.com/losemyheaven/2248a18b7f9adb70989c6709650c915d#file-gistfile1-txt-L21, from - installed: rpm: -1: unknown option to - installed: "rpm: -1: unknown option"
06:05 ws2k3 joined #salt
06:05 ws2k3 joined #salt
06:06 ws2k3 joined #salt
06:08 Larri ntropy: this is a log file, could you please tell me why to change this??
06:08 kellyp joined #salt
06:09 ntropy lol, don't change the logfile, change that line in the state :)
06:11 Larri in the state??
06:12 ntropy did you write this salt orchestration state that you're trying to run?
06:14 Larri no, I just follow deepsea git manual   https://github.com/SUSE/DeepSea
06:14 apofis joined #salt
06:27 Larri let me format all node and restart...
06:29 zerocool_ joined #salt
06:31 averell joined #salt
06:31 glock69[m] joined #salt
06:34 bliu joined #salt
06:35 bliu left #salt
06:39 averell joined #salt
06:47 _xor joined #salt
06:48 _xor Hey guys, completely new to SaltStack.  Haven't set it up yet, but I've been reading through the literature :)
06:48 mcqueenorama joined #salt
06:48 GMAzrael joined #salt
06:48 _xor Quick question: I have a set of systems that all run FreeBSD.  One is going to be the master & the rest are going to be minions (obviously).
06:49 _xor I'd like to be able to automatically configure a service that would then be setup on a node (zfs + jail).  How hard/easy would that be?
06:49 _xor Also, is there a good dashboard for SaltStack yet or not?  I can't seem to find one, but I could just be blind.
06:50 iggy open source dashboard? not really... the paid one is pretty dope though
06:51 onlyanegg joined #salt
06:51 _xor Interesting.  Will have to check it out.
06:52 iggy I don't know if master is "supported" on anything other than Linux, but it should probably work fine mostly
06:54 mcqueenorama joined #salt
06:55 mcqueenorama joined #salt
06:56 pppingme joined #salt
06:56 Praematura joined #salt
07:00 LocaMocha joined #salt
07:11 zulutango joined #salt
07:14 averell joined #salt
07:16 do3meli joined #salt
07:16 do3meli left #salt
07:20 om2 joined #salt
07:22 dxiri joined #salt
07:22 pualj joined #salt
07:28 maestropandy joined #salt
07:29 hoonetorg joined #salt
07:40 pppingme joined #salt
07:40 felskrone joined #salt
07:47 GMAzrael joined #salt
07:51 aldevar joined #salt
07:53 samodid joined #salt
08:00 obitech joined #salt
08:01 ntropy _xor: i run salt on freebsd and no specific issues to worry about
08:02 johnj joined #salt
08:05 manji joined #salt
08:08 Hybrid joined #salt
08:14 coredumb ntropy: as a master?
08:14 coredumb haven't you had weird behaviours with gitfs ?
08:15 pualj joined #salt
08:23 ntropy coredumb: master and most of the minions are freebsd; didn't have weird behaviours with gitfs iirc
08:24 coredumb mmmh last time I tried moving my master to FreeBSD I had a bunch of troubles with gitfs
08:24 ntropy coredumb: it probably depends on which git python module you're using, i think i have GitPython
08:25 coredumb no problem with the minion thouth
08:25 maestropandy left #salt
08:27 coredumb yeah but gitpython doesn't support key auth right ?
08:29 coredumb I'd have to redo all that to see what was giving me the hassle
08:36 ntropy not sure if it supports key auth or not, i only use public repos
08:37 _KaszpiR_ joined #salt
08:44 SkyRocknRoll_ joined #salt
08:45 Ricardo1000 joined #salt
08:48 mavhq joined #salt
08:49 pppingme joined #salt
08:51 GMAzrael joined #salt
08:52 onlyanegg joined #salt
08:55 zerocool_ joined #salt
08:57 pbandark joined #salt
08:58 mikecmpbll joined #salt
09:00 Guest73 joined #salt
09:02 johnj joined #salt
09:03 threwahway joined #salt
09:11 zerocool_ joined #salt
09:24 msn joined #salt
09:28 jhauser joined #salt
09:30 ws2k3 joined #salt
09:31 Mattch joined #salt
09:31 v12aml joined #salt
09:42 GMAzrael joined #salt
09:45 SkyRocknRoll_ joined #salt
09:53 Praematura joined #salt
10:03 johnj joined #salt
10:06 onlyanegg joined #salt
10:07 ws2k3 joined #salt
10:07 ws2k3 joined #salt
10:08 zerocool_ joined #salt
10:08 ws2k3 joined #salt
10:08 ws2k3 joined #salt
10:09 kellyp joined #salt
10:09 ws2k3 joined #salt
10:09 ws2k3 joined #salt
10:10 johnj joined #salt
10:12 kellyp_ joined #salt
10:40 N-Mi joined #salt
10:40 N-Mi joined #salt
10:42 deuscapturus joined #salt
10:48 mavhq joined #salt
10:50 cablekevin joined #salt
10:50 GMAzrael joined #salt
10:54 colegatron joined #salt
10:59 maestropandy joined #salt
11:08 absolutejam anyone using stateconf renderer?
11:11 absolutejam looks pretty awesome for making modular states
11:11 johnj joined #salt
11:23 sp0097 joined #salt
11:25 SkyRocknRoll_ joined #salt
11:29 babilen absolutejam: People definitely use it, yeah
11:31 Praematura joined #salt
11:40 evle1 joined #salt
11:44 GMAzrael joined #salt
11:44 JohnnyRun joined #salt
11:45 maestropandy joined #salt
11:52 v12aml joined #salt
11:53 maestropandy1 joined #salt
11:53 maestropandy1 left #salt
12:04 SlicerDicer joined #salt
12:04 SlicerDicer joined #salt
12:04 evilet joined #salt
12:06 colttt joined #salt
12:12 johnj joined #salt
12:13 SlicerDicer joined #salt
12:13 SlicerDicer joined #salt
12:15 zerocool_ joined #salt
12:17 v12aml joined #salt
12:22 zerocool_ joined #salt
12:33 Tucky joined #salt
12:44 GMAzrael joined #salt
12:50 FL1SK joined #salt
12:56 XenophonF _xor: I'm running a FreeBSD master with gitfs - no problems
12:57 XenophonF coredumb: I'm using GitPython with SSH public key auth on both my FreeBSD and CentOS Linux masters
12:57 v12aml joined #salt
12:57 robman joined #salt
12:58 XenophonF _xor: I recall seeing a Salt formula for iocage that might make setting up jails easier.
12:59 XenophonF https://github.com/bougie/salt-iocage-formula
13:00 Praematura joined #salt
13:01 XenophonF coredumb: ISTR dropping pygit2 b/c of issues with libssh2 not supporting the key types I wanted
13:01 XenophonF but that was when I first started using Salt in 2014
13:02 XenophonF and IIRC it was b/c the libssh2 port was outdated or something
13:07 coredumb XenophonF: I can tell I've had issues with pygit2 on FreeBSD 11.1
13:11 kellyp joined #salt
13:11 maestropandy joined #salt
13:11 maestropandy left #salt
13:12 Nahual joined #salt
13:13 johnj joined #salt
13:20 ivanjaros joined #salt
13:20 Guest73 joined #salt
13:36 GMAzrael joined #salt
13:45 _xor How come you guys are using gitfs?  I mean what's the intent?
13:52 CampusD joined #salt
13:53 numkem joined #salt
13:56 mrueg joined #salt
14:08 mchlumsky joined #salt
14:14 johnj joined #salt
14:18 _JZ_ joined #salt
14:21 racooper joined #salt
14:22 Praematura joined #salt
14:31 XenophonF _xor: I use gitfs (and the git ext_pillar) for several reasons.
14:33 XenophonF 1 - I treat my configs like code.  I have branches for each DTAP phase, and I track the change history of my networks' configurations over time.
14:33 v12aml joined #salt
14:33 viq DTAP?
14:33 XenophonF I follow a GitHub Flow-like development pattern
14:33 XenophonF Development, Testing, Acceptance (a/k/a Staging), Production
14:33 viq Ah, thank you.
14:35 XenophonF 2 - A DVCS makes cross-team collaboration easier, rather than simultaneously editing files under /srv/salt (and all the coordination issues that has).
14:35 XenophonF e.g., one of my collaborators made some major changes to a core service over the last two months, so he set up a second dev branch to isolate that work from our normal stuff
14:36 XenophonF git makes that kind of shared workspace possible
14:36 XenophonF (and hg and whatever else Salt supports - pick your poison)
14:37 XenophonF 3 - I host my home configs in GitHub (https://github.com/irtnog/salt-states etc. if you want to take a peek) and CodeCommit (encrypted Pillar data).  This gives me a degree of fault tolerance.
14:38 XenophonF And at work we host both States and Pillar data in private GitHub repos for the same reason.
14:38 XenophonF If we lose the Salt Master and its backups somehow, we can recreate everything from the Git repos.
14:39 XenophonF If we lose the Git repos, we can re-create them from our local clones (or the clones on the Salt Master)
14:44 TomJepp joined #salt
14:45 cyteen joined #salt
14:51 _xor Cool.  Just curious.  I'm actually mainly a developer with some side duties as admin.  Using git as an actual distributed-styled file system sits a little...weird...with me, but hey, if it works - it works :)
14:52 XenophonF Don't think of it like a distributed file system.
14:53 XenophonF Think of Salt as a kind of CI tool.
14:53 XenophonF And think of the configs as code.
14:53 XenophonF Actually, think of Salt as a compiler.
14:53 oida joined #salt
14:54 XenophonF you write a bunch of code that describes how you want stuff to be set up, and you store that code in Git like you would C# or PHP
14:54 XenophonF but instead of running a compiler pass on your own clone of that code base, Salt's smart enough to talk to Git directly when it compiles and runs your code
14:56 skatz joined #salt
14:57 robman joined #salt
14:57 XenophonF in my workflow, the production branch represents how my stuff is configured right now
14:57 beardedeagle joined #salt
14:58 XenophonF and the staging branch represents how my stuff will be configured in the future
14:58 XenophonF it makes deploying and rolling back changes to production very easy
14:58 XenophonF i'd like to apply the same methods to Pillar but am not quite there yet conceptually
15:00 BarBQ joined #salt
15:02 Brew joined #salt
15:14 oida joined #salt
15:15 johnj joined #salt
15:15 keltim joined #salt
15:18 EthPyth joined #salt
15:27 robman joined #salt
15:28 csmule joined #salt
15:29 mrueg joined #salt
15:33 mikecmpbll joined #salt
15:39 justanotheruser joined #salt
15:45 om2 joined #salt
15:47 DarkKnightCZ joined #salt
15:49 Praematura joined #salt
15:50 scbunn joined #salt
15:51 tiwula joined #salt
15:54 dendazen joined #salt
15:54 noobiedubie joined #salt
15:56 xet7bot joined #salt
16:00 ouemt joined #salt
16:08 Bryson joined #salt
16:14 cgiroua joined #salt
16:16 johnj joined #salt
16:23 mcqueenorama joined #salt
16:26 deuscapturus joined #salt
16:29 sp0097 joined #salt
16:36 colegatron joined #salt
16:37 kellyp joined #salt
16:38 ivanjaros joined #salt
16:40 bowhunter joined #salt
16:41 mikecmpbll joined #salt
16:46 skatz_ joined #salt
17:00 Mattch joined #salt
17:09 Praematura joined #salt
17:13 JawnAuz joined #salt
17:17 johnj joined #salt
17:20 kellyp joined #salt
17:29 onlyanegg joined #salt
17:34 kellyp joined #salt
17:35 lkolstad joined #salt
17:37 deuscapturus joined #salt
17:40 misconfig joined #salt
17:50 kellyp joined #salt
18:05 kellyp joined #salt
18:05 pualj joined #salt
18:08 eightyeight XenophonF: re: quering minions of specific version, the "saltversion grain" isn't an integer, so i can't use less-than and greater-than operators on it, can i?
18:09 eightyeight (from my question yesterday)
18:12 bantone ffff
18:12 bantone sorry
18:13 pipps joined #salt
18:17 kellyp joined #salt
18:17 vexati0n can someone explain to me why ext_pillar is not working?
18:18 vexati0n https://bpaste.net/show/5a5c8726a385
18:18 johnj joined #salt
18:19 vexati0n oops, wrong link. https://bpaste.net/show/4dd02d703250
18:20 saltslackbridge <gtmanfred> you will want to chefck the master debug log to make sure that the pillars are getting pulled down.
18:22 jbkc85 joined #salt
18:22 jbkc85 Hi all, I was wondering if there was anyway to run an orchestration 'just once'
18:22 jbkc85 So for example, I have a number of targets, but I just want the state to run once and forget about it after once it suceeds
18:23 nixjdm joined #salt
18:23 saltslackbridge <gtmanfred> on one instance?
18:24 _KaszpiR_ joined #salt
18:24 pipps joined #salt
18:25 overyander I'm upgrading from 2016.3.2 to 2017.7.2. In one of my states I have "{% if 'Program-A' not in salt['pkg.list_pkgs']() %}" and it was working fine in 2016, but the 2017 version throws an exception "AttributeError: 'bool' object has no attribute 'iteritems'"  any suggestions?
18:25 vexati0n gtmanfred:  the debug log doesn't mention ossec at all. but that's hardly my fault, unless i've screwed up the syntax somewhere
18:25 mcqueenorama joined #salt
18:26 saltslackbridge <gtmanfred> well, it wouldn’t
18:26 saltslackbridge <gtmanfred> it might show that git pillar is failing to sync
18:26 jhauser joined #salt
18:26 vexati0n git_pillar remote 'develop git@dev.gitlab.cloud.company.com:salt/pegs-ossec.git' is up-to-date
18:27 vexati0n that's from the log
18:27 vexati0n that's the only thing it says in relation to that
18:27 saltslackbridge <gtmanfred> ok good, that was what i was looking for.
18:28 Cumulo741 joined #salt
18:28 saltslackbridge <gtmanfred> yeah, that seems like it should work, can you open an issue on github?
18:29 jbkc85 or perhaps setting a variable to designate something was ran and ensuring it doesnt run again
18:30 saltslackbridge <gtmanfred> you can always just touch a file using the file.touch command
18:30 saltslackbridge <gtmanfred> and then use unless to check if the file exists
18:30 saltslackbridge <gtmanfred> or the file.exists state
18:31 saltslackbridge <gtmanfred> or set it in a grain, and check if the grain exists and don’t run the state again if it does
18:31 Rr4sT joined #salt
18:32 saltslackbridge <gtmanfred> jbkc85 http://ix.io/Cgd
18:33 saltslackbridge <gtmanfred> or http://ix.io/Cge
18:33 jbkc85 Gtmanfred: will that require me to clear out that grain once the orchestration is complete, given I might need to run it multiple times?
18:34 saltslackbridge <gtmanfred> yes, if you want to run the state again, you would need to clear out the grain on each minion you want it to run again on
18:34 jbkc85 Gtmanfred: got ya.  Thanks
18:34 noobiedubie joined #salt
18:34 vexati0n https://github.com/saltstack/salt/issues/44539
18:35 vexati0n is it possible to delete the git pillar cache somehow and make salt refill it?
18:35 vexati0n maybe that can help
18:36 samodid joined #salt
18:36 vexati0n nope nevermind that does not help
18:41 oida joined #salt
18:43 cyborg-one joined #salt
18:44 csmule joined #salt
18:44 csmule What's a good way to manage states that differ between versions of an OS, like centos7 and 6?
18:45 overyander check the os grain
18:45 TheRock joined #salt
18:45 csmule Oh, so it does have major version in there.  Ok, missed it.
18:45 TheRock left #salt
18:45 TheRock joined #salt
18:45 TheRock left #salt
18:45 csmule tnx
18:48 KingJ joined #salt
18:49 vexati0n how long does it take, generally, for a bugfix on github to make it to an actual release?
18:51 ivanjaros joined #salt
18:53 overyander csmule, from the master run 'salt MINION-ID grains.items' to see a list of all grains and their values.
18:53 csmule overyander: Oh, duh. Ok, thanks.
18:54 overyander yw
18:54 saltslackbridge <gtmanfred> csmule, check out saltstack-formulas, and map.jinja fiels
18:54 saltslackbridge <gtmanfred> csmule https://github.com/gtmanfred/wordpress-formula/blob/master/wordpress/defaults.yaml
18:54 saltslackbridge <gtmanfred> you can include an extra layer in those that have the osmajorrelease version as well
18:55 saltslackbridge <gtmanfred> https://github.com/saltstack-formulas/php-formula/blob/master/php/map.jinja
18:56 csmule saltslackbridge: Thank you very much. This will get me there
18:57 overyander I'm upgrading from 2016.3.2 to 2017.7.2. In one of my states I have "{% if 'Program-A' not in salt['pkg.list_pkgs']() %}" and it was working fine in 2016, but the 2017 version throws an exception "AttributeError: 'bool' object has no attribute 'iteritems'"  any suggestions?
18:59 overyander or another way of solving this problem. what is the recommended way to check for package existence in an if statement?
18:59 saltslackbridge <gtmanfred> {% if salt.pkg.version(‘Program-A’) %}
19:00 saltslackbridge <gtmanfred> if it doesnt return anything, it isn’t installed
19:01 overyander so, {% if salt.pkg.version(‘Program-A’) %} would return true if it exists. what statement would return true if it does not exist?
19:01 overyander is the issue with my original statement with the '()' at the end?
19:01 pipps joined #salt
19:02 saltslackbridge <gtmanfred> it will return the version number if it is installed
19:03 saltslackbridge <gtmanfred> the if statement will evaluate to true if it is installed, and false if it isn’t
19:03 overyander what statement would return true if it does not exist?
19:04 saltslackbridge <gtmanfred> it wouldn’t return true, it would evaluate to true
19:04 overyander what statement would evaluate to 'true' if the program is not installed?
19:04 saltslackbridge <gtmanfred> salt.pkg.version() would return a version number, which since it is not None, False, 0, or an empty string evaluates as true
19:04 saltslackbridge <gtmanfred> {% if salt.pkg.version(‘Program-A’) %}
19:06 overyander what statement would evaluate to 'true' if the program IS NOT installed?
19:06 saltslackbridge <gtmanfred> {% if not salt.pkg.version(‘Program-A’) %}
19:08 jhauser joined #salt
19:09 jbkc85_ joined #salt
19:12 pipps joined #salt
19:18 DarkKnightCZ joined #salt
19:19 Praematura joined #salt
19:19 johnj joined #salt
19:25 overyander gtmanfred, where can i find documentation relating to the changes that resulted in winrepo-ng ?
19:26 overyander for example, https://docs.saltstack.com/en/latest/topics/windows/windows-package-manager.html#creating-a-package-definition-sls-file states salt-winrepo contains software definition files for older minions (older than 2015.8.0). salt-winrepo-ng is for newer minions (2015.8.0 and newer).  Yet 2016.3.2 worked fine without these "ng" changes.
19:28 overyander i guess what i'm asking is, what is the difference between regular and ng winrepo other than the name?
19:28 saltslackbridge <gtmanfred> i don’t know
19:28 pipps joined #salt
19:34 wongster80 joined #salt
19:40 mikecmpbll joined #salt
19:41 Guest73 joined #salt
19:45 XenophonF It looks like maybe deploying Office 2016 is as easy as running the setup program with a pre-made XML config file, like a cmd.run state plus a creates kwarg pointed at %ProgramFiles(x86)%\Office\root\16 or whatever that path was
19:51 XenophonF overyander: one of the differences is that you can use jinja with winrepo-ng
19:52 XenophonF hang on let me quote you chapter and verse
19:52 XenophonF https://docs.saltstack.com/en/latest/topics/windows/windows-package-manager.html#changes-in-version-2015-8-0
19:56 onlyanegg joined #salt
19:56 XenophonF some settings are different, and how you can use it with git is different
19:58 XenophonF overyander: what are you trying to do with package detection?
19:58 obitech joined #salt
20:02 sp0097 joined #salt
20:04 pipps joined #salt
20:04 ymasson joined #salt
20:07 jbkc85__ joined #salt
20:08 ccha2 joined #salt
20:10 k1412 joined #salt
20:11 mchlumsky joined #salt
20:18 pipps joined #salt
20:20 johnj joined #salt
20:25 aldevar joined #salt
20:27 onlyanegg joined #salt
20:28 CrummyGummy joined #salt
20:29 pipps joined #salt
20:33 cliluw joined #salt
20:38 CampusD joined #salt
20:47 Praematura joined #salt
20:48 __number5__ joined #salt
20:52 kellyp joined #salt
20:52 Hybrid joined #salt
20:55 misconfig joined #salt
20:55 kellyp joined #salt
21:01 sp0097 joined #salt
21:05 pipps joined #salt
21:10 overyander XenophonF, I've diagnosed the issue some more and have found that something is broken with my win repo. I left the winrepo settings commented out in the master config and the minion config. i copied my old /srv/salt/base/win/repo folder to same path but repo-ng. I can run 'salt-run winrepo.genrepo' find from the master but if i run 'salt MINION pkg.refresh_db' I get "AttributeError: 'bool' object has no attribute 'iteritems'"
21:11 ecdhe joined #salt
21:13 pipps joined #salt
21:15 major joined #salt
21:21 johnj joined #salt
21:23 onlyanegg joined #salt
21:25 Groc joined #salt
21:29 lroe joined #salt
21:30 lroe is there an easy way to see what versions of salt I am running on my minions?
21:31 pualj joined #salt
21:32 llua test.version
21:33 lroe thanks.
21:36 DarkKnightCZ joined #salt
21:40 aldevar left #salt
21:41 bowhunter joined #salt
21:44 csmule_ joined #salt
21:58 jab416171_ joined #salt
21:58 chadhs_ joined #salt
21:59 matti__ joined #salt
21:59 weylin joined #salt
22:03 pipps99 joined #salt
22:04 DammitJim joined #salt
22:05 J0hnSteel joined #salt
22:05 nledez joined #salt
22:10 Praematura joined #salt
22:12 sp0097 joined #salt
22:19 relidy joined #salt
22:19 XenophonF overyander: if you post configs and error logs to gist.github.com or ix.io or something, we'll have an easier time helping you debug this ;)
22:22 johnj joined #salt
22:38 pipps joined #salt
22:39 pipps joined #salt
22:40 cgiroua joined #salt
22:48 jab416171 joined #salt
22:48 sp0097 joined #salt
22:51 onlyanegg joined #salt
23:03 Micromus joined #salt
23:08 pipps joined #salt
23:12 Yamakaja_ joined #salt
23:14 major joined #salt
23:15 dxiri_ joined #salt
23:21 absolutejam Has anyone used salt to manage Windows desktops?
23:21 saltslackbridge <gtmanfred> lots of people
23:21 saltslackbridge <gtmanfred> what are you trying to do?
23:21 absolutejam I dream of a world where I could replace the likes of SCCM with Salt
23:21 major joined #salt
23:22 absolutejam There's a Slack?!
23:22 saltslackbridge <gtmanfred> run /topic
23:22 absolutejam Since when?!
23:22 saltslackbridge <gtmanfred> not that long ago
23:23 johnj joined #salt
23:25 pipps joined #salt
23:26 saltslackbridge <james> Been dying for a Salt Slack. My Weechat doesn't get as much these days as I'm already in other slacks
23:27 saltslackbridge <gtmanfred> I know XenophonF manages some windows machines with salt.
23:27 saltslackbridge <james> Anyway, I was just pondering the idea of replacing the clicky, clunky management systems (e.g. SCCM) with salt and push IAC for desktops too
23:28 saltslackbridge <james> Even if it was for just some things, eg app deployments
23:28 saltslackbridge <gtmanfred> probably, I am headed out for a couple laps around the park o/
23:29 saltslackbridge <james> Good luck, laters
23:35 pipps joined #salt
23:42 Oida joined #salt
23:47 Praematura joined #salt
23:54 pipps joined #salt
23:58 colegatron joined #salt
23:59 Oida joined #salt

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