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?
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 ,…
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 -…
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...
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…
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…
Created by: darko-poljak
@xorpierre @telmich Merged PR https://github.com/ungleich/cdist/pull/472. Closing this issue.
Created by: darko-poljak
Can you also post debug output for the case it works? Thanks
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.
Created by: 4nd3r
@darko-poljak thanks, no more failed hosts! fixed and closing.
Created by: 4nd3r
@telmich @darko-poljak can you give me some feedback? thanks.
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…
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.
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…
Created by: asteven
This seems to be resolved. Please create a new issues if you think otherwise.
Created by: telmich
Great idea! But I suggest using $__type/files/lib instead