Managing Infrastructure With Puppet by James Loope
Author:James Loope [Loope, James]
Language: eng
Format: epub
Tags: General, COMPUTERS / System Administration / General, Computers, Programming Languages, System Administration, Disaster & Recovery, Programming, Utilities, Windows Administration, Ruby, Linux & UNIX Administration
ISBN: 9781449307639
Google: PB-YCXkXmUcC
Amazon: B005EI857S
Barnesnoble: B005EI857S
Goodreads: 12001393
Publisher: O'Reilly Media
Published: 2011-06-16T00:00:00+00:00
file { '/etc/ntp.conf':
mode => '640',
owner => root,
group => root,
source => "puppet:///modules/apps/ntp/ntp.conf",
require => Package[ntp],
}
service { "ntp":
ensure => running,
enable => true,
pattern => 'ntpd',
subscribe => [Package["ntp"], File["/etc/ntp.conf"]],
}
}
With our node defined and importing the ntp class that we’ve written, we can now test out the agent. On the Puppet agent node, run sudo puppetd --test --noop --server puppet.example.com. This will tell the agent to run without daemonizing into the background (--test) and without actually modifying anything (--noop). The first run will not obtain a configuration from the Puppet Master because the agent has not yet been authenticated. It did, however, leave its certificate on the master for inspection. The next step in getting our agent and master talking is to have the Puppet Master sign our agent’s SSL certificate. This initial authentication step is done with the puppetca command. On the Puppet Master, run sudo puppetca -la. This will list all of the certificates in our Puppet Master’s certificate store. Certificates that are signed will have a + in front of them, and unsigned certificates will not. You should see a certificate for your agent that is not yet signed. To sign it, simply run sudo puppetca -sa. This will sign all the outstanding requests and allow those agents to talk to the master.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Disaster & Recovery | Email Administration |
Linux & UNIX Administration | Storage & Retrieval |
Windows Administration |
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7419)
Grails in Action by Glen Smith Peter Ledbrook(7314)
Kotlin in Action by Dmitry Jemerov(4663)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4143)
The Age of Surveillance Capitalism by Shoshana Zuboff(3438)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3261)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3036)
Mastering Python for Networking and Security by José Manuel Ortega(2976)
Blockchain Basics by Daniel Drescher(2903)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(2764)
TCP IP by Todd Lammle(2650)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(2638)
Azure Containers Explained by Wesley Haakman & Richard Hooper(2529)
From CIA to APT: An Introduction to Cyber Security by Edward G. Amoroso & Matthew E. Amoroso(2491)
Hands-On Azure for Developers by Kamil Mrzyglod(2441)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2346)
The Social Psychology of Inequality by Unknown(2325)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2320)
Combating Crime on the Dark Web by Nearchos Nearchou(2320)