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

Update ruby version and hdm version defaults #89

Merged
merged 2 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ Version is the image tag name when using docker and
the git tag when using rvm
Please find the releases on HDM website: https://github.com/betadots/hdm/releases

Default value: `'1.0.1'`
Default value: `'2.1.0'`

##### <a name="-hdm--container_registry_url"></a>`container_registry_url`

Data type: `String[1]`

Configure another registry. Contains the host, path and container name. The version is set via the version parameter.
e.g. ghcr.io/betadots/hdm
Configure another registry. Contains the host, path and container name.
The version is set via the version parameter. e.g. ghcr.io/betadots/hdm

Default value: `'ghcr.io/betadots/hdm'`

Expand All @@ -115,7 +115,7 @@ Data type: `String[1]`
Select the ruby version when installing using rvm
Please check [hdm ruby version requirement](https://github.com/betadots/hdm/blob/main/.ruby-version)

Default value: `'3.1.2'`
Default value: `'3.3.1'`

##### <a name="-hdm--port"></a>`port`

Expand Down
9 changes: 5 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# the git tag when using rvm
# Please find the releases on HDM website: https://github.com/betadots/hdm/releases
#
# @param container_registry_url Configure another registry. Contains the host, path and container name. The version is set via the version parameter.
# e.g. ghcr.io/betadots/hdm
# @param container_registry_url Configure another registry. Contains the host, path and container name.
# The version is set via the version parameter. e.g. ghcr.io/betadots/hdm
#
# @param ruby_version Select the ruby version when installing using rvm
# Please check [hdm ruby version requirement](https://github.com/betadots/hdm/blob/main/.ruby-version)
Expand Down Expand Up @@ -133,13 +133,14 @@
#
# @example
# include hdm
#
class hdm (
# installation parameter
String[1] $version = '1.0.1',
String[1] $version = '2.1.0',
Enum['docker', 'rvm'] $method = 'docker',
String[1] $container_registry_url = 'ghcr.io/betadots/hdm',
Boolean $manage_docker = true,
String[1] $ruby_version = '3.1.2',
String[1] $ruby_version = '3.3.1',
# required application parameter
Stdlib::Port $port = 3000,
Stdlib::IP::Address::Nosubnet $bind_ip = '0.0.0.0',
Expand Down