Skip to content
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

openvpn::server, documentation doesn't match the code for parameter 'port' #272

Closed
clxnetom opened this issue Mar 22, 2018 · 0 comments
Closed
Labels
bug Something isn't working docs Improvements or additions to documentation

Comments

@clxnetom
Copy link
Contributor

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: Any
  • Ruby: Any
  • Distribution: Any
  • Module version: 7.1.0

How to reproduce (e.g Puppet code you use)

openvpn::server { 'some_name':
  local => '',
  port  => 1193,
}

What are you seeing

Documentation does not match actual code in manifests/server.pp.

Lines 78-80:

# [*port*]
#   Integer.  The port the openvpn server service is running on
#   Default: 1194

Line 453:

  String $port                              = '1194',

What behaviour did you expect instead

I expected it to accept an Integer since that was what the documentation said (didn't look at the code).

Output log

Error: Evaluation Error: Error while evaluating a Resource Statement, Openvpn::Server[some_name]: parameter 'port' expects a String value, got Integer
@juniorsysadmin juniorsysadmin added bug Something isn't working docs Improvements or additions to documentation labels Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants