O'Reilly logo

Puppet 4.10 Beginner's Guide - Second Edition by John Arundel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Services

Although services are implemented in a number of varied and complicated ways at the operating system level, Puppet does a good job of abstracting away most of this with the service resource and exposing just the two attributes of services which you most commonly need to manage: whether they're running (ensure) and whether they start at boot time (enable). We covered the use of these in Chapter 2, Creating your first manifests, and most of the time, you won't need to know any more about service resources.

However, you'll occasionally encounter services which don't play well with Puppet, for a variety of reasons. Sometimes Puppet is unable to detect that the service is already running, and keeps trying to start it. Other times, Puppet may ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required