The first thing that comes to mind is greed... Definitely not... T
Then we found that it was actually DP-enabled... However, we need to sort them first.
If f [I] indicates that the first puppet has to lose a few at worst
F [I] = max (F [J] + calc (J + 1, I) where j
The calc (x, y) function compute can discard a maximum of several matching functions from the X to the Y puppet. The method is as follows:
Hzw
I. Configuring automatic registration RulesServer End:Vim/etc/puppet/autosign.conf*.puppet.com # specifies the range of domain names that are automatically registered ( IP no validation, no certainty)Second, clear the authentication configurationPuppet cert list--all ViewPuppet cert--clean client1.puppet.com # clear Set up configurationThird, clean up the client configurationCd/var/lib/puppet/ssl RM-RF * Re
System Environment: centos6.3
puppet:puppet-2.7.13
facter:facter-1.6.5
Ruby:yum Source
Note:
Facter used to obtain client system information (such as HOSTNAME,IP,OS-VERSION,FQDN, etc.)
Ruby is the puppet development environment
Puppet server:192.168.7.196
Puppet client:192.168.7.197
(server) configuration only for servers
(client) configured for client-
The architecture is as follows:
============================
Manifests
===========================
1,at/etc/puppet/mainfests
------------------
Site.pp
+++++++++
Import "MODULES.PP"
Import "NODES/*.PP"
-------------------------------
2,at/etc/puppet/manifests/nodes
-------------------
Node_master.pp
++++++++
Node ' master.puppet.com ' {
Include Nginx
Include PHP
Include MySQL
}
-------
Crontab program that comes with the system. User: Add Crontab to a system account, which is added by default to the system account that is participating in the execution daemon.2 casesUse cron resource settings to call ntpdate every 5 minutes to adjust system time and edit/etc/puppet/manifests/cron.pp.Cron {' ntpdate ':ensure = present,Command = '/usr/sbin/ntpdate 192.168.0.1 ',user = ' root ',minute = ' */5 ',}#
::d Eluser ($username )
{
User {"$username": Ensure => absent,} file {"/home/$username": Ensure => absent,}}
Note that puppet also supports SSH key authentication, you can go to the official website to see, here or with the password
Use the following methods:
Node ' Server1 ' {
include user
realize user[' Dev1 '] # # Create Dev1
user individually::d eluser{"Userdel sa1":
Problems encountered during rsync installation using rpm in Aix and Solutions
Recently, I was tossing over the AIX system. It had a package management tool named installp, but it was useless and I didn't know where to find the package.
Thanks to the RPM support provided by Aix, the most familiar RPM package is used for software installation. Puppet And mcollective are installed. Then I started to manage it, but there was a problem when installing rsyn
This tutorial mainly uses Photoshop to synthesize the super cool robot background, this time mainly does the back effect, the reorganization feeling is somewhat similar to the puppet effect, adds the luster adornment, more manifests the robot characteristic.
Author: Fun_phang Source: Station Cool first See effect chart
Open artwork
First load photos in Photoshop
Pull the body out and load it into the background image of the black and dark gr
Console management ToolsPuppet foreman and PuppetdashboardPuppet Foreman PuppetdashboardForeman is an integrated data center cycle management tool that provides for puppet users to add a graphicalService provisioning, configuration management, and reporting capabilities. puppetmaster and agent information cannot be displayed in the ruby1.9 work under XMainly include:Boot tool, PXE Boot service DHCP Enterprise-level network weighing auditing and resou
December 24, people as usual open the IM software, between each other passed the family and friendship greetings. While people are enjoying the holidays, a worm is trying to lure aim, MSN Messenger, QQ, and Yahoo users to click on a link in the greeting, and inadvertently upload a malicious software to your computer. A Santa Claus Blessing document Link, will let your love machine henceforth become other people's puppet, this is Rootkit's secret and s
;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). Get puppet module to install Apt-cacher-ngPuppet Module Install MARKHELLEWELL-APTCACHERNGThen,edit nodes.pp and put the ' aptcacherng ' class into the repo nodeclass {' Aptcacherng ':}2). Apply to all clientsCreate a manifest file including these codes as below on puppet master which would share the configuration on all others MA Chines,then These machines would use the local repository as proxy to apt-
1,puppet--server,client,agent time no SYN case erorPuppet Agent--server Frontend-tErr:could not request certificate:execution expiredExiting; Failed to retrieve certificate and Waitforcert are disabledNTPDATE[31953]: The NTP socket is on use, exitingNo server suitable for synchronization found[Ruiy tips TOPICS,VMI Date init instance date fetch set from PM (physics machines), LAN Time-server,sync Local host time can be set later]2,one mirroring and VMI
does not have a visual user interface, and users can only retrieve instances that need to be applied by retrieving them. Puppet Dashboard provides this part of the functionality.
Mcollective Features:
Ability to interact with small to large server clusters
Using the broadcast paradigm (broadcast paradigm) for request distribution, all servers receive requests at the same time, and only servers that match the filters that are included with the requ
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.