• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#131 2021-11-20 15:42:05 +00:00
--beta on the commandline does not seem to work

Created by: darko-poljak

@matthijskooijman Please test fix: 23292e5cad

ungleich-gitea commented on issue ungleich-public/cdist#131 2021-11-20 15:42:03 +00:00
--beta on the commandline does not seem to work

Created by: matthijskooijman

Fix looks good to me and works, thanks!

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:42:02 +00:00
Inventory location inconsistency

Created by: darko-poljak

@matthijskooijman Inventory location defaults to ~/.cdist/inventory because there is nothing related to inventory that comes with distribution, except implementation…

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:42:01 +00:00
Inventory location inconsistency

Created by: darko-poljak

@matthijskooijman Can you test the following commit, related to empty HOME env var? 2b5f1a0148

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:59 +00:00
Inventory location inconsistency

Created by: matthijskooijman

Works, thanks.

As for the in-distribution location, let me explain my usecase. I'm using cdist to configure a number of similar machines. For this, I forked the…

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:58 +00:00
Inventory location inconsistency

Created by: darko-poljak

@matthijskooijman You can also use configuration file: https://www.nico.schottelius.org/software/cdist/man/latest/cdist-configuration.html There is an option for…

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:57 +00:00
Inventory location inconsistency

Created by: matthijskooijman

Yeah, that's also an option. I still need to pass a -g option explicitly. Would it make sense to automatically load a config file from the distribution, if it exists?…

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:55 +00:00
Inventory location inconsistency

Created by: darko-poljak

@matthijskooijman You can have user's configuration file (first one found of ~/.cdist.cfg, $XDG_CONFIG_HOME/cdist/cdist.cfg, in specified order) or system-wide…

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:54 +00:00
Inventory location inconsistency

Created by: matthijskooijman

Yeah, but none of these are inside my repository, so I can't make the repository self-contained (and it also won't work if I want to work with multiple self-contained…

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:53 +00:00
Inventory location inconsistency

Created by: darko-poljak

How about ln -s <file inside repo> ~/.cdist.cfg ?

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:51 +00:00
Inventory location inconsistency

Created by: matthijskooijman

That would work, except that:

  • This requires users to modify their environment after cloning the repo (with the risk of users forgetting to make the link, or later…
ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:50 +00:00
Inventory location inconsistency

Created by: darko-poljak

@telmich Your thoughts?

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:49 +00:00
Inventory location inconsistency

Created by: darko-poljak

@matthijskooijman @telmich I think we can take in-distribution config file into account if it exists.

ungleich-gitea commented on issue ungleich-public/cdist#130 2021-11-20 15:41:47 +00:00
Inventory location inconsistency

Created by: matthijskooijman

A bit late, but: Thanks! Works like a charm for me :-)

ungleich-gitea commented on issue ungleich-public/cdist#128 2021-11-20 15:41:45 +00:00
Run apt-get update before installing packages

closed

ungleich-gitea commented on issue ungleich-public/cdist#127 2021-11-20 15:41:43 +00:00
non-existent manifest not handled gracefully

Created by: darko-poljak

@matthijskooijman Please check 3fb7e33305

ungleich-gitea commented on issue ungleich-public/cdist#127 2021-11-20 15:41:42 +00:00
non-existent manifest not handled gracefully

Created by: matthijskooijman

Looks good, thanks!

ungleich-gitea commented on issue ungleich-public/cdist#126 2021-11-20 15:41:40 +00:00
Missing initial manifest returns into traceback

Created by: darko-poljak

And I thought we are ready for new bugfix release.

ungleich-gitea commented on issue ungleich-public/cdist#126 2021-11-20 15:41:39 +00:00
Missing initial manifest returns into traceback

Created by: darko-poljak

@telmich Can you try with latest master version? This should have ben fixed in https://github.com/ungleich/cdist/issues/639. The latest version is cdist…