• Wyatt Alt's avatar
    (PDB-3071) Log a warning if retired server/port config items are in use. · c95db47b
    Wyatt Alt authored
    It's relatively common for users to miss the retirement of server/port
    when upgrading from versions of PDB that supported it. This has the
    effect of defaulting their server/port to puppetdb:8081, producing agent
    run failures that log a puppetdb hostname different from what they
    believe they've configured.
    
    This patch logs warnings when server and port are detected in the config
    file. I think it would be preferable to remove the defaulting behavior
    and throw an error when server_urls is not present, but I don't have a
    sense of whether anyone relies on the defaulting today.
    c95db47b
Name
Last commit
Last update
acceptance Loading commit data...
config/image_templates Loading commit data...
contrib Loading commit data...
dev-resources Loading commit data...
documentation Loading commit data...
ext Loading commit data...
locales Loading commit data...
puppet Loading commit data...
resources Loading commit data...
src/puppetlabs/puppetdb Loading commit data...
test/puppetlabs/puppetdb Loading commit data...
test-resources Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Gemfile Loading commit data...
LICENSE.txt Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
NOTICE.txt Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
config.sample.ini Loading commit data...
project.clj Loading commit data...