hi,I would like to add another button command for foreman Action.
eg.
[root@foreman13 sudoers.d]# cat foreman-proxy
foreman-proxy ALL = NOPASSWD : /usr/sbin/puppetca *, /usr/sbin/puppetrun
*,/usr/bin/mco puppet runonce *,/usr/bin/mco puppet runonce --noop
*,/usr/bin/svn update *
Defaults:foreman-proxy !requiretty
How to achieve it !
You can't really customise this, but if you're comfortable doing
development, you could investigate writing a plugin.
http://projects.theforeman.org/projects/foreman/wiki/How_to_Create_a_Plugin
···
On 26/05/14 04:05, KissPuppet wrote:
> hi,I would like to add another button command for foreman Action.
> eg.
> [root@foreman13 sudoers.d]# cat foreman-proxy
> foreman-proxy ALL = NOPASSWD : /usr/sbin/puppetca *, /usr/sbin/puppetrun
> *,/usr/bin/mco puppet runonce *,/usr/bin/mco puppet runonce --noop
> *,/usr/bin/svn update *
> Defaults:foreman-proxy !requiretty
>
> How to achieve it !
–
Dominic Cleal
Red Hat Engineering