Sha256: 1144400650e1c51e85b3ed848192af6a669e4910f8b0885a652fc614fb899a63

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 KB

Contents

# lita-puppet

A [Lita](https://www.lita.io/) handler plugin for some basic [Puppet](https://puppet.com/) operations.

## Installation

Add lita-puppet to your Lita instance's Gemfile:

``` ruby
gem "lita-puppet"
```

## Configuration

* `config.handlers.puppet.master_hostname` - Puppet Master's hostname
* `config.handlers.puppet.ssh_user` - SSH user for the Puppet Master for r10k deployments
* `config.handlers.puppet.control_repo_path` - Path for `git pull` during r10k deployments

## Usage

#### Deploying an environment via r10k
    puppet r10k [environment]

This is also available as:

    puppet deploy [environment]
    pp deploy [environment]
    pp r10k [environment]

#### Trigger a manual run of the Puppet agent on a host
    puppet agent run on <host>

This is also available as:

    puppet run on <host>
    puppet run <host>
    pp agent run on <host>
    pp run on <host>
    pp on <host>

Though we don't recomend that last one...

#### Remove an SSL cert from the Puppet Master
    puppet cert clean <host>

This is also available as:

    pp cert clean <host>

**Note** though that this doesn't do anything on the client side. If you want puppet to work on the `<host>` machine you'll need to generate a new cert. Usually you run this if you're planning to do that anyway though.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lita-puppet-0.4.3 README.md
lita-puppet-0.4.2 README.md
lita-puppet-0.4.1 README.md
lita-puppet-0.4.0 README.md