Modify the puppet configuration file to automatically sign the client.1. edit/etc/puppet. conf.Add the following content:
[master]autosign=trueautosign = /etc/puppet/autosign.conf
2. edit/etc/puppet/autosign. conf.Adding * indicates all or adding a domain name. For example:
*.example.com
3. Restart puppetmaster
The ab
First, view the official download sourceHttps://docs.puppet.com/guides/puppetlabs_package_repositories.htmlSecond, select the corresponding system download sourceSince this machine is CentOS 7.1, choose Yum Sourcehttps://yum.puppetlabs.com/Third, installation puppet# wget https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm# RPM-IVH puppetlabs-release-el-7.noarch.rpm# yum Install Puppet-y#
1. Configure the CD as a Yum local source
2, install the production of Yum warehouse packages and Yum-priorities Management Pack
3, to http://yum.puppetlabs.com/el/6.4/products/x86_64/this address to download puppet installation package
[Root@python-geek ~]# wget http://yum.puppetlabs.com/el/6.4/products/x86_64/facter-1.7.4-1.el6.x86_64.rpm[Root@python-geek ~]# wget http://yum.puppetlabs.com/el/6.4/products/x86_64/
Nginx-to-(apache+foreman+puppet) Load BalancingFirst, the prerequisite preparationTest environment:Os:centos 6.5_x86puppet-server-3.8.3foreman-1.9.2foreman-proxy-1.9.2httpd-2.2.15The server is set up. Apache+foreman+puppet for details, please refer to:http://4709096.blog.51cto.com/4699096/1710697Second, modify the Pupeptmaster related configuration2.1 Modifying the puppetmaster port#vim/etc/sysconfig/puppet
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
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
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
Puppet Dasshboard is created by the company Puppetlabs that supports Puppet development, and is the Ruby on Rails program. Can serve as a enc (external node classifier) and a reporting tool, and is increasingly becoming an integrated interface that includes many puppet new features, such as auditing and resource management capabilities.Puppet Dashboard is a ruby
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|
CentOS installation Puppet environment introduction: centos6.4x64 with CentOS-6.4-x86_64-minimal.iso minimal installation puppet version 3.6.2, ruby1.8.7, facter1.7.1Puppet requires that all machines have a complete domain name (FQDN), if no DNS server provides a domain name, can be installed in two CentOS Puppet environment introduction: centos6.4x64 using CentO
---restore content starts---1. Introduction1.1. Official website: https://docs.puppet.com/1.2. Puppet is an IT Infrastructure automation management tool whose entire life cycle includes: provisioning,configuration,orchestration,reporting1.3. Puppet is a master/agent model, but the agent can perform the operation independently, the agent is the core part that really performs the corresponding management oper
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
Puppet resource Summary
Resource introduction:
Common resources: file, service, and package
Tool resources: exec, cron, user, group
Resource Summary
File
Ensure => (specify the File status)
Present checks whether the file exists. If the file does not exist, it is created.
Absent checks whether the file exists and creates the file if it exists.
Directory specifies this is a directory
Path => (full file path, same as title by default)
Source => Fi
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.