Generating manifests with other tools
If you want to quickly capture the complete configuration of a running system as a Puppet manifest, there are a couple of tools available to help. In this example we'll look at Blueprint and Pysa, both designed to examine a machine and dump its state as Puppet code.
Getting ready...
Here's what you need to do to prepare your system for using Blueprint.
Run the following commands to install Blueprint:
ubuntu@cookbook:~/puppet$ sudo apt-get install python-pip ubuntu@cookbook:~/puppet$ sudo pip install blueprint
How to do it...
These steps will show you how to run Blueprint:
Run the following commands:
ubuntu@cookbook:~/puppet$ cd puppet/modules/ ubuntu@cookbook:~/puppet/modules$ sudo blueprint create -P bp_test # [blueprint] searching for APT packages to exclude No packages found matching installation-report. No packages found matching linux-generic-pae. No packages found matching language-pack-en. No packages found matching language-pack-gnome-en. No packages...