Skip to content

Commit

Permalink
Use namespaced puppet 4.x functions
Browse files Browse the repository at this point in the history
- Fix minimal required versions
  • Loading branch information
deric committed Jun 25, 2024
1 parent 3d98566 commit e0b1cb9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
12 changes: 9 additions & 3 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ fixtures:
symlinks:
beegfs: "#{source_dir}"
forge_modules:
stdlib: puppetlabs/stdlib
concat: "puppetlabs/concat"
apt: puppetlabs/apt
stdlib:
repo: "puppetlabs/stdlib"
# ref: 9.0.0
concat:
repo: "puppetlabs/concat"
# ref: 4.0.0
apt:
repo: "puppetlabs/apt"
# ref: 9.0.0
yumrepo_core: "puppetlabs/yumrepo_core"
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# deric-beegfs Changelog

## 2024-06-25 Release 1.0.0

- **BC** `puppetlabs/stdlib` >= 9.0.0 is required due to usage of `stdlib::ensure_package` function
- `puppetlabs/apt` >= 9.0.0 needs [this patch](https://github.com/puppetlabs/puppetlabs-apt/pull/1050/commits/ea68ea521b8ea0ef460ee639759e76e22a620a7e) to work with ruby 3.0
- Fix incorrected `puppetlabs/concat` dependency requirement - at least `4.0.0` is needed
- Puppet 8 compatible

[Full changes](https://github.com/deric/puppet-beegfs/compare/v0.8.2...v1.0.0)


## 2024-03-06 Release 0.8.2

- Support fetching packages over http via `package_source` param [#36](https://github.com/deric/puppet-beegfs/pull/36)
Expand Down
2 changes: 1 addition & 1 deletion manifests/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
Boolean $manage_service = true,
Optional[String] $sys_file_event_log_mask = undef,
) inherits beegfs {
ensure_packages($kernel_packages, {
stdlib::ensure_packages($kernel_packages, {
'ensure' => $kernel_ensure,
}
)
Expand Down
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
recurse => true,
})

ensure_packages(['beegfs-utils'], {
stdlib::ensure_packages(['beegfs-utils'], {
'ensure' => $package_ensure,
'require' => Class['beegfs::repo']
})
Expand Down
8 changes: 4 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deric-beegfs",
"version": "0.8.2",
"version": "1.0.0",
"author": "deric",
"summary": "Manage BeeGFS parallel filesystem installations",
"license": "Apache-2.0",
Expand All @@ -10,15 +10,15 @@
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 2.4.0 < 10.0.0"
"version_requirement": ">= 9.0.0 < 10.0.0"
},
{
"name": "puppetlabs/apt",
"version_requirement": ">= 3.0.0 < 10.0.0"
"version_requirement": ">= 9.0.0 < 10.0.0"
},
{
"name": "puppetlabs/concat",
"version_requirement": ">= 1.0.0 < 10.0.0"
"version_requirement": ">= 4.0.0 < 10.0.0"
},
{
"name": "puppetlabs/yumrepo_core",
Expand Down

0 comments on commit e0b1cb9

Please sign in to comment.