Hello,
Thank you very much for your quick reply.
Had another go, but no luck, unfortunately.
As far as I can tell, it is there:
$ cat ~/.cdist/conf/manifest/init
__file /etc/cdist-configured
But running the command gives me the same error (went really verbose this time):
$ cdist config -n -vvv debian
VERBOSE: cdist: version 6.5.5
DEBUG: inventory: Host 'debian' not found, skipped
DEBUG: config: Base root path for target host "debian" is "/var/folders/wt/c08nmfn54mlb5bvy7_fz69h5l9h12p/T/tmpbv056x0m/6e9552c9bd8e61c8f277c21220160234"
DEBUG: debian: remote_exec for host "debian": ssh -o User=root -o ControlPath=/var/folders/wt/c08nmfn54mlb5bvy7_fz69h5l9h12p/T/tmp5wf5q7cy/s -o ControlMaster=auto -o ControlPersist=2h
DEBUG: debian: remote_copy for host "debian": scp -o User=root -q -o ControlPath=/var/folders/wt/c08nmfn54mlb5bvy7_fz69h5l9h12p/T/tmp5wf5q7cy/s -o ControlMaster=auto -o ControlPersist=2h
DEBUG: debian: address family: 0
<waits for a rather long time here>
WARNING: debian: Could not derive host_name for debian, $host_name will be empty. Error is: [Errno 8] nodename nor servname provided, or not known
DEBUG: debian: derived host_fqdn for host "debian": debian
DEBUG: debian: target_host for host "debian": ('debian', '', 'debian')
INFO: debian: Starting dry run
DEBUG: debian: Checking conf_dir /Users/f7745312/ispmail/venv/lib/python3.7/site-packages/cdist/conf ...
DEBUG: debian: Checking conf_dir /Users/f7745312/.cdist ...
VERBOSE: debian: Running global explorers
DEBUG: debian: Running global explorers sequentially
ERROR: debian: 'Initial manifest missing: /var/folders/wt/c08nmfn54mlb5bvy7_fz69h5l9h12p/T/tmpbv056x0m/6e9552c9bd8e61c8f277c21220160234/data/conf/manifest/init'
Error processing initial manifest
=================================
path: /var/folders/wt/c08nmfn54mlb5bvy7_fz69h5l9h12p/T/tmpbv056x0m/6e9552c9bd8e61c8f277c21220160234/data/conf/manifest/init
VERBOSE: config: Total processing time for 1 host(s): 69.68427991867065
ERROR: cdist: Failed to configure the following hosts: debian
The only thing, that's rather puzzling there (besides the manifest missing) is the warning about the hostiname. But the fact, that it seems to be able to connect (confirmed in the auth.log on the VM), and run the explorers makes it seem like a red herring.
Checked the path on the master machine (as in the one that should be talking to debian, and configure it):
$ ls /var/folders/wt/c08nmfn54mlb5bvy7_fz69h5l9h12p/T/tmptb7x3s2f/6e9552c9bd8e61c8f277c21220160234/data/conf/manifest
sample-from-distribution
So, it's correct: it is missing. Can't really wrap my head around this. How exaclty should it get from ~/.cdist/... to /var/folders/.../manifest?
Regards,
Daniel