Skip to content

Commit 2745ce0

Browse files
committed
Fix acceptance tests on Ubuntu
1 parent 3783d48 commit 2745ce0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spec/setup_acceptance_node.pp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
if $facts['os']['name'] == 'Ubuntu' {
2+
# Needed for facter to fetch facts used by the postgresql module
3+
if versioncmp($facts['facterversion'], '4.0.0') <= 0 {
4+
package{ 'lsb-release':
5+
ensure => present,
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)