From b52529695746a276b93bedeba0a58092f74bfb1d Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 15 Dec 2015 15:27:40 -0800 Subject: [PATCH] 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 --- modules.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.env b/modules.env index 1afa37fd36..869b303498 100644 --- a/modules.env +++ b/modules.env @@ -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"