-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rename environment parameter to unbreak hiera #64
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
# precedence over an 'email' setting defined in $config. | ||
# [*path*] | ||
# The path to the letsencrypt installation. | ||
# [*environment*] | ||
# [*venv_vars*] | ||
# An optional array of environment variables (in addition to VENV_PATH) | ||
# [*repo*] | ||
# A Git URL to install the Let's encrypt client from. | ||
|
@@ -54,8 +54,8 @@ | |
class letsencrypt ( | ||
Optional[String] $email = undef, | ||
String $path = $letsencrypt::params::path, | ||
$venv_path = $letsencrypt::params::venv_path, | ||
Array $environment = [], | ||
$venv_path = [], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't look like a correct rebase There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oops, thanks There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but now that i'm seeing this, we've already had There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the answer is: potentially, but it needs to be rethought, rather than rebased. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, we had |
||
Array $venv_vars = $letsencrypt::params::venv_vars, | ||
String $repo = $letsencrypt::params::repo, | ||
String $version = $letsencrypt::params::version, | ||
String $package_name = $letsencrypt::params::package_name, | ||
|
@@ -98,7 +98,7 @@ | |
exec { 'initialize letsencrypt': | ||
command => "${command_init} -h", | ||
path => $::path, | ||
environment => concat([ "VENV_PATH=${venv_path}" ], $environment), | ||
environment => concat([ "VENV_PATH=${venv_path}" ], $venv_vars), | ||
refreshonly => true, | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you like to add documentation for
venv_path
at the same time?