Skip to content

arista-eosplus/puppet-ztpserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ztpserver

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with ztpserver
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

Install and manage Arista ZTP Server on linux systems. ZTP Server requires Python 2.7 or higher.

Module Description

Aristaentworks-ztpserver module will ensure a ztpsadmin user/group exists and install ZTP Server from PyPI or Source.

Setup

What ztpserver affects

  • User/Group ztpsadmin $HOME to checkout the source repo when performing a source install
  • /etc/ztpserver/
  • /usr/share/ztpserver/

Setup Requirements OPTIONAL

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.

Beginning with ztpserver

sudo puppet module install aristanetworks-ztpserver
sudo puppet apply -e ‘ztpserver'

Usage

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’,
}

Reference

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!)

Limitations

Tested on RedHat and Debian linux distros. Distro MUST have Python 2.7 or higher pre-installed.

Development

Contributions are welcome through issues and pull requests. Please ensure that submissions include spec tests.

Changelog

See the CHANGELOG.md

About

Puppet module to manage a ZTP Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published