Skip to content

Commit

Permalink
push changes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-robertson committed May 24, 2024
1 parent de3c9fb commit 36994e7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hiera-rpsec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
version: 5

defaults: # Used for any hierarchy level that omits these keys.
datadir: spec/data # This path is relative to hiera.yaml's directory.
data_hash: yaml_data # Use the built-in YAML backend.

hierarchy:
- name: 'Mock override'
path: 'common.yaml'
2 changes: 2 additions & 0 deletions spec/acceptance/observium_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
install_packge('crontabs')
end

let(:hiera_config) { 'hiera-rpsec.yaml' }

let(:pp) do
<<-MANIFEST
include observium
Expand Down
3 changes: 3 additions & 0 deletions spec/data/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
snmp::agentaddress:
- udp:127.0.0.1:161

0 comments on commit 36994e7

Please sign in to comment.