Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

andrekeller/swinog-29

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet Vagrant Environments for SwiNOG-29

Basic Information

Puppet configuration (/etc/puppetlabs/code/environments/production) is mapped from the production folder.

To apply the changes made to the code, provisioning can be redone using

vagrant provision

Or from within the vagrant box:

sudo -s
cd /etc/puppetlabs/code/environments/production
/opt/puppetlabs/bin/puppet apply manifests/site.pp

Basic example

The basic example will install a simple webserver that will serve the webpage out of the webroot folder on: http://localhost:10080.

Additional the module demonstrates how to add a system user, including an ssh public key for authentication.

Used modules

Librenms example

The librenms example is slightly more complex. It demonstrats the installation of LibreNMS including database, php and nginx.

This is done within a custom module called swinog

After the initial puppet run, the librenms installer is available at https://localhost:10443.

IMPORTANT: Use localhost, not 127.0.0.1 to connect. (This is an issue with how LibreNMS handles external resources. Otherwise you wont get any CSS and images).

You can click through the wizard, when asked for the database password fill in the value from production/hieradata/common.yaml. The key to look for is swinog::librenms::database_librenms_password:.

Used modules

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published