Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ Alias of
```puppet
Struct[{
Optional['custom_attributes'] => Hash[
Openvox_bootstrap::Oid,
Variant[Openvox_bootstrap::Oid,Openvox_bootstrap::Cer_short_names],
String
],
Optional['extension_requests'] => Hash[
Variant[Openvox_bootstrap::Oid,Openvox_bootstrap::Cer_short_names],
Openvox_bootstrap::Oid,
String
],
}]
Expand Down
8 changes: 4 additions & 4 deletions spec/tasks/configure_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ def check_returned_id(uid_or_gid)
let(:csr_attributes) do
{
'custom_attributes' => {
'1.2.840.113549.1.9.7' => 'bar',
'pp_role' => 'spec'
},
'extension_requests' => {
'pp_role' => 'spec'
'1.2.840.113549.1.9.7' => 'bar',
}
}
end
Expand All @@ -145,9 +145,9 @@ def check_returned_id(uid_or_gid)
<<~YAML
---
custom_attributes:
1.2.840.113549.1.9.7: bar
extension_requests:
pp_role: spec
extension_requests:
1.2.840.113549.1.9.7: bar
YAML
end

Expand Down
4 changes: 2 additions & 2 deletions types/csr_attributes.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
type Openvox_bootstrap::Csr_attributes = Struct[
{
Optional['custom_attributes'] => Hash[
Openvox_bootstrap::Oid,
Variant[Openvox_bootstrap::Oid,Openvox_bootstrap::Cer_short_names],
String
],
Optional['extension_requests'] => Hash[
Variant[Openvox_bootstrap::Oid,Openvox_bootstrap::Cer_short_names],
Openvox_bootstrap::Oid,
String
],
}
Expand Down
Loading