Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-09-27

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

All times shown according to UTC.

Time Nick Message
00:13 teebes joined #salt
00:17 dthom91 joined #salt
00:17 subsignal joined #salt
00:27 edrocks joined #salt
00:27 bhosmer joined #salt
00:31 glyf joined #salt
00:33 dthom91 joined #salt
00:35 LurkMaster joined #salt
00:35 LurkMaster left #salt
00:53 MConceicao joined #salt
00:54 aqua^c joined #salt
00:55 subsignal joined #salt
00:59 seatan joined #salt
01:00 mohae joined #salt
01:03 catpiggest joined #salt
01:21 sunkist joined #salt
01:23 dvlwrk joined #salt
01:52 otter768 joined #salt
01:56 cberndt joined #salt
01:59 seatan joined #salt
02:06 Nazca__ joined #salt
02:26 jeffspeff joined #salt
02:33 brianfei_ joined #salt
02:45 aqua^c joined #salt
03:23 larsfronius joined #salt
03:48 seatan joined #salt
03:53 otter768 joined #salt
03:55 nafg_ joined #salt
04:00 sunkist joined #salt
04:09 brent1 joined #salt
04:15 _JZ_ joined #salt
04:26 otter768 joined #salt
04:43 dendazen left #salt
04:43 pentabular joined #salt
04:45 pentabular left #salt
04:49 seatan joined #salt
04:53 dvlwrk joined #salt
04:55 wiqd joined #salt
05:17 n8n joined #salt
05:25 aqua^c joined #salt
05:25 evle1 joined #salt
05:26 CeBe joined #salt
05:31 armyriad joined #salt
06:06 aristedes joined #salt
06:07 aristedes left #salt
06:15 favadi joined #salt
06:25 brianfeister joined #salt
06:30 bhosmer joined #salt
06:39 seatan joined #salt
06:52 favadi joined #salt
06:56 dopesong joined #salt
07:12 armguy joined #salt
07:18 cyborg-one joined #salt
07:26 armyriad joined #salt
07:32 CeBe joined #salt
07:39 favadi joined #salt
07:40 seatan joined #salt
07:41 CeBe1 joined #salt
07:49 markm joined #salt
07:51 cberndt joined #salt
07:52 subsignal joined #salt
08:03 Fiber^ joined #salt
08:12 svinota joined #salt
08:33 chiui joined #salt
09:00 kukacz joined #salt
09:04 evle joined #salt
09:07 nitenq joined #salt
09:07 nitenq does Salt use SSH ?
09:08 nitenq I mean is it normal that I can’t use salt if ssh is stopped ?
09:10 aurynn salt _can_ use ssh, but doesn't default to it
09:13 otter768 joined #salt
09:19 cube_box joined #salt
09:25 larsfronius joined #salt
09:26 cube_box left #salt
09:29 seatan joined #salt
09:30 bougie joined #salt
09:32 Phil-Work joined #salt
09:42 dopesong joined #salt
09:43 dopesong joined #salt
10:09 edulix joined #salt
10:19 favadi joined #salt
10:26 Bryson joined #salt
10:30 Nick33 joined #salt
10:35 ksj hi, is there a simple way of using salt for just running basic sls files without a top file and all that stuff? I have a large salt setup, but I'd like to also use salt to replace some bespoke shell scripts
10:36 ksj but they don't conform to any kind of proper setup. they're mostly just a few commands that are run over ssh on random machines occasionally
10:36 wiqd joined #salt
10:38 ksj I've read about salt-call and running masterless, but it still needs a full setup with a top file and environments
10:49 Phil-Work joined #salt
10:51 favadi joined #salt
11:05 Riz joined #salt
11:14 otter768 joined #salt
11:17 seatan joined #salt
11:24 catpig joined #salt
11:25 shiriru joined #salt
12:04 bVector joined #salt
12:09 dopesong joined #salt
12:15 nitenq joined #salt
12:30 PuckD hi everyone
12:30 PuckD I'm getting the following error: http://pastebin.com/CwiePGxZ - Any idea what could cause it?
12:33 gerhardqux PuckD: the version_repo variable doesn't exist
12:33 PuckD so the issue is with the formula?
12:34 gerhardqux or it needs configuration
12:35 PuckD I'm using this formula: https://github.com/saltstack-formulas/zabbix-formula - The repo part has no configuration
12:39 gerhardqux PuckD: which os?
12:39 PuckD CentOS
12:43 gerhardqux I'm not sure, you can try to put version_repo in pillar. It's the map.jinja that builds the zabbix dict.
12:48 nitenq joined #salt
12:49 PuckD thank you gerhardqux
13:00 andrew_v joined #salt
13:01 Diaoul joined #salt
13:04 bluenemo joined #salt
13:06 seatan joined #salt
13:15 otter768 joined #salt
13:17 Diaoul joined #salt
13:27 larsfronius joined #salt
13:31 pravka joined #salt
13:32 aqua^c joined #salt
13:33 malinoff joined #salt
13:33 Akhter joined #salt
13:34 X67r joined #salt
13:34 malinoff joined #salt
13:40 MichaelRomig joined #salt
13:47 nitenq joined #salt
13:59 PuckD does anyone have a working example of salt pushing one file from the internal fileserver to the minions
14:02 Akhter joined #salt
14:03 zerthimon joined #salt
14:06 gerhardqux PuckD: right at the start of https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html
14:07 seatan joined #salt
14:07 gerhardqux technically, you ask a minion to pull the file from the master
14:08 PuckD gerhardqux: so I open my /srv/salt/top.sls, base: 'nodename': - match: nodegroup - somestatename and then I open somestatename.sls and put the contents from the above link there?
14:13 GreatSnoopy joined #salt
14:18 PuckD I just don't understand where do I use the state, in which file
14:27 seatan joined #salt
14:32 bhosmer joined #salt
14:41 markm joined #salt
14:45 cyborglone joined #salt
15:10 dthom91 joined #salt
15:12 nitenq joined #salt
15:16 otter768 joined #salt
15:18 nitenq joined #salt
15:27 kevinquinnyo1 joined #salt
15:40 subsignal joined #salt
15:41 teebes joined #salt
15:43 Akhter joined #salt
15:52 dendazen joined #salt
15:52 dendazen left #salt
15:58 steelwilly joined #salt
16:14 aqua^c joined #salt
16:36 teebes joined #salt
16:36 brianfei_ joined #salt
16:37 Akhter joined #salt
16:47 TyrfingMjolnir joined #salt
17:08 Akhter joined #salt
17:12 aparsons joined #salt
17:16 kukacz joined #salt
17:16 otter768 joined #salt
17:17 dthom91 joined #salt
17:20 armyriad joined #salt
17:23 Lionel_Debroux joined #salt
17:26 timoguin joined #salt
17:38 katyucha joined #salt
17:42 Aleks3Y joined #salt
17:56 viq joined #salt
18:00 _JZ_ joined #salt
18:04 timoguin joined #salt
18:10 timoguin joined #salt
18:12 timoguin_ joined #salt
18:16 bfoxwell joined #salt
18:24 Akhter joined #salt
18:26 sunkist joined #salt
18:30 svinota joined #salt
18:37 alfborge joined #salt
18:37 alfborge What's a sane value for worker threads on a 8 CPU box?
18:38 alfborge I'm getting warnings from minions that I should increase it, but it's currently at 32 which feels big enough (4 threads per cpu)...
18:43 dthom91 joined #salt
18:56 cberndt joined #salt
19:02 dopesong joined #salt
19:05 ajw0100 joined #salt
19:07 dopesong_ joined #salt
19:12 cyborglone joined #salt
19:13 cberndt joined #salt
19:14 blu_ joined #salt
19:15 blu__ joined #salt
19:16 opensource_ninja joined #salt
19:17 otter768 joined #salt
19:24 seatan joined #salt
19:29 sunkist joined #salt
19:29 larsfronius joined #salt
19:32 Dev0n joined #salt
19:34 boargod2 joined #salt
19:49 cyborg-one joined #salt
19:50 aqua^c joined #salt
19:57 quasiben I'm having a spot of trouble call random.rand_int inside a state can someone help me out ?
19:58 quasiben the following doesn't seem to be correct: salt['random.rand_int(1 100)']
20:00 scoates quasiben: salt['module.func'] will return a function, so: {{salt['module.func'](args, go, here)}}. Thus, I think you want `salt['random.rand_int'](1, 100)`
20:02 rhodgin joined #salt
20:06 cberndt joined #salt
20:10 dthom91 joined #salt
20:14 _JZ_ joined #salt
20:28 Rebus joined #salt
20:43 cpowell joined #salt
20:44 cpowell joined #salt
21:04 davromaniak joined #salt
21:05 aRkadeFR joined #salt
21:05 armguy Can anyone spot my issue with this jinja block. http://codepad.org/u36TBb61 I am trying to make it log if the os is not Arch Linux or Debian/Ubuntu. I think I am failing on the if VAR or VAR, not that great with jinja yet
21:05 Qwazerty joined #salt
21:05 rubenb joined #salt
21:06 cpowell_ joined #salt
21:06 arif-ali joined #salt
21:09 MeltedLux joined #salt
21:11 TyrfingMjolnir joined #salt
21:13 whytewolf armguy: whats the output of 'grains.item os os_family' of an arch system?
21:14 armguy I get various results on multiple Arch Linux, the only thing consistent is os=Arch the other relating to os either say Arch or Arch Linux
21:15 whytewolf okay, so in that case os_family would always be != to debian
21:16 whytewolf and your debian boxes would always be != Arch
21:16 whytewolf so thats both of those boxes triggering that
21:17 armguy Ahh OK that makes sense. So I would be better doing if os==arch or os_family==Debian
21:17 whytewolf switch your or to AND
21:17 whytewolf that way both values have to be true in order to trigger
21:18 armguy Got ya. Thanks for the schooling, much appreciated.
21:18 otter768 joined #salt
21:18 iggy ksj: salt 'minion' state.sls oneoff.state
21:20 armguy whytewolf~ Thanks got it working now
21:20 whytewolf armguy: np, glad to help
21:24 sgargan joined #salt
21:28 aparsons joined #salt
21:36 edrocks joined #salt
21:42 joe_n joined #salt
21:54 BlackFX joined #salt
21:58 teebes joined #salt
22:00 ajw0100 joined #salt
22:08 cpowell joined #salt
22:08 dthom91 joined #salt
22:08 sunkist joined #salt
22:14 teebes joined #salt
22:16 whyic joined #salt
22:17 elsmo joined #salt
22:18 Ludo- joined #salt
22:19 jgelens joined #salt
22:19 MeltedLux joined #salt
22:37 kpoman1 joined #salt
22:43 edrocks joined #salt
22:50 seatan joined #salt
22:53 sjorge joined #salt
22:53 sjorge joined #salt
22:56 jondonas joined #salt
22:57 sjorge joined #salt
22:57 sjorge joined #salt
22:59 joe_n joined #salt
23:01 mdupont joined #salt
23:08 |_[O_O]_| morning gents - have a fun one for ya! Is it possible to have an ext_pillar definition in __init__.py inside of a nested a directory {{extension_modules}}/pillar/module_name/__init__.py
23:18 dendazen joined #salt
23:18 dendazen left #salt
23:19 otter768 joined #salt
23:30 larsfronius joined #salt
23:40 adendrag joined #salt
23:52 seatan joined #salt
23:53 teebes joined #salt
23:56 cyborg-one joined #salt
23:58 joe_n joined #salt

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