Forge Home

wormhole

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

1,841 downloads

1,169 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.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 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
  • ,
Tasks:
  • receive
  • send

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'opuscodium-wormhole', '2.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add opuscodium-wormhole
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install opuscodium-wormhole --version 2.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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: