backports.pp: correct example
authorKenyon Ralph <kenyon@kenyonralph.com>
Mon, 14 Dec 2020 03:56:47 +0000 (19:56 -0800)
committerKenyon Ralph <kenyon@kenyonralph.com>
Mon, 14 Dec 2020 04:06:39 +0000 (20:06 -0800)
The example treated this like a defined type, but it's a class.

REFERENCE.md
manifests/backports.pp

index 12a81c36c345519803f19fef57a4561038a2ef7e..dc1e5edd7a7ab75e809420fbc1acdfe6029ec2f1 100644 (file)
@@ -350,10 +350,10 @@ Manages backports.
 
 #### Examples
 
-##### Set up a backport for linuxmint qiana
+##### Set up a backport source for Linux Mint qiana
 
 ```puppet
-apt::backports { 'qiana':
+class { 'apt::backports':
   location => 'http://us.archive.ubuntu.com/ubuntu',
   release  => 'trusty-backports',
   repos    => 'main universe multiverse restricted',
index 94ed643ba117fb6e7645a831d323f3429eda107a..21f1251ea75a23987b94614080c2f96922702c47 100644 (file)
@@ -1,7 +1,7 @@
 # @summary Manages backports.
 #
-# @example Set up a backport for linuxmint qiana
-#   apt::backports { 'qiana':
+# @example Set up a backport source for Linux Mint qiana
+#   class { 'apt::backports':
 #     location => 'http://us.archive.ubuntu.com/ubuntu',
 #     release  => 'trusty-backports',
 #     repos    => 'main universe multiverse restricted',