Upgrade the stdlib module to 4.10.0

This patch upgrades the puppetlabs-stdlib module from 4.3.2 to 4.10.0.
4.10.0 gives us the load_module_metadata function, which loads the
metadata.json file into scope, plus an improvement to allow the
function to succeed if the metadata.json is not found. With this
function we can read module metadata and use puppet conditionals that
make decisions based on this metadata.

This will help us upgrade the mysql module by allowing us to check
whether metadata.json exists for the mysql module. If it does not
exist, that means the module is "old", and we should use the "old" API.
If it does exist, we can check what version.

This could also help if we want to switch from one module to another
when modules have the same name. We can add conditionals in the puppet
code to check the module author and use the correct interface based on
that.

See the changelog[1] for more information of what this update includes.

[1] https://github.com/puppetlabs/puppetlabs-stdlib/blob/4.10.0/CHANGELOG.md

Change-Id: Ia366c0f7f1bfbfa843071e733a5b0a96873a60d8
This commit is contained in:
Colleen Murphy 2015-12-15 15:27:40 -08:00
parent eba109c764
commit b525296957

View File

@ -60,7 +60,7 @@ SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-ntp"]="3.2.1"
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-postgresql"]="3.4.2"
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-puppetdb"]="3.0.1"
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-rabbitmq"]="5.2.3"
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-stdlib"]="4.3.2"
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-stdlib"]="4.10.0"
SOURCE_MODULES["https://github.com/rafaelfelix/puppet-pear"]="1.0.3"
SOURCE_MODULES["https://github.com/saz/puppet-memcached"]="v2.6.0"
SOURCE_MODULES["https://github.com/saz/puppet-timezone"]="v3.3.0"