Actions
Bug #1014
closedsudoers file does not support puppet 2.6+ for puppetca and puppetrun
Description
The default permissions in the /etc/sudoers files that smart-proxy only supports puppetca and puppetrun. Since puppetca is depreciated in 2.6+ an additional binary will need to be added to the sudoers file. Puppet now uses puppet kick for puppetrun and puppet cert for puppetca.
current:
foreman ALL = NOPASSWD: /usr/sbin/puppetca Defaults:foreman !requiretty foreman ALL = NOPASSWD: /usr/bin/puppetrun foreman-proxy ALL = NOPASSWD: /usr/sbin/puppetca Defaults:foreman-proxy !requiretty
Support for both
foreman ALL = NOPASSWD: /usr/sbin/puppetca, /opt/puppet/bin/puppet, /usr/local/bin/puppet Defaults:foreman !requiretty foreman ALL = NOPASSWD: /usr/sbin/puppetrun, /opt/puppet/bin/puppet, /usr/local/bin/puppet foreman-proxy ALL = NOPASSWD: /usr/sbin/puppetca, /opt/puppet/bin/puppet, /usr/local/bin/puppet Defaults:foreman-proxy !requiretty
Actions