Révision f8c4097f
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.
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