Skip to content

Commit 7b17e7c

Browse files
authored
Merge pull request #551 from puppetlabs/CAT-1599-puppet-8-fact-issue
(CAT-1599) - Fixing facts issue with Puppet 8 while running spec
2 parents 550a8cc + e368e8e commit 7b17e7c

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ jobs:
1515
needs: Spec
1616
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
1717
secrets: "inherit"
18+
with:
19+
runs_on: "ubuntu-20.04"

.github/workflows/nightly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ jobs:
1414
needs: Spec
1515
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
1616
secrets: "inherit"
17-
17+
with:
18+
runs_on: "ubuntu-20.04"

spec/defines/service_spec.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@
88
end
99
let :facts do
1010
{
11-
os: { family: 'Debian' }
11+
os: {
12+
architecture: 'amd64',
13+
family: 'Debian',
14+
hardware: 'x86_64',
15+
name: 'Debian',
16+
release: { full: '11.1', major: '11', minor: '1' },
17+
selinux: { enabled: false }
18+
}
1219
}
1320
end
1421
let :title do

0 commit comments

Comments
 (0)