diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c7d814b..2656ec61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2016-06-14 - Release 1.2.0 +### Summary +- Deprecate Cs\_primitive[manage\_target\_role] in favour of + Cs\_primitive[unmanaged_metadata] + ## 2016-06-13 - Release 1.1.0 ### Summary - Move helpers functions to PuppetX ruby namespace (#259) diff --git a/lib/puppet/type/cs_primitive.rb b/lib/puppet/type/cs_primitive.rb index 0317f951..0356d3c3 100644 --- a/lib/puppet/type/cs_primitive.rb +++ b/lib/puppet/type/cs_primitive.rb @@ -209,6 +209,7 @@ def insync?(is) if @resource.manage_target_role? super else + Puppet.deprecation_warning 'cs_primitive.rb[manage_target_role]: manage_target_role is deprecated and will be remove in the next major release. It will be replaced by unmanaged_metadata => ["target-role"]' super(is.reject { |k| k == 'target-role' }) end end diff --git a/metadata.json b/metadata.json index 4990d3b7..f0aec28c 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppet-corosync", - "version": "1.1.1-rc0", + "version": "1.2.0", "author": "voxpupuli", "summary": "This module is a set of manifests and types/providers for quickly setting up highly available clusters using Corosync", "license": "Apache-2.0",