Skip to content

Commit

Permalink
Merge pull request #551 from puppetlabs/CAT-1599-puppet-8-fact-issue
Browse files Browse the repository at this point in the history
(CAT-1599) - Fixing facts issue with Puppet 8 while running spec
  • Loading branch information
Ramesh7 authored Nov 21, 2023
2 parents 550a8cc + e368e8e commit 7b17e7c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ jobs:
needs: Spec
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
secrets: "inherit"
with:
runs_on: "ubuntu-20.04"
3 changes: 2 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ jobs:
needs: Spec
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
secrets: "inherit"

with:
runs_on: "ubuntu-20.04"
9 changes: 8 additions & 1 deletion spec/defines/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
end
let :facts do
{
os: { family: 'Debian' }
os: {
architecture: 'amd64',
family: 'Debian',
hardware: 'x86_64',
name: 'Debian',
release: { full: '11.1', major: '11', minor: '1' },
selinux: { enabled: false }
}
}
end
let :title do
Expand Down

0 comments on commit 7b17e7c

Please sign in to comment.