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
Tags: puppet push pullSSH by default using the Tcp22 port, in order to protect the Linux 22-side xxx break, we sometimes need to change the port of SSH, however, in the enterprise environment, the number of servers is huge, one can imagine the workload modification. The use of puppet can be a good solution to such problems, for operations and maintenance personnel to alleviate the burden of work.The case to
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
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 (
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#
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
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
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 #
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.