Remove references to CHANGELOG in packaging

Now that the CHANGELOG is removed, references to
it in various packaging artifacts should be removed.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #1181 from MosesMendoza/maint/3.x/fixup_packaging_from_changelog_removal

Remove references to CHANGELOG in packaging
Remove svn specific code from install.rb

We no longer need to exclude .svn files from puppet, as it is now using git.
Merge pull request #1182 from haus/maint/3.x/fixup_install_rb

Remove svn specific code from install.rb
(#13435) Convert digest to string in cert interface

The list method of the cert interface was relying on an implicit cast to
string of the message digest, which was not reliable across all ruby versions.
(#13435) Use SHA256 for puppet agent --fingerprint

Earlier changes to make SHA256 the default everywhere overlooked the agent
--fingerprint option. This makes SHA256 the default there.
Removing hiera-puppet dependency from project_defaults

Hiera-puppet is no longer a gem dependency, as it is merged into core puppet.
This commit removes it from ext/project_data.yaml.
Updating lib/puppet/version.rb for 3.0.0-rc7
Pass wrapped real scope to DataBinding

We were passing only facts into the DataBinding terminus, but Hiera needs to
be able to lookup variables on the scope. We now pass a scope, but wrap it
with Puppet::DataBinding::Variables to avoid exposing anything but variable
lookup.

This fixes the error in Puppet 3.0rc7 where variables like %{environment} were
not properly interpolated in hiera.conf (and likely elsewhere).
Merge branch '3.x'

* 3.x:
  Pass wrapped real scope to DataBinding
  Updating lib/puppet/version.rb for 3.0.0-rc7
  Removing hiera-puppet dependency from project_defaults
  (#13435) Use SHA256 for puppet agent --fingerprint
  (#13435) Convert digest to string in cert interface
  Remove svn specific code from install.rb
  Remove references to CHANGELOG in packaging
Revert "Merge branch 'revert/3.x/faces_from_modulepath' into 3.x"

This is a "revert-the-revert" commit.

This reverts commit 87ea7a8849f90a232f2bb683fb8a2ce1573a21db, reversing
changes made to 8dff14b9c5a3cdd99ede63dbcbb2dbe00b457926.
(#15214) Remove confdir and vardir from run_mode

Prior to this commit, the vardir and confdir settings were tied to
run_mode.  This caused a chicken-and-egg problem where you could not
initialize the confdir and vardir until you'd loaded the
application/subcommand, because that is the first point in time where
you'd know the run_mode.  However, without knowing the confdir/vardir
ahead of time, it's impossible to know where all you might need to look
to try to find the application/subcommand for loading.

This commit decouples those settings from run_mode.  The default values
for them are now set solely based on whether the user is root or not.
Individual applications may override these defaults a bit later in the
life cycle (e.g., 'master' does this).

Conflicts:
	lib/puppet/settings.rb
	lib/puppet/util/autoload.rb
	lib/puppet/util/run_mode.rb
	spec/unit/util/run_mode_spec.rb
(maint) Fix Failed to load face errors

Without this patch applied Telly will spew out a bunch `Error: Failed to
load face foobar` errors when `puppet help` is run.  These errors look
like:

    Error: Failed to load face help:
    no such file to load -- puppet/face/0.0.1/help
    Error: Failed to load face ca:
    no such file to load -- puppet/face/0.1.0/ca
    Error: Failed to load face catalog:
    no such file to load -- puppet/face/0.0.1/catalog
    Error: Failed to load face certificate:
    no such file to load -- puppet/face/0.0.1/certificate
    Error: Failed to load face certificate_request:
    no such file to load -- puppet/face/0.0.1/certificate_request
    Error: Failed to load face certificate_revocation_list:
    no such file to load -- puppet/face/0.0.1/certificate_revocation_list
    Error: Failed to load face config:
    no such file to load -- puppet/face/0.0.1/config
    ..etc.. for each face, but then see the regular help output.

The problem is that the regular expression changed in a previous patch
in my #7316 work, causing load errors resulting from checking for
version specific faces to pass through the exception handler.

This patch fixes the problem by tightening up the regular expression to
catching both version specific faces and "current" face load errors.

The `Puppet.debug` statement is also wrapped inside of a conditional so
that we don't log spam and we can accurately see if we're actually
loading multiple times or not.  The expectation is that `require` will
only load the file once and return false on subsequent calls.
Merge branch 'fix/3.x/7316_load_faces_from_modulepath_try3' into 3.x

* fix/3.x/7316_load_faces_from_modulepath_try3:
  (maint) Fix Failed to load face errors
  (#15214) Remove confdir and vardir from run_mode
  Revert "Merge branch 'revert/3.x/faces_from_modulepath' into 3.x"
Merge branch '3.x'

* 3.x:
  (maint) Fix Failed to load face errors
  (#15214) Remove confdir and vardir from run_mode
  Revert "Merge branch 'revert/3.x/faces_from_modulepath' into 3.x"
(#16221) Make undef not override default parameters

In 2.7.x, passing undef as an argument to a parameterized class will result in
the argument using the default value given in the class definition. This was
inadvertently changed, so the variable would not be set at all. This change
reverts to the 2.7.x behavior.
Extract methods from set_default_parameters and improve test coverage

Refactor the set_default_parameters method in Puppet::Resource to be split
into several methods and improve the test coverage around default parameters
and undef.
Merge branch '3.x'

* 3.x:
  Extract methods from set_default_parameters and improve test coverage
  (#16221) Make undef not override default parameters
Revert "Merge branch 'fix/3.x/7316_load_faces_from_modulepath_try3' into 3.x"

This reverts commit b277bb3874ecd50e1cd6e600bf6d36e3240d5510, reversing
changes made to bdf193640701e9a107b1c6f6661499b31fdefb4d.

These changes are being backed out because they referenced a undefined
methods (`default_global_config_dir` and `default_global_var_dir`).
After fixing that locally, there was still a problem with `puppet help`
printing out a large number of warnings because it could not load face
code correctly.

I think we need to step back from this, re-evaluate what is happening,
and try a new approach.
Stub DataBinding in undef param tests

This was causing failures when hiera was not configured properly since we
aren't trying to test hiera in these tests.