Commit 75c8f8e
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 5a63923 commit 75c8f8e
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments