Skip to content

Commit 958cd71

Browse files
committed
Fixes bad schema issues with purge_behavior
With the merge of puppetlabsGH-60 adding node_groups fails with a schema error when it sends the purge_behavior parameter and is rejected by classifier. This commit adds purge_behavior to the list of filtered parameters that are built into the data structure sent to the classifier API.
1 parent f0176b0 commit 958cd71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/node_group/https.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def create
7878
# Only passing parameters that are given
7979
send_data = Hash.new
8080
@resource.original_parameters.each do |k,v|
81-
next if [:ensure, :provider].include? k
81+
next if [:ensure, :provider, :purge_behavior].include? k
8282
next if @resource.parameter(k).metaparam?
8383
key = k.to_s
8484
# key changed for usability

0 commit comments

Comments
 (0)