The wormhole module lets you use Puppet / Bolt / Choria to manage magic wormhole and transfer files between nodes.
Including the wormhole class should be enought to get started:
class { 'wormhole':
}
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
user@host ~ % bolt task run wormhole::receive -t target.example.com filename=/tmp/source-motd code=6-resistor-puppy
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
user@host ~ % wormhole receive
Enter receive wormhole code: