Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Puppet installation and testing     - Ubuntu resolve sudo: source: command not found error (Linux)

- Via Twitter how open source library to be used anywhere Emoji emoticons (Linux)

- iOS in the event delivery and the responder chain (Programming)

- View and modify Linux machine name (Linux)

- CentOS5 installation Nodejs (Linux)

- CentOS ClamAV antivirus package updates (Linux)

- Using monitoring tool dsniff (Linux)

- CentOS of NFS (Server)

- Oracle TAF Analysis (Database)

- Shared directory settings between Linux and Linux (Linux)

- Use of the storage-level replication technology will quickly clone a ASM database to the target environment (Database)

- SELinux security permissions HTTP + PHP service changes (Server)

- Use web2py + uWSGI + Nginx Web server built on Linux (Server)

- Linux file and directory permissions settings (Linux)

- Python pickle module for simple use notes (Programming)

- Linux script commands - terminal recorder (Linux)

- JavaScript cross-browser event object library (Programming)

- MyCAT easy entry (Database)

- KVM installation under CentOS 5.5 (Linux)

- CentOS directory structure Explanation (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:      
 
- Schema snapshot rollback (Database)
- Effect MongoDB plan cache (Database)
- Git and GitHub use of Eclipse and Android Studio (Programming)
- How to configure a development environment elegant Lua (Linux)
- C ++ containers (Programming)
- RHEL5 / 6 Installation Notes (Linux)
- Share Practical Tutorial GitHub (Linux)
- Number JavaScript type system (Programming)
- MySQL group_con cat_max_Len (Database)
- Linux how to view the graphics models notebook (Linux)
- Android memory optimization of the memory cache (Linux)
- How to Install Suricata IDS on a Linux system (Server)
- Python-- for anomalies and reflection of objects articles (Programming)
- MongoDB Study Notes (1) - Install MongoDB on Windows systems (Database)
- Linux use glibc2 library and crypt () function to generate the user password (Programming)
- Linux rights management (Linux)
- Docker: installation under Ubuntu (Server)
- MySQL innodb_table_stats table does not exist solution (Database)
- Linux / Raspberry Pi using the following command-line based web browser (Linux)
- The difference between vi and nano (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.