官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 民权县| 中超| 京山县| 隆子县| 台东县| 延安市| 宝丰县| 齐齐哈尔市| 靖边县| 安化县| 黄大仙区| 高唐县| 姚安县| 宁晋县| 那曲县| 嘉定区| 罗田县| 仁化县| 金平| 花莲县| 山东省| 江油市| 墨玉县| 荆门市| 沙洋县| 云霄县| 肥东县| 鱼台县| 化州市| 三穗县| 昆明市| 滁州市| 依兰县| 迁安市| 易门县| 望奎县| 永胜县| 石台县| 兴文县| 封丘县| 巴彦淖尔市|