Displaying 1 result from an estimated 1 matches for "initial_password".
2011 Jan 21
6
help writing types/provider
...t to ''ensure => present, isadmin =>
false'' ?
Not sure if the ensurable mechanism is causing the first to be hard,
but I can''t see a way to set defaults in general
2. is there a way 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&q...