wormhole
The wormhole module lets you use Puppet / Bolt / Choria to manage magic wormhole and transfer files between nodes
Version information
released Dec 21st 2020
This version is compatible with:
- Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 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, 2018.1.x, 2017.3.x
- Puppet >= 5.0.0 < 8.0.0
- ,
Tasks:
- receive
- send
Start using this module
Add this module to your Puppetfile:
mod 'opuscodium-wormhole', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
opuscodium/wormhole — version 1.0.0 Dec 21st 2020
wormhole
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:
What are tasks?
Modules can contain tasks that take action outside of a desired state managed by Puppet. It’s perfect for troubleshooting or deploying one-off changes, distributing scripts to run across your infrastructure, or automating changes that need to happen in a particular order as part of an application deployment.