• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:16 +00:00
Improve case matching - strip domain part for -f/file read

Created by: darko-poljak

Why not have hostname, domain name, fqdn and target host (value specified at cmd line/hostfile as is) and user can then use whichever best fits his/her needs?

ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:15 +00:00
Improve case matching - strip domain part for -f/file read

Created by: darko-poljak

Actually hostname (as returned from socket.gethostname), fqdn (returned from socket.getfqdn) and target host (exact value specified at cmd line or hostfile). @asteven ,…

ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:13 +00:00
Improve case matching - strip domain part for -f/file read

Created by: telmich

@darko-poljak aren't you on holidays without Internet? :-)

That suggestion sounds good to me, so we have

__target_host - as is, command line, literally __target_hostname -…

ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:12 +00:00
Improve case matching - strip domain part for -f/file read

Created by: darko-poljak

@telmich yes, on holidays with only mobile network, no wifi. It was raining :( so I took a look with my smartphone...

ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:11 +00:00
Improve case matching - strip domain part for -f/file read

Created by: darko-poljak

@telmich, @xorpierre I created pull request for this issue: https://github.com/ungleich/cdist/pull/472

@xorpierre I don't know if this would solve your issue with…

ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:09 +00:00
Improve case matching - strip domain part for -f/file read

Created by: darko-poljak

Sorry for close/reopen, wrong types/clicks.

@xorpierre Even better, you can use patterns in your case. For host file with: a.bla.com b.bla.com

use case matching in…

ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:08 +00:00
Improve case matching - strip domain part for -f/file read

Created by: darko-poljak

@xorpierre @telmich Merged PR https://github.com/ungleich/cdist/pull/472. Closing this issue.

ungleich-gitea commented on issue ungleich-public/cdist#162 2021-11-20 15:45:05 +00:00
PreOS issues

closed

ungleich-gitea commented on issue ungleich-public/cdist#161 2021-11-20 15:45:02 +00:00
cdist does not support IPv6 target host address

Created by: darko-poljak

PR merged.

ungleich-gitea commented on issue ungleich-public/cdist#160 2021-11-20 15:45:01 +00:00
'__target_fqdn': self.target_host[2], IndexError: string index out of range

Created by: darko-poljak

Can you also post debug output for the case it works? Thanks

ungleich-gitea commented on issue ungleich-public/cdist#160 2021-11-20 15:44:59 +00:00
'__target_fqdn': self.target_host[2], IndexError: string index out of range

Created by: darko-poljak

@4nd3r I found the problem. It should be now fixed. I pushed the fix to 'inventory' branch. Please test it with the same params and hosts.

ungleich-gitea commented on issue ungleich-public/cdist#160 2021-11-20 15:44:58 +00:00
'__target_fqdn': self.target_host[2], IndexError: string index out of range

Created by: 4nd3r

@darko-poljak thanks, no more failed hosts! fixed and closing.

ungleich-gitea commented on issue ungleich-public/cdist#159 2021-11-20 15:44:57 +00:00
__apt_mark improvements

Created by: 4nd3r

@telmich @darko-poljak can you give me some feedback? thanks.

ungleich-gitea commented on issue ungleich-public/cdist#159 2021-11-20 15:44:55 +00:00
__apt_mark improvements

Created by: telmich

Re package installed: completely agree - you should use an explorer for this. In the same way you can check the apt version and abort in the manifest, if the apt version is too…

ungleich-gitea commented on issue ungleich-public/cdist#158 2021-11-20 15:44:54 +00:00
little bit better manifest handling

Created by: telmich

I agree to fancy tab completion, but not to cdist doing fuzzy search - as it implies guessing, which might be wrong. Subdirectories are actually in use by some people.

ungleich-gitea commented on issue ungleich-public/cdist#158 2021-11-20 15:44:53 +00:00
little bit better manifest handling

Created by: 4nd3r

ok, fair enough.

i was looking at cdist-completion.bash and it looks rather simplistic, yet i couldn't figure out how to stop completion when -i is used so i could…

ungleich-gitea commented on issue ungleich-public/cdist#158 2021-11-20 15:44:51 +00:00
little bit better manifest handling

Created by: asteven

This seems to be resolved. Please create a new issues if you think otherwise.

ungleich-gitea commented on issue ungleich-public/cdist#157 2021-11-20 15:44:50 +00:00
Ideas for a nicer way to support different os's/implementation in types

Created by: telmich

Great idea! But I suggest using $__type/files/lib instead