http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
Operations on puppet server:Yum install puppet-server-yGenerate the configuration file:Puppet master -- genconfig>/etc/puppet. confTouch/etc/puppet/manifests/site. ppThis file is equivalent to an i
/etc/puppet. conf.
Add the following content:
[Master]
Certname = puppet. nn. Local // server name
Change the certificate storage address. We recommend that you store the Certificate in/var/puppet/SSL (/var/puppet/folder must be manually created and the owner should be chang
The puppet Update method based on C/s architecture generally has two kinds, one is the agent side set synchronization time active to puppet Master end pull configuration, the other is through the puppet master side use Puppet Kick
We first prepare three CentOS 6.5 x86_64 machines and do the work before installation.Os:centos 6.5 x86_64Puppet master:master.com (192.168.37.72)Puppet clients:client1.com (192.168.37.83)Puppet clients:client2.com (192.168.37.82)First, do the preparation of the installation:
Close selinux,iptables on both master and client:Stop Iptables [[emailprotected] ~]
Tags: des HTTP Io OS AR for SP on Log Puppet's commands
Puppet's command line interface consists of a singlePuppetCommand with subcommands.
Puppet's companion utilities, facter and hiera, have their own command line interfaces, which differ slightly from puppet's. Core Services
The following subcommands are the main applications puppet uses to manage systems. Every user shoshould understand what they do. Puppe
addition, community developers and donors are constantly enhancing the functionality of Puppet. A large developer and user community is also committed to providing Puppet documentation and technical support. Puppet is also easy to expand. Custom software package support and special system environment configuration can be quickly and easily added into the
This article refers to Yulaw's "puppet Combat", and get his guidance. Here, thank Yulaw.As mentioned in the previous article, Puppet is used to automatically generate files that are defined on the server by the client.We continue here to define the software that the client needs to install from the server.Here we install httpd for example.On the server side, we need to define the module, we define a httpd m
Note: Puppet is best to create a snapshot before installation, need to be careful, the following is my installation processPuppet preparatory work1 installationYum-y Install puppet Puppet-server (service side to install this)[Email protected] puppet]# puppet-v2.7.26Add Host
describesDesired stateFor one resource.Puppet ApplyLikeResourceIn the last chapter,ApplyIs a Puppet subcommand. It takes the name of a manifest file as its argument, and enforces the desired state described in the manifest.We'll use it below to test small manifests, but it can be used for larger jobs too. In fact, it can do nearly everything an agent/master Puppet
Basic Learning for Puppet
1. view official download sources
Https://docs.puppet.com/guides/puppetlabs_package_repositories.html
2. Select the download source for the corresponding system
Because the local machine is CentOS 7.1, select the YUM Source
Https://yum.puppetlabs.com/
3. Install Puppet
# Wget https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
# Rpm-ivh puppetlabs-release-el-7.noarch.rpm
Environment Description:192.168.153.133 Master.localdomain #Puppet Server192.168.153.134 Agent1.localdomain #Puppet AgentThe machine name here does not have the underline and other special services, otherwise it will be reported "the scheme puppet does not accept registry part" error message.1. Installing puppet Server
Nginx combined with multiple sets of puppet implementations (APACH+FORMAN+PUPPT)This case is a multi-set puppet server (Puppet+apache+foreman+foreman-proxy) system, using Nginx load balancer to realize the unified service function. The use of Puppet+apache+foreman+foreman-proxy configuration and Nginx+
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.