Created by: darko-poljak
@jdguffey If you put in the manifest only the line:
__directory /usr/local/keys --owner root --group wheel --mode 755
does it create the directory?
Can you send debug…
Created by: jdguffey
@darko-poljak It does. See the attached file.
The issue I'm having is that cdist isn't even attempting to…
Created by: darko-poljak
@jdguffey Hm.. Does this happen for more complex manifest or it happens even for only those two lines:
__directory /usr/local/keys --owner root --group wheel --mode…
Created by: jdguffey
It does work.
ls -lrt /usr/local/keys/
total 2 -rw-r--r-- 1 root wheel 800 Jun 7 00:18 pkg.pub
Created by: jdguffey
Also, I just discovered something after looking through my hierarchical manifests...
The particular subordinate manifest I was sourcing included a…
Created by: darko-poljak
@jdguffey From the code, cdist will raise an error if object already exists and CDIST_OVERRIDE is not defined and if already existing object parameters differ from…
Created by: telmich
I think if we encounter an object with a requirement after we found one without requirement the only sane thing is to abort.
If we don't abort we have a confused user…
Created by: darko-poljak
Merged PR https://github.com/ungleich/cdist/issues/441. Fixed in new version.
Created by: darko-poljak
@toupeira __line does not implement messaging.
@telmich We should add this to __line type.
Created by: toupeira
Maybe cdist should log generic messages for all "applied" types, and maybe things like whether a gencode-local or gencode-remote produced any output? (not sure if the…
Created by: telmich
@toupeira I think that feature already exists, aside from messaging :-)
Created by: toupeira
@telmich not sure what you mean :) So is it currently possible to detect if a __line type actually caused a change?
manifest is ignored
Created by: darko-poljak
Daniel,
The order of execution in the manifests does not matter: cdist employs an idempotent configuration.
If you want to describe that something requires something…
manifest is ignored
Created by: zilti
Ah, yes, this variable helped. Thanks!
Created by: telmich
According to @asteven this might actually not have "hung for waiting", but more likely "hung for other reasons" and me pressing return might not have changed anything at all.…
Created by: telmich
@asteven do you remember if we had good arguments to not provide this variable (besides finding an appropriate name)?
I think we discussed that it can easily be matched with…
Created by: xorpierre
Alternative: make it work that I dont have to use the FQDN in the file. Even with search domain.tld in resolv.conf that doesnt work with cdist. Works fine with ssh&co