- Issue Type: Bug
- Rundeck version: 1.4.2
- JDK Version: sun 1.6.0_31
- Server OS: CentOS 5.7
Issue:
Reference:
https://groups.google.com/forum/?fromgroups#!topic/rundeck-discuss/...
I am trying to use "local" on the remote nodes.
So ssh/scp is the default executor on remote nodes.
And what I have been doing is put
node-executor: local
on all the nodes in my resources.yaml that I want to override that
setting on.
This works for normal "command" steps in the workflow.
"script" steps use the file-copier provider. So for those I was
putting
file-copier: local
on all the nodes in my resources.yaml that I want to override that
setting on.
That setting is not having an effect and the job attempts to scp
the script to the dispatched nodes.
Putting
service.FileCopier.default.provider=local
in the project.properties seems to override the scp setting.
This is not ideal if you want to manage this setting on a node
level basis.
Reproduce:
Create a job that uses a "script" step in the workflow.
Use the dispatch to nodes filter.
Edit the resources.yaml for the project.
put "file-copier: local" in the node you are dispatching to.
run the job and it will still attempt to use jsch-scp to copy the
file to the remote node.