-
Notifications
You must be signed in to change notification settings - Fork 239
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
Module fails to run with strict_variables set to true on Darwin for version 9.0.0 #334
Comments
Note that this can be worked around by setting several variables in your hieradata to define the missing parameters. ---
# Darwin.yaml
# Work around bug in ssh 9.0.0 module
# See https://github.com/saz/puppet-ssh/issues/334
ssh::sshd_binary: /usr/sbin/sshd
ssh::sshd_environments_file: /dev/null |
@geoffdavis What's the reason for |
I think ssh_environments_file had a conditional clause somewhere in the puppet code that broke if it wasn't set to something. It's been a while so I'll have to dig through the code again to find where. It wasn't the template. The /dev/null value was chosen because it was harmless. |
Thanks for the feedback, I'll set up a test installation and see what's needed to fix this completely |
This should be fixed in v10.0.0 |
I get the following error when I run with
strict_variables
:This is presumably because
manifests/params.pp
does not have a variable definition forsshd_binary
in the Darwin clause, nor forsshd_environments_file
. Seepuppet-ssh/manifests/params.pp
Line 62 in 45b8135
Presumably this issue is gone in the master branch (I see that
params.pp
has disappeared), but the most recent forge module, 9.0.0, has this issue.The text was updated successfully, but these errors were encountered: