- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with ztpserver
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Install and manage Arista ZTP Server on linux systems. ZTP Server requires Python 2.7 or higher.
Aristaentworks-ztpserver module will ensure a ztpsadmin user/group exists and install ZTP Server from PyPI or Source.
- User/Group ztpsadmin $HOME to checkout the source repo when performing a source install
- /etc/ztpserver/
- /usr/share/ztpserver/
Ztpserver module requires puppetlabs-stdlib and vcsrepo modules. Additionally, ZTP Server requires a minimum of Python 2.7.
If enabling ZTP Server to run in production via WSGI, then the puppetlabs-apache module is also required.
sudo puppet module install aristanetworks-ztpserver
sudo puppet apply -e ‘ztpserver'
class { ‘ztpserver’:
source => pypi,
version => ‘v1.3.1’,
}
class { ‘ztpserver’:
source => source,
version => ‘develop’,
user => ‘ztpsadmin’,
group => ‘ztpsadmin’,
homedir => ‘/home/ztpsadmin’,
shell => ‘/bin/false’,
listen_intf => ‘eth0’,
listen_ip => ‘192.168.0.2’,
}
Here, list the classes, types, providers, facts, etc contained in your module. This section should include all of the under-the-hood workings of your module so people know what the module is touching on their system but don't need to mess with things. (We are working on automating this section!)
Tested on RedHat and Debian linux distros. Distro MUST have Python 2.7 or higher pre-installed.
Contributions are welcome through issues and pull requests. Please ensure that submissions include spec tests.
See the CHANGELOG.md