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
192.168.6.226 as the service side192.168.6.223 for clients1,puppet InstallationService sideTurn off selinux iptablesAdd HostsVim/etc/hosts127.0.0.1 localhost localhost.localdomain localhost4localhost4.localdomain4 web10:: 1 localhost localhost.localdomainlocalhost6 localhost6.localdomain6 web10127.0.0.1 www.test1.com www.aaa.com www.test.com192.168.6.223 web9.aming.com192.168.6.226 web10.aming.comVim/etc/sysconfig/networkHostname web10.aming.comYum In
ArticleDirectory
Module structure
Writing module
Best practices
Original article address:Module fundamentals
Puppet Module
The module is puppet self-containedCodeAnd data set. Most of the lists can be placed in the module. The only exception is that the main list site. PP contains site-level and node-level code.
Each puppet user must b
Label:Windows Azure Platform Family of articles Catalog In many cases, we encounter hybrid cloud scenarios where the local private cloud and public cloud are interconnected. For this hybrid cloud scenario, Microsoft Windows Azure will be a good solution. From the hybrid cloud classification, Microsoft divides the hybrid cloud into the following three types: 1. Hybrid Cloud for Virtualization technology 2.
Azure was announced in May (2) and azure was announced
Azure 5New monthly release (2 ):CDN image processing function, CDN Restful API, new CDN Management Portal, extended measurement name change
Open Public Preview for Azure CDN Image Processing
The image processing function of Az
Windows Azure and azure
What are Windows Azure?| Infrastructure
Windows Azure provides the most appropriate infrastructure based on your business needs, and can make timely changes based on changing needs when your business grows or is streamlined. You can regard Windows Azure
Today we continue to learn the actual development of Azure, Microsoft Azure Cloud Computing (2): Azure deploys an ASP. NET MVC Web site.After you sign up for Azure's use account, you'll be able to login to the Azure management interface below. Because we have to use azure re
In the previous article, I believe that you have a basic understanding of azure, and then we look at the price as one of the most important factors in choosing public cloud services as a business. We all know that the so-called public cloud, is to make it resources in our lives similar to water and electricity resources, on-demand, on-time billing. The point is to let it spend on real needs, and to make the public cloud resource consumption as close t
Windows azure platform articles
I believe that after reading my blog post, I have a certain understanding of the Windows azure hosting service. In general, Windows azure services are divided into three types:
Windows azure website
Cloud Service
Virtual machines
If I am an enterprise-level user,
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+
As the 3.x Series no longer supports mongrel, nginx + passenger is used for load balancing. Previously, nginx + mongrel and puppet version were released in the 2.7 series, so they can still be used;
Environment Description:
Operating System: centos 5.8 64-bit
Puppet version: 3.1 Series
1, upgrade Ruby to 1.8.7, install rubygems # rpm-uvh http://rbel.frameos.org/rbel5 # Yum install-y Ruby rubygems ruby-devel
Puppet automated high-availability cluster deployment
As the company's application demand increases, the number of servers is also increasing. As the number of servers increases, we will find that a puppetmaster has slow response, high pressure, and slow resolution, are there any optimization solutions? You can use Puppetmaster to configure multiple ports and use Nginx web Proxy, so that the puppetmaster's affordability can be increased by at least 10
Windows Azure Platform Family of articles Catalog Please note: The virtual machines that we create on Azure are accessible through the public IP address. (directly via the virtual machine's IP address: PIP, or via the load Balancer's IP address: VIP)But there will always be malicious hackers who attack these VMs. So it's important to protect azure virtual machin
Tags: database access Microsoft database application Drive Server(content is organized from the MSDN Azure SQL Database topic section) similar to SQL Server, Azure SQL database accesses a tabular data flow (TDS) interface for Transact-SQL-based databases. This allows your database applications to use Azure SQL database in the same way that they use SQL Server.Unl
The puppet path is:/etc/puppetSoftware version: Gitweb-1.7.1-3.el6_4.1.noarchGit-1.7.1-3.el6_4.1.x86_64Fcgi-2.4.0-12.el6.x86_64Spawn-fcgi-1.6.3-1.el6.x86_64Nginx version:nginx/1.6.2lighttpd/1.4.35 (SSL)-a light and fast webserverFirst, build puppet git Warehouse1. Enter the Puppet directory#cd/etc/puppet2. Initialize and add files to Repository#git Init#git Add *
File resourceManage system Local Files
Set file permissions and owner
Manage file content and manage content based on templates
Support for managing catalogs
Copy entire directory from remote server to local
As the puppet manual mentions, we want you to manage content as sparingly as possible with the file type. Instead, it is replaced with a better wrapper resource type. If you find that you often copy files from the
As an important tool in automated O M, puppet can be used for batch server or specified server software version updates and Configuration updates.
Let's talk less about theme.
Install puppet-server and puppet on the puppet server and client respectively.
Since puppet i
#for Install puppet client #by linyd 2013/1/30 #puppet version 2.7.3 "" #puppet server hostname client_host_name= "" #puppet CLIENT hostname server_ip= "" #puppet Server IP client_ip= "" #puppet CLIENT IP pat
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.