• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#207 2021-11-20 15:48:02 +00:00
Catch nospaceleftondeviceerror

closed

ungleich-gitea commented on issue ungleich-public/cdist#206 2021-11-20 15:48:01 +00:00
/sbin/ip in output list of interfaces explorer

Created by: dheule

Bugfix merged, so I can close this bug

ungleich-gitea commented on issue ungleich-public/cdist#205 2021-11-20 15:47:59 +00:00
cpu_cores does not work on amazon ec2

Created by: telmich

Hey lloyd,

I think this will break with hyperthreading:

[13:10] artist:~% grep "core id" /proc/cpuinfo core id : 0 core id : 0 core id : 1 core id : 1

[on…

ungleich-gitea commented on issue ungleich-public/cdist#205 2021-11-20 15:47:58 +00:00
cpu_cores does not work on amazon ec2

Created by: dheule

Hello lloyd,

seems that amazone ec2 has some courious cpu architecture. Normaly on linux, the "core id" is only the same if hyperthreads are connected to the same physical…

ungleich-gitea commented on issue ungleich-public/cdist#205 2021-11-20 15:47:57 +00:00
cpu_cores does not work on amazon ec2

Created by: dheule

Hello Nico,

My intention to cpu_cores was and is to reflect the real physical cores (without hyperthreading for example).

What about to make an additional explorer for example…

ungleich-gitea commented on issue ungleich-public/cdist#205 2021-11-20 15:47:55 +00:00
cpu_cores does not work on amazon ec2

Created by: telmich

Good point, dheule.

@lloyd what do you think about using your suggest version and create a new global explorer "cpu_cores_all" that includes cores based on hyperthreading?

ungleich-gitea commented on issue ungleich-public/cdist#205 2021-11-20 15:47:54 +00:00
cpu_cores does not work on amazon ec2

closed

ungleich-gitea commented on issue ungleich-public/cdist#204 2021-11-20 15:47:52 +00:00
documentation added in e5a1280 seems to be wrong

Created by: tpo

asteven wrote:

documentation added in e5a1280 seems to be wrong

e.g. the first sentence below is simply wrong:

This also means that the "__link" command must make…

ungleich-gitea commented on issue ungleich-public/cdist#203 2021-11-20 15:47:50 +00:00
__zypper_repo seems to parse repo_id incorrectly

Created by: telmich

Another thing: I see you are parsing zypper lr output; I guess it would be easier to not parse it like this, but use:

zypper repos nginx

Alias : nginx
Name …

ungleich-gitea commented on issue ungleich-public/cdist#203 2021-11-20 15:47:48 +00:00
__zypper_repo seems to parse repo_id incorrectly

Created by: dheule

Hello Nico.

I will have a look at this after my holidays. (24.6.)

Regards Daniel

Another thing: I see you are parsing zypper lr output; I guess it would be easier to not…

ungleich-gitea commented on issue ungleich-public/cdist#203 2021-11-20 15:47:47 +00:00
__zypper_repo seems to parse repo_id incorrectly

Created by: telmich

Hey Daniel,

thanks for the notice and enjoy your holidays!

Nico

dheule [Tue, Jun 10, 2014 at 01:40:27PM -0700]:

Hello Nico.

I will have a look at this …

ungleich-gitea commented on issue ungleich-public/cdist#203 2021-11-20 15:47:46 +00:00
__zypper_repo seems to parse repo_id incorrectly

Created by: dheule

Hello Nico, i was unable to reproduce your problem. For me on SLES11 SP3 the explorer retrives correctly the repo_id which is a number and not a name. The repo_id is allways…

ungleich-gitea commented on issue ungleich-public/cdist#203 2021-11-20 15:47:44 +00:00
__zypper_repo seems to parse repo_id incorrectly

Created by: telmich

Hey Daniel,

I had the problem on SLES 11. Particulary I saw that the grep -E did not match the URL. The way I currently fixed it is like this:

[14:33] artist:cdist% git…

ungleich-gitea commented on issue ungleich-public/cdist#203 2021-11-20 15:47:43 +00:00
__zypper_repo seems to parse repo_id incorrectly

Created by: dheule

Hmm ,,, this error was not so simple.

The grep -E "" matches the beginning of a word (<) then the STRING and then the end of a word (>). This works as long as not a /…

ungleich-gitea commented on issue ungleich-public/cdist#201 2021-11-20 15:47:40 +00:00
Fix too many open files bug

Created by: telmich

I've found the problem:

lrwx------ 1 nico nico 64 Dec 9 19:38 365 -> /home/users/nico/.tmp/tmpw4oy7mfi.cdist_message_in (deleted) lrwx------ 1 nico nico 64 Dec 9 19:38 366…

ungleich-gitea commented on issue ungleich-public/cdist#200 2021-11-20 15:47:38 +00:00
Bug in __block type: cannot have to blocks with similar prefix

Created by: telmich

Code:

awk -v prefix="$prefix" -v suffix="$suffix" '{ if (index($0,prefix)) { triggered=1 } if (triggered) { if (index($0,suffix)) { …

ungleich-gitea commented on issue ungleich-public/cdist#200 2021-11-20 15:47:37 +00:00
Bug in __block type: cannot have to blocks with similar prefix

Created by: telmich

maybe match() is a better choice:

Returns either the position in s where the regular expression r begins, or 0 if no occurrences are found. Sets the values of RSTART and…

ungleich-gitea commented on issue ungleich-public/cdist#200 2021-11-20 15:47:36 +00:00
Bug in __block type: cannot have to blocks with similar prefix

Created by: telmich

[15:39] artist:cdist% cat ~/test abc abc-def

[15:39] artist:cdist% awk '{ if(index($0, "abc")) print("ok") }' < ~/test ok ok

[15:39] artist:cdist% awk '{ if(match($0,…