Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Puppet installation and testing     - ls command: 15 Level Linux interview question (Linux)

- Introduction and use of the Raspberry Pi (Linux)

- Yii PHP Framework Getting Started tutorial (Linux)

- Apache Mina framework Practice (Programming)

- CentOS 7 Configure logging (VirtualBox) (Linux)

- MySQL 5.7.10 source code for the latest version of the installation process in detail (Database)

- Linux crontab (Linux)

- ORA-27054 NFS problem solving (Database)

- Use libcurl library download url image (Programming)

- Spacewalk remove packages install the update (Linux)

- Debian GNU / Linux service list acquisition, shutting down services or run (Linux)

- Linux Basics Tutorial: create your own Vim IDE (Linux)

- Java Foundation - Getting Start (Programming)

- Getting Started with Linux system to learn: how to check memory usage of Linux (Linux)

- Ubuntu user use PPA to install Uget 2.0.5 (Linux)

- Management Linux Container with Docker in Ubuntu (Linux)

- Git Tutorial Comments (Linux)

- Linux Network Analysis Tcpdump Command Guide (Linux)

- How to adjust the system time CentOS (Linux)

- How to use SVN to manage our source code (Server)

  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
[Root @ master ~] # cat / etc / hosts master.lansgg.com master client.lansgg.com client
[Root @ master ~] # ifconfig eth0 | grep "inet addr"
          inet addr: Bcast: Mask:

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

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

[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
- Linux System Getting Started Learning: Debian download, installation and graphical interface (Linux)
- Laravel 4.2 Laravel5 comprehensive upgrade Raiders (Server)
- Chromium Install Flash Official Guide (Linux)
- Linux, ls command to achieve (Linux)
- Source encountered problems and solutions when installing SaltStack (Server)
- Deepin Tutorial: Depth Description Installer expert mode (Linux)
- Oracle online redefinition (Database)
- The official release method to upgrade to Ubuntu 15.04 (Linux)
- Linux LVM - File system extension (Linux)
- Linux system installation and usage instructions Wetty (Linux)
- Linux, set and view environment variables (Linux)
- Dockerfile use to build a mirror-based CentOS 7 (Linux)
- How to Install Linux kernel 4.0 on Ubuntu / CentOS (Linux)
- Package the Python script file into an executable file (Programming)
- Performance Optimization: Using Ramlog transfer log files to memory (Linux)
- Security experience: to see how the experts deal with DDoS attacks (Linux)
- Firewall - Internet Militarization (Linux)
- Android custom controls create the simplest skid menu in the history (Programming)
- Linux install the Java Runtime Environment and the output Hello World under (CentOS) (Linux)
- Oracle to use full-text indexing (Database)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.