Search plugin: | Or browse by category: |
Plugin Name: knife-sh |
Version: 0.1.0 |
Author: @spigell |
Realease Date: 2018-01-12 23:13:15 |
Short Description: wrapper for knife-sh |
Category: --- |
Plugin web page: https://github.com/Spigell/knife-sh |
Download link: knife-sh-v0.001000.tar.gz |
Latest version link: https://sparrowhub.org/info/knife-sh |
## 0.1.0 Initial version |
Outthentic plugin.
Sparrow wrapper for knife-sh
$ sparrow plg install knife-sh
$ cat sparrowfile
package-install 'go'; # we need golang for installation
task_run 'install knife-sh', 'knife-sh', %(
action => 'install',
install_path => '/tmp'
);
task_run 'test run', 'dev-knife-sh', %(
action => 'run',
command => 'uptime',
hosts => '127.0.0.1 127.0.0.2',
exec_file => '/tmp/knife-sh',
ssh-user => 'test',
identity-file => '/tmp/test.key',
options => '-s --chef-client test',
);
Please see knife-sh help for more options