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-
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
1,puppet--server,client,agent time no SYN case erorPuppet Agent--server Frontend-tErr:could not request certificate:execution expiredExiting; Failed to retrieve certificate and Waitforcert are disabledNTPDATE[31953]: The NTP socket is on use, exitingNo server suitable for synchronization found[Ruiy tips TOPICS,VMI Date init instance date fetch set from PM (physics machines), LAN Time-server,sync Local host time can be set later]2,one mirroring and VMI
does not have a visual user interface, and users can only retrieve instances that need to be applied by retrieving them. Puppet Dashboard provides this part of the functionality.
Mcollective Features:
Ability to interact with small to large server clusters
Using the broadcast paradigm (broadcast paradigm) for request distribution, all servers receive requests at the same time, and only servers that match the filters that are included with the requ
package.Case 1Installing httpd RPM packages through the package resourceEdit/etc/puppet/manifests/package.pp, add the following:Package {' httpd ':ensure = installed,Provider = ' Yum ',}If it is a RPM package, you can also set thisPackage {' httpd ':ensure = installed,Source = '/tmp/httpd-2.2.15-45.el6.centos.i686.rpm ',Provider = ' rpm ',}# Puppet Apply Package.ppNOTICE:/stage[main]//package[httpd]/ensure
Tags: ADP information pch mapview ext get create process status threadPuppet Process creation Process:(1) Create a process in create_suspended mode by CreateProcess.(2) GetThreadContext Gets the suspend process context.(3) Zwunmapviewofsection unloading suspend process memory space data;(4) VirtualAlloc allocating memory space;(5) WriteProcessMemory writes malicious code to allocated memory;(6) SetThreadContext set the status of the suspend process;(6) ResumeThread Wakeup process Run1.ZwResumeTh
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.