puppet-editor-services icon indicating copy to clipboard operation
puppet-editor-services copied to clipboard

Support the `Deferred` syntax in Puppet 6

Open glennsarti opened this issue 6 years ago • 5 comments

Does PES support intellisense on the Deferred keyword;

https://puppet.com/docs/puppet/6.0/write_a_puppet_function_to_store_secrets.html

glennsarti avatar Jan 23 '19 08:01 glennsarti

Appears we do not.

E, [2019-01-23T20:15:41.338863 #11780] ERROR -- : (textDocument/hover) Unable to generate Hover information for object of type Puppet::Pops::Model::QualifiedReference
D, [2019-01-23T20:15:41.339341 #11780] DEBUG -- : --- OUTBOUND

glennsarti avatar Jan 23 '19 13:01 glennsarti

Best example of text I could find

https://puppet.com/docs/puppet/6.0/integrating_secrets_and_retrieving_agent-side_data.html

https://github.com/puppetlabs/puppet/pull/6951/commits/cd5c15cffcba90a0cf76eb61b3fec2016bf498a7

glennsarti avatar Jan 23 '19 13:01 glennsarti

And same with Sensitive

glennsarti avatar Jan 23 '19 13:01 glennsarti

What about;

file { 'title':
  ensure => Sensitive(<crtl-space here>)
}

glennsarti avatar Jan 24 '19 13:01 glennsarti

Pending 1.0 work. Needs the infrastructure from 1.0 before we can start to address this

jpogran avatar May 28 '20 00:05 jpogran