1
0
mirror of https://github.com/krislamo/puppet-acme_vault synced 2024-11-09 20:30:36 +00:00

cleanup var ordering, docs, metadata

This commit is contained in:
Bob Belnap 2018-03-01 15:59:07 -05:00
parent 748bfe71dd
commit 0409cd8476
4 changed files with 19 additions and 33 deletions

View File

@ -273,7 +273,7 @@ and the list of domains are included.
REQUIRED REQUIRED
#### Parameters only for deplay: #### Parameters only for deploy:
##### `cert_destination_path` ##### `cert_destination_path`
@ -291,7 +291,7 @@ Valid values: `true` `false`
The command used restart any service after cert is deployed The command used restart any service after cert is deployed
Default value: `''` Default value: `'echo restart!'`
## Limitations ## Limitations

View File

@ -5,8 +5,8 @@ class acme_vault::common (
$user = $::acme_vault::params::user, $user = $::acme_vault::params::user,
$group = $::acme_vault::params::group, $group = $::acme_vault::params::group,
$home_dir = $::acme_vault::params::home_dir, $home_dir = $::acme_vault::params::home_dir,
$domains = $::acme_vault::params::domains,
$contact_email = $::acme_vault::params::contact_email, $contact_email = $::acme_vault::params::contact_email,
$domains = $::acme_vault::params::domains,
$vault_token = $::acme_vault::params::vault_token, $vault_token = $::acme_vault::params::vault_token,
$vault_addr = $::acme_vault::params::vault_addr, $vault_addr = $::acme_vault::params::vault_addr,

View File

@ -4,28 +4,29 @@ class acme_vault::params {
$user = 'acme' $user = 'acme'
$group = 'apache' $group = 'apache'
$home_dir = '/home/acme_vault' $home_dir = '/home/acme_vault'
$contact_email = ''
$domains = undef
# authentication
$vault_token = undef
$vault_addr = undef
$vault_bin = "${home_dir}/vault"
$vault_prefix = '/secret/letsencrypt/'
# whether to use the letsencrypt staging url, set those urls # whether to use the letsencrypt staging url, set those urls
$staging = false $staging = false
$staging_url = 'https://acme-staging-v02.api.letsencrypt.org/directory' $staging_url = 'https://acme-staging-v02.api.letsencrypt.org/directory'
$prod_url = 'https://acme-v02.api.letsencrypt.org/directory' $prod_url = 'https://acme-v02.api.letsencrypt.org/directory'
$contact_email = ''
$acme_revision = 'HEAD' $acme_revision = 'HEAD'
$acme_repo_path = "${home_dir}/acme.sh" $acme_repo_path = "${home_dir}/acme.sh"
$acme_script = "${acme_repo_path}/acme.sh" $acme_script = "${acme_repo_path}/acme.sh"
$vault_prefix = '/secret/letsencrypt/'
$domains = ''
# authentication
$vault_token = ''
$vault_addr = ''
$vault_bin = "${home_dir}/vault"
# lexicon # lexicon
$lexicon_provider = '' $lexicon_provider = undef
$lexicon_username = '' $lexicon_username = undef
$lexicon_token = '' $lexicon_token = undef
# settings for deploy # settings for deploy

View File

@ -9,33 +9,18 @@
{ {
"name": "puppetlabs-stdlib", "name": "puppetlabs-stdlib",
"version_requirement": ">= 4.13.1 < 5.0.0" "version_requirement": ">= 4.13.1 < 5.0.0"
},
{
"name": "puppetlabs-concat",
"version_requirement": ">= 1.2.4"
} }
], ],
"operatingsystem_support": [ "operatingsystem_support": [
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"8"
]
},
{ {
"operatingsystem": "RedHat", "operatingsystem": "RedHat",
"operatingsystemrelease": [ "operatingsystemrelease": [
"7.0" "7.0"
] ]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"16.04"
]
},
{
"operatingsystem": "windows",
"operatingsystemrelease": [
"2012 R2"
]
}
], ],
"requirements": [ "requirements": [
{ {