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
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
,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
RDO Mode installation ErrorError:error appeared during Puppet run:192.168.1.201_mariadb.pperror:execution of '/usr/bin/yum-d 0-e 0-y install M Ariadb ' returned 1:error:package:1:mariadb-5.5.44-2.el7.centos.x86_64 (DVD) You'll find full trace in Log/var/tmp/pac Kstack/20160704-142958-_jxsqz/manifests/192.168.1.201_mariadb.pp.logSuspect is a software issue, view[[email protected] ~]# yum-d 0-e 0-y Install mariadb-5.5.44-2.el7.centos.x86_64 Error: Packa
Warning when installing the puppet 3.6 installation package: Warning: the package type's allow_virtual parameter will be changing its default value from false to true in a future release. if you do not want to allow virtual packages, please explicitly set allow_virtual to false. (At/usr/lib/Ruby/site_ruby/1.8/puppet/type. RB: 816: In 'set _ default ') Configure site. PP,Add: If versioncmp ($: pup
Salt in simple terms is equal to the enhanced version of the func+ weakening version of the puppet
Here I will temporarily replace the role of Func (PS: Although a bit wasteful)
The architecture is as follows:
==================================
Manifests
==================================
1,at/etc/puppet/modules/salt
-------------------------
Init.pp
+++++++++++++++
Class Salt (
$server _ip = "
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
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
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.