We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following command employing a scriptfile will execute as the resource model's target user matching the tag criteria:
dispatch -L -p wsgc -I tags=pb+devint -s /local/path/to/rerun.bin -- stubbs: add-module -m foo --description bar
This command does this as a sudo user where sudo-command-enabled support has been added in resource model:
dispatch -L -p wsgc -I tags=pb+devint -- sudo -u tomcat /tmp/rerun.bin stubbs: add-module -m foo --description bar
It would be great to see a blending of the two (NOTE the following communicates the intent, option syntax not the key here):
dispatch -u tomcat -L -p wsgc -I tags=pb+devint -s /local/path/to/rerun.bin -- stubbs: add-module -m foo --description bar
where "-u tomcat" instructs the dispatcher to implicitly execute the scriptfile as a sudo to tomcat.
original LH ticket
Original Creator: Charles Scott
The text was updated successfully, but these errors were encountered:
closing as duplicate of #343
with note that dispatch support is NTH
dispatch
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The following command employing a scriptfile will execute as the resource model's target user matching the tag criteria:
dispatch -L -p wsgc -I tags=pb+devint -s /local/path/to/rerun.bin -- stubbs: add-module -m foo --description bar
This command does this as a sudo user where sudo-command-enabled support has been added in resource model:
dispatch -L -p wsgc -I tags=pb+devint -- sudo -u tomcat /tmp/rerun.bin stubbs: add-module -m foo --description bar
It would be great to see a blending of the two (NOTE the following communicates the intent, option syntax not the key here):
dispatch -u tomcat -L -p wsgc -I tags=pb+devint -s /local/path/to/rerun.bin -- stubbs: add-module -m foo --description bar
where "-u tomcat" instructs the dispatcher to implicitly execute the scriptfile as a sudo to tomcat.
original LH ticket
Original Creator: Charles Scott
The text was updated successfully, but these errors were encountered: