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
Docker Quick Start-common docker commands 1. Introduction to docker commands 1. Introduction to docker commands
You can run the sudo docker or sudo docker HELP command to view the docker
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
the same time, developers can use Docker to encapsulate, deliver, and run any application, and the application becomes a lightweight, portable, self-contained LXC container that can be run anywhere. As Bottomley told me, "The container gives you immediate access to application portability." ”
"Enterprise organizations strive to make applications and workloads easier to migrate and distribute, sometimes hard to do in an efficient, standardized, repea
2. Server-side InstallationInstall the puppet source #会在repo. D to generate the puppet sourceRpm-ivh "http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm"Installing the server-side programYum install-y puppet-serverStart the serviceService puppetmaster StartBoot upChkconfig puppetmaster on3. Client InstallationInstalling the
Before one months of Zabbix, basically can be skilled use, but in the deployment of the time found that this thing in the deployment of the time the machine less line, the machine more manual installation hand will be disabled. The first reaction was to use the puppet, and then Master took the puppet directly. Simply learn a wave of their own, after all, this is an automated operation and maintenance of the
Recently in learning Puppet installation, configuration and use. Download official documents from the website. Because it is also just beginning to learn puppet, so I look at the official website of the document step by step. The official documents are also downloaded and uploaded to 51.http://down.51cto.com/data/1975148 the document address.Experiment Preparation:1, pre-preparation1)
First, puppetmaster configuration:1. Add environment variables to test whether the variables written are in effect.[[email protected] ~]# Vi/etc/profile Add the following: #puppet facterexport facterlib=/etc/puppet/modules/facts/lib/facter/ #自定义变量文件存放路径 [[email protected] ~]# Source/etc/profile2. Custom variable file path in:/etc/puppet/modules/$NAME/lib/facter #
;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
1 PrefaceSince its inception, Docker has led the technology boom in lightweight virtualization containers. In this trend, Google, IBM, Redhat and other industry leaders have joined the Docker camp. While Docker is still primarily based on the Linux platform, Microsoft has repeatedly announced support for Docker, from p
1, at the beginning of the configuration certificate matching,/etc/hosts hostname,/etc/sysconfig/network hostname to puppet cert list--all display client hostname to the same, The server in the client's puppet configuration is to point to the hostname on the server, otherwise the certificate cannot be matched successfully and cannot be sent from S to C650) this.width=650; "id=" aimg_5844 "src=" http://www.a
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.