Skip to content

Commit

Permalink
Merge pull request #2364 from StackStorm/fix-runner-param-override
Browse files Browse the repository at this point in the history
Fix parameter override in actions of linux pack
  • Loading branch information
m4dcoder committed Jan 8, 2016
2 parents fe49eb0 + 1f09b7f commit 2653173
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion contrib/linux/actions/cp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
cmd:
immutable: true
default: 'cp {{args}} {{source}} {{destination}}'
position: 0
args:
description: 'Command line arguments passed to cp'
default: '-v{% if recursive == true %} -r{% endif %}{% if force == true %} -f{% endif %}'
1 change: 0 additions & 1 deletion contrib/linux/actions/file_touch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
cmd:
immutable: true
default: "echo $(date +%s) > {{file}}"
position: 0
file:
type: "string"
description: "Path of the file to be touched"
Expand Down
1 change: 0 additions & 1 deletion contrib/linux/actions/lsof.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
cmd:
immutable: true
default: "lsof {{args}}"
position: 0
args:
description: "Command line arguments"
default: " "
1 change: 0 additions & 1 deletion contrib/linux/actions/lsof_pids.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
cmd:
immutable: true
default: "for pid in {{pids}}; do lsof -p $pid; done"
position: 0
pids:
description: "List of pids"
required: true
Expand Down
1 change: 0 additions & 1 deletion contrib/linux/actions/netstat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
cmd:
immutable: true
default: "netstat {{args}}"
position: 0
args:
description: "Command line arguments"
default: " "
1 change: 0 additions & 1 deletion contrib/linux/actions/netstat_grep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
cmd:
immutable: true
default: "for pid in {{pids}}; do netstat -pant | grep $pid; done; exit 0"
position: 0
pids:
description: "List of pids"
required: true
1 change: 0 additions & 1 deletion contrib/linux/actions/pkill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
cmd:
immutable: true
default: "pkill -e {{process}}"
position: 0
process:
type: "string"
description: "Process name to kill"
Expand Down
4 changes: 0 additions & 4 deletions contrib/linux/actions/rsync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,17 @@
type: 'string'
description: 'List of files/directories to to be copied'
required: true
position: 1
dest_server:
type: 'string'
description: "Destination server for rsync'd files"
required: true
position: 2
destination:
type: 'string'
description: 'Destination of files/directories on target server'
required: true
position: 3
cmd:
immutable: true
default: 'rsync {{args}} {{source}} {{dest_server}}:{{destination}}'
position: 0
connect_timeout:
type: 'integer'
description: 'SSH connect timeout in seconds'
Expand Down
1 change: 0 additions & 1 deletion contrib/linux/actions/scp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
cmd:
immutable: true
default: 'scp {{args}} -i {{keyfile}} {{source}} {{dest_server}}:{{destination}}'
position: 0
args:
description: 'Command line arguments passed to cp'
default: '-o stricthostkeychecking=no -v{% if recursive == true %} -r{% endif %}{% if force == true %} -f{% endif %}'
1 change: 0 additions & 1 deletion contrib/linux/actions/vmstat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
cmd:
immutable: true
default: "vmstat {{args}}"
position: 0
args:
description: "Command line arguments"
default: " "

0 comments on commit 2653173

Please sign in to comment.