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 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
}
-------
Anchor Background: puppet Forge is an online module repository. Many puppet modules are uploaded for download. You can download a module and use it directly. You should not change the manifests in it.
However, in puppet2.6, when a class declares another class, the declared class resources will not be included by the external class, this makes it impossible for us to form a module with complex functions thro
Requirements: Dev groups are created on each server, dedicated to developers, build accounts for specific developers, and join Dev Group;
Operators will also create their own users, and join the wheel group, through Sudo to the group members do permission settings.
The architecture is as follows:
The contents of the documents in Manfests are as follows:
1,init.pp class Sudo {case $::osfamily {' RedHat ': {include ' sudo::conf ' ' import ' sudo
Ers.pp '} default: {Fail ("$::osfamil
This article for the translation of foreign tutorials, teach you to use Photoshop to create surreal cosmic science fiction puppet beauty effect, the production process is not difficult, mainly in your imagination and creativity, like the students can learn!
Let's take a look at the final results of the Photoshop Tutorial:
1. Create a new file, size set to 4200px x 5100px pixels, resolution 300, fill black. Search the web for the nebula footag
Teach us to use PS synthesis to build wiring puppet robot small s effect, the tutorial is relatively simple, mainly through the pen tool, selection, layer style, etc. to complete, like the students can come together to learn!
Original:
Effect Chart:
1. Hook up the outline of the face with a pen
2. Draw the line of the body joint of the chest arm and wire with the pen in turn
3. Load into face consti
The Agent/master HTTP interface is rest-like and varies from strictly RESTful design in several ways. The endpoints used by the agent is detailed in the HTTP API reference. Note that all HTTP endpoints is preceded by the environment being used. Note also that access to each individual endpoint are controlled byauth.conf on the master.DiagramThis flow diagram illustrates the pattern of agent-side checks and HTTPS requests to the puppet master during a
,onlineuser);
Where Login_no is the variable is the login name. To set the Request.getsession (false) value to False, he has a value of true and false two, true if it is created if there is no same session. If there is coverage, false is not created, then not created, I want to use this to achieve a single sign-on so use false. This will allow you to monitor the session you created. If the session times out, the Valueunbound method is executed. Creating a session executes the Valuebound method.
In order to facilitate the combination with puppet, so the original compiled with the source code, all changed to use Rpmbuild packaged, in their own built source, this article will also explain how to create local sources.
The package Nrpe and Nagios-plugins are generated by the spec of the previous article.
The old rules, first on the architecture (PS: actually all the same-):
1.init.pp
2.web.pp
Class Nagios::web ($nagiospluginsversion =
occurrences will be used.SortlistAllows for a specific sort of domain results to be obtained. Its parameters are network/mask pairs that allow arbitrary order of arrangement. The default/etc/resolv.conf file is not available in Red Hat, and its content is created dynamically based on the options given at the time of installation.Dinner TimeAutomatic Maintenance tool-puppetHappy Children's Day (*^__^*)Pay attention to the static children of the public number, irregular cartoon technology push ~C
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":
. provider:AIX---User management for AIX.DirectoryService---Use directory services on OS X for user management.Hpuxuseradd---HP-UX user management.LDAP---User management through LDAP.PW---User management via PW on the FreeBSD platform.User_role_add---Solaris User and role management.Useradd---Through the useradd user management, add you to password management, you need to install Ruby Shadow password library, is generally ruby-libshadow.WINDOWS_ADSI---Use local user management on the Windows pla
Service ResourcesThe service resource can not only start, restart and close the daemon of the program, monitor the status of the process, but also can add the daemon to the self-boot.1. Common Properties of service resourcesService {' Resource title ':BinaryEnableEnsureHasrestartHasstatusNamePathPatternRestartStartStatusStopProvider} Enable: Specifies whether the service starts at boot time and can be set to true and false. ensure: Whether the service is running, running is running, and stopped
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.