Skip to content

Commit

Permalink
Merge pull request #402 from voxpupuli/update-dependencies
Browse files Browse the repository at this point in the history
Allow up-to-date dependencies
  • Loading branch information
bastelfreak authored Aug 29, 2022
2 parents e5447cb + 2980a38 commit c0ff762
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"name": "puppetlabs/apt",
"version_requirement": ">= 4.4.0 < 9.0.0"
"version_requirement": ">= 4.4.0 < 10.0.0"
}
],
"operatingsystem_support": [
Expand Down
8 changes: 8 additions & 0 deletions spec/setup_acceptance_node.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
if $facts['os']['name'] == 'Ubuntu' {
# Facter < 4 needs lsb-release for os.distro.codename
if versioncmp($facts['facterversion'], '4.0.0') <= 0 {
package { 'lsb-release':
ensure => installed,
}
}
}

0 comments on commit c0ff762

Please sign in to comment.