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: about 1 month ago
JSON representation
Puppet module to fetch a remote certificate and store it locally
- Host: GitHub
- URL: https://github.com/dodevops/puppet-fetchcert
- Owner: dodevops
- License: mit
- Created: 2017-02-22T10:02:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T13:54:00.000Z (almost 7 years ago)
- Last Synced: 2025-08-16T08:37:03.478Z (10 months ago)
- Topics: certificates, openssl, puppet, puppet-module
- Language: Ruby
- Homepage: https://forge.puppet.com/dodevops/fetchcert
- Size: 76.2 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fetchcert
[](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).