Skip to content

Commit 4b1d82b

Browse files
authored
Merge pull request #1148 from voxpupuli/ci
Fix CI
2 parents 0da23b4 + 8d147cf commit 4b1d82b

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+
# Needed for older facter to fetch facts used by the apt module
2+
#
3+
# Might be fixed by: https://github.com/puppetlabs/puppetlabs-apt/pull/1017
4+
if versioncmp(fact('facterversion'), '4.0.0') < 0 and fact('os.name') == 'Ubuntu' {
5+
package { 'lsb-release':
6+
ensure => present,
7+
}
8+
}

0 commit comments

Comments
 (0)