Skip to content

Commit

Permalink
Check if hiera_config works with litmus
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-robertson committed Jun 20, 2024
1 parent 197571f commit 96a8031
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/acceptance/observium_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end
end

# let(:hiera_config) { 'hiera-rpsec.yaml' } # serverspec doesn't seem to respect this.
let(:hiera_config) { 'hiera-rpsec.yaml' } # serverspec doesn't seem to respect this.

let(:pp) do
<<-MANIFEST
Expand Down
1 change: 1 addition & 0 deletions spec/classes/observium_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'spec_helper'

describe 'observium' do
let(:hiera_config) { 'hiera-rpsec.yaml' }
on_supported_os.each do |os, os_facts|
context "on #{os}" do
let(:facts) { os_facts }
Expand Down
7 changes: 5 additions & 2 deletions spec/data/common.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
observium::snmpd_agentaddress:
- udp:127.0.0.1:161
observium::db_password: "changeme"
observium::rootdb_password: "hello123"
observium::snmpv3_authpass: "setme1234"
observium::snmpv3_cryptopass: "setme1234"
observium::admin_password: "changeme"

0 comments on commit 96a8031

Please sign in to comment.