pyinfra Tinc
A pyinfra deploy that installs & configures the Tinc mesh VPN. Developed & tested with:
- Ubuntu 18/20
- Debian 9/10
- CentOS 7/8
Usage
A default install and configure of a Tinc network is shown below. Each of the three deploy functions is detailed below.
from pyinfra_tinc import configure_tinc, install_tinc, sync_tinc_configurations
SUDO = True
install_tinc(netname='vpn0')
configure_tinc(netname='vpn0')
sync_tinc_configurations(netname='vpn0')
install_tinc
This deploy downloads, compiles & installs the tincd binary, along with any required deb/rpm packages required to do so. This uses the host.data.tinc_version variable.
configure_tinc
This deploy generates the Tinc configuration directory and files.
sync_tinc_configurations
This deploy syncs the host configuration files to all other hosts, which actually enables the tincd daemons to connect to each other and form the mesh network.
Metadata
Release files for pyinfra-tinc 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyinfra-tinc-0.1.1.tar.gz | 6.0 kB | Without provenance | Details for pyinfra-tinc-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyinfra_tinc-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pyinfra_tinc-0.1.1-py3-none-any.whl |
Total release size: 12.8 kB
Release files / pyinfra-tinc-0.1.1.tar.gz
| Download URL | pyinfra-tinc-0.1.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
053affe904c74be2d821def6be930b941c750dbabb53db2f9aad4bc21f69e388
|
|
BLAKE2b-256 checksum How to use checksums |
183ed04ccd06f9fcb4ebff982e2108cefc342ac9d9e3783b6bd5926cb12abed9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|
Release files / pyinfra_tinc-0.1.1-py3-none-any.whl
| Download URL | pyinfra_tinc-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
956f60c5c724b69ab38bc15366a38e828c365a25638d49364ae1831fbd155352
|
|
BLAKE2b-256 checksum How to use checksums |
0e3eb256de973196fffb269c6581d0fbdc1cdde8fc39f55d5f06be53682e29f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|
Security for pyinfra-tinc 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.