Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
- Puppet >= 5.3.2 < 7.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'maxadamo-patching_status', '0.2.0'
Learn more about managing modules with a PuppetfileDocumentation
patching_status
Table of Contents
- Description
- Requirements
- Setup - The basics of getting started with galera_proxysql
- Screenshot
- Development
- Credits
- Limitations - OS compatibility, etc.
Description
This module sets up a the web pages which shows the patching status of your systems. The data are fed to PuppetDB through the scripts provided by the Puppet module albatrossflavour/os_patching and this module modules pulls the data (through a cron job) from the PuppetDB and convert them in HTML format. The module will copy the files that will be accessed by a web server, configure python virtualenv and set a crontab entry.
Requirements
- Your web server of choice points to
web_base
directory - Your systems are already sending the patching status to the PuppetDB using the module
albatrossflavour/os_patching
Setup
Setting up patching_status
This example will setup the web page:
class { '::patching_status':
web_base => /virtualenv/directory,
script_base => /webserver/directory,
puppetdb => '192.168.1.10';
}
Other parameters include:
- puppetdb_port (default: 8080)
- cron_hour (default: every hour)
- cron_minute (default: once in 1 hour)
- user (default: root. User to assign the files to and install the cron job)
- group (default: root. Group to assign the files to)
- install_method (default: ensure_packages. You can choose between
ensure_packages
andpackage
. You can try the default first)
Screenshot
Development
Want to see improvements? Please help! I am not a front-end developer and I have glued together a bunch of iquery and scripts.
Credits
Mountable: iQuery json-to-table by Guilherme Augusto Madaleno
Spinner: JavaScript by Pace
Limitations
The module was tested only against Ubuntu 16.04, 18.04 and CentOS 7, but I'm confident that it will work on Debian as well.
Dependencies
- albatrossflavour-os_patching (>= 0.8.0 <= 0.11.2)