Projet

Général

Profil

Révision f8c4097f

IDf8c4097f31bc18500a1c7e05dcd203a3e3b5207b
Parent c8683bd8
Enfant 546de19c, 26cdcbbd

Ajouté par Kienan Stewart il y a plus de 4 ans

Fix Debian data defaults

The module name prefix was missing in the hieradata. I removed the modifications
to spec_helper.rb that made the tests work with the erroneous data.

Voir les différences:

data/os/Debian.yaml
1 1
---
2 2

  
3 3
# firewalld is not installed by default in Debian
4
firewalld_enable: false
4
nftables::firewalld_enable: false
5 5

  
6
nftables_configuration_path: /etc/nftables.conf
6
nftables::nftables_configuration_path: /etc/nftables.conf
spec/spec_helper.rb
22 22
end
23 23

  
24 24
# This loads the module data, needed to test different OSes.
25
RSpec.shared_context "hiera", :shared_context => :metadata do
26
  let (:hiera_config) { 'hiera.yaml' }
27
  Hiera.new({:config => 'hiera.yaml'})
28
end
25
#RSpec.shared_context "hiera", :shared_context => :metadata do
26
#  let (:hiera_config) { 'hiera.yaml' }
27
#  Hiera.new({:config => 'hiera.yaml'})
28
#end

Formats disponibles : Unified diff