Skip to content

Commit

Permalink
Require stdlib >= 9.x (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock authored Oct 16, 2024
1 parent a5e64fa commit 99a1646
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Manage [Open OnDemand](http://openondemand.org/) installation and configuration.

The following are the versions of this module and the supported versions of Open OnDemand:

* Module 5.x supports Open OnDemand 3.1 and 3.0
* Module 5.x and 6.x supports Open OnDemand 3.1 and 3.0
* Module 3.x and 4.x supports Open OnDemand 3.0
* Module 2.x supports Open OnDemand 2.x
* Module 1.x supports Open OnDemand 1.18.x
Expand Down
2 changes: 1 addition & 1 deletion manifests/cluster.pp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
if $source {
$content = undef
} else {
$content = to_yaml($config)
$content = stdlib::to_yaml($config)
}

file { "/etc/ood/config/clusters.d/${name}.yml":
Expand Down
2 changes: 1 addition & 1 deletion manifests/conf.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
if $data {
$_content = join([
'# File managed by Puppet - DO NOT EDIT',
to_yaml($data, { 'line_width' => -1 }),
stdlib::to_yaml($data, { 'line_width' => -1 }),
'',
], "\n")
} elsif $content_template {
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@
'dex_uri' => $dex_uri,
'dex' => $_dex_config,
}.filter |$key, $value| { $value =~ NotUndef }
$ood_portal_yaml = to_yaml($ood_portal_config)
$ood_portal_yaml = stdlib::to_yaml($ood_portal_config)
$base_apps = {
'dashboard' => { 'package' => 'ondemand', 'manage_package' => false },
'shell' => { 'package' => 'ondemand', 'manage_package' => false },
Expand Down
4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.25.0 < 10.0.0"
"version_requirement": ">= 9.0.0 < 10.0.0"
},
{
"name": "puppetlabs/apt",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
{
"name": "puppet/systemd",
"version_requirement": ">= 0.4.0 <7.0.0"
"version_requirement": ">= 0.4.0 <8.0.0"
},
{
"name": "puppet/epel",
Expand Down

0 comments on commit 99a1646

Please sign in to comment.