March 2017
Beginner to intermediate
925 pages
18h 11m
English
Even though some system administrators like to wall themselves off from the rest of the office using piles of old printers, we all need to exchange information with other departments from time to time. For example, you may want to insert data into your Puppet manifests that is derived from some outside source. The generate function is ideal for this. Functions are executed on the machine compiling the catalog (the master for centralized deployments); an example like that shown here will only work in a masterless configuration.
Follow these steps to prepare to run the example:
/usr/local/bin/message.rb with the following contents:#!/usr/bin/env ruby puts "This runs on the master if you ...
Read now
Unlock full access