Version information
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
- Puppet >= 7.0.0 < 9.0.0
- , , , , , , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'puppetlabs-java_ks', '5.1.0'
Learn more about managing modules with a PuppetfileDocumentation
java_ks
Table of Contents
Overview
The java_ks module uses a combination of keytool and openssl to manage entries in a Java keystore.
Module Description
The java_ks module contains a type called java_ks
and a single provider named keytool
. Their purpose is to enable importation of arbitrary, already generated and signed certificates into a Java keystore for use by various applications.
Setup
Beginning with the module
To get started with java_ks, declare each java_ks
resource you need.
java_ks { 'puppetca:truststore':
ensure => latest,
certificate => '/etc/puppet/ssl/certs/ca.pem',
target => '/etc/activemq/broker.ts',
password => 'puppet',
trustcacerts => true,
}
Usage
You must specify a target in some way. You can specify target
after the colon in the title or by using the target attribute in the resource. If you declare both, it will prefer the attribute.
java_ks { 'puppetca:keystore':
ensure => latest,
certificate => '/etc/puppet/ssl/certs/ca.pem',
target => '/etc/activemq/broker.ks',
password => 'puppet',
trustcacerts => true,
}
java_ks { 'broker.example.com:/etc/activemq/broker.ks':
ensure => latest,
certificate => '/etc/puppet/ssl/certs/broker.example.com.pe-internal-broker.pem',
private_key => '/etc/puppet/ssl/private_keys/broker.example.com.pe-internal-broker.pem',
password => 'albatros',
password_fail_reset => true,
}
For use cases where you want to fetch the certificate data from a secure store, like vault, you can use the _content
attributes. Here is an example:
java_ks { 'broker.example.com:/etc/activemq/broker.ks':
ensure => latest,
certificate_content => $certificate_data_fetched_from_secure_store,
private_key_content => $private_key_data_fetched_from_secure_store,
password => 'albatros',
password_fail_reset => true,
}
NOTE: Sensitive fields like password
, certificate_content
and private_key_content
can be deferred using the Deferred function. This will ensure sensitive values are not present in the Catalog.
You can see an example of its use below.
java_ks { 'broker.example.com:/etc/activemq/broker.ks':
ensure => latest,
certificate_content => Deferred('sprintf', [$certificate_data_fetched_from_secure_store],
private_key_content => Deferred('sprintf', [$private_key_data_fetched_from_secure_store],
password => Deferred('sprint', ['albatros']),
password_fail_reset => true,
}
We recommend using the data type Senstive
for the attributes certificate_content
and private_key_content
. But These attributes also support a regular String
data type. The _content
attributes are mutual exclusive with their file-based variants.
You can also use Hiera by passing params to the java_ks::config class:
java_ks::config::params:
'broker.example.com:/etc/activemq/broker.ks':
ensure: latest
certificate: '/etc/puppet/ssl/certs/broker.example.com.pe-internal-broker.pem'
private_key: '/etc/puppet/ssl/private_keys/broker.example.com.pe-internal-broker.pem'
password: true
Certificates
To have a Java application server use a specific certificate for incoming connections, use the certificate parameter. You will need to simultaneously import the private key accompanying the signed certificate you want to use. As long as you provide the path to the key and the certificate, the provider will do the conversion for you.
Namevars
The java_ks module supports multiple certificates with different keystores but the same alias by implementing Puppet's composite namevar functionality. Titles map to namevars via $alias:$target
(alias of certificate, colon, on-disk path to the keystore). If you create dependencies on these resources you need to remember to use the same title syntax outlined for generating the composite namevars.
Note about composite namevars:
The way composite namevars currently work, you must have the colon in the title. This is true even if you define name and target parameters. The title can be foo:bar
, but the name and target parameters must be broker.example.com
and /etc/activemq/broker.ks
. If you follow convention, it will do as you expect and correctly create an entry in the
broker.ks keystore with the alias of broker.example.com.
Reference
For information on the classes and types, see the REFERENCE.md.
Limitations
The java_ks module uses the keytool
and openssl
commands. It should work on all systems with these commands.
Java 7 is supported as of 1.0.0.
Developed against IBM Java 6 on AIX. Other versions may be unsupported.
For an extensive list of supported operating systems, see metadata.json
License
This codebase is licensed under the Apache2.0 licensing, however due to the nature of the codebase the open source dependencies may also use a combination of AGPL, BSD-2, BSD-3, GPL2.0, LGPL, MIT and MPL Licensing.
Development
Puppet modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad hardware, software, and deployment configurations that Puppet is intended to serve.
We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. For more information, see our module contribution guide.
Reference
Table of Contents
Classes
java_ks::config
: java_ks configuration
Resource types
java_ks
: Manages the entries in a java keystore, and uses composite namevars to accomplish the same alias spread across multiple target keystores.
Classes
java_ks::config
java_ks configuration
Parameters
The following parameters are available in the java_ks::config
class:
params
Data type: Hash
A hash containing the parameters required for the java config.
Default value: {}
Resource types
java_ks
Manages the entries in a java keystore, and uses composite namevars to accomplish the same alias spread across multiple target keystores.
Properties
The following properties are available in the java_ks
type.
ensure
Valid values: present
, absent
, latest
Has three states: present, absent, and latest. Latest will compare the on disk SHA1 fingerprint of the certificate to that in keytool to determine if insync? returns true or false. We redefine insync? for this parameter to accomplish this.
Default value: present
password
The password used to protect the keystore. If private keys are subsequently also protected this password will be used to attempt unlocking. Must be six or more characters in length. Cannot be used together with :password_file, but you must pass at least one of these parameters.
Parameters
The following parameters are available in the java_ks
type.
certificate
certificate_content
chain
destkeypass
keytool_timeout
name
password_fail_reset
password_file
path
private_key
private_key_content
private_key_type
provider
source_alias
source_password
storetype
target
trustcacerts
certificate
A file containing a server certificate, followed by zero or more intermediate certificate authorities. All certificates will be placed in the keystore. This will autorequire the specified file.
certificate_content
A string containing a server certificate, followed by zero or more intermediate certificate authorities. All certificates will be placed in the keystore.
chain
The intermediate certificate authorities, if they are to be taken from a file separate from the server certificate. This will autorequire the specified file.
destkeypass
The password used to protect the key in keystore.
keytool_timeout
Timeout for the keytool command in seconds.
Default value: 120
name
namevar
The alias that is used to identify the entry in the keystore. This will be converted to lowercase.
password_fail_reset
Valid values: true
, false
If the supplied password does not succeed in unlocking the keystore file, then delete the keystore file and create a new one. Default: false.
Default value: false
password_file
The path to a file containing the password used to protect the keystore. This cannot be used together with :password, but you must pass at least one of these parameters.
path
The search path used for command (keytool, openssl) execution. Paths can be specified as an array or as a '
private_key
If you want an application to be a server and encrypt traffic, you will need a private key. Private key entries in a keystore must be accompanied by a signed certificate for the keytool provider. This parameter allows you to specify the file name containing the private key. This will autorequire the specified file.
private_key_content
If you want an application to be a server and encrypt traffic, you will need a private key. Private key entries in a keystore must be accompanied by a signed certificate for the keytool provider. This parameter allows you to specify the content of the private key.
private_key_type
Valid values: rsa
, dsa
, ec
The type of the private key. Usually the private key is of type RSA key but it can also be an Elliptic Curve key (EC) or DSA. Valid options: , , . Defaults to
Default value: rsa
provider
The specific backend to use for this java_ks
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.
source_alias
The source certificate alias
source_password
The source keystore password
storetype
Valid values: jceks
, pkcs12
, jks
Optional storetype Valid options: , ,
target
namevar
Destination file for the keystore. This will autorequire the parent directory of the file.
trustcacerts
Valid values: true
, false
Certificate authorities aren't by default trusted so if you are adding a CA you need to set this to true. Defaults to :false.
Default value: false
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v5.1.0 - 2024-11-26
v5.0.0 - 2023-05-22
Changed
- (CONT-785) Add Support for Puppet 8 / Drop Support for Puppet 6 #430 (david22swan)
Added
- (CONT-1008) Add missing Windows 2022 Support #435 (david22swan)
v4.4.2 - 2023-04-18
Fixed
v4.4.1 - 2022-11-21
Fixed
- (CONT-186) Set
-deststoretype
#418 (david22swan) - pdksync - (CONT-189) Remove support for RedHat6 / OracleLinux6 / Scientific6 #417 (david22swan)
- pdksync - (CONT-130) - Dropping Support for Debian 9 #414 (jordanbreen28)
- reversed insync set comparison #412 (rstuart-indue)
v4.4.0 - 2022-10-03
Added
- pdksync - (GH-cat-11) Certify Support for Ubuntu 22.04 #408 (david22swan)
- pdksync - (GH-cat-12) Add Support for Redhat 9 #404 (david22swan)
Fixed
- (MAINT) Drop support for Solaris 10, Windows Server 2008 R2 and Windows 7+8.1 #410 (jordanbreen28)
v4.3.1 - 2022-05-24
Fixed
- Don't require certificate or private key params when ensure: absent #399 (tparkercbn)
v4.3.0 - 2022-04-05
Added
- Add support for certificate_content and private_key_content parameters #385 (hajee)
- pdksync - (IAC-1753) - Add Support for AlmaLinux 8 #381 (david22swan)
- pdksync - (IAC-1751) - Add Support for Rocky 8 #380 (david22swan)
Fixed
- pdksync - (GH-iac-334) Remove Support for Ubuntu 14.04/16.04 #390 (david22swan)
- pdksync - (IAC-1787) Remove Support for CentOS 6 #384 (david22swan)
- pdksync - (IAC-1598) - Remove Support for Debian 8 #379 (david22swan)
- Fix "password" as Property #378 (cocker-cc)
v4.2.0 - 2021-08-25
Added
- pdksync - (IAC-1709) - Add Support for Debian 11 #376 (david22swan)
v4.1.0 - 2021-06-28
Added
Fixed
v4.0.0 - 2021-03-01
Changed
- pdksync - (MAINT) Remove SLES 11 support #354 (sanfrancrisko)
- pdksync - (MAINT) Remove RHEL 5 family support #353 (sanfrancrisko)
- pdksync - Remove Puppet 5 from testing and bump minimal version to 6.0.0 #351 (carabasdaniel)
Fixed
- Fix keytool path handling #349 (chillinger)
v3.4.0 - 2020-12-16
v3.3.0 - 2020-12-07
Added
- pdksync - (feat) Add support for Puppet 7 #342 (daianamezdrea)
- (IAC-994) Removal of inappropriate terminology #335 (pmcmaw)
- pdksync - (IAC-973) - Update travis/appveyor to run on new default branch
main
#327 (david22swan)
Fixed
- Change latest/current comparison to account for chains #336 (mwpower)
- add storetype parameter comparison to 'destroy' method #333 (mwpower)
- Correct jceks symbol comparison #332 (mwpower)
v3.2.0 - 2020-07-01
Added
- Allow DER formatted certificates with keys. #319 (tomkitchen)
v3.1.0 - 2019-12-09
Added
- (FM-8224) - Addition of support for CentOS 8 #294 (david22swan)
- (feat) adding litmus support #292 (tphoney)
- pdksync - "Add support on Debian10" #288 (lionce)
v3.0.0 - 2019-08-20
Changed
- pdksync - (MODULES-8444) - Raise lower Puppet bound #276 (david22swan)
Added
- (FM-8155) Add Window Server 2019 support #281 (eimlav)
- (FM-8042) Add RedHat 8 support #280 (eimlav)
- Add initial support for DSA private keys. #273 (surcouf)
Fixed
- FM-7945 stringify java_ks #279 (lionce)
- Modules 8962 - java_ks - Windows 2012 failing smoke #278 (lionce)
2.4.0 - 2019-02-19
Added
Fixed
- (MODULES-8549) - Bump of Java version used for test #260 (david22swan)
- pdksync - (FM-7655) Fix rubygems-update for ruby < 2.3 #257 (tphoney)
- Fix provider so "latest" gets the MD5 AND SHA1 hashes for comparing #252 (absltkaos)
- (FM-7505) - Bumping Windows jdk version to 8.0.191 #251 (pmcmaw)
- (MODULES-8125) Fix unnecessary change when using intermediate certificates #250 (johngmyers)
2.3.0 - 2018-09-28
Changed
- [FM-6966] Removal of unsupported OS from java_ks #230 (david22swan)
Added
- pdksync - (MODULES-6805) metadata.json shows support for puppet 6 #246 (tphoney)
- (FM-7238) - Addition of support for Ubuntu 18.04 #237 (david22swan)
Fixed
- (MODULES-7632) - Update README Limitations section #239 (eimlav)
- (MODULES-1997) - Update the target when the cert chain changes #233 (johngmyers)
- (MODULES-6342) Update pathing for new java in #229 #231 (hunner)
2.2.0 - 2018-03-02
Other
- Release Prep 2.2.0 #224 (HelenCampbell)
- Add support for 'destkeypass' when importing PKCS12 keystores. #221 (fatmcgav)
- Release merge back 2.1.0 #219 (pmcmaw)
2.1.0 - 2018-02-07
Other
- 2.1.0PreRelease #217 (david22swan)
- Update JDK to 8u161 #215 (HelenCampbell)
- 'Latest' method updated to mirror 'Current' method. Code shared by both extracted into it's own method. #214 (david22swan)
- Rubocop Implemented #212 (david22swan)
- (maint) modulesync 65530a4 Update Travis #211 (michaeltlombardi)
- (maint) modulesync cd884db Remove AppVeyor OpenSSL update on Ruby 2.4 #210 (michaeltlombardi)
- (maint) - modulesync 384f4c1 #209 (tphoney)
- Merge back to master #208 (tphoney)
- Add support for specifying a source cert alias #205 (fatmcgav)
2.0.0 - 2017-12-05
Changed
Added
- Add Java 9 support #195 (scornelissen85)
- support removal of keystore file if password incorrect #151 (jessereynolds)
Fixed
- (FM-6457) Fix Windows CI #200 (michaeltlombardi)
Other
- (FM-6588) - Remove vulnerable puppet3 support dependencies (modulesync e6d4a7d) #207 (pmcmaw)
- (MODULES-6161) - Release Prep for 2.0.0 #206 (pmcmaw)
- (maint) - modulesync 1d81b6a #204 (pmcmaw)
- (maint) - Updating flag to stop appveyor config from being deleted #203 (pmcmaw)
- Adding appveyor config file #201 (pmcmaw)
- FM-6517 On SLES we do not have pkcs12 installed #198 (tphoney)
- Update metadata #196 (pmcmaw)
- Rubocop cleanup of java_ks type #194 (tphoney)
- (maint) modulesync 892c4cf #193 (HAIL9000)
- (MODULES-5501) - Remove unsupported Ubuntu #191 (pmcmaw)
- (MODULES-5357) Pin JDK installation pacakge to 8.0.144 #189 (glennsarti)
- (maint) modulesync 915cde70e20 #188 (glennsarti)
- fix java install on windows in acceptance #187 (tphoney)
- (MODULES-5187) mysnc puppet 5 and ruby 2.4 #186 (eputnam)
- (MODULES-5144) Prep for puppet 5 #184 (hunner)
- (MODULES-4833) Update to Puppet version dependancy #puppethack #183 (HelenCampbell)
- Add support for importing PKCS12 files. #182 (fatmcgav)
- Release mergeback #181 (hunner)
1.6.0 - 2017-05-03
Other
- Fix timing on older rubies #180 (hunner)
- (PE-17635) Wrap keytool in timeout #179 (hunner)
- Release mergeback for 1.5.0 #178 (HelenCampbell)
- [msync] 786266 Implement puppet-module-gems, a45803 Remove metadata.json from locales config #177 (wilson208)
- Correct markdown formatting #175 (ekohl)
- [MODULES-4528] Replace Puppet.version.to_f version comparison from spec_helper.rb #174 (wilson208)
- [MODULES-4556] Remove PE requirement from metadata.json #173 (wilson208)
1.5.0 - 2017-03-14
Other
- (docs)[FM-6102] 1.5.0 release docs edit #171 (jtappa)
- [FM-6102] Release 1.5.0 Prep #170 (wilson208)
- [MODULES-4505] Fix error: title patterns that use procs are not supported #169 (wilson208)
- (maint) Change SHA256 fingerprint verification for certificates to SHA1 #168 (wilson208)
- (MODULES-2495): use password with encrypted private keys #167 (tompsett)
- (MODULES-4098) Sync the rest of the files #166 (hunner)
- (MODULES-4097) Sync travis.yml #164 (hunner)
- add xenial to metadata #163 (eputnam)
- Support EC keys #162 (antaflos)
- (FM-5972) gettext and spec.opts #161 (eputnam)
- Support for systems running in FIPS mode #160 (jstuart)
- (MODULES-3631) msync Gemfile for 1.9 frozen strings #159 (hunner)
- (MODULES-3704) Update gemfile template to be identical #158 (hunner)
- mocha version update #157 (eputnam)
- (MODULES-3983) Update parallel_tests for ruby 2.0.0 #156 (pmcmaw)
- Update modulesync_config [51f469d][#154](https://github.com/puppetlabs/puppetlabs-java_ks/pull/154) (DavidS)
- Created simple java_ks::config class with create_resources so we can hiera manage configs #153 (arthurbarton)
- Update modulesync_config [a3fe424][#152](https://github.com/puppetlabs/puppetlabs-java_ks/pull/152) (DavidS)
- (MAINT) Update for modulesync_config 72d19f184 #150 (DavidS)
- (MODULES-3581) modulesync [067d08a][#149](https://github.com/puppetlabs/puppetlabs-java_ks/pull/149) (DavidS)
- {maint} modulesync 0794b2c #148 (tphoney)
- Update to newest modulesync_configs [9ca280f][#147](https://github.com/puppetlabs/puppetlabs-java_ks/pull/147) (DavidS)
- Mergeback 1.4.x #146 (bmjen)
1.4.1 - 2016-02-16
Other
- (FM-4046) Update to current msync configs [006831f][#145](https://github.com/puppetlabs/puppetlabs-java_ks/pull/145) (DavidS)
- 1.4.1 release prep #144 (tphoney)
- (MODULES-3023) Support certificate chains in certificate file. #143 (johngmyers)
- (FM-4049) update to modulesync_configs #142 (DavidS)
- Support multiple intermediate certs in chain #141 (johngmyers)
- (#2915) Don't expose keystore content when keystore initally empty #140 (johngmyers)
- 1.4.x mergeback #139 (bmjen)
1.4.0 - 2015-12-07
Other
- Rebase from master #138 (bmjen)
- 1.3.x mergeback #137 (bmjen)
- Fixes metadata.json dependencies. #136 (bmjen)
- Release prep for 1.4.0. #135 (bmjen)
- Fix acceptance tests #133 (DavidS)
- Adding jceks support #132 (albac)
- (MODULES-2561) resolve title properly when on windows #131 (cyberious)
- Implement destkeypass option #130 (DavidS)
- (maint) Remove ruby requirement for creating certs #129 (cyberious)
- (maint) Removed setup parameter #128 (cyberious)
1.3.1 - 2015-07-17
Other
- CHANGELOG and docs cleanup #127 (bmjen)
- 1.3.1 prep #126 (bmjen)
- adds pe path to ruby for acceptance tests #125 (bmjen)
- Add helper to install puppet/pe/puppet-agent #124 (hunner)
- (maint) allow setting PUPPET_VERSION in acceptance #123 (justinstoller)
- Updated travisci file to remove allow_failures on Puppet 4 #122 (jonnytdevops)
- Modulesync updates #121 (underscorgan)
- (MODULES-2017) Fix Puppet.newtype deprecation warning #120 (roman-mueller)
- Merge 1.3.x to master #119 (underscorgan)
1.3.0 - 2015-04-15
Other
- FM-2347 Release Prep #118 (cyberious)
- (BKR-147) add Gemfile setting for BEAKER_VERSION for puppet... #116 (anodelman)
- Test and future parser updates #115 (cmurphy)
- final formatting and wording changes #114 (jtappa)
- reorganized README, markdown styling, grammar, and descriptions #113 (jtappa)
- Adding puppet noop support #112 (jitran)
- edits to descriptions of params #111 (jtappa)
- Pin rspec gems #110 (cmurphy)
- Add IntelliJ files to the ignore list #109 (cmurphy)
- More spec_helper_acceptance fixes #108 (underscorgan)
- Fix spec_helper_acceptance for pe #107 (underscorgan)
- Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md #106 (cmurphy)
- Update .sync.yml for new Gemfile template #105 (cmurphy)
- update README to reflect that java 7 works as of 1.0.0/310b89b #104 (rdark)
- MODULES-618 - fix java_ks when using password_file #103 (underscorgan)
- Merge 1.2.x #102 (underscorgan)
- Add tests for windows and remove usage of OPENSSL to check MD5 as keytool has that capability #91 (cyberious)
1.2.6 - 2014-11-11
Other
- Fix for sles10 #101 (underscorgan)
- Fix path for PE #100 (underscorgan)
- Fix path for solaris #99 (underscorgan)
- Let the java module fail #98 (underscorgan)
- I had some rebase fail #97 (underscorgan)
- 1.2.6 prep #96 (underscorgan)
- 1.2.x rebase master #95 (underscorgan)
- Merge 1.2.x into master #94 (underscorgan)
- Update PE and OS compatibility info in metadata #92 (cmurphy)
- Only install modules on masters during tests #89 (cmurphy)
- Fix solaris 10 tests #88 (cmurphy)
- Stop depending on puppet certs to test java_ks #87 (cmurphy)
- Fix acceptance helper #86 (cmurphy)
- Remove puppet_module_install in favor of copy_module_to #85 (cyberious)
- Update spec_helper for more consistency #84 (underscorgan)
- Capture back metadata.json reformating #81 (cyberious)
1.2.5 - 2014-07-14
Other
- Remove AIX 5.3 support as we can't test against it. #80 (underscorgan)
- 1.2.5 prep. #79 (underscorgan)
- Add validate and lint tasks to travis script #77 (cmurphy)
- Synchronize .travis.yml #76 (cmurphy)
- Start synchronizing module files #75 (cmurphy)
- openssl on sol 11 is in /usr/bin #74 (hunner)
- Remove support for puppet:/// files. #73 (apenney)
- Remove windows support. #72 (underscorgan)
- Pin rspec ~> 2.99 due to bundle issues #71 (hunner)
- Pin to new beaker-rspec #70 (hunner)
- Rspec pinning #69 (underscorgan)
- Merge test #68 (underscorgan)
- Rspec3 #67 (apenney)
1.2.4 - 2014-06-05
Other
- Release 1.2.4 #64 (hunner)
- Add RHEL7 and Ubuntu 14.04. #62 (apenney)
- 12xmerge #61 (apenney)
- Fixing tests. #60 (underscorgan)
1.2.3 - 2014-03-04
Other
- Fix the { location in metadata.json #57 (hunner)
- Add Scientific linux as a supported platform #56 (hunner)
- Prepare a 1.2.3 supported release. #55 (apenney)
- Replace the symlink with the actual file to resolve a PMT issue. #54 (apenney)
1.2.2 - 2014-03-03
Other
- Add missing fields back to work around Puppet bug. #53 (apenney)
- Ensure this works in irb. #52 (apenney)
- Prepare supported 1.2.2 release. #51 (apenney)
- Adds "Release Notes/Known Bugs" to Changelog, updates file format to markdown, standardizes the format of previous entries #50 (lrnrthr)
- Prepare metadata for supported modules. #49 (apenney)
- Adding AIX paths for java6 #48 (hunner)
- Make it all work on solaris... #47 (hunner)
- Fix stderr. #46 (apenney)
- Correct the wording here. #45 (apenney)
- Checking the stderr wasn't correct #44 (hunner)
- Switch to operatingsystem instead of osfamily for finer control. #43 (apenney)
- Fix up the tests for the extended platforms. #42 (apenney)
- Missing a ' #41 (hunner)
- Don't assume FOSS paths in java_ks tests #39 (justinstoller)
- Release 1.2.1 #38 (hunner)
1.2.1 - 2014-02-12
Other
- Allow custom gemsource #37 (hunner)
- include puppet-lint in the Gemfile #36 (justinstoller)
- Convert rspec-system tests to beaker. #35 (apenney)
- Release 1.2.0 #30 (hunner)
1.2.0 - 2013-09-18
Other
- Validate password length #29 (hunner)
- Clean up PKCS12 generation and testing #28 (hunner)
- Add puppet:// type path support for certificate, private_key and chain #27 (hunner)
- Spec tests #26 (hunner)
- Use better
raise
syntax to suppress compatibility warnings. #25 (ojacobson) - Use the openssl pkcs12 '-out' option to write pkcs12 keystore #10 (jcraigbrown)
1.1.0 - 2013-06-12
1.0.1 - 2013-06-12
Other
- Release 1.1.0 #24 (kbarber)
- Travis ci support #23 (adrienthebo)
- (maint) refactor keytool provider specs #22 (adrienthebo)
- Add password_file to type #20 (raphink)
- Support for executables outside the system default path #18 (fhrbek)
1.0.0 - 2013-02-14
Other
0.0.6 - 2013-01-22
Other
0.0.5 - 2013-01-17
Other
0.0.4 - 2013-01-16
Other
- Add LICENSE file. Update Modulefile to use ASL instead of APL to refer t... #12 (haus)
- Allow non-composite title #9 (reidmv)
- Update Modulefile release number #8 (reidmv)
0.0.3 - 2012-06-12
Other
0.0.2 - 2012-05-09
0.0.1 - 2012-05-09
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] 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.
Quality checks
We run a couple of automated scans to help you assess a module’s quality. Each module is given a score based on how well the author has formatted their code and documentation and select modules are also checked for malware using VirusTotal.
Please note, the information below is for guidance only and neither of these methods should be considered an endorsement by Puppet.
Malware scan results
The malware detection service on Puppet Forge is an automated process that identifies known malware in module releases before they’re published. It is not intended to replace your own virus scanning solution.
Learn more about malware scans- Module name:
- puppetlabs-java_ks
- Module version:
- 5.1.0
- Scan initiated:
- November 27th 2024, 1:25:12
- Detections:
- 0 / 62
- Scan stats:
- 62 undetected
- 0 harmless
- 0 failures
- 0 timeouts
- 0 malicious
- 0 suspicious
- 14 unsupported
- Scan report:
- View the detailed scan report