-- ·|­û / µù¥U -- ¡@
¡@±b¸¹¡G
¡@±K½X¡G
¡@ | µù¥U | §Ñ°O±K½X
10/8 ·s®Ñ¨ì¡I 10/1 ·s®Ñ¨ì¡I 9/24 ·s®Ñ¨ì¡I 9/18 ·s®Ñ¨ì¡I
ÁʮѬyµ{¡EQ & A¡E¯¸°È¯d¨¥ª©¡E«ÈªA«H½c
¢x 3ds Max¢x Maya¢x Rhino¢x After Effects¢x SketchUp¢x ZBrush¢x Painter¢x Unity¢x
¢x PhotoShop¢x AutoCad¢x MasterCam¢x SolidWorks¢x Creo¢x UG¢x Revit¢x Nuke¢x
¢x C#¢x C¢x C++¢x Java¢x ¹CÀ¸µ{¦¡¢x Linux¢x ´O¤J¦¡¢x PLC¢x FPGA¢x Matlab¢x
¢x Àb«È¢x ¸ê®Æ®w¢x ·j¯Á¤ÞÀº¢x ¼v¹³³B²z¢x Fluent¢x VR+AR¢x ANSYS¢x ²`«×¾Ç²ß¢x
¢x ³æ´¹¤ù¢x AVR¢x OpenGL¢x Arduino¢x Raspberry Pi¢x ¹q¸ô³]­p¢x Cadence¢x Protel¢x
¢x Hadoop¢x Python¢x Stm32¢x Cortex¢x Labview¢x ¤â¾÷µ{¦¡¢x Android¢x iPhone¢x
¥i¬d®Ñ¦W,§@ªÌ,ISBN,3dwoo®Ñ¸¹
¸Ô²Ó®ÑÄy¤ÀÃþ

ºë³qPuppet°t¸mºÞ²z¤u¨ã(²Ä2ª©)

( ²Åé ¦r)
§@ªÌ¡G[¬ü] Spencer KrumÃþ§O¡G1. -> µ{¦¡³]­p -> ºî¦X
¡@¡@¡@2. -> µ{¦¡³]­p -> ¶³­pºâ
ĶªÌ¡G
¥Xª©ªÀ¡G¤H¥Á¶l¹q¥Xª©ªÀºë³qPuppet°t¸mºÞ²z¤u¨ã(²Ä2ª©) 3dWoo®Ñ¸¹¡G 39583
¸ß°Ý®ÑÄy½Ð»¡¥X¦¹®Ñ¸¹¡I

¡i¦³®w¦s¡j
NT°â»ù¡G 345 ¤¸

¥Xª©¤é¡G10/1/2014
­¶¼Æ¡G261
¥úºÐ¼Æ¡G0
¯¸ªø±ÀÂË¡G
¦L¨ê¡G¶Â¥Õ¦L¨ê»y¨t¡G ( ²Åé ª© )
¥[¤JÁʪ«¨® ¢x¥[¨ì§Úªº³Ì·R
(½Ð¥ýµn¤J·|­û)
ISBN¡G9787115368072
§@ªÌ§Ç¡@|¡@ĶªÌ§Ç¡@|¡@«e¨¥¡@|¡@¤º®e²¤¶¡@|¡@¥Ø¿ý¡@|¡@§Ç
(²Åé®Ñ¤W©Ò­z¤§¤U¸ü³sµ²¯Ó®É¶O¥\, ®¤¤£¾A¥Î¦b¥xÆW, ­YŪªÌ»Ý­n½Ð¦Û¦æ¹Á¸Õ, ®¤¤£«OÃÒ)
§@ªÌ§Ç¡G

ĶªÌ§Ç¡G

«e¨¥¡G

¤º®e²¤¶¡G

¡@¡@¡mºë³qPuppet°t¸mºÞ²z¤u¨ã(²Ä2ª©)¡n¨t²Î¤¶²Ð¤F¶}·½°t¸mºÞ²z¤u¨ãPuppet¡A¦}´£¨Ñ¤FÀ°§U¨Ï¥ÎPuppetªº¤j¶q¸ê·½¡C®Ñ¤¤¤¶²Ð¤F¦p¦ó±NPuppetÀ³¥Î¦b¥]¬AWindows¦b¤ºªº¦hºØ¥­»O¤W¡A¦p¦ó¨Ï¥ÎPuppet¼Ò¶ô©MHiera¡A¦p¦ó¨Ï¥Î¤j¶q§K¶O¦n¥ÎªºPuppetªþÄݤu¨ã¡A¦prspec-puppet¡BGeppetto©MPuppetDBµ¥¡C
¡@¡@¡mºë³qPuppet°t¸mºÞ²z¤u¨ã(²Ä2ª©)¡n²[»\¤F¦w¸Ë¡B¨Ï¥Î¦}§Q¥ÎPuppet¶i¦æ¶}µo©Ò»Ý­nªº¥þ³¡ª¾ÃÑ¡B¤º³¡§Þ¥©©M§Þ³N¡A«D±`¾A¦X¨t²ÎºÞ²z­û¡B¾Þ§@¤H­û©M¶}µo¤H­û¾\Ū¡C
¥Ø¿ý¡G

²Ä1³¹¡@PuppetªìÅéÅç¡@1
1.1¡@¤°¤\¬OPuppet¡@1
1.1.1¡@³¡¸p¼h¡@2
1.1.2¡@°t¸m»y¨¥»P¸ê·½©â¶H¼h¡@3
1.1.3¡@¨Æ°È¼h¡@5
1.2¡@¿ï¾Ü¥¿½Tªºª©¥»¡@6
1.3¡@¦w¸ËPuppet¡@6
1.3.1¡@Red Hat Enterprise Linux©MFedora¡@7
1.3.2¡@Debian©MUbuntu¡@8
1.3.3¡@OpenIndiana¡@9
1.3.4¡@Solaris 10©MSolaris 11¡@9
1.3.5¡@°ò¤_·½¥N½X¦w¸Ë¡@9
1.3.6¡@Microsoft Windows¡@10
1.3.7¡@Mac¡@12
1.3.8¡@¨ä¥L¥­»O¡@15
1.4¡@°t¸mPuppet¡@16
1.4.1¡@site.pp¤å¥ó¡@17
1.4.2¡@¨¾¤õùÙ°t¸m¡@17
1.4.3¡@±Ò°ÊPuppet master¡@17
1.5¡@³s±µ«È¤áºÝ¡@19
1.6¡@³Ð«Ø²Ä¤@­Ó°t¸m¶µ¡@21
1.7¡@³Ð«Ø¤@­Ó¼Ò¶ô¡@23
1.7.1¡@¼Ò¶ôµ²ºc¡@23
1.7.2¡@init.pp¤å¥ó¡@23
1.7.3¡@À³¥Î³o­Ó°t¸m¶µ¡@26
1.8¡@¤pµ²¡@27
1.9¡@¬ÛÃö¸ê·½¡@28

²Ä2³¹¡@¥ÎPuppetºc«Ø¥D¾÷¡@29
2.1¡@¶}©l¡@30
2.1.1¡@¦w¸ËPuppet¡@30
2.1.2¡@¦bKickstart¤¤¶°¦¨©M±Ò°ÊPuppet¡@30
2.2¡@°t¸m¸`ÂI¡@31
2.2.1¡@¬Û¦ü¥D¾÷ªº³B²z¤èªk¡@31
2.2.2¡@¨Ï¥Î¥~³¡°t¸m¡@32
2.2.3¡@Àq»{¸`ÂI¡@32
2.2.4¡@¸`ÂIÄ~©Ó¡@32
2.2.5¡@Åܶq°ì¡@33
2.2.6¡@Puppet Style Guide¡@36
2.3¡@¥Î¼Ò¶ôÅÜÅ]³N¡@36
2.3.1¡@±N¼Ò¶ô¥N½X¯Ç¤Jª©¥»±±¨î¡@38
2.3.2¡@³Ð«Ø¼Ò¶ô¨ÓºÞ²zSSHªA°È¡@40
2.3.3¡@³Ð«Ø¼Ò¶ô¨ÓºÞ²zPostfix¡@49
2.3.4¡@¥Îmysql¼Ò¶ôºÞ²zMySQL¡@52
2.3.5¡@ºÞ²zApache»Pºô¯¸¡@56
2.3.6¡@¥ÎPuppet¼Ò¶ôºÞ²zPuppet¡@60
2.4¡@¤pµ²¡@64
2.5¡@¬ÛÃö¸ê·½¡@64

²Ä3³¹¡@¶}µo©M³¡¸pPuppet¡@65
3.1¡@puppet apply©R¥O©M¾Þ§@¼Ò¦¡¡@65
3.1.1¡@¥ÎPuppet°µ«Ì¹õ¿é¥X¡@65
3.1.2¡@¥ÎNotify´ú¸ÕPuppet¦æ¬°¡@66
3.1.3¡@¥Îpuppet apply³B²z²M³æ¤å¥ó¡@66
3.2¡@«e»O¹B¦æPuppet Master¡@69
3.3¡@¥ÎVagrant¶}µoPuppet¡@71
3.3.1¡@Vagrantªºªì©l³]¸m¡@72
3.3.2¡@±Ò°ÊVagrant¨F½c¡@73
3.3.3¡@¦bVagrant¨F½c¤¤°t¸mPuppet¡@73
3.3.4¡@¥ÎVagrant´ú¸ÕPuppet¡@74
3.3.5¡@¾P·´©M­««ØVagrant¨F½c¡@74
3.4¡@Àô¹Ò¡@75
3.4.1¡@ºûÅ@¼Ò¶ô¡@76
3.4.2¡@¥~³¡¼Ò¶ô¶}µo¤u¨ã¡@76
3.4.3¡@°t¸mPuppetÀô¹Ò¡@76
3.4.4¡@´_¨î·sÀô¹Ò¡@77
3.4.5¡@³Ð«Ø¥N½X®w°Æ¥»¡@77
3.5¡@§ïÅܶ}µoÀô¹Ò¡@78
3.6¡@¥ÎPuppet agent´ú¸Õ·sÀô¹Ò¡@80
3.7¡@Àô¹Òªº¤À¤ä»P¦X¦}¡@82
3.7.1¡@³Ð«Ø¤@­Ó¤¤¥¡¥N½X®w¡@82
3.7.2¡@¬°¼Ò¶ô³Ð«Ø»r¥N½X®w¡@82
3.7.3¡@§@¤@¨Ç­×§ï¡@83
3.8¡@³q¹LGit¤À¤ä³Ð«Ø°ÊºAPuppetÀô¹Ò¡@83
3.9¡@¤pµ²¡@87
3.10¡@¬ÛÃö¸ê·½¡@87

²Ä4³¹¡@¾î¦VÂX®iPuppet¡@88
4.1¡@½T©w¬D¾Ô¡@88
4.2¡@°ò¤_Apache©MPassenger¹B¦æPuppet master¡@89
4.2.1¡@¦w¸ËApache©MPassenger¡@89
4.2.2¡@°t¸mApache©MPassenger¡@92
4.3¡@´ú¸ÕApache¤¤ªºPuppet master¡@96
4.4¡@¬°¦h­ÓPuppet master°µ­t¸ü§¡¿Å¡@97
4.4.1¡@HTTP­t¸ü§¡¿Å¡@97
4.4.2¡@Puppet master¤u§@¶iµ{°t¸m¡@98
4.4.3¡@¸Ô¸Ñ«eºÝ­t¸ü§¡¿Å¾¹°t¸m¡@101
4.4.4¡@´ú¸Õ­t¸ü§¡¿Å¾¹°t¸m¡@102
4.5¡@¶i¤@¨BÂX®i¡@108
4.6¡@¨ä¥L­t¸ü§¡¿Å¤è®×¡@119
4.6.1¡@°ò¤_DNS round robinªº­t¸ü§¡¿Å¡@119
4.6.2¡@°ò¤_DNS SRV°O¿ýªº­t¸ü§¡¿Å¡@119
4.6.3¡@¨Ï¥ÎTCP­t¸ü§¡¿Å¡@119
4.6.4¡@IP¥ô¼½¡@122
4.6.5¡@¿W¥ß¹B¦æ¼Ò¦¡¤UªºPuppet¡@122
4.7¡@´ú¸Õ©Ê¯à¡@125
4.8¡@ÁקKÅå¸s®ÄÀ³¡@127
4.9¡@¤pµ²¡@127
4.10¡@§ó¶i¤@¨B¡@127
4.11¡@¬ÛÃö¸ê·½¡@127

²Ä5³¹¡@¥~³¡Puppet°t¸m¡@129
5.1¡@¥~³¡¸`ÂI¤ÀÃþ¡@129
5.1.1¡@¥Î¥~³¡¸`ÂI¤ÀÃþ¸}¥»°t¸m¸`ÂI¡@130
5.1.2¡@Shell¥~³¡¸`ÂI¤ÀÃþ¸}¥»¡@131
5.1.3¡@YAML¤¤ªº°Ñ¼Æ¤ÆÃþ¡@132
5.1.4¡@Ruby¥~³¡¸`ÂI¤ÀÃþ¸}¥»¡@132
5.1.5¡@Perl¥~³¡¸`ÂI¤ÀÃþ¸}¥»¡@134
5.1.6¡@°ò¤_¼Æ¾Ú®wªº¥~³¡¸`ÂI¤ÀÃþ¸}¥»¡@135
5.2¡@¥ÎLDAP¦sÀx¸`ÂI°t¸m¡@136
5.2.1¡@¦w¸ËRuby LDAP®w¡@136
5.2.2¡@°t¸mLDAPªA°È¾¹¡@137
5.2.3¡@²K¥[Puppet¼Ò¦¡¡@137
5.2.4¡@¦bPuppet¤¤°t¸mLDAP¡@138
5.3¡@¤pµ²¡@140
5.4¡@¬ÛÃö¸ê·½¡@140

²Ä6³¹¡@¾É¥X©M¦sÀx°t¸m¡@141
6.1¡@µêÀÀ¸ê·½¡@141
6.1.1¡@Án©ú¦}¹ê¨Ò¤ÆµêÀÀ¸ê·½¡@142
6.1.2¡@¥Îrealize¨ç¼Æ¹ê¨Ò¤ÆµêÀÀ¸ê·½¡@142
6.1.3¡@¹ê¨Ò¤Æ¦h­ÓµêÀÀ¸ê·½¡@143
6.1.4¡@Ãö¨tÃì»yªk¡@143
6.2¡@ªìÃѾɥX©M¦sÀx°t¸m¡@144
6.3¡@¨Ï¥Î¾É¥X¸ê·½¡@146
6.3.1¡@SSH¤½Æ_ªº¦Û°Ê¤ÆºÞ²z¡@146
6.3.2¡@¾É¥X­t¸ü§¡¿Å¾¹ªº¤u§@¶iµ{¸ê·½¡@148
6.3.3¡@NagiosªA°ÈºÊ±±¦Û°Ê¤Æ¡@149
6.4¡@²M°£¹L´Á¸ê·½¡@152
6.5¡@¤pµ²¡@153
6.6¡@¬ÛÃö¸ê·½¡@153

²Ä7³¹¡@Puppet±±¨î»O¤u¨ã¡@154
7.1¡@Foreman¡@154
7.1.1¡@¦w¸ËForeman¡@154
7.1.2¡@±qPuppet¾É¤J¼Æ¾Ú¡@158
7.1.3¡@³s±µ²Ä¤@­Ó«È¤áºÝ¡@159
7.1.4¡@±NForeman¥Î§@ENC¡@160
7.1.5¡@Foremanªº³ø§i¯S©Ê¡@161
7.1.6¡@¥ÎForeman·j¯Á¸`ÂI«H®§¡@162
7.2¡@¥ø·~ª©Puppet±±¨î»O¡@163
7.2.1¡@¦w¸Ë¥ø·~ª©Puppet¡@163
7.2.2¡@³s±µPE«È¤áºÝ©M±±¨î»O¡@164
7.2.3¡@¬°¸`ÂI²K¥[Ãþ¡@164
7.2.4¡@½LÂIªA°È¡@165
7.2.5¡@¹ê®ÉºÞ²z¡@165
7.3¡@Puppetboard¡@166
7.3.1¡@¦w¸Ë¹Lµ{¡@166
7.3.2¡@±±¨î¤¤¤ßªº¼Ðñ­¶¡@167
7.3.3¡@Puppetboardªº¥¼¨Ó¡@169
7.4¡@¤pµ²¡@169
7.5¡@¬ÛÃö¸ê·½¡@170

²Ä8³¹¡@¤u¨ã»P¾ã¦X¡@171
8.1¡@Puppet Forge»P¼Ò¶ô¤u¨ã¡@171
8.2¡@±qForge¤¤·j¯Á¦}¦w¸Ë¼Ò¶ô¡@172
8.3¡@³Ð«Ø¤@­Ó¼Ò¶ô¡@174
8.4¡@ºÞ²z¼Ò¶ô¶¡¨Ì¿à¡@176
8.4.1¡@Puppet librarian¡@176
8.4.2¡@r10k¡@177
8.4.3¡@Puppet-lint¡@178
8.5¡@´ú¸Õ¼Ò¶ô¡@179
8.5.1¡@spec-puppet¡@179
8.5.2¡@TravisCI¡@184
8.5.3¡@rspec-system¡@185
8.6¡@¨Ï¥ÎGeppetto¶}µoPuppet¼Ò¶ô¡@188
8.7¡@¤pµ²¡@191
8.8¡@¬ÛÃö¸ê·½¡@191

²Ä9³¹¡@Puppetªº³ø§i¨t²Î¡@192
9.1¡@³ø§i¨t²ÎªìÅéÅç¡@192
9.2¡@°t¸m³ø§i¨t²Î¡@194
9.3¡@³ø§i³B²z¾¹¡@194
9.3.1¡@log¡@195
9.3.2¡@tagmail¡@195
9.3.3¡@rrdgraph¡@196
9.3.4¡@http¡@196
9.3.5¡@PuppetDB¡@197
9.4¡@¦Û©w¸q³ø§i¡@197
9.5¡@¨ä¥L³ø§i¤u¨ã¡@199
9.6¡@¤pµ²¡@199
9.7¡@¬ÛÃö¸ê·½¡@199

²Ä10³¹¡@ÂX®iFacter©MPuppet¡@200
10.1¡@½s¼g¦}µo¥¬¦Û©w¸qfact¡@200
10.1.1¡@Puppetªº¦Û©w¸qfact°t¸m¡@200
10.1.2¡@½s¼g¦Û©w¸qfact¡@201
10.1.3¡@´ú¸Õfact¡@204
10.1.4¡@¥~³¡fact¡@204
10.2¡@¶}µo¦Û©w¸qÃþ«¬¡B´£¨ÑªÌ©M¨ç¼Æ¡@205
10.2.1¡@°t¸mPuppetªºÃþ«¬¡B´£¨ÑªÌ©M¨ç¼Æ¡@205
10.2.2¡@½s¼gPuppetÃþ«¬©M´£¨ÑªÌ¡@206
10.2.3¡@½s¼g¤@­Ó¸ÑªR¤å¥óÃþ«¬©M´£¨ÑªÌ¡@210
10.2.4¡@¤@­Ó§ó´_ÂøªºÃþ«¬©M´£¨ÑªÌ¡@213
10.2.5¡@´ú¸ÕÃþ«¬©M´£¨ÑªÌ¡@216
10.2.6¡@½s¼g¦Û©w¸q¨ç¼Æ¡@216
10.3¡@¤pµ²¡@219
10.4¡@¬ÛÃö¸ê·½¡@219

²Ä11³¹¡@MCollective¡@220
11.1¡@­I´º¤¶²Ð¡@220
11.2¡@¦w¸Ë©M°t¸mMCollective¡@221
11.2.1¡@³Ð«Ø¦}«O¦sÃҮѡ@222
11.2.2¡@ÅçÃÒÅv­­¡@223
11.3¡@´ú¸Õ¡@224
11.4¡@¦w¸ËMCollective´¡¥ó¡@225
11.4.1¡@Puppet agent´¡¥ó¡@226
11.4.2¡@Facter´¡¥ó¡@228
11.4.3¡@NRPE´¡¥ó¡@228
11.5¡@³q¹L¤¸¼Æ¾Ú©w¦ì¥D¾÷¡@230
11.6¡@ªþÄÝ´¡¥ó¡@231
11.7¡@¤pµ²¡@231
11.8¡@¬ÛÃö¸ê·½¡@232

²Ä12³¹¡@Hiera: ¤ÀÂ÷¼Æ¾Ú»P¥N½X¡@233
12.1¡@Hiera¯à°µ¤°¤\¡@233
12.2¡@¦bª©Puppet¤W¦w¸ËHiera¡@235
12.3¡@Hieraªì©l°t¸m¡@235
12.4¡@Hiera©R¥O¦æ¤u¨ã¡@237
12.4.1¡@³Ð«Ø¤@­ÓHiera¼Æ¾Ú¤å¥ó¡@237
12.4.2¡@°õ¦æHiera¬d¸ß¡@237
12.4.3¡@¥ÎPuppet°µHiera¬d¸ß¡@238
12.4.4¡@ÂsÄý¼h¦¸µ²ºc¼Æ¾Ú¡@238
12.4.5¡@³Ð«Ø°ÊºA¼h¦¸µ²ºc¡@239
12.4.6¡@¦bHiera¬d¸ß¤¤¨Ï¥ÎÅܶq¡@239
12.4.7¡@µ²¦XPuppet©MÅܶq°µHiera¬d¸ß¡@240
12.4.8¡@¼h¦¸µ²ºc²Õ´¡@240
12.5¡@´_Âø¼Æ¾Úµ²ºc¡@241
12.5.1¡@ªð¦^µ²ºc¤Æ¼Æ¾Ú¡@241
12.5.2¡@¼Æ²Õ¦X¦}¡@242
12.5.3¡@´²¦C¦X¦}¡@243
12.6¡@¨ä¥L¦ZºÝ¡@245
12.6.1¡@¤å¥ó¦ZºÝ¡@246
12.6.2¡@JSON¦ZºÝ¡@248
12.6.3¡@MySQL¦ZºÝ¡@249
12.6.4¡@gpg¦ZºÝ¡@251
12.7¡@Hiera¨ç¼Æªº°ª¯Å¥Îªk¡@254
12.8¡@¼Ò¶ô¼Æ¾Ú¸j©w¡@255
12.9¡@Hiera¹ê¨Ò¡@257
12.9.1¡@create-resources()¨ç¼Æ¡@258
12.9.2¡@±NHiera¥Î§@ENC¡@259
12.10¡@Hiera-2¡@260
12.11¡@¤pµ²¡@260
12.12¡@¬ÛÃö¸ê·½¡@261
§Ç¡G