wormhole

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

Opus Codium

opuscodium

1,051 downloads

403 latest version

4.6 quality score

Version information

  • 2.0.0 (latest)
  • 1.0.0
released May 14th 2021
This version is compatible with:
  • Puppet Enterprise 2021.2.x, 2021.1.x, 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
  • Puppet >= 6.0.0 < 8.0.0
  • Debian
    ,
    FreeBSD
Tasks:
  • receive
  • send

Start using this module

Documentation

opuscodium/wormhole — version 2.0.0 May 14th 2021

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: