Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Puppet code words in text, module names, folder names, filenames, dummy URLs, and user input are shown as follows: "The file /var/lib/puppet/classes.txt
contains a list of the classes applied to the machine."
A block of code is set as follows:
class base { file {'one': path => '/tmp/one', ensure => 'directory', } file {"two": path => "/tmp/one$one", ensure => 'file', } }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
service {'nginx':
require => Package['nginx'],
ensure => true,
enable => true,
}
Any command-line input or output is written as follows:
$ mco ping worker1.example.com time=86.03 ms node2.example.com time=96.21 ms node1.example.com time=97.64 ms ---- ping statistics ---- 3 replies max: 97.64 min: 86.03 avg: 93.29
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Then navigate to the settings section and update the trusted_puppetmaster_hosts setting."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.