(maint) Add the config version and the environment

This code adds the configuration_version and the Puppet environment to
the message output.