-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add support for puppetlabs/strings #48
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.
Overall 👍
@@ -3,6 +3,7 @@ | |||
docker_sets: | |||
- set: centos6-64 | |||
- set: centos7-64 | |||
- set: centos8-64 |
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 looks unrelated to strings
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.
That was missing at a pull request I merged earlier today.
|
||
### Setup Requirements | ||
|
||
This module has the following dependencies: |
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.
Do we need to list these? IMHO metadata.json is a better place.
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.
I have no idea. We have these dependencies at metadata.json
, but it is nice to get an quick overview without jumping through all these files.
However, it is almost impossible to create a good README.md
, because all of our modules use a different style and we do not have a reference module like puppetlabs/puppetlabs-apt
.
String $caddy_features = 'http.filter,http.git,http.ipfilter', | ||
Stdlib::Port $caddy_http_port = 80, | ||
Stdlib::Port $caddy_https_port = 443, | ||
Stdlib::Absolutepath $install_path = '/usr/local/bin', |
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.
I have stopped aligning because I think it just makes things hard to maintain. Won't object, but I wouldn't bother.
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.
Yeah, this mess came with the data types, but I think it is easier to read this way.
manifests/service.pp
Outdated
'redhat': { # we could probably add 'debian' for older debian releases but not sure | ||
file {'/etc/init.d/caddy': | ||
'redhat': { | ||
file { '/etc/init.d/caddy': | ||
ensure => file, | ||
mode => '0744', |
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.
Unrelated, but what a weird mode. 0755
is much more logical IMHO.
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.
Yeah, this was already in here and nobody cared about it. I will change it. ;)
manifests/vhost.pp
Outdated
# | ||
define caddy::vhost( | ||
$source = undef, | ||
$content = undef, | ||
$source = undef, |
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.
Undocumented, also
$source = undef, | |
Optional[Stdlib::Filesource] $source = undef, |
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.
Thx. I missed that somehow.
manifests/vhost.pp
Outdated
$source = undef, | ||
$content = undef, | ||
$source = undef, | ||
$content = undef, |
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.
Undocumented, also
$content = undef, | |
Optional[String] $content = undef, |
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.
Thx. I missed that somehow.
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.
I think you need to regenerate REFERENCE.md
@ekohl Just generated a new |
Dear @dhoppe, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
1 similar comment
Dear @dhoppe, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
Seems to duplicate #49 which was merged. Please re-open if that's not the case. |
Fixes #33, #44