Modify apt::source release parameter test

This commit modifies the release parameter test in apt::source to work
correctly within puppet-rspec for edge-case resource definitions. Previously,
the test for the $release parameter was written as

`if ! $release { fail() }`

This commit updates the test to be written as

`if $release == undef { fail() }`

Additionally, the tests for correct behavior in the presence or absence of a
$release parameter have been beefed up.

The reason for making this change relates to examples such as the following
resource definition:

apt::source { "jenkins":
  location    => "http://pkg.jenkins-ci.org/debian",
  release     => "",
  repos       => "binary/",
  key         => "D50582E6",
  key_source  => "http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key",
  include_src => false,
}

Note that the $release parameter is given as the empty string. In practice,
this is perfectly valid and everything will work great. However, it seems that
the empty string gets interpreted by something in puppet-rspec as something
equivalent to "False", and thus when testing, the above resource definition
would fail with "Puppet::Error: lsbdistcodename fact not available: release
parameter required" even though the $release parameter has been explicitely
specified (as the empty string).

See also: https://github.com/rtyler/puppet-jenkins/issues/9
Merge pull request #31 from pdxcat/fix_release_parameter_test

Modify apt::source release verification to work correctly with puppet-rspec
Convert apt::key to use anchors

Previously, apt::key used a noop exec hack to do exactly what anchors were
intended to be used for. This commit removes the exec hack and achieves the
same end using Anchor resources from the puppetlabs/stdlib module.
(#13016) Add a CHANGELOG since first commit
Merge pull request #33 from rcoleman/tickets/13016/create_CHANGELOG

(#13016) Add a CHANGELOG since first commit
Skipping the merge review rules on this harmless commit of a changelog.
Merge pull request #32 from pdxcat/convert_apt__key_to_use_anchors

Convert apt::key to use anchors
(#13125) Apt keys should be case insensitive

Previously lowercase keys would be installed every
puppet run because apt-key list returns an uppercase
key. This commit makes the comparison case insensitive.
Merge pull request #34 from pdxcat/apt_key_should_be_case_insensitive

(#13125) Apt keys should be case insensitive
(#13289) Add puppet lint tests to Rakefile
(#13289) Clean up style violations and fix corresponding tests
(#13289) Change test scaffolding to use a module & manifest dir fixture path

This removes the need for depending on a global site.pp, and depending on the
checked out apt module to be called 'apt' as well.

It pulls in stdlib via sub-modules as I don't have a better way to deal with
dependencies yet. It has pinned the revision for stdlib to 2.2.1 which is the
minimum required version for apt to work.
(#13289) Fix some more style violations
Merge pull request #37 from kbarber/ticket/master/13289

Ticket/master/13289 Style violations & rspec cleanup
Ignore pkg directory.

This commit modifies .gitingore to ignore changes to the pkg directory
used when building Forge releases.
(#13261) Replace foo source with puppetlabs source

Prior to this commit, the source.pp test included an apt source
named foo which broke the apt-get update exec when applied on a
target system. This commit removes it in favor of the puppetlabs
apt source which is valid on all target platforms.
(#13261) Add key.pp smoke test

This commit adds a smoke test for key.pp, adding a key declaration
for the puppetlabs apt source.
(#13261) Add real examples to smoke tests.

This commit modifies some smoke tests with real-world usage examples
instead of providing things like 'foo' that the module user must
replace in order to conduct a smoke test or try out example functionality.
Merge pull request #36 from rcoleman/tickets/13261/improve_smoke_tests

Tickets/13261/improve smoke tests
Updated CHANGELOG and Modulefile for 0.0.2

This commit updates both the Modulefile and CHANGELOG for the 0.0.2
Puppet Forge release.
Merge pull request #39 from rcoleman/0.0.2_release

Updated CHANGELOG and Modulefile for 0.0.2