X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=README.md;h=0749cb85af247cb6b784fb3a512fee343c9cfbd8;hb=a68eca58a658e432fbfffcd91862134082ac7dc0;hp=f92122fb348330e0753d8411b6d63065907d3363;hpb=345aef1d01919013d77aa8f276025a0c232c109f;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/README.md b/README.md index f92122f..0749cb8 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ To begin using the APT module with default parameters, declare the class include apt -Puppet code that uses anything from the APT module requires that the core apt class be declared/\s\+$//e +Puppet code that uses anything from the APT module requires that the core apt class be declared. Usage ----- @@ -214,6 +214,13 @@ If you would like to configure your system so the source is the Puppet Labs APT key_server => 'pgp.mit.edu', } +### Facts + +There are a few facts included within the apt module describing the state of the apt system: + +* `apt_updates` - the number of updates available on the system +* `apt_security_updates` - the number of updates which are security updates +* `apt_package_updates` - the package names that are available for update. On Facter 2.0 and newer this will be a list type, in earlier versions it is a comma delimitered string. #### Hiera example