1
0
mirror of https://github.com/krislamo/puppet-acme_vault synced 2024-11-10 04:40:35 +00:00
puppet-acme_vault/manifests/params.pp

38 lines
990 B
ObjectPascal
Raw Normal View History

# params for both common, request, and deploy
2018-02-22 19:46:51 +00:00
class acme_vault::params {
# settings for acme user
2018-02-22 19:46:51 +00:00
$user = 'acme'
$group = 'apache'
$home_dir = '/home/acme_vault'
# whether to use the letsencrypt staging url, set those urls
2018-03-01 15:34:38 +00:00
$staging = false
2018-02-22 19:46:51 +00:00
$staging_url = 'https://acme-staging-v02.api.letsencrypt.org/directory'
$prod_url = 'https://acme-v02.api.letsencrypt.org/directory'
$contact_email = ''
2018-02-22 19:46:51 +00:00
$acme_revision = 'HEAD'
2018-02-26 19:54:07 +00:00
$acme_repo_path = "${home_dir}/acme.sh"
$acme_script = "${acme_repo_path}/acme.sh"
$vault_prefix = '/secret/letsencrypt/'
2018-02-22 19:46:51 +00:00
$domains = ''
# authentication
$vault_token = ''
$vault_addr = ''
2018-02-26 19:54:07 +00:00
$vault_bin = "${home_dir}/vault"
2018-02-22 19:46:51 +00:00
# lexicon
$lexicon_provider = ''
$lexicon_username = ''
$lexicon_token = ''
2018-02-22 19:46:51 +00:00
# settings for deploy
$cert_destination_path = '/etc/acme/'
$restart = false
2018-02-26 19:54:07 +00:00
$restart_command = 'echo restart!'
2018-02-22 19:46:51 +00:00
}