Puppet: Server-side installation scripts

Source: Internet
Author: User
/sbin/ntpdate 210.72.145.44 echo "$SERVER _ip $SERVER _host_name" >>/etc/hosts echo "$CLIENT _ip $CLIENT _host_name ">>/etc/hosts sed-i" s/^127\.0\.0\.1.*/#&/"/etc/hosts sed-i" s/^sear ch.*/#&/"/etc/resolv.conf #yum install puppet-server-y #/etc/init.d/puppetmaster start #chkconfig--add  puppetmaster #chkconfig puppetmaster on #/etc/init.d/iptables stop CD $path yum-y install ruby Ruby-devel    
Ruby-rdoc RUBY-IRB tar-zxvf facter-1.6.5.tar.gz CD facter-1.6.5/usr/bin/ruby install.rb CD. TAR-ZXVF puppet-2.7.20.tar.gz CD Puppet-2.7.20/usr/bin/ruby install.rb CP conf/auth.conf/etc/puppet CP Conf/redhat/fileserver.conf/etc/puppet CP Conf/redhat/puppet.conf/etc/puppet CP Conf/redhat/server.init/etc/ini    
T.d/puppetmaster chmod +x/etc/init.d/puppetmaster chkconfig--add puppetmaster chkconfig puppetmaster on /usr/sbin/puppetmasterd--mkuSers/etc/init.d/puppetmaster start echo "########################" echo "Puppet Master Status"/usr/ sbin/lsof-i:8140

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.