We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44b0e62 + 4310273 commit 28d71fdCopy full SHA for 28d71fd
REFERENCE.md
@@ -1944,7 +1944,7 @@ The password hash of the user. Use mongodb_password() for creating hash. Only av
1944
1945
##### `roles`
1946
1947
-Valid values: `%r{^\w+(@\w+)?$}`
+Valid values: `%r{^\w+(@[\w-]+)?$}`
1948
1949
The user's roles.
1950
lib/puppet/type/mongodb_user.rb
@@ -42,7 +42,7 @@ def initialize(*args)
42
newproperty(:roles, array_matching: :all) do
43
desc "The user's roles."
44
defaultto ['dbAdmin']
45
- newvalue(%r{^\w+(@\w+)?$})
+ newvalue(%r{^\w+(@[\w-]+)?$})
46
47
# Pretty output for arrays.
48
def should_to_s(value)
0 commit comments