-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
updated documentation to conform with REFERENCE.md standard for forge #311
Conversation
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.
Hi @danquack . Thank you for the PR.
I added some in line comments.
Declaring a class or a defined type as private, is more than producing markdown file. So , if you are interested by the topic, it looks better to work on it with an other PR.
Several tests failed. They have to pass before PR is merged.
manifests/config.pp
Outdated
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# @api private |
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.
This is more than documentation.
If you are interested by the topic, i propose you work on it in an other PR.
manifests/client.pp
Outdated
@@ -203,7 +53,7 @@ | |||
Boolean $persist_key = true, | |||
Boolean $persist_tun = true, | |||
String $port = '1194', | |||
String $proto = 'tcp', | |||
Enum['tcp', 'udp'] $proto = 'tcp', |
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.
Nice. \o/
manifests/install.pp
Outdated
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# @api private |
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.
Same comment here, it is more than documentation.
manifests/client.pp
Outdated
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
define openvpn::client ( | ||
String $server, | ||
String $compression = 'comp-lzo', |
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.
What are possible values ?
manifests/service.pp
Outdated
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# @api private |
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.
Same here, more than documentation.
@Dan33l Any idea as to why the tests would be failing? I reverted every string to enum change I had made except the TCP/UDP one that you commented on, but the tests still fail. I don't see anything in the tests that would cause this, but seems like everything build broken? Perhaps I should back out the tcp/udp as well? Reverting all changes to non currently commented code breaks it as well.... |
@danquack Many tests are failing because of default value. It must be also a string :
|
2caab1c
to
8386a00
Compare
@Dan33l good catch. Now that seemed to fix it, let me rebase, squash and add back the code I took away. |
f64f202
to
aaad847
Compare
aaad847
to
c1df3f0
Compare
@Dan33l Let me know if theres anything else you want me to change! |
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.
Thanks !
Pull Request (PR) description
In order to match other voxpupuli forge modules, i've updated all the commented code to utilize the REFERENCE.md structure.
This Pull Request (PR) fixes the following issues