summaryrefslogtreecommitdiff
path: root/spec/classes/unattended_upgrades_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/classes/unattended_upgrades_spec.rb')
-rw-r--r--spec/classes/unattended_upgrades_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/classes/unattended_upgrades_spec.rb b/spec/classes/unattended_upgrades_spec.rb
index 747ccb1..5831da0 100644
--- a/spec/classes/unattended_upgrades_spec.rb
+++ b/spec/classes/unattended_upgrades_spec.rb
@@ -316,6 +316,7 @@ describe 'unattended_upgrades' do
).with_content(
# This is the only section that's different for Ubuntu compared to Debian
/\Unattended-Upgrade::Allowed-Origins\ {\n
+ \t"\${distro_id}\:\${distro_codename}";\n
\t"\${distro_id}\:\${distro_codename}-security";\n
};/x
)
@@ -339,6 +340,7 @@ describe 'unattended_upgrades' do
).with_content(
# This is the only section that's different for Ubuntu compared to Debian
/\Unattended-Upgrade::Allowed-Origins\ {\n
+ \t"\${distro_id}\:\${distro_codename}";\n
\t"\${distro_id}\:\${distro_codename}-security";\n
};/x
)