Need a little help with integrating unit testing ( rspec-puppet ) with 
eyaml encrypted data in hiera.

I have something like this in heira:

foo::foo_api_key: ENC[super long string of stuff]

manifest:

 class { '::some_module_from_forge':
   apikey => hiera('foo::foo_api_key')
 }

foo_spec.rb

it { should contain_class('stackdriver').with_apikey(ENC[super long string 
of stuff])}

I am not really sure how to quote this properly. Everything I've tried 
comes back with an error

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c26b3612-a712-4584-8dfd-ab83fb2f24f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to