Time |
Nick |
Message |
00:31 |
|
jnials joined #salt |
00:38 |
|
CatPlusPlus joined #salt |
00:47 |
|
otter768 joined #salt |
00:52 |
|
bhosmer joined #salt |
00:53 |
|
pviktori joined #salt |
01:00 |
|
pviktori joined #salt |
01:01 |
|
quist left #salt |
01:07 |
|
otter768 joined #salt |
01:08 |
|
xcbt joined #salt |
01:11 |
|
gurpgork joined #salt |
01:37 |
|
n8n joined #salt |
01:39 |
|
halfss joined #salt |
01:41 |
|
bhosmer joined #salt |
01:43 |
|
delinquentme joined #salt |
01:48 |
|
DaveQB joined #salt |
01:49 |
|
dude051 joined #salt |
02:02 |
|
forrest joined #salt |
02:02 |
forrest |
joehh, are you around? |
02:09 |
|
jkaye joined #salt |
02:14 |
|
ramishra joined #salt |
02:23 |
|
ramishra joined #salt |
02:30 |
|
viq joined #salt |
02:42 |
|
bhosmer joined #salt |
02:46 |
|
delinquentme joined #salt |
02:56 |
|
CeBe joined #salt |
02:58 |
|
ingwaem joined #salt |
02:59 |
ingwaem |
greetings all…I’m using a command cmd.script and in the shellscript I’m executing a command which doesn’t seem to return correctly to stdout…is there a way to force salt to be happy with the output? It’s a script to start a worker queue, and I can’t modify it’s output |
03:00 |
|
tmh1999 joined #salt |
03:00 |
ingwaem |
was having issues using cmd.run so set it up as a shell script but having the same behavior…it just seems to hang |
03:01 |
|
dude051 joined #salt |
03:04 |
|
AdamSewell joined #salt |
03:13 |
|
dvestal joined #salt |
03:19 |
|
favadi joined #salt |
03:23 |
|
ajolo joined #salt |
03:28 |
|
Ryan_Lane joined #salt |
03:30 |
XenophonF |
on a centos 6.5 minion running in a hyperv virtual machine, grains.items doesn't include the "manufacturer" or "productname" keys |
03:31 |
XenophonF |
is that a Linux kernel limitation or a bug in Salt? |
03:31 |
XenophonF |
the same version of salt on centos 7.0 (also a hyperv vm) works as expected |
03:36 |
|
nitti joined #salt |
03:40 |
|
halfss joined #salt |
04:10 |
|
jkaye joined #salt |
04:18 |
|
nitti joined #salt |
04:27 |
|
ramishra joined #salt |
04:37 |
|
rypeck joined #salt |
04:43 |
|
mr_chris joined #salt |
04:48 |
|
hardwire joined #salt |
04:51 |
|
che-arne joined #salt |
04:53 |
|
hardwire joined #salt |
04:56 |
|
otter768 joined #salt |
04:57 |
|
ramishra joined #salt |
04:58 |
|
hardwire joined #salt |
05:01 |
|
Ryan_Lane joined #salt |
05:01 |
|
yomilk joined #salt |
05:03 |
|
hardwire joined #salt |
05:03 |
|
george__ joined #salt |
05:04 |
george__ |
hi all - how do I raise an error on a bad provided value? (e.g., I'm pulling data from a pillar and it needs to either be not present or one of 'A', 'B', or 'C") |
05:04 |
george__ |
(this is templating within a state) |
05:04 |
XenophonF |
hm |
05:05 |
XenophonF |
good question |
05:05 |
XenophonF |
so i typically do something like |
05:05 |
XenophonF |
{% if salt['pillar.get']('key1:key2', None) %} |
05:06 |
XenophonF |
but then i usually want to avoid the error |
05:06 |
george__ |
right |
05:06 |
XenophonF |
what happens if you just try to access the pillar anyway? |
05:06 |
XenophonF |
like |
05:06 |
XenophonF |
salt['pillar.get']('key1:key2') |
05:06 |
XenophonF |
oh but it's ok if the pillar isn't set |
05:07 |
XenophonF |
hm |
05:07 |
george__ |
if I were writing this in Python, I'd write somethin glike: value = data.get('key', 'A'); if value not in ('A', 'B', 'C'): raise ValueError() |
05:07 |
george__ |
this is for testing out new versions of underlying libraries and I want to make sure that I don't accidentally put an unused value in a grain and then have it silently fail or be a different version |
05:07 |
XenophonF |
well, you're using Jinja, right? |
05:08 |
XenophonF |
can't you just raise ValueError? |
05:08 |
george__ |
yeah - can you raise exceptions within jinja? |
05:08 |
XenophonF |
i assume so |
05:08 |
XenophonF |
i'm writing everything between the {% %} in python |
05:08 |
XenophonF |
i'd try it |
05:09 |
|
hardwire joined #salt |
05:09 |
XenophonF |
i'm looking through the docs to see if there's a saltier way to do it |
05:09 |
george__ |
I guess there's an open issue now - https://github.com/saltstack/salt/issues/10723 |
05:10 |
XenophonF |
check out http://docs.saltstack.com/en/latest/ref/states/writing.html |
05:10 |
george__ |
talking to you helped me think about an exception :) |
05:10 |
XenophonF |
you might want to raise one of salt.exceptions.* |
05:10 |
XenophonF |
hah |
05:10 |
george__ |
thanks for your help here :) |
05:10 |
XenophonF |
np |
05:10 |
XenophonF |
hey do you have any experience running salt on centos 6.5? or rhel 6.5? |
05:11 |
george__ |
not me personally, no - just getting started with salt |
05:11 |
XenophonF |
ah too bad |
05:12 |
|
troyready joined #salt |
05:12 |
XenophonF |
i'm running into an issue where the "manufacturer" and "productname" grains aren't defined |
05:12 |
XenophonF |
no problems on FreeBSD or CentOS 7 |
05:12 |
XenophonF |
i'll have to ask again monday morning when the folks in utah are away :) |
05:13 |
|
n8n joined #salt |
05:13 |
XenophonF |
ok going back to watching dr. who - have a good day/night :) |
05:14 |
|
hardwire joined #salt |
05:19 |
|
hardwire joined #salt |
05:19 |
|
otter768 joined #salt |
05:24 |
|
hardwire joined #salt |
05:28 |
|
hardwire joined #salt |
05:33 |
george__ |
maybe Github issue? |
05:33 |
george__ |
enjoy dr. who tho |
05:35 |
|
rjc joined #salt |
05:41 |
|
halfss joined #salt |
05:50 |
|
hardwire joined #salt |
05:55 |
|
hardwire joined #salt |
05:58 |
|
hardwire joined #salt |
05:58 |
|
ramishra_ joined #salt |
06:01 |
|
otter768 joined #salt |
06:02 |
|
hardwire joined #salt |
06:15 |
|
hardwire joined #salt |
06:17 |
|
hardwire joined #salt |
06:20 |
|
mr_chris joined #salt |
06:29 |
|
hardwire joined #salt |
06:36 |
|
hardwire joined #salt |
06:37 |
|
dvestal joined #salt |
06:37 |
|
dccc_ joined #salt |
06:43 |
|
hardwire joined #salt |
06:44 |
|
linjan joined #salt |
06:50 |
|
Sweetshark joined #salt |
06:57 |
|
hardwire joined #salt |
07:02 |
|
hardwire joined #salt |
07:06 |
|
blackhelmethacke joined #salt |
07:11 |
|
hardwire joined #salt |
07:18 |
|
dbanck joined #salt |
07:22 |
|
hardwire joined #salt |
07:32 |
|
mr_chris joined #salt |
07:34 |
|
hardwire joined #salt |
07:37 |
|
masm joined #salt |
07:39 |
|
ramishra joined #salt |
07:39 |
|
hardwire joined #salt |
07:40 |
|
ramishra joined #salt |
07:44 |
|
hardwire joined #salt |
07:49 |
|
hardwire joined #salt |
07:53 |
|
hardwire joined #salt |
07:54 |
|
madduck joined #salt |
08:06 |
|
n8n joined #salt |
08:06 |
|
bhosmer joined #salt |
08:10 |
|
hardwire joined #salt |
08:11 |
|
jkaye joined #salt |
08:15 |
|
hardwire joined #salt |
08:15 |
|
hardwire joined #salt |
08:16 |
|
chiui joined #salt |
08:31 |
|
felskrone joined #salt |
08:35 |
|
hardwire joined #salt |
08:41 |
|
hardwire joined #salt |
08:46 |
|
hardwire joined #salt |
08:47 |
|
ndrei joined #salt |
08:48 |
|
hardwire joined #salt |
08:55 |
|
Outlander joined #salt |
08:56 |
|
hardwire joined #salt |
09:20 |
|
jdmf joined #salt |
09:24 |
|
CeBe1 joined #salt |
09:28 |
|
Outlander joined #salt |
09:43 |
|
halfss joined #salt |
09:46 |
|
picker joined #salt |
10:12 |
|
jkaye joined #salt |
10:16 |
|
linjan joined #salt |
10:26 |
|
yidhra joined #salt |
11:00 |
|
CeBe2 joined #salt |
11:00 |
|
CeBe3 joined #salt |
11:06 |
|
CeBe joined #salt |
11:10 |
|
bhosmer joined #salt |
11:18 |
|
kingel joined #salt |
11:35 |
|
halfss joined #salt |
11:40 |
stbenjam |
what should salt be doing with the 'parameters' hash that would come back from an ext_nodes script? it doesn't seem to be doing anything.. i would expect them to become pillars? |
11:42 |
|
bluenemo joined #salt |
11:42 |
stbenjam |
nevermind, it only reads the classes key |
11:43 |
bluenemo |
hi guys. I'd like to install a .deb file, keeping the url to download it in pillars. pkg.installed does not seem to have such an option, like source: https://foobar.com/foo.deb. Whats the best practice way to do that? |
11:45 |
bluenemo |
ah sry, missread the doc. my bad |
11:49 |
|
martoss joined #salt |
11:59 |
|
cwyse joined #salt |
12:05 |
|
sectionme joined #salt |
12:13 |
|
jkaye joined #salt |
12:15 |
|
Kelsar joined #salt |
12:24 |
|
Kelsar joined #salt |
12:26 |
|
bhosmer joined #salt |
12:27 |
|
mrlesmithjr joined #salt |
12:38 |
|
martoss joined #salt |
12:41 |
|
TTimo joined #salt |
12:45 |
|
Kelsar joined #salt |
12:53 |
|
diegows joined #salt |
13:08 |
|
TOoSmOotH joined #salt |
13:12 |
|
TTimo joined #salt |
13:14 |
|
bhosmer joined #salt |
13:15 |
|
thayne joined #salt |
13:20 |
|
nyx_ joined #salt |
13:24 |
|
dude051 joined #salt |
13:25 |
|
AdamSewell joined #salt |
13:32 |
|
sectionme joined #salt |
13:45 |
|
TTimo joined #salt |
13:57 |
|
bhosmer joined #salt |
14:00 |
|
thayne joined #salt |
14:06 |
|
favadi joined #salt |
14:25 |
|
peters-tx joined #salt |
14:26 |
|
sectionm1 joined #salt |
14:41 |
|
Micromus joined #salt |
14:42 |
|
acabrera joined #salt |
14:42 |
Micromus |
Mkay, how can I get pillar data into a config file I'm managing via salt? Nothing in the docs... |
14:44 |
favadi |
Micromus: manage your file with template: jinja and get pillar data with pillar.get from source file |
14:44 |
|
elfixit1 joined #salt |
14:45 |
favadi |
Micromus: docs http://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html |
14:45 |
Micromus |
adding the template: jinja now |
14:45 |
Micromus |
the file is pushed but the contents just says "wpa-ssid "{{ pillar['ssid'] }}"" |
14:46 |
|
mechanicalduck joined #salt |
14:47 |
Micromus |
woho, thanks favadi |
14:56 |
|
blackhelmet joined #salt |
14:58 |
|
nitti joined #salt |
15:01 |
|
xcbt joined #salt |
15:14 |
|
halfss joined #salt |
15:17 |
|
alanpearce joined #salt |
15:31 |
|
intellix joined #salt |
15:32 |
|
martoss joined #salt |
15:35 |
|
smcquay joined #salt |
15:35 |
|
hardwire joined #salt |
15:39 |
|
rjc joined #salt |
15:41 |
|
sectionme joined #salt |
15:45 |
|
alanpearce joined #salt |
15:45 |
|
hardwire joined #salt |
15:46 |
|
dccc_ joined #salt |
15:51 |
|
hardwire joined #salt |
15:56 |
|
hardwire joined #salt |
15:59 |
|
kingel joined #salt |
16:01 |
|
hardwire joined #salt |
16:02 |
|
martoss joined #salt |
16:03 |
|
hardwire joined #salt |
16:21 |
|
hardwire joined #salt |
16:22 |
|
wendall911 joined #salt |
16:25 |
|
hardwire joined #salt |
16:25 |
|
geekmush1 joined #salt |
16:29 |
|
schimmy joined #salt |
16:33 |
|
hardwire joined #salt |
16:34 |
|
schimmy joined #salt |
16:35 |
|
blackhelmet joined #salt |
16:39 |
|
kingel joined #salt |
16:41 |
|
mrlesmithjr joined #salt |
16:42 |
|
hardwire joined #salt |
16:48 |
|
hardwire joined #salt |
16:49 |
|
TTimo joined #salt |
16:50 |
|
hardwire joined #salt |
16:57 |
|
hardwire joined #salt |
16:59 |
|
bluenemo joined #salt |
17:00 |
bluenemo |
hi guys. I want to download a .deb package to install from a https site, giving me the error that it cant verify the certificate. do I have to do the download / implement stuff by cmd.run or so or is there a method for that? my error: http://paste.debian.net/hidden/409821c7/ |
17:01 |
|
hardwire joined #salt |
17:01 |
|
darrend joined #salt |
17:05 |
|
n8n joined #salt |
17:11 |
|
kingel joined #salt |
17:19 |
|
hardwire joined #salt |
17:20 |
|
sectionme joined #salt |
17:27 |
|
hardwire joined #salt |
17:27 |
blackhelmet |
bluenemo: Are you using the PPA? |
17:27 |
blackhelmet |
Also, are you behind a proxy? |
17:32 |
|
hardwire joined #salt |
17:33 |
dstokes |
bleunemo: self-signed cert? |
17:34 |
|
n8n joined #salt |
17:35 |
|
hardwire joined #salt |
17:39 |
|
cheus joined #salt |
17:40 |
|
hardwire joined #salt |
17:48 |
|
gothix joined #salt |
17:51 |
babilen |
bluenemo left some time ago (and it is probably a case of s/https/http) |
17:54 |
|
blackhelmethacke joined #salt |
17:55 |
|
hardwire joined #salt |
17:58 |
|
swilcox joined #salt |
17:58 |
|
sectionm1 joined #salt |
18:12 |
|
kingel joined #salt |
18:15 |
|
jkaye joined #salt |
18:16 |
|
halfss joined #salt |
18:23 |
|
TTimo joined #salt |
18:23 |
|
englishm joined #salt |
18:29 |
|
gurpgork joined #salt |
18:30 |
|
younqcass joined #salt |
18:30 |
|
troyready joined #salt |
18:31 |
|
n8n joined #salt |
18:32 |
|
younqcass_ joined #salt |
18:36 |
XenophonF |
i'm running into an issue where the "manufacturer" and "productname" grains aren't defined on centos 6.5 (salt 2014.1.10)---is that a known issue? |
18:36 |
|
snuffeluffegus joined #salt |
18:44 |
|
bhosmer joined #salt |
18:48 |
|
roman1240 joined #salt |
18:56 |
|
rnr9 joined #salt |
18:57 |
rnr9 |
Hi salt community, |
18:58 |
rnr9 |
I'd like to ask about salt formula for nginx: https://github.com/saltstack-formulas/nginx-formula |
18:59 |
rnr9 |
I can't get state file to use pillar. Could you give an example how it should be defined? Everything on the salt server and client is set by default… |
19:09 |
|
claytron joined #salt |
19:18 |
|
wendall9111 joined #salt |
19:20 |
|
fredvd joined #salt |
19:25 |
|
chiui joined #salt |
19:29 |
|
elfixit1 joined #salt |
19:35 |
|
englishm joined #salt |
19:39 |
|
codekoala left #salt |
19:58 |
|
kingel joined #salt |
19:59 |
|
tkharju3 joined #salt |
19:59 |
|
ckao joined #salt |
20:04 |
|
halfss joined #salt |
20:06 |
|
otter768 joined #salt |
20:17 |
|
oyvjel joined #salt |
20:18 |
|
aparsons joined #salt |
20:25 |
|
to_json joined #salt |
20:26 |
|
jbub joined #salt |
20:34 |
|
CeBe joined #salt |
20:36 |
|
ndrei joined #salt |
20:37 |
|
CeBe1 joined #salt |
20:40 |
|
thayne joined #salt |
20:48 |
|
aparsons_ joined #salt |
20:59 |
|
bmcorser joined #salt |
20:59 |
|
CeBe2 joined #salt |
21:04 |
|
sectionme joined #salt |
21:07 |
|
ndrei joined #salt |
21:08 |
|
jalaziz joined #salt |
21:11 |
|
CeBe1 joined #salt |
21:14 |
|
kingel joined #salt |
21:15 |
|
dabb joined #salt |
21:19 |
|
mschiff joined #salt |
21:21 |
|
__alex joined #salt |
21:24 |
|
hellerbarde joined #salt |
21:24 |
|
DenkBrettl joined #salt |
21:24 |
|
Emantor joined #salt |
21:27 |
|
bernieke joined #salt |
21:27 |
|
ajolo joined #salt |
21:29 |
|
ntropy joined #salt |
21:34 |
|
laxity joined #salt |
21:37 |
|
asmaps joined #salt |
21:38 |
|
AdamSewell joined #salt |
21:47 |
|
mackstick joined #salt |
21:52 |
|
halfss joined #salt |
21:53 |
|
asmaps joined #salt |
22:00 |
|
londo__ joined #salt |
22:04 |
|
bernieke joined #salt |
22:06 |
dstokes |
rnr9: "The pillar data is then mapped to minions based on matchers in a top file which is laid out in the same way as the state top file." http://docs.saltstack.com/en/latest/topics/pillar/ |
22:10 |
|
bernieke joined #salt |
22:18 |
|
Outlander joined #salt |
22:19 |
rnr9 |
dstokes: thanks man, I figured that out. |
22:23 |
|
tom joined #salt |
22:23 |
tom |
nick operator |
22:29 |
|
sectionme joined #salt |
22:31 |
|
ntropy joined #salt |
22:35 |
|
rome joined #salt |
22:37 |
|
Nazca joined #salt |
22:40 |
|
sectionme joined #salt |
22:40 |
|
Outlander_ joined #salt |
22:43 |
|
AdamSewell joined #salt |
22:44 |
|
dabb joined #salt |
22:46 |
|
[M7] joined #salt |
22:46 |
|
delinquentme joined #salt |
22:47 |
|
Outlander_ joined #salt |
22:47 |
dstokes |
rnr9: *thumbs* |
22:57 |
|
DaveQB joined #salt |
22:57 |
|
rome joined #salt |
23:03 |
|
kingel joined #salt |
23:04 |
|
yomilk joined #salt |
23:07 |
delinquentme |
So I've got this output: when attempting to run $ salt-cloud -P -m cloud.map -l all ... https://gist.githubusercontent.com/carlcrott/5be65f0b178d8a2831f8/raw/66ca6f8c7a7bb12aba6799a075a6a7eaef648f60/gistfile1.txt |
23:07 |
delinquentme |
basically I just keep getting timeout issues |
23:08 |
|
jalaziz joined #salt |
23:08 |
delinquentme |
paced through the logs ... everything looks fine up until that first ERROR ... |
23:12 |
|
dvestal joined #salt |
23:14 |
|
mosen joined #salt |
23:20 |
|
aquinas_ joined #salt |
23:20 |
|
aquinas joined #salt |
23:20 |
|
thayne joined #salt |
23:21 |
|
aquinas joined #salt |
23:38 |
|
yomilk joined #salt |
23:40 |
|
yomilk joined #salt |
23:41 |
|
halfss joined #salt |
23:42 |
|
acabrera joined #salt |
23:45 |
delinquentme |
Too many open files (bundled/zeromq/src/signaler.cpp:230) |