= V2 Puppet Modules = [[V2Master]] | [[V2Deployment]] <> = Introduction = = List of Puppet Modules = Some modules (where version number in displayed in the list) are installed from [[https://forge.puppetlabs.com/]] with the standard installation method, e.g.: {{{ puppet module install rodjek-logrotate }}} == Actively Used Modules == === For Virtual Host Provisioning === 1. '''dns_forwarder''' - Installs bind and sets up a forwarding only DNS server 1. '''nfs_server_backup''' - Installs NFS server and exports the backup directory to enable to mount it on VMs 1. '''postfix_aliases''' - Generates postfix alias file (/etc/aliases) to forward incoming emails to the V2 systems 1. '''postfix_satellite''' - Installs postfix and sets config files to work through a relay host 1. '''postfix_server_primary''' - Installs postfix and sets config files to act as a relay host with dovecot (IMAP, POP3 server) and spamassassin (SPAM filter) 1. '''puppet_agent''' - Installs cronjob for running puppet agent 1. '''puppetlabs-stdlib (v4.5.0)''' - Helper functions 1. '''rails_user''' - Creates v2 user, rails subdirectory and /etc/environment for general PATH setting 1. '''rinetd''' - Installs and sets up rinetd-based port forwarding 1. '''rodjek-logrotate (v1.1.1 - updated from github)''' - Used by v2_logrotate to write logrotate files 1. '''rproxy''' - Installs the Apache module rproxy for forwarding incoming wed requests to the correct VM 1. '''test''' - Installs a file in the /tmp directory for testing Puppet runs 1. '''v2_server''' - Creates Vagrantfile for the given virtual host 1. '''vm_host''' - Virtual``Box and Vagrant installation === V2 Deployment Modules === 1. '''apache''' - Installs Apache and sets up a top-level index.html page with hostname 1. '''gems''' - Installs Nokogiri gem and Ubuntu libaries needed to support it 1. '''mysql''' - Installs MySQL and sets the root users password 1. '''passenger''' - Install the Apache module Passenger Phusion 1. '''v2''' - Apache virtual host with relative path and custom log files, and database.yml file 1. '''v2_backup''' - Sets crontab jobs to schedule database and app backup 1. '''v2_logrotate''' - Set logrotate config file for rails production.log === Modules Needing Refactoring === 1. '''bind''' - Installs bind and sets up zone files, based on the selected zones (incomplete) 1. To be replaced by a new DNS module 1. '''www''' - Apache PHP setup, and virtual hosts for ''www'' and ''lu'' 1. '''wiki''' - User wiki, Apache virtual hosts for wikis and .htpasswd 1. '''nfs''' - CentOS only. Installs NFS packages and services, sets up exports file == Unused Modules == 1. '''puppetlabs-cloud_provisioner (v1.0.5)''' - Provides support for managing Amazon AWS server 1. '''dhcp''' - Unused (''to be deleted'') 1. '''puppet''' - Unused (''to be deleted'')