Commit 2ebd257
committed
(PA-7897) Stub server fact values
Previously, rspec tests emitted a "Could not retrieve fact networking.ip". This
warning occurs because puppet's compiler adds "server facts" and rspec-puppet
replicates this behavior in server_facts_hash[1]. However, none of the
test infrastructure provided stubbed values.
We used to provide legacy facts for this, like "ipaddress", but they were
deleted in commit e22ccfe as part of the move to pdk templates 2.5
This commits adds default_facts.yml back using pdk update --template-ref=3.6.1.11 parent 06c0c88 commit 2ebd257
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments