A puppet is an inanimate object or representational figure animated or manipulated by an entertainer, who is called a puppeteer. It is used in puppetry, a play or a presentation that is a very ancient form of theatre.
There are many different varieties of puppets, and they are made of a wide range of materials, depending on their form and intended use. They can be extremely complex or very simple in their construction. They may even be found objects. As Oscar Wilde wrote, “There are many advantages in puppets. They never argue. They have no crude views about art. They have no private lives.
Start Install puppet
1. install ruby
yum install ruby ruby-rdoc
2.install puppet server
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm
yum install puppet-server
chkconfig –level 2345 puppetmaster on
3.modify /etc/hosts file
192.168.1.2 puppet.mydomain.com puppet
192.168.1.3 web1.mydomain.com web1
4.install puppet client
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm
yum install puppet
chkconfig –level 2345 puppet on
5. edit file /etc/puppet/manifests/site.pp (server side) & start puppet server
# Create “/tmp/testfile” if it doesn’t exist.
class test_class {
file { “/tmp/testfile”:
ensure => present,
mode => 644,
owner => root,
group => root
}
}# tell puppet on which client to run the class
node web1 {
include test_class
}
service puppetmaster start
6. start client
/etc/init.d/puppet once –v
7. view no sign client on puppet server
puppetca –list
8. sign for puppet client on puppet server
puppetca –sign web1.mydomain.com
9. test
puppetd –server puppet.mydomain.com --test
Related Posts
- 12/06/2011 -- how to fix “mptctldrivers/message/fusion/mptctl.c::mptctl_ioctl” (0)
- 08/03/2011 -- update Dell R410/R710 CentOS netcard driver (1)
- 07/01/2011 -- Install CentOS-5.5-X64 by network (2)
- 06/22/2011 -- update php5.1.6 to php5.3.x by yum on centos (0)
- 04/07/2011 -- sniffer tools for Centos–dsniff (0)
- 10/28/2010 -- Remove Duplicate Packages in CentOS (0)
- 04/22/2010 -- CentOS 5.4 released (0)
- 03/14/2010 -- rhel/centos x86_64 and i386 packages mess (2)
- 03/10/2010 -- CentOS 5.4 released (0)
- 02/28/2010 -- how to deal with broken time zones during a CentOS 5.3 kickstart (1)