Bug #1004
closed
puppetca is depreciated in puppet 2.6
Added by Corey Osman over 13 years ago.
Updated over 13 years ago.
Description
puppet 2.6 now uses "puppet cert" instead of puppetca. They have made wrappers to work around compatible issues but smart-proxy may not know where to look for this if using puppet enterprise.
The code will need to also look for puppet cert if puppetca does not exist
I made some code modifications and I'll submit a patch soon. Here is the output of the updated code that looks for puppet or puppetca.
D, [2011-06-22T17:27:58.799695 #9207] DEBUG -- : Found puppetca at /opt/puppet/bin/puppet
D, [2011-06-22T17:27:58.799834 #9207] DEBUG -- : Found sudo at /usr/bin/sudo
D, [2011-06-22T17:27:58.799892 #9207] DEBUG -- : Executing /usr/bin/sudo S /opt/puppet/bin/puppet cert --list --all
D, [2011-06-22T17:56:41.440743 #10433] DEBUG - : Found puppetca at /opt/puppet/bin/puppet cert
D, [2011-06-22T17:56:41.440859 #10433] DEBUG -- : Found sudo at /usr/bin/sudo
D, [2011-06-22T17:56:41.440927 #10433] DEBUG -- : Executing /usr/bin/sudo S /opt/puppet/bin/puppet cert --list --all
D, [2011-06-22T17:58:20.907048 #10509] DEBUG - : Found puppetca at /opt/puppet/bin/puppet cert
D, [2011-06-22T17:58:20.907168 #10509] DEBUG -- : Found sudo at /usr/bin/sudo
D, [2011-06-22T17:58:20.907213 #10509] DEBUG -- : Executing /usr/bin/sudo -S /opt/puppet/bin/puppet cert --list --all
- Category set to Puppet
- Status changed from New to Closed
- Target version set to 0.3
- Assignee set to Corey Osman
Also available in: Atom
PDF