Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Puppet installation and testing     - Puppet centralized configuration management system (Server)

- Grub2 Boots the openSUSE installation image (Linux)

- MySQL multi-master-slave synchronization (Database)

- To setup Cocos2dx project under Ubuntu (Linux)

- To obtain installation package (RPM) under RHEL6 (Linux)

- How to configure MariaDB replication in CentOS Linux (Database)

- Three easy open source firewall on the Linux platform (Linux)

- Nginx logging client ip (Server)

- The FreeBSD zfs: failed with error 6 Error Resolution (Linux)

- Let CentOS perform PPPoE dial-up, ADSL can be used in a network environment! (Linux)

- shell script: a key to install LAMP, LNMP script (Server)

- SecureCRT in Python scripting study guide (Programming)

- Linux NIC driver and version information (Linux)

- Android Service Lifecycle and usage (Programming)

- Linux how to prohibit the use of Ping command (Linux)

- LAMP and LNMP automated installation scripts (Server)

- Java polymorphic methods inside constructors complete analysis (Programming)

- Virtual Judge structures under Ubuntu 14.04 (Server)

- Oracle set the timer task JOB scheduler to execute stored procedures or PL / SQL code block (Database)

- How to become a better Node.js developers in 2016 (Programming)

 
         
  Puppet installation and testing
     
  Add Date : 2018-11-21      
         
         
         
  This paper systematically Client6.0
This paper aims to install puppet, and test OK; behind the relevant file, service, exec, user management will be introduced;

master side:
[Root @ master ~] # hostname
master.lansgg.com
[Root @ master ~] # cat / etc / hosts
192.168.182.155 master.lansgg.com master
192.168.182.142 client.lansgg.com client
[Root @ master ~] # ifconfig eth0 | grep "inet addr"
          inet addr: 192.168.182.155 Bcast: 192.168.182.255 Mask: 255.255.255.0

client side:
[Root @ client ~] # hostname
client.lansgg.com
[Root @ client ~] # cat / etc / hosts
192.168.182.155 master.lansgg.com master
192.168.182.142 client.lansgg.com client
[Root @ client ~] # ifconfig eth0 | grep "inet addr"
          inet addr: 192.168.182.142 Bcast: 192.168.182.255 Mask: 255.255.255.0

Start the installation puppet (note install selinux and iptables)
master side:
[Root @ master ~] # yum install puppetmaster -y
[Root @ master ~] # vim /etc/puppet/puppet.conf
    autosign = true # Add automatic visa client terminal registration information
service puppetmaster start

client side:

[Root @ client ~] # yum install puppet -y
service puppet start

test
[Root @ client puppet] # puppetd --test --server master.lansgg.com --verbose

PS: Note that time synchronization
This illustrates that the communication is OK;
The following file to a test:
master side:
[Root @ master ~] # vim /etc/puppet/manifests/site.pp
file { "/tmp/lansgg.txt":
        content => "lansgg test, pass ~ n";}

client side:
[Root @ client puppet] # puppetd --test --server master.lansgg.com --verbose

Puppet installation and testing
Through testing, the file has been issued;
View certificate on the master side:
puppetca -s -a (Visas All client certificates)
puppetca -s a client certificate
puppetca -a -l View has a Certificate
     
         
         
         
  More:      
 
- Ubuntu Learning Advanced article - to teach you to further enhance system security (Linux)
- MySQL master-slave delay problem (Database)
- Linux foreground to background process switch (Linux)
- Cacti monitoring service Nginx (Linux)
- Oracle Data Guard LOG_ARCHIVE_DEST_n optional attribute parameters (Database)
- top command causes the system load increases (Linux)
- build Android environment on Ubuntu 12.04 (Server)
- Vi (Vim) keyboard map and its basic commands (Linux)
- Sorting Algorithm (1) Quick Sort C ++ implementation (Programming)
- C # compiler to achieve functional use in the runtime (Programming)
- RAID disk array Description (Linux)
- Android Application Development: Genymotion can not start solving (Linux)
- Optimized to minimize the installation of CentOS 5.8 (Linux)
- Ubuntu 14.04 build Hadoop 2.5.1 standalone and pseudo-distributed environment (32-bit) (Server)
- Android media library of analysis: MediaProvider (Programming)
- Tsung first test installation (Linux)
- Ubuntu 14.10 Apache installation and configuration (Server)
- How Linux system password security guarantee (Linux)
- System-level alias vs Oracle ADR functionality (Database)
- Getting CentOS Learning Notes (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.