Difference between revisions of "How to install Netbox"

From ppwiki
Jump to navigation Jump to search
Line 11: Line 11:
 
We will not convert the installation and configuration of puppet master in this tutorial. if you do not have a puppet master server in your environment, you can do all the steps below manually by following the instructions in the reference section. Once done, you can continue with this tutorial from the configuration section.  
 
We will not convert the installation and configuration of puppet master in this tutorial. if you do not have a puppet master server in your environment, you can do all the steps below manually by following the instructions in the reference section. Once done, you can continue with this tutorial from the configuration section.  
 
==Download modules==
 
==Download modules==
 +
Login to your puppet master node and issue the command below to download the puppetlabs postgresql module
 +
sudo puppet module install puppetlabs-postgresql --version 5.9.0
 +
This will download the postgresql moudle and save it into
 +
 
==Create the class==
 
==Create the class==
 
==Setup hiera==
 
==Setup hiera==

Revision as of 23:06, 9 September 2018

NetBox is an open source web application the is design to manage a network infrastructure.

In this tutorial, we will be installing Netbox using puppet for the installation and a bash script for the basic configuration.

Prerequisites

For this turtorail, we will need:

  • A puppet master node
  • The netbox node
  • The puppetlabs postgresql module
  • The puppetlabs-vcsrepo module

Installation

We will not convert the installation and configuration of puppet master in this tutorial. if you do not have a puppet master server in your environment, you can do all the steps below manually by following the instructions in the reference section. Once done, you can continue with this tutorial from the configuration section.

Download modules

Login to your puppet master node and issue the command below to download the puppetlabs postgresql module

sudo puppet module install puppetlabs-postgresql --version 5.9.0

This will download the postgresql moudle and save it into

Create the class

Setup hiera

Run puppet

Configuration

Conclusion

References

https://netbox.readthedocs.io/en/stable/