Actions
Bug #1806
closedpuppet 2.6 depreciates puppetca
Description
puppetca used to be the only way to list certificates. Since 2.6 puppetca still exists but shows a depreciation warning instead of listing certs.
We need to detect which puppet version is being used and then if >2.6 use puppet cert --list instead of trying puppetca --list.
Otherwise I have to remove the puppetca binary so foreman-proxy doesn't find it.
W, [2012-08-02T15:55:52.908070 #9377] WARN -- : Failed to run puppetca: E, [2012-08-02T15:55:52.908539 #9377] ERROR -- : Failed to list certificates: Execution of puppetca failed, check log files D, [2012-08-02T16:04:59.853686 #9377] DEBUG -- : Found puppetca at /usr/bin/puppetca D, [2012-08-02T16:04:59.853943 #9377] DEBUG -- : Found sudo at /usr/bin/sudo D, [2012-08-02T16:04:59.854022 #9377] DEBUG -- : Executing /usr/bin/sudo -S /usr/bin/puppetca --list --all W, [2012-08-02T16:04:59.922206 #9377] WARN -- : Failed to run puppetca: E, [2012-08-02T16:04:59.922678 #9377] ERROR -- : Failed to list certificates: Execution of puppetca failed, check log fil
Actions