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

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.

主站蜘蛛池模板: 察隅县| 泰安市| 和田市| 九江县| 高邮市| 五原县| 巩留县| 平安县| 潢川县| 海阳市| 呼伦贝尔市| 调兵山市| 辉南县| 鄯善县| 荥阳市| 南投县| 衡阳县| 襄垣县| 长乐市| 南城县| 嘉义县| 正镶白旗| 双桥区| 伊宁市| 湘乡市| 新晃| 桃园县| 苍南县| 茶陵县| 曲靖市| 崇信县| 仪征市| 高碑店市| 淮北市| 台江县| 江孜县| 昌宁县| 十堰市| 天镇县| 广南县| 永顺县|