]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Example for disabling keys
authorMorgan Haskel <morgan@puppetlabs.com>
Wed, 25 Mar 2015 19:16:04 +0000 (15:16 -0400)
committerMorgan Haskel <morgan@puppetlabs.com>
Wed, 25 Mar 2015 19:16:04 +0000 (15:16 -0400)
examples/disable_keys.pp [new file with mode: 0644]

diff --git a/examples/disable_keys.pp b/examples/disable_keys.pp
new file mode 100644 (file)
index 0000000..ad61df0
--- /dev/null
@@ -0,0 +1,5 @@
+#Note: This is generally a bad idea. You should not disable keys.
+apt::conf { 'unauth':
+  priority => 99,
+  content  => 'APT::Get::AllowUnauthenticated 1;'
+}