Permalink
Browse files

Update rz_broker provider and type to support feature version added i…

…n Razor issue/pull request #228
  • Loading branch information...
1 parent ee6cfd1 commit 0243271f6cece1cc7b904edb3d81c0ae26da2469 @geauxvirtual geauxvirtual committed Nov 13, 2012
Showing with 5 additions and 0 deletions.
  1. +1 −0 lib/puppet/provider/rz_broker/default.rb
  2. +4 −0 lib/puppet/type/rz_broker.rb
@@ -50,6 +50,7 @@ def create
'description' => @resource[:name],
'servers' => @resource[:servers].join(','),
'plugin' => @resource[:plugin],
+ 'version' => @resource[:version],
}
Puppet.debug "razor -w broker add '#{broker.to_pson}'"
@@ -23,6 +23,10 @@
desc "The broker servers."
end
+ newproperty(:version) do
+ desc "The version of the broker to use"
+ end
+
newproperty(:uuid) do
desc "The broker UUID. This property is not expected to be speciified by the user."
validate do |value|

0 comments on commit 0243271

Please sign in to comment.