The following issues occurred on the agent when you configured the puppet certificate today.can start normally# Service puppet startstarting puppet agent: [OK] After startup but exception # service puppet Statuspupp Et dead but PID file existsTried many times, still so. Therefore, look at the log, the results found tha
Configure automatic signing of certificatesremoving client certificates on the service sidePuppet cert Clean client.aming.comremove the files under SSL on the clientrm-rf/var/lib/puppet/ssl/*server-side change configuration filevim/etc/puppet/puppet.conf Add a line below [main]Autosign = TrueServer-side creation of auto-signed configuration filesvim/etc/puppet/au
Puppet PP profile has not been vim support, edit the black background white, not easy to row wrong, it seems difficult to distinguish, need to make further changes to perfect display
You must add 2 files to the. Vim in the user's root directory, as follows:
1 Vim directory to create the Syntax/puppet.vim:
#mkdir ~/.vim
#cd ~/.vim
#mkdir syntax
#vim Syntax/puppet.vim
Add the following:
===========================================================
1. This function is used to split a path of indeterminate length into an array, which can accept two parameters:1.1 Arg1: A valid absolute path string [not currently checked for data type validity]1.2 arg2: A valid number to confirm which part is required for puppet creation [[optional] does not make a logical validity judgment, such as passing a number large and the effective level of the path is not reasonable]2, directly placed in the module corres
First, I wrote this article to record my learning history and share it with others. I hope to provide better suggestions and help me improve my learning experience.
1. Because managing puppet requires DNS configuration, I will not introduce it too much here.
2. For certificate authentication between puppetmaster and puppetclient, I will not introduce it too much here. Next I will go to the topic.
Debian)
First, you need to change the configuration fil
Use puppet to download the file configuration site. ppfileserver. confpath specifies the file storage directory puppet uses puppet: // puppetmaster/filesfiles as fileserver. tags defined in conf [files] author Jia Minqiang's technical blog
Use puppet to download file configuration
Site. pp
Fileserver. conf
Path
RubyMine is an IDE for Ruby and rails developers, with all the features the developer must have, and tightly integrated into a convenient development environment, known as the smartest IDE for Ruby and rails, which can greatly increase the developer productivity of Ruby and rails developers.RubyMine from the 7.0 version to support the puppet syntax, very powerful, of course, the function is very strong, in your consideration of large area development
With the increase in application requirements, the need for continuous expansion, the number of servers will also increase, when the number of servers is increasing, we will find a puppetmaster pressure, analytical slow, and occasionally out of "Timeout" such as the error, then what is the optimization method? We find solutions on the puppet web site, discovering that puppetmaster can configure multiple ports, combined with web proxies (recommended li
Stand-alone test apply command:
1. Options,Debug displays debugging information,Verbose more information,NOOP Simulation Execution
[Root@lvs-master manifests]# puppet apply--verbose--noop test.pp
notice:compiled Catalog for Lvs-master.lvs-master in environment production in 0.12 seconds
info:applying configuration version ' 1495770577 '
notice:/stage[main]/main/file[/tmp/12567.txt]/ensure:current_value Absent, should be present (NoOp)
Notice: Class
I haven't written any technical content for a long time. I want to write an article today (my colleagues found that I am only a porter): I ran puppet and giant cards on some machines running mongodb, it takes tens of minutes to run, and the top seems to be the cpu resources occupied by the system instead of the user. solution: Run mong for a well-known reason.
I haven't written any technical content for a long time. I want to write an article today (
Puppet's automated distributed environment has strict time requirements, and the following errors may easily occur during routine operations:
Triggering test.cn7788.comHost test.cn7788.com failed: certificate verify failed. This is often because the time is out of sync on the server or clienttest.cn7788.com finished with exit code 2Failed: test.cn7788.com
You can follow the error message "This is often because the time is out of sync on the server or client". Generally, if a similar word appear
by NanFor those who really want to get started with Latex quickly, the preface can be skipped without looking.This tutorial is intended for new recruits who have no basic knowledge of latex.Designed to make it easy for newcomers to get started with the simplest and quickest way to quickly complete basic text editing with Latex.The ultimate level of this textbook is the ability to write a normal proposal using Late
1). Get puppet module to install Apt-cacher-ngPuppet Module Install MARKHELLEWELL-APTCACHERNGThen,edit nodes.pp and put the ' aptcacherng ' class into the repo nodeclass {' Aptcacherng ':}2). Apply to all clientsCreate a manifest file including these codes as below on puppet master which would share the configuration on all others MA Chines,then These machines would use the local repository as proxy to apt-
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.