(#11640) Added support for new OpenStack MAC addresses

OpenStack changed the MAC address prefix they use to address an issues with libvirt

OpenStack bug: https://bugs.launchpad.net/nova/+bug/921838
Update a facter build-requires for f17
Update a facter build-requires for f17
Merge pull request #285 from MosesMendoza/maint/1.6.x/Fix_ruby_rdoc_build_requires_for_f17

Update a facter build-requires for f17
Update facter redhat spec for fedora 17

This commit adds support for fedora 17/ruby 1.9
which uses vendorlibdir instead of sitelibdir.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #286 from MosesMendoza/maint/1.6.x/fix_pathing_for_fedora_17

Update facter redhat spec for fedora 17
(#15291) Add Vendor tag to Facter spec file

Previously the spec file had no Vendor tag, which left it undefined. This
commit adds a Vendor tag that references the _host_vendor macro, so that it can
be easily set to 'Puppet Labs' internally and customized by users easily. The
Vendor tag makes it easier for users to tell where the package came from.
Retabbed conf/redhat/facter.spec to lineup tag contents.
Merge pull request #288 from haus/ticket/1.6.x/15291_add_vendor_tag_to_spec

(#15291) Add Vendor tag to Facter spec file
(#15464) Make contributing easy via bundle Gemfile

Without this patch the process of figuring out how to quickly set up a
development and testing environment for the Puppet _application_ (not a
gem library) is unnecessarily complicated.

This patch addresses the problem by providing a Bundler compatible
Gemfile that specifies all of the Gem dependencies for the Puppet 2.7
application.

Puppet contributors can now easily get a working development and testing
environment using this sequence of commands:

    $ git clone --branch 2.7.x git://github.com/puppetlabs/puppet.git
    $ cd puppet/
    $ bundle install # Install all required dependencies
    $ rspec

The .noexec.yaml file excludes the `rake` command so that the Gemfile
doesn't raise an exception if the `rubygems-bundler` Gem is installed
and automatically running `bundle exec` for us.

The Gemfile.lock contains the exact dependency versions.  This file is
included in the version control system because we're treating Puppet as
an application rather than a library.
Merge branch 'ticket/1.6.x/11640_openstack_mac_address_change' of https://github.com/aabrahamowicz/facter into 1.6.x
(#15464) Make Facter.version settable via Facter.version=

Without this patch applied the version string of Facter is dynamically
set from the `git describe` tag in the Rakefile using monkey patching.

This is problematic because this causes a constant to be re-defined
which issues a warning in Ruby.

This patch fixes the problem by implementing the Facter.version= module
method.  The Rakefile will now set the Facter version by using `require
'puppet/version'` and calling `Facter.version = %x{git describe ...}`

Using a module method also has the benefit of making it easier to
intercept and mock Facter version specific behavior.

From this point forward, the method Facter.version should but used to
obtain the version string instead of the constant Facter::FACTERVERSION.
Merge branch 'ticket/1.6.x/15464_a_gemfile_would_improve_contributor_on-boarding' into 1.6.x

* ticket/1.6.x/15464_a_gemfile_would_improve_contributor_on-boarding:
  (#15464) Make Facter.version settable via Facter.version=
  (#15464) Make contributing easy via bundle Gemfile
Move packaging files to ext, rm conf

This commit moves packaging artifacts out
of the conf directory and into ext, and
removes the conf directory. The apple
rake task is updated for the new path.
conf is a strange directory for packaging
artifacts. ext seems saner.
Move tasks out of 'rake' subdirectory

It seems unnecessary for all the tasks to live
in a subdirectory, since its the only one and
doesn't accomplish anything as far as I can tell.
This commit also updates apple.rake task to
reference the new paths.
Replace rake/gempackagetask with rubygems/gempackagetask

This is per deprecation of the rake/gempackagetask.
Also remove deprecated has_rdoc in gem specification.
Add debian build artifacts to facter project

This commit takes the debian build artifacts
from facter-debian-packaging and places them
into facter proper. This is a substantial change
that allows us to stop maintaining the second
repository altogether. The debian changelog is
also moved to an erb file for automation, but
this can still be updated manually if desired.
gbp.conf is not carried over because debs are
build with pdebuild instead of git-build-package.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move facter redhat spec file to erb

This commit moves the facter.spec file to
and erb file that generates a facter.spec
file with appropriate versions etc using
rake tasks. It also removes a lingering
git merge conflict marker from a previous
merge.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>

Conflicts:

	ext/redhat/facter.spec.erb
Group requires together

This commit just groups the requires in the Rakefile
together for readability as well as removes the packaging
related tasks that will be handled by the packagin repo.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Remove obsolete tasks directory

This commit removes the tasks directory and its
contents, as the packaging-related tasks are to
be handled by the packagin repo, and the other
task are not, as far as I can tell, used anymore.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>