added builddep command.
(#8720) Replace Apt::Ppa with Apt::Builddep

Probably a copy & paste error

Reviewed-by: Matthaus Litteken <matthaus@puppetlabs.com>
Signed-off-by: Spencer Krum <spencer@puppetlabs.com>
Added some crazy bash madness to check if the ppa is installed already. Otherwise the manifest tries to add it on every run!
Refactored as per mlitteken

* https://github.com/rnavarro/puppet-apt/commit/1af9a13c40c33e1ab8fb56f33cb9aa5e16cead0e#commitcomment-539287
Merge pull request #3 from rnavarro/master

Fixed the infinite ppa add bug.
Set the pin priority before adding the source (Fix #10449)
Fix (#10451) - apt::ppa fails to "apt-get update" when new PPA source is added
fix typos in "repositories"
Merge pull request #7 from cwarden/patch-1

fix typos in "repositories"
include_src parameter in example; Whitespace cleanup

In the apt::source example, include the include_src parameter.  Clean-up
whitespace in the example to be consistent with the style guide.
(#10451) Add test coverage to apt::ppa

This commit adds test coverage for apt::ppa.

This test coverage is suficient to verify the
code changes that resolve the issue with
aptitude update not being called when ppas were
added (#10451).
Merge pull request #9 from bodepd/10451_fix_apt_update_refresh

10451 fix apt update refresh
(#11413) Update dpkg query used by apt::force

This patch fixes the query used by apt::force to
determine rather or not the package is installed.

Previously, the expression was not specific enough and
could not lead to false positives in cases where a package
name is contained within another package name (puppet could be
incorrectly determined as being installed if puppet-common is
installed)

This commit resolves that by improving the query expression.
(#11413) Add spec test for apt::force to verify changes to unless

In the Previous commits, the query being done by the
apt::force install command was not strict enough and
could lead to false positives.

These queries represented by the unless parameter have been
resolved in another commit. This commit accompanies that commit
and adds basic unit tests to correspond to the changes.
Merge pull request #8 from cwarden/source-example-improvement

include_src parameter in example; Whitespace cleanup
Merge pull request #11 from bodepd/11413_apt_force_query_fix

11413 apt force query fix
(#11953) Apt::force passes $version to aptitude

Previously, even if $version were passed to apt::force, aptitude would just
install the default version of the package available. This updates the aptitude
call to use the version string if it exists. If no version is passed, or if it
is false, no version is added to the aptitude call.  This also updates the
rspec-puppet tests for the define, to reflect the changes to the exec.
Merge pull request #12 from haus/11953_fix_apt_force_version

(#11953) Apt::force passes $version to aptitude
Merge pull request #4 from webfactory/pin_before_source

Suggested fix for #10449
(#12094) Replace name with path in file resources

When the name is used with a file resource, it becomes difficult to test the
resource using rspec-puppet, as the name parameter gets aliased to path. So to
maintain consistency between tests and manifests, this replaces all name
parameters in file resources with the equivalent path parameter.