Skip to content

Commit

Permalink
Fix acceptance tests on Ubuntu 18.04 with Puppet 6
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Mar 28, 2022
1 parent c1da63a commit 7366b4e
Showing 1 changed file with 8 additions and 0 deletions.
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' {
# Needed for facter to fetch facts used by the postgresql module
if versioncmp($facts['facterversion'], '4.0.0') <= 0 {
package{ 'lsb-release':
ensure => present,
}
}
}

0 comments on commit 7366b4e

Please sign in to comment.