Version information
released Aug 26th 2014
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 2.7.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'fnerdwq-ssl', '0.0.4'
Learn more about managing modules with a PuppetfileDocumentation
fnerdwq/ssl — version 0.0.4 Aug 26th 2014
Puppet SSL Module
####Table of Contents
##Overview
This small ssl module creates a self signed ssl certificate.
Written for Puppet >= 3.4.0.
##Module Description
See Overview for now.
##Setup
###What Ssl affects
- Creation of ssl certificates with openssl.
###Setup Requirements
Nothing.
###Beginning with Ssl
Simply include it and you will get a simple self signed certificate for your $::fqdn in /etc/ssl.
##Usage
Just include the module by
include ssl
If you want to create more certificates or have special configurations to do, use the define:
ssl::self_signed_certficate { $::fqdn:
common_name => $::fqdn,
email_address => 'root@example.de',
country => 'DE',
organization => 'Example GmbH',
days => 730,
directory => '/etc/ssl/web',
subject_alt_name => "DNS:*.${::domain}, DNS:${::domain}",
}
##Limitations:
Debian and RedHat like systems. Tested on:
- Debian 7
- Ubuntu 12.04
- Centos 6.x
Puppet Version >= 3.4.0, due to specific hiera usage.
##TODOs:
- Allow for shipped keys.
- Allow different key types (rsa, dsa, ecdsa).
- Allow for passwords.
- ... suggestions?
###2014-08-26 - 0.0.4
- corrected dependency in ssl::generate_dh_key
- covered ssl::generate_dh_key with tests
###2014-08-05 - 0.0.3
- made default behavior by
include ssl
saner and correct - corrected whitespaces in certificate configuration (-> might regenerate certificate!)
- added rspec and acceptance tests (beaker)
Dependencies
- puppetlabs/stdlib (>= 3.2.1)
Copyright 2014 - Frederik Wagner <kontakt@wagit.de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.