Révision c8683bd8
Revert "Use symbols for both lookups in os_facts"
This reverts commit 0877a8fd3646130f06b29e581a1ed2f990394094.
My initial tests were too hasty. `os_facts[:os][:family]` returns
an empty string. The original formulation was correct.
spec/classes/nftables_spec.rb | ||
---|---|---|
80 | 80 |
) |
81 | 81 |
} |
82 | 82 |
|
83 |
if os_facts[:os][:family] == 'Debian'
|
|
83 |
if os_facts[:os]['family'] == 'Debian'
|
|
84 | 84 |
it { |
85 | 85 |
is_expected.to contain_systemd__dropin_file('puppet_nft.conf').with( |
86 | 86 |
content: %r{^ExecReload=/sbin/nft -I /etc/nftables/puppet -f /etc/nftables.conf$}, |
Formats disponibles : Unified diff