puppet: Add EnablePackageInstall option
authorDan Prince <dprince@redhat.com>
Thu, 5 Feb 2015 02:45:44 +0000 (21:45 -0500)
committerDan Prince <dprince@redhat.com>
Thu, 5 Feb 2015 15:12:48 +0000 (10:12 -0500)
commitf8a9c530e0694b956fb5819dd46e38380ecc58e2
tree70873d123e0a4e579401da915fe4df41533684a9
parent6ba5a410628bcc611923f798baa807ef799178d5
puppet: Add EnablePackageInstall option

This adds an option which enables package installation via
Yum when Puppet executes. Users might want to disable Yum
installation of packages via puppet when using pre-installed
images.

The option is off by default: meaning that Puppet will no
longer install packages by default. Users will need to
enable the EnablePackageInstall in order to get
the previous behavior.

The intent is to use the default_parameters section
of the Heat environment to allow users to cleanly enable this
features without wiring it into the top level. This is because
the new parameter is Puppet specific and doesn't really apply to
other implementations. Kilo Heat already has support for
default_parameters and so does python-heatclient.

NOTE: most TripleO users do not yet have the heatclient
features because setup-clienttools in tripleo-incubator only installs
releases via pip. It is for these reasons the default_parameters
section in overcloud-resource-registry-puppet.yaml is commented out
for now.

Change-Id: I3af71b801b87d080b367d9e4a1fb44c1bfea6e87
cinder-storage-puppet.yaml
compute-puppet.yaml
controller-puppet.yaml
overcloud-resource-registry-puppet.yaml
puppet/loadbalancer.pp
puppet/overcloud_compute.pp
puppet/overcloud_controller.pp
puppet/overcloud_object.pp
puppet/overcloud_volume.pp
puppet/ringbuilder.pp
swift-storage-puppet.yaml