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
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
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
;GID: Basic Group IDGroups: Additional groupsHome: Home DirectoryShell: Default shellName:namevarSystem: Is it user, True|falseUid:uidPasswordFileManage files and their content, dependencies, and permissions, which can be given directly through the content property or downloaded from the remote server path via the Source property;Indicate the source of the file content:Content: Direct file contents, support \ n (newline), \ t (tab);Source: Download the file from the specified location;Recurse:tr
Today to introduce the specific practical functions of puppet, in fact, my understanding is how lazy, hehe.
1. Fill in the contents of the file:
(server):
To modify the server-side configuration file:
# VI/ETC/PUPPET/MANIFESTS/SITE.PP
-----------------
Node default{
file {"/tmp/test":
Content=> "This is a test file";
}
}
-----------------
Restart the puppetmaster to update the profile informatio
I. Overview of Puppet
Puppet is an Open-source, Ruby based system Configuration management tool based on C/S deployment architecture. It is a configuration management software designed to realize the automation management of data center, it uses the Cross-platform language specification, manages the configuration file, the user, the software package, the system service and so on. The client communicates wi
Overall environment after installation:HOST: WIN7 64xHost VM version: VM 7.0.0 build-20373VM7-Linux OS: Oracle Enterprise Linux 5.7VM7-Linux OS-Tools: VM7.0-ToolsLinux VM version: VM 8.0.1.528992VM8-Windos OS: Windows Server 2003VM8-Windos OS-Tools: VM8.0-ToolsVM8: Official Site (registered) http://downloads.vmware.com
Anchor Background: puppet Forge is an online module repository. Many puppet modules are uploaded for download. You can download a module and use it directly. You should not change the manifests in it.
However, in puppet2.6, when a class declares another class, the declared class resources will not be included by the external class, this makes it impossible for us to form a module with complex functions thro
Requirements: Dev groups are created on each server, dedicated to developers, build accounts for specific developers, and join Dev Group;
Operators will also create their own users, and join the wheel group, through Sudo to the group members do permission settings.
The architecture is as follows:
The contents of the documents in Manfests are as follows:
1,init.pp class Sudo {case $::osfamily {' RedHat ': {include ' sudo::conf ' ' import ' sudo
Ers.pp '} default: {Fail ("$::osfamil
Original address: http://www.wangdk.com /? P = 63
The following content is to create an isolated guest Network (not a network in the VPC) in the advance zone of cloudstack. vlan id: 305. The VM template is Ubuntu 10.04,Flowchart
The main process for creating VMS and Vm communication.
When you see the flowchart, you should be clear about what is going on. Some of your summary may be incorrect. If you have
The first thing that comes to mind is greed... Definitely not... T
Then we found that it was actually DP-enabled... However, we need to sort them first.
If f [I] indicates that the first puppet has to lose a few at worst
F [I] = max (F [J] + calc (J + 1, I) where j
The calc (x, y) function compute can discard a maximum of several matching functions from the X to the Y puppet. The method is as follows:
Hzw
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.