Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-11-29

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

All times shown according to UTC.

Time Nick Message
00:03 ethercable joined #salt
00:14 sinh is there a deb release of it?
00:18 jhauser joined #salt
00:38 yetAnotherZero joined #salt
00:41 aquinas joined #salt
00:42 aquinas_ joined #salt
00:48 aquinas joined #salt
01:01 TyrfingMjolnir joined #salt
01:05 bhosmer joined #salt
01:08 bretep joined #salt
01:12 vinexjager joined #salt
01:12 vinexjager left #salt
01:18 vectra joined #salt
01:26 nitti joined #salt
01:33 g3cko joined #salt
01:37 bhosmer joined #salt
01:47 ajolo joined #salt
01:53 ramishra joined #salt
02:02 xenoxaos joined #salt
02:34 ajolo joined #salt
02:45 mpanetta joined #salt
02:46 elfixit joined #salt
02:47 ajolo joined #salt
02:55 aqua^mac joined #salt
03:08 sgate1 joined #salt
03:17 bfoxwell joined #salt
03:28 stanchan_ joined #salt
03:34 TK_ joined #salt
03:34 fragamus_ joined #salt
03:34 otter768 joined #salt
03:42 capricorn_1 joined #salt
03:50 cjohn joined #salt
03:53 monkey661 joined #salt
03:57 claytron_ joined #salt
04:02 stanchan joined #salt
04:05 atbell joined #salt
04:12 atbell joined #salt
04:37 dude051 joined #salt
04:41 Thugal joined #salt
04:44 possibilities joined #salt
04:46 JlRd joined #salt
04:46 mpanetta joined #salt
05:17 ajolo joined #salt
05:35 otter768 joined #salt
05:47 mpanetta joined #salt
06:08 catpiggest joined #salt
06:08 fragamus_ joined #salt
06:16 azneita joined #salt
06:24 Nazzy joined #salt
06:25 dynamicudpate joined #salt
06:26 MorbusIff joined #salt
06:28 davidone_ joined #salt
06:28 gwmngilfen|afk joined #salt
06:30 zemm_ joined #salt
06:30 stillLotR joined #salt
06:30 cwright_ joined #salt
06:30 ezheidtm1nn joined #salt
06:31 emostar_ joined #salt
06:34 UForgotten_ joined #salt
06:34 Nilium_ joined #salt
06:34 bretep` joined #salt
06:35 lahwran_ joined #salt
06:36 `ph8 joined #salt
06:38 repl1cant joined #salt
06:38 mattikus joined #salt
06:38 philipsd6 joined #salt
06:38 markm__ joined #salt
06:38 smite1 joined #salt
06:52 slacko80541 joined #salt
06:54 otter768 joined #salt
06:57 fxhp joined #salt
06:59 orion__ joined #salt
07:02 saravanans joined #salt
07:11 pdayton joined #salt
07:19 possibilities left #salt
07:19 TK_ joined #salt
07:25 felskrone joined #salt
07:30 saravanans joined #salt
07:42 Mso150_p joined #salt
07:48 mpanetta joined #salt
08:15 wolog joined #salt
08:31 TK_ joined #salt
08:36 saravanans joined #salt
08:55 saravanans joined #salt
08:56 ndrei joined #salt
08:57 ndrei joined #salt
09:03 paha joined #salt
09:03 ocdmw joined #salt
09:04 dunz0r joined #salt
09:05 otter768 joined #salt
09:05 Twiglet_ joined #salt
09:11 TK_ joined #salt
09:12 saravana_ joined #salt
09:12 TK_ joined #salt
09:29 saravanans joined #salt
09:30 TK_ joined #salt
09:34 viq joined #salt
09:38 vukcrni joined #salt
09:39 bhosmer_ joined #salt
09:49 mpanetta joined #salt
09:53 dh joined #salt
09:54 eliasp joined #salt
09:56 toddnni joined #salt
09:57 boredatwork joined #salt
10:00 Nilium left #salt
10:01 CeBe joined #salt
10:06 jakubek joined #salt
10:06 jakubek hi. is possible to use local.state.sls in reactor with test=False, all my minions are running with test=True by default
10:07 jakubek when i'm using - arg:   - mw.install test=false is not working
10:12 saravanans joined #salt
10:18 Outlander joined #salt
10:31 eliasp joined #salt
10:33 linjan joined #salt
10:40 ckao joined #salt
10:55 aquinas joined #salt
11:06 otter768 joined #salt
11:13 agend joined #salt
11:13 claytron joined #salt
11:31 snuffeluffegus joined #salt
11:33 `ph8 joined #salt
11:36 agend joined #salt
11:36 jrluis joined #salt
11:40 bhosmer joined #salt
11:42 vectra joined #salt
11:49 saravanans joined #salt
11:55 TheThing joined #salt
12:01 ecdhe joined #salt
12:07 Jimlad joined #salt
12:08 ananda joined #salt
12:09 saravanans joined #salt
12:20 mpanetta joined #salt
12:22 genediazjr joined #salt
12:23 saravanans joined #salt
12:30 saravanans joined #salt
12:34 linjan joined #salt
12:42 TK_ joined #salt
12:43 genediazjr joined #salt
13:07 otter768 joined #salt
13:11 TK_ joined #salt
13:23 linjan joined #salt
13:36 Twiglet_ joined #salt
13:48 douardda joined #salt
13:49 TheThing joined #salt
13:49 zooz joined #salt
13:57 nitti joined #salt
14:04 Ouzo_12 joined #salt
14:11 TK_ joined #salt
14:13 godzilla joined #salt
14:29 fdsq joined #salt
14:29 templateheadache joined #salt
14:33 jason__ joined #salt
14:39 TheThing joined #salt
14:47 linjan joined #salt
14:47 thmzlt joined #salt
14:49 templateheadache Greetings salt masters. Some context:  I’m using salt on FreeBSD and want /etc/rc.conf (which is a central configuration file, listing enabled services and numerous other settings) to be a managed file built from multiple template files.
14:49 templateheadache The main reason for this is that FreeBSD network configuration is listed in rc.conf and I would like to maintain a separate file for each machine that contains these settings.  A single file with all these settings would be possible but very unwieldy.
14:49 templateheadache What I’ve tried: I don’t believe it’s possible to source a managed file from more than one template (please correct me).  I have therefore tried have a single template file that includes (via jinja’s include statement) other files based on grain and pillar values.
14:50 templateheadache What is causing me headaches: Unfortunately this generates TemplateNotFound exceptions. I have tried using relative and absolute path values as well as salt:// paths.  I even tried importing the text I wanted as a macro, which generates the same error.
14:50 templateheadache What else I have considered: I could build my configuration files using file.replace and file.blockreplace but have found it too fragile. I really want a more predictable way to render these files.
14:50 templateheadache I would be grateful for any help in getting my approach to work or for any suggestions of an alternative way to achieve my ends.  Many thanks in advance :)
14:55 eliasp templateheadache: you could extend the current service state module to support mod_aggregate (http://docs.saltstack.com/en/latest/ref/states/aggregate.html)… this would solve your problem in the most Salt-ish way possible
15:00 Diaoul hi
15:00 Diaoul I have an error I cannot understand with salt and this sls: http://pastebin.com/DPfTNMzS
15:00 Diaoul The following requisites were not found: watch: file: /etc/nginx/nginx.conf
15:01 Diaoul running vagrant ssh and ls /etc/nginx/nginx.conf shows the file *is* present
15:03 Diaoul any ideas?
15:04 bhosmer joined #salt
15:07 templateheadache eliasp: Thanks for the quick response. On FreeBSD rc.conf contains a whole load of settings relating to different bits of the system, of which enabled services are only one part. I had previously been building it dynamically with service.enabled and file.append statements but I really want a more predictable approach, which is why I chose file.managed.
15:08 eliasp Diaoul: you have to use the state name in the watch statement, not the filename itself
15:08 otter768 joined #salt
15:08 templateheadache If I'm reading the mod_aggregate page correctly, I'm not sure it will enable me to aggregate across all the relevant pieces.
15:09 eliasp templateheadache: yeah, the aggregation is restricted to a specific state type… so you can't properly manage (in an aggregated way) the file through 2 different state types
15:09 Diaoul eliasp: why does it work with /etc/nginx/sites-enabled/* then?
15:09 eliasp templateheadache: I have to leave now … if you haven't found a proper solution, I'll be back in ~20h… feel free to ping me then again
15:10 eliasp Diaoul: does it really work or did the state validation just not reach this yet, because it failed before for the other watch… did you try  to remove the one to see if this actually works?
15:10 templateheadache eliasp: Thanks. I was surprised the jinja include statement didn't let me include other files in the same directory.
15:11 eliasp templateheadache: well, it actually should… a plain Jinja include works for me here for some exotic use-cases…
15:11 Diaoul eliasp: if I use only /etc/nginx/sites-enabled/* it works, if I use only /etc/nginx/nginx.conf it fails
15:11 TK_ joined #salt
15:12 eliasp Diaoul: hmm, ok… sorry, running out of time to debug this further… I hope someone else is around to help you…
15:12 Diaoul np, thanks :)
15:12 templateheadache eliasp: My syntax was {% include 'filename' %} but it was generating TemplateNotFound exceptions.
15:13 templateheadache eliasp: But thanks again, I know you need to go!
15:22 mpanetta joined #salt
15:26 nethershaw joined #salt
15:28 orion__ joined #salt
15:28 nitti joined #salt
15:35 templateheadache I'm now sorted. The Jinja include works fine. I needed my path to be relative to my states/ directory (probably the environment directory though my dev machine doesn't yet implement environments -- to be investigated). Headache gone :)
15:36 templateheadache left #salt
15:36 fdsq left #salt
15:37 karimb joined #salt
15:49 zooz joined #salt
15:49 diegows joined #salt
15:53 funzo_ joined #salt
16:03 AbuAbu joined #salt
16:11 TK_ joined #salt
16:20 pfallenop joined #salt
16:34 TheThing|24-7 joined #salt
16:36 glyf joined #salt
16:52 shookees joined #salt
17:08 Furao joined #salt
17:09 otter768 joined #salt
17:11 TK_ joined #salt
17:16 zlhgo joined #salt
17:21 Valion_ joined #salt
17:23 Valion__ joined #salt
17:32 TK_ joined #salt
17:34 karimb joined #salt
17:37 LonEagle left #salt
17:46 akafred joined #salt
18:02 Valion_ joined #salt
18:09 nitti joined #salt
18:11 TK_ joined #salt
18:15 Mso150_p joined #salt
18:32 __gotcha joined #salt
18:47 ilbot3 joined #salt
18:47 Topic for #salt is now Welcome to #salt | SaltConf 2015 Call for Speakers is open! http://saltconf.com/call-for-speakers/ | 2014.7.0 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
18:49 OnTheRock joined #salt
18:49 __alex joined #salt
18:50 hasue1 joined #salt
18:55 hasue1 left #salt
18:56 dRiN joined #salt
19:06 schristensen_ joined #salt
19:10 otter768 joined #salt
19:10 torment joined #salt
19:11 bhosmer joined #salt
19:11 TK_ joined #salt
19:26 rubenb joined #salt
19:26 eliasp_ joined #salt
19:29 thmzlt joined #salt
19:35 ajolo joined #salt
19:40 thmzlt what's wrong with this sls? http://pastie.org/9751014
19:45 spuzirev joined #salt
19:47 spuzirev hi guys. I'm trying to use clean: True in my file.directory state and I have trouble like https://github.com/saltstack/salt/issues/12965 . If I use states named like '/tmp/blabla' it works fine. But if I use name: /tmp/blabla it doesn't work. Look: http://pastebin.com/SYYsMtZe and the result: http://pastebin.com/MMz8Bgqf .How can I do this thing?
20:00 spuzirev I've created issue about this: https://github.com/saltstack/salt/issues/18578
20:01 honestly joined #salt
20:17 cjohn joined #salt
20:32 genediazjr joined #salt
20:39 Mso150_p_l joined #salt
20:49 genediazjr joined #salt
20:53 hunmonk_ joined #salt
20:54 mpanetta joined #salt
20:55 hunmonk_ is it possible to source a file from the local filesystem the minion is running on? the only options i see in the doc are salt://, http://, and ftp://. tried file://, but that didn't seem to work
21:03 Mso150_p_l joined #salt
21:11 otter768 joined #salt
21:24 TheThing joined #salt
21:30 anotherZero joined #salt
21:30 bhosmer joined #salt
21:44 nitti joined #salt
21:46 genediazjr joined #salt
22:00 gildegoma joined #salt
22:09 genediazjr joined #salt
22:11 TK_ joined #salt
22:16 karimb joined #salt
22:20 crashmag_ joined #salt
22:21 Ryan_Lane joined #salt
22:21 ThomasJ|d joined #salt
22:25 GothAck_ joined #salt
22:26 glyf joined #salt
22:46 leszq joined #salt
22:49 elfixit joined #salt
22:51 forze joined #salt
22:56 hintss joined #salt
23:01 tkharju joined #salt
23:07 dannyn joined #salt
23:09 dannyn i have a question. i found an issue on github which looks like it pertains to what i want to do, but doesnt say how to do it.
23:09 dannyn https://github.com/saltstack/salt/issues/883
23:09 dannyn basically, i want to have a watch, but it only passes if a certain thing is set in the changes dictionary.
23:11 TK_ joined #salt
23:11 otter768 joined #salt
23:26 cjohn joined #salt
23:35 Ryan_Lane joined #salt
23:36 JlRd joined #salt
23:43 genediazjr joined #salt
23:44 ajolo joined #salt
23:45 genediazjr joined #salt
23:49 hunmonk_ joined #salt
23:54 Jimlad joined #salt

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