Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Puppet subcommands Introduction     - MySQL database under Linux to achieve automatic backup scheduled backup day (Database)

- Linux installation JDK1.6 rpm.bin assembly (Linux)

- Inxi: Get Linux system and hardware information (Linux)

- Spark SQL job of a lifetime (Server)

- A step by step teach have to install multi-node cluster configuration Hadoop (Server)

- Spark source code compiler package (Linux)

- Linux C source code (sockettype: socket descriptor determination function) (Programming)

- TWiki LDAP error appears the problem is solved (Linux)

- Go performed using iOS and Android programming (Programming)

- Adding SSH to Github (Linux)

- Java interview questions in nine radio (Programming)

- Install VMware Tools in Debian (Linux)

- To teach you how to safely send mail (Linux)

- Actual custom yum repository ---- gem commands commonly used parameters (Linux)

- Necessity in Java packages (Programming)

- CentOS7 iptables (Linux)

- Oracle to read and modify the data block process (Database)

- How to Install Sticky Notes on Ubuntu and Derivatives (Linux)

- Upload the project to GitHub, synchronous remote repository Github (Linux)

- Oracle set and remove columns unavailable (Database)

  Puppet subcommands Introduction
  Add Date : 2017-01-08      
  Puppet subcommands Introduction

# Puppet -V // Check puppet version

# Puppet help // Check puppet supported subcommands

# Puppet agent --configprint confdir // view the directory profile

1, puppet master

# Puppet help master // viewing of common parameter of master

Start puppet by puppet master daemon mode and parameters as follows

# Puppet master --verbose --no-daemonize

2, puppet agent

# Puppet help agent // Check the agent commonly used parameters

Access test mode parameters are accessed through the puppet agent after the master for configuration information

# Puppet agent --server = monitor.comratings.com --test

The following is information after a request agent configuration information is displayed matser

3, puppet cert is a certificate signed by puppet administration command

Specific details we can see the puppet help cert, the following are a few simple, by English meaning we should all understand.

# Puppet cert list

# Puppet cert sign vpn.comratings.com

# Puppet cert sign --all

There is also a relatively safe way of signature, the "pre-signature scheme", that is, after the administrator in advance of the signing certificate file generation push on the agent machine, through the puppet cert --generate pick HOSTNAME way to pre-production-signed certificate. Command is as follows:

# Puppet cert --generate example.comratings.com

Here it will be pre-generated example.comratings.com, including the agent's private key, agent certificates and CA certificates, as follows:




The top three certificate files to the agent on top of it, the bulk of access puppet relatively safe.

4, puppet apply is a tool to perform a separate code

We create a file test.pp

# Vim test.pp

notify { "hello world":}

# Puppet apply test.pp

We can also call the puppet snippet directly execute parameter puppet apply tools, as follows:

# Puppet apply --execute "notify { 'hello world':}"

5, puppet module is the base module puppet tool

It contains the download, update, search, update, create a base module and other functions, it can find a good puppet base module has been developed code to work for us from the puppet forge, in order to reduce duplication of effort operation and maintenance engineers.

First, find the search parameters puppet forge through the apache module related infrastructure, using the following command:

# Puppet module search apache

You can install the module required by install parameters and parameter to specify the version by version, using the following command:

# Puppet module install puppetlabs-apache


# Puppet module uninstall puppetlabs-apache

Installed base module according to master the main configuration file puppet.conf in modulepath parameter module into the base directory specified, the default path is / etc / puppet / modules.
- FreeBSD install Gnome 3 Desktop (Linux)
- 10046 trace only open for a particular SQL statement (Database)
- Camera-based face recognition OpenCV crawl and storage format (Python) (Linux)
- LVM mirrored logical volume to achieve (Linux)
- Oracle GoldenGate Installation and Configuration Tutorial Introduction (Database)
- Android developers learning Adapter (data adapter) (Programming)
- Ubuntu install OpenMPI (Linux)
- Oracle 11g RAC installation considerations Miscellany (Database)
- C # using the HttpClient Note: Preheat the long connection (Programming)
- How to Install Cantata MPD 1.3.3 for Ubuntu and Derived Version Users (Linux)
- Java concurrent programming combat (using synchronized synchronization method) (Programming)
- findmnt- Looking mounted file system (Linux)
- Through Oracle to help restore MySQL data problems (Database)
- Win8 mount disk partitions under Ubuntu (Linux)
- The compiler installed Kaldi under Ubuntu 12.04 (Linux)
- To install HDRMerge 0.4.3 under ubuntu (Linux)
- OpenWrt modify flash size (Linux)
- Ubuntu modify DNS restart loss problem (Linux)
- Openfire achieve load balancing cluster by Nginx (Server)
- Zabbix monitoring platform to extract a single server graphical Python implementation of concurrent (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.