Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dodevops/puppet-fetchcert

Puppet module to fetch a remote certificate and store it locally
https://github.com/dodevops/puppet-fetchcert

certificates openssl puppet puppet-module

Last synced: 18 days ago
JSON representation

Puppet module to fetch a remote certificate and store it locally

Awesome Lists containing this project

README

        

# fetchcert

[![Travis](https://img.shields.io/travis/dodevops/puppet-fetchcert.svg)](https://travis-ci.org/dodevops/puppet-fetchcert)

Fetch a remote certificate and store it locally

## Introduction

This module fetches a remote certificate using the openssl s_client
function and stores it to a local file.

## Dependencies

* puppetlabs-stdlib
* "openssl" command is available locally (can usually be simply installed
with the "package"-type)

## Usage

### With puppet

To download a certificate, simply use the defined type "fetchcert::fetch":

```
fetchcert::fetch {
'/tmp/mycert.pem':
source_host => 'mysource.example.com'
}
```

### With hiera

This module includes hiera support. Just include the class "fetchcert" and
define the hash "fetchcert::fetch"

## Parameters

See the [documentation](https://dodevops.github.io/puppet-fetchcert/doc/index.html).