Hey all, As brought up by https://tickets.puppetlabs.com/browse/FACT-1429, facter currently returns an exit code of 0 when a non-existent fact is queried. Thus, it's not possible to distinguish between a successful query and a silent failure other than by actually reading the output.
To improve on this, facter should produce meaningful exit codes. For backwards compatibility, we're thinking about adding a `--detailed-exitcodes` option. Our questions for the community are: are there other scenarios you'd like to see exit codes better utilized for? And, are there specific codes would you like to see for these scenarios, including our example non-existent fact query? Thanks! -- William Hopper Puppet Platform Engineer -- 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 puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/cd25a8bd-a686-4432-9756-d4f4208cd7a1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.