salt_puppetrun_cmd config parameter for custom 'puppet.run' command
It would be nice to have an config parameter in
/etc/foreman-proxy/settings.d/puppet.yml to set an custom run command for
:salt_puppetrun_cmd: puppet.run agent no-noop
A possible patch i've attached for
#1 Updated by Dominic Cleal almost 6 years ago
- Project changed from Salt to Smart Proxy
- Category changed from Smart Proxy to Puppet
Would you mind sending in a pull request for your patch? That's the best (only!) way to get the code into the smart proxy.
It looks about right, I'd suggest the following tweaks:
1. add a commented example to config/settings.d/puppet.yml.example
2. set the default value here instead of using
http://theforeman.org/contribute.html#SubmitPatches has info on contributing, and we're more than happy to help you on #theforeman-dev if needed. Thanks!