Git version control puppet # git and puppet can be found in other documents # cd/etc/puppet/# git init # initialize git # git add * # add all files in the directory to git cache # mkdir-p/data/git/# git commit-m "/etc/puppet" # submit # git clone -- bare/etc/puppet/data/git/
How the puppet client cancels the active updateRunintervalHow often puppet agent applies the client configuration, in seconds. Note that a runinterval of 0 means "run continuously" rather than "never run." If you want puppet agent to Never run, you should start it with the--no-client option. Can be specified as a duration.default:30mroughly means that the
In the production environment, the puppet update needs the node to update automatically, there is need to push the update through the puppetmaster, and the node update time is discrete. Here are three ways to update
2.7 Puppet update mode
2.7.1 Node Timing update
[Root@agent1 ~]# vim/etc/puppet/puppet.conf
[Main]
Server=puppetserver.rsyslog.org #指向puppetserv
Login to our Puppet's Master console. (I wipe, the computer can't carry on)HTTP://DOWN.51CTO.COM/DATA/1975148 official website document address.Software version: PUPPET-ENTERPRISE-3.7.1-EL-6-X86_64.TAR.GZ,:HTTP://PAN.BAIDU.COM/S/1NTDSGMH (Dickens downloaded, last night, downloaded from the official website several times, After downloading it, it is wrong to unpack the package. It's a good day for work today
Release date:Updated on:
Affected Systems:Puppet Labs Puppet Enterprise Description:--------------------------------------------------------------------------------CVE (CAN) ID: CVE-2013-4957
Puppet is an IT automation software that helps the system administrator manage the infrastructure.
Before Puppet Enterprise 3.1.0, an error occurs when processing specific t
Puppet is a centralized configuration management system for Linux, Unix, and Windows platforms, using its own puppet description language to manage profiles, users, cron tasks, software packages, system services, and so on. Puppet these system entities as resources, Puppet's design goal is to simplify the management of these resources and to properly handle depen
Use puppet to manage cron. You can add cron jobs to N servers in batches. For example, the script of the timed synchronization time server.1. Architecture192.168.0.200 (redhat) Host Name master.gangpao.com192.168.0.201 (redhat) Host Name agent01.gangpao.com
2. directory structure/Etc/puppet|| --> Manifests| --> Modules. pp| --> Nodes. pp| --> Site. pp| --> Modules| --> Cron| --> Manifests| --> Addcron. pp|
A small example shows how Debug puppet runs slowly.
A small example shows how Debug puppet runs slowly.
The agent of a machine is slow. First, let's look at the overall performance of the puppet Server:
Puppet server uses the passenger + nginx structure, which has stable performance and connects about 1200 machines. Pa
Demand analysis
1), require openssh-server in the installed state
2), the request in the configuration file/etc/ssh/sshd_config correct situation, the SSHD service is in the running state
2), requirements/etc/ssh/sshd_config file attributes are not changed (permissions, owner, group, etc.)
3, request/etc/ssh/sshd_config file is modified or deleted will be automatically repaired
4), the request through Puppetserver to modify/etc/ssh/sshd_config, sshd service can automatically restart.
Defin
Remote Code Execution Vulnerability (CVE-2014-3248) for multiple Puppet Products)
Release date:Updated on:
Affected Systems:Puppet Labs PuppetDescription:--------------------------------------------------------------------------------Bugtraq id: 68035CVE (CAN) ID: CVE-2014-3248Puppet is an IT automation software that helps the system administrator manage the infrastructure.Multiple Puppet products have th
Release date:Updated on: 2013-08-21
Affected Systems:Puppet Labs Puppet Enterprise 3.xUnaffected system:Puppet Labs Puppet Enterprise 3.0.1Description:--------------------------------------------------------------------------------Bugtraq id: 61860CVE (CAN) ID: CVE-2013-4968
Puppet is an IT automation software that helps the system administrator manage the infras
Tag: Puppet Apache modules class node regular expression => creating the httpd Base module #mkdir/etc/puppet/modules/httpd/{files,manifests,templates}-pv# tree/etc/puppet/modules/httpd//etc/puppet/modules/httpd/├──files//the configuration file called by the base module, The agent can download the files defined by the
Puppet Apply Command parameter IntroductionPreviously said puppet two modes of operation, the first type: C/S structure, the second type: single-machine operation. Apply is a code tool that executes local *.pp files independently, and is typically used to test debug puppet code locally.Puppet Apply Common parameters:[[Emailprotected]~]#puppetapply-hpuppet-apply (
Puppet installation and configuration-preparation workTwo machines: 192.168.205.20 (server side) 192.168.205.21 (client)Two machines close SELinux, empty iptables rules, and save, set hostnameVim/etc/selinux/configSelinux=disabledIptables-fService Iptables Save20 on hostname web9.aming.com, vi/etc/sysconfig/network definition hostname (permanent)21 on hostname web10.aming.com,vi/etc/sysconfig/network definition hostnameEdit the Hosts file, 20 and 21 a
Centos is one of the most widely used linux server systems. It is convenient to use yum for software package management, and is also liked by everyone who uses centos. I am also more and more fond of using yum to install software packages. Unless necessary, software is rarely compiled and installed.
There are also many centos extension sources (repo), such as the well-known EPEL and the two introduced in the previous yum source sharing article by mosquitoes.
However, it is not easy to use centos
;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
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.