Skip to content

Commit

Permalink
Merge pull request #89 from rwaffen/update_ruby
Browse files Browse the repository at this point in the history
Update ruby version and hdm version defaults
  • Loading branch information
rwaffen authored Apr 25, 2024
2 parents 0c5b98e + 8bb4ba7 commit 3b33d88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
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

0 comments on commit 3b33d88

Please sign in to comment.