Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying CentOS System Administration Essentials
  • Table Of Contents Toc
CentOS System Administration Essentials

CentOS System Administration Essentials

By : Andrew Mallett
4.2 (13)
close
close
CentOS System Administration Essentials

CentOS System Administration Essentials

4.2 (13)
By: Andrew Mallett

Overview of this book

If you are a Linux administrator who is looking to gain knowledge that differentiates yourself from the crowd, then this is the book for you. Beginners who have a keen interest to learn more about Linux administration will also progress quickly with this resourceful learning guide.
Table of Contents (13 chapters)
close
close
12
Index

Puppet resource


Versions of Puppet from 2.6 and later (the current release is 3.6) use the single binary puppet with subcommands for specific tasks. The earlier version had separate binaries for all of the subcommands. In the previous set of commands, we used the traditional CentOS syntax to start the Puppet master and then to enable the service for autostart; we could achieve the same result using the /usr/bin/puppet command along with the resource subcommand:

# puppet resource Service puppetmaster enable=true ensure=running

With this command, we direct our attention to the puppetmaster service, enable it for autostart (enable=true), and start it if required (ensure=running). This represents the very essence of how Puppet works. Of course, to manage many clients, we will create manifest files with similar resource rules to enforce the desired state. In itself though, we will configure the desired state of the node with the use of the puppet resource command.

Along with setting the desired...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
CentOS System Administration Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon