@@ -248,20 +248,33 @@ physical and virtual machines.
248
248
Puppet is available both as an Open Source and an Enterprise variant. Modules are
249
249
small,shareable units of code written to automate or define the state of a system.
250
250
`Puppet Forge <https://forge.puppetlabs.com/ >`_ is a repository for modules written
251
- by the community for Open Source
252
- and Enterprise Puppet.
251
+ by the community for Open Source and Enterprise Puppet.
253
252
254
253
Puppet Agents are installed on nodes whose state needs to be monitored or changed.
255
254
A desginated server known as the Puppet Master is responsible for orchastrating the
256
255
agent nodes.
257
256
258
- Agent nodes send basic facts about the system such as to the Operating System, Kernel ,
259
- Architecture, IP Address, Hostname etc. to the Puppet Master.
257
+ Agent nodes send basic facts about the system such as to the operating system, kernel ,
258
+ architecture, ip address, hostname etc. to the Puppet Master.
260
259
The Puppet Master then compiles a catalog with information provided by the agents on
261
260
how each node should be configured and sends it to the agent. The agent enforces the
262
261
change as prescribed in the catalog and sends a report back to the Puppet Master.
263
262
264
- `Puppet Labs Documentation <http://docs.puppetlabs.com >`_
263
+ Facter is an interesting tool that ships with Puppet that pulls basic facts about
264
+ the System. These facts can be referenced as a variable while writing your
265
+ Puppet modules.
266
+
267
+ .. code-block :: console
268
+
269
+ $ facter kernel
270
+ Linux
271
+ .. code-block :: console
272
+
273
+ $ facter operatingsystem
274
+ Ubuntu
275
+
276
+
277
+ `Puppet Labs Documentation <http://docs.puppetlabs.com >`_
265
278
266
279
Blueprint
267
280
---------
0 commit comments