Search plugin: Or browse by category:

knife-sh summary

Plugin Name: knife-sh
Version: 0.2.1
Author: @spigell
Realease Date: 2018-03-25 19:53:58
Short Description: wrapper for knife-sh
Category: utilities
Plugin web page: https://github.com/Spigell/knife-sh
Download link: knife-sh-v0.002001.tar.gz
Latest version link: https://sparrowhub.org/info/knife-sh

## 0.2.0
Add copy action

## 0.1.0
Initial version

knife-sh documentation

knife-sh doc

SYNOPSIS

Outthentic plugin.

Sparrow wrapper for knife-sh

INSTALL

$ sparrow plg install knife-sh

USAGE

via Sparrowdo

$ 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', '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',
);

task_run 'test run', 'knife-sh', %(
  action => 'copy',
  hosts => '127.0.0.1 127.0.0.2',
  debug => 'true',
  source => '/etc/hosts',
  destination => '~/hosts',
  ssh-user => 'test',
);

Please see knife-sh help for more options

See also

sparrowdo

sparrow

knife-sh