diff --git a/spec/acceptance/observium_install_spec.rb b/spec/acceptance/observium_install_spec.rb index 6d09941..6eb63f5 100644 --- a/spec/acceptance/observium_install_spec.rb +++ b/spec/acceptance/observium_install_spec.rb @@ -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 diff --git a/spec/classes/observium_spec.rb b/spec/classes/observium_spec.rb index 8d8ca24..aa62564 100644 --- a/spec/classes/observium_spec.rb +++ b/spec/classes/observium_spec.rb @@ -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 } diff --git a/spec/data/common.yaml b/spec/data/common.yaml index 5a6b434..c600c9f 100644 --- a/spec/data/common.yaml +++ b/spec/data/common.yaml @@ -1,3 +1,6 @@ --- -observium::snmpd_agentaddress: - - udp:127.0.0.1:161 \ No newline at end of file +observium::db_password: "changeme" +observium::rootdb_password: "hello123" +observium::snmpv3_authpass: "setme1234" +observium::snmpv3_cryptopass: "setme1234" +observium::admin_password: "changeme" \ No newline at end of file