Hi

Puppet 6 removes the master subcommand wich also removes the `master 
--compile` ability. SERVER-990 proposes `catalog find` as alternative 
command.

octocatalog-diff uses a command like `puppet master --compile $nodename 
--environmenpath $envsdir --factpath $path-to-fact-dir --facts_terminus 
yaml`

When i execute `puppet catalog find --environmentpath $envsdir --certname 
$nodename --factpath $path-to-fact-dir --facts_terminus yaml` compilation 
fails saying "[] is not applicable to Undef value" - caused by an empty 
$facts hash.

Removing `--facts_terminus yaml` will provide $facts but does take the 
facts from the machine executing the command.

Replacing `--factpath $path-to-fact-dir` with `--clientyamldir  
$path-to-dir-containing-facts-dir` errors out with `undefined method 
sanitize for #<Hash:....>` (which I think is probably because the yaml is 
plain yaml and not an ruby object yaml).

Any hints how to pass facts to the `puppet catalog find` command?


- Thomas

https://tickets.puppetlabs.com/browse/SERVER-990
https://github.com/github/octocatalog-diff/issues/186

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/f528425b-6115-441f-a128-5ea60424ba96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to