<https://help.puppet.com/core/current/Content/Pupp...
# puppet
b
https://help.puppet.com/core/current/Content/PuppetCore/lang_data_abstract_flexible.htm#TheEnumdatatype says: "The
Enum
data type only matches strings, but it provides an alternate way to restrict which strings it matches", I interpret: this is only for initial checking the value, further on we type it as a string.