[Puppet Users] Puppet 5.0.1: JSON to PSON automatic downgrade doesn't account for binary facts

2017-08-01 Thread Dominic Scheirlinck
Thought I'd leave a note about an issue I ran into when upgrading to Puppet 5.0.1, in case someone else is wrestling with the same thing (also just to provide a result for some poor person Googling it after me). Turned out to be a whole bunch of factors: - The default serialization format is no

[Puppet Users] Puppet custom reporting questions

2017-08-01 Thread Keith Miller
Hello, I have my custom report module working using Puppet::Reports, and I have two questions about it. 1. For some reason the status is always 'changed', even when nothing has. How do I investigate why? 2. Is there any way to access the facts for the node during the report? Thanks!

[Puppet Users] Re: Output of annotate-group* does not match schema

2017-08-01 Thread João Matos
fixed. if anyone needs sudo su - pe-postgres -s /bin/bash -c "/opt/puppet/bin/psql -d 'pe-classifier' -c \" DELETE FROM group_classes AS g USING classes AS c WHERE g.class_name = c.name AND g.environment_name = c.environment_name AND c.deleted AND g.class_name IN ('nfs::class_name'); \""