Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Puppet installation and testing     - Linux Basic Course: Install the software from source code (Linux)

- Linux system Passwd file detailed analysis (Linux)

- Ubuntu comes with gedit editor to add Markdown preview widget (Linux)

- RPM package creation Getting Started (Linux)

- The bulk batch multiple rows of data collect (Database)

- How linux network security configuration (Linux)

- C # function (Programming)

- Installation of JDK and Tomcat under Linux (CentOS) (Linux)

- [SHELL] MySQL primary recovery solution from + Keepalived online (Server)

- Node.js form --formidable (Programming)

- Linux protobuf-c (Linux)

- MySQL and Oracle time zone settings compare (Database)

- Use CutyCapt to convert HTML pages to png images on Linux (Linux)

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

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

- Dialogue UNIX:! $ # @ *% (Linux)

- Binary Packages Golang (Linux)

- How to enable Software Collections (SCL) on CentOS (Server)

- Oracle 12C RAC optimizer_adaptive_features cause of data into overtime (Database)

- Linux find command usage practices (Linux)

 
         
  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:      
 
- Linux Kernel 4.2.2 compiler installation tutorial (Linux)
- Boost notes --Asio - (1) a simple small example of synchronous communication (Programming)
- Linear table with a Java implementation of the iterator (Programming)
- Try to use Lets Encrypt (Linux)
- Tree Traversals Again (Programming)
- Using Java to build micro-services (Server)
- Linux user login ban (Linux)
- MongoDB data replication and data slices (Database)
- Linux modify the network interface name (Linux)
- How to use scientific data Docker quickly configure the development environment (Server)
- Windows environment Android Studio v1.0 Installation Guide (Linux)
- How to manage the time and date at systemd Linux systems (Linux)
- Linux boot process and run level (Linux)
- To create a problem by the statement date comparison of the difference between MySQL and Oracle (Database)
- Mac OS X 10.10 Yosemite compiling OpenJDK 9 (Linux)
- LAMP environment to build Apache, MySQL, PHP under Ubuntu (Server)
- DIY security of Linux platform (Linux)
- C language print various graphic (Programming)
- Using Vagrant create cross-platform development environment (Linux)
- After installing minimize RHEL / CentOS 7 need to do some things (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.