wormhole

tasks
The wormhole module lets you use Puppet / Bolt / Choria to manage magic wormhole and transfer files between nodes

Opus Codium

opuscodium

527 downloads

527 latest version

5.0 quality score

Version information

  • 1.0.0 (latest)
released Dec 21st 2020
This version is compatible with:
  • Puppet Enterprise 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
  • Puppet >= 5.0.0 < 8.0.0
  • Debian
    ,
    FreeBSD
Tasks:
  • receive
  • send

Start using this module

Documentation

opuscodium/wormhole — version 1.0.0 Dec 21st 2020

wormhole

Build Status

Table of Contents

Module Description

The wormhole module lets you use Puppet / Bolt / Choria to manage magic wormhole and transfer files between nodes.

Setup

Beginning with wormhole

Including the wormhole class should be enought to get started:

class { 'wormhole':
}

Usage

Sending a file from a remote host

user@host ~ % bolt task run wormhole::send -t source.example.com filename=/etc/motd
Started on source.example.com...
Finished on source.example.com:
  {
    "code": "6-resistor-puppy"
  }
Successful on 1 target: source.example.com
Ran on 1 target in 6.3 sec

Receiving a file from a remote host

user@host ~ % bolt task run wormhole::receive -t target.example.com filename=/tmp/source-motd code=6-resistor-puppy

Sending a file from the local host

user@host ~ % wormhole send /etc/motd
Sending 322 Bytes file named 'motd'
Wormhole code is: 9-article-escape
On the other computer, please run:

wormhole receive 9-article-escape

Receiving a file on the local host

user@host ~ % wormhole receive
Enter receive wormhole code: