-
Notifications
You must be signed in to change notification settings - Fork 53
Home
This puppet module allows users to provision vm's/images using a variety of tasks. They are detailed in the https://github.com/puppetlabs/provision/blob/master/README.md.
There are a number of helper tasks and helper plans in this module, that gives extended functionality.
Installs a PE instance, turns on autosigning. hard-coded to install 2019.2
Creates a manifest file for a target node on pe server.
rewrites the site.pp /etc/puppetlabs/code/environments/production/manifests with whatever manifest you pass.
It will read the inventory file, and look for a node that has the role of pe. It will take all nodes with the role of agent, install puppet 6 and register that node with the pe server (running 'puppet agent -t')
It will read the inventory file, and tear down any nodes listed.
A hard coded example plan that will spin up 3 machines on vmpooler, and set the appropriate roles to agents and pe.
A hard coded example plan that will call the install_pe task and install it on the node that has the role of pe. Then the motd module is installed and set the UI password for pe to litmus.
A hardcoded example plan that sets the motd on all of the nodes that have the role of agent.
A hard coded example plan that runs serverspec tests only against nodes that have the role of agent.