- Puppet 3 Cookbook
- John Arundel
- 248字
- 2021-04-09 23:52:23
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.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "You can check your manifests for style guide compliance using the puppet-lint
tool."
A block of code is set as follows:
node 'cookbook' { cron { 'randomised cron job': command => '/bin/echo Hello, world >>/tmp/hello.txt', hour => '*', minute => random_minute(), } }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
newparam(:path) do
validate do |value|
basepath = File.dirname(value)
unless File.directory?(basepath)
raise ArgumentError , "The path %s doesn't exist" % basepath
end
end
end
Any command-line input or output is written as follows:
ubuntu@cookbook:~/puppet$ papply Notice: Hello, I was included by your ENC! Notice: /Stage[main]/Admin::Helloenc/Notify[Hello, I was included by your ENC!]/message: defined 'message' as 'Hello, I was included by your ENC!' Notice: Finished catalog run in 0.29 seconds
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: "clicking the Next button moves you to the next screen".
- Flash CC中文版動畫設計與制作/微課堂學電腦
- Photoshop CC 2017實戰基礎培訓教程(全視頻微課版)
- 從零開始:Flash CS6中文版基礎培訓教程
- jQuery Mobile First Look
- DSP開發寶典
- UG NX 8.0模具設計教程
- Getting Started with Oracle BPM Suite 11gR1 – A Hands/On Tutorial
- After Effects 2023實訓教程
- WS/BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
- 3ds Max三維動畫制作項目式教程
- Alfresco 3 Cookbook
- Photoshop CS6 中文版從入門到精通
- Kubernetes快速入門(第2版)
- 解密AI繪畫與修圖:Stable Diffusion+Photoshop
- 碼上學會:中文版SolidWorks 2017全能一本通(雙色版)