Displaying 2 results from an estimated 2 matches for "rabbitmq_user".
2011 Jan 21
6
help writing types/provider
...y to mark attributes as required?
I''ve provided a validation for the initial_password parameter, but it only
seems to fire if the parameter is there;
it doesn''t get checked if the parameter is absent.
=======================================================
# cat lib/puppet/type/rabbitmq_user.rb
Puppet::Type.newtype(:rabbitmq_user) do
@doc = "Manage RabbitMQ users"
ensurable
newparam(:name) do
desc "The name of the user"
validate do |n|
raise ArgumentError, "cannot be empty" if n.empty?
raise ArgumentError, "can''t...
2013 May 01
0
Re: Error testing deploying Grizzly
...Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
>>>>>> Error: Could not retrieve catalog from remote server: Error 400 on
>>>>>> SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
>>>>>> Invalid resource type rabbitmq_user at
>>>>>> /usr/lib/python2.6/site-packages/packstack/puppet/modules/nova/manifests/rabbitmq.pp:26
>>>>>> on node <nodename>
>>>>>> Warning: Not using cache on failed catalog
>>>>>> Error: Could not retrieve catalog; skipp...