Reader small image

You're reading from  Puppet 5 Essentials - Third Edition

Product typeBook
Published inSep 2017
PublisherPackt
ISBN-139781787284715
Edition3rd Edition
Tools
Concepts
Right arrow
Author (1)
Felix Frank
Felix Frank
author image
Felix Frank

Felix Frank has used and programmed computers for most of his life. During and after working on his computer science diploma, he gained experience on the job as a systems administrator, server operator, and open source software developer. He spent 6 years of his 11-year career as a Puppet power user. In parallel, he spent about two years intensifying his studies through ongoing source code contributions and active participation in several conferences.
Read more about Felix Frank

Right arrow

Performance optimizations

Operating a Puppet master gives you numerous benefits over just using puppet apply on all your machines. This comes at a cost, of course. The master and agents form a server/client relation, and, as with most such constructs, the server can become the bottleneck.

The good news is that the Puppet agent is a fat client. The major share of the work inspecting file contents, interfacing with the package-management subsystem, services subsystem, and much more is done by the agent. The master only has to compile manifests and build catalogs from them. This becomes increasingly complex as you hand over more control to Puppet.

There is one more task your master is responsible for. Many of your manifests will contain file resources that rely on prepared content:

file { '/usr/local/etc/my_app.ini':
ensure => file,
owner => 'root',
...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Puppet 5 Essentials - Third Edition
Published in: Sep 2017Publisher: PacktISBN-13: 9781787284715

Author (1)

author image
Felix Frank

Felix Frank has used and programmed computers for most of his life. During and after working on his computer science diploma, he gained experience on the job as a systems administrator, server operator, and open source software developer. He spent 6 years of his 11-year career as a Puppet power user. In parallel, he spent about two years intensifying his studies through ongoing source code contributions and active participation in several conferences.
Read more about Felix Frank