bartavelle / language-puppet

A library to work with Puppet manifests, test them and eventually replace everything ruby.
BSD 3-Clause "New" or "Revised" License
51 stars 8 forks source link

Add support for puppet sensitive data #245

Open jfroche opened 6 years ago

jfroche commented 6 years ago

More and more repos are using the Sensitive type (https://puppet.com/docs/puppet/5.5/lang_data_sensitive.html). Is this something hard to implement ?

bartavelle commented 6 years ago

It should be straightforward to write a Sensitive function that does nothing. However, Sensitive.new would probably be hard to support!

bartavelle commented 6 years ago

Same thing for the .unwrap method. It would require a big change in the parser first to support that kind of things.