This module exists to reproduce how rspec-puppet behaves with allow_values in types.
The behaviour described below is correct, per PDK-868. The positive case is an if they all match, and the negative case is an if any of them match.
Run "pdk test unit" or do the tests separately.
- pdk test unit --tests=spec/type_aliases/typetest1_test1_spec.rb
- pdk test unit --tests=spec/type_aliases/typetest1_test2_spec.rb
- pdk test unit --tests=spec/type_aliases/typetest1_test3_spec.rb
- pdk test unit --tests=spec/type_aliases/typetest1_test4_spec.rb
- pdk test unit --tests=spec/type_aliases/typetest1_test5_spec.rb
- pdk test unit --tests=spec/type_aliases/typetest1_test6_spec.rb
See the PDK bug, resolved and not actually a bug: