Version information
released Jun 7th 2016
Start using this module
Add this module to your Puppetfile:
mod 'ckuehl-spiped', '1.1.1'
Learn more about managing modules with a PuppetfileDocumentation
ckuehl/spiped — version 1.1.1 Jun 7th 2016
puppet-spiped
Puppet module for configuring spiped tunnels.
Requirements
- Debian >= 8 / Ubuntu >= 15.04 / similar systems
- systemd as init
The init requirement rules out many versions of Debian or Ubuntu. If you can't run systemd as init, this module is not useful to you.
Usage
For example, let's say we have a host redis-host
which hosts a Redis
database. Many clients will connect to it.
On redis-host
, we would define a server tunnel:
spiped::tunnel::server { 'redis':
source => '0.0.0.0:1234',
dest => '/var/run/redis.sock',
secret => 'hunter2',
}
On clients, we would define a client tunnel:
spiped::tunnel::client { 'redis':
source => '/var/run/redis.sock',
dest => 'redis-host:1234',
secret => 'hunter2',
}
The secret is an arbitrarily-long shared symmetric key. The options above are the only supported; this module is kept as simple as possible.
Dependencies
- puppetlabs/stdlib (>= 2.3.1)
All original code which does not have its own copyright attached (e.g. as a comment block or a separate file) is released under the MIT license, a copy of which is included below. Copyright (c) 2015 Chris Kuehl Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.