I am using nginx package from nginx folks.  I used the apt::source like 
this:



The documentation is fairly decent for standard resources like package and 
stuff, e.g. 

  it { is_expected.to contain_package('nginx').with(ensure: 'present') }

 I am wondering how I could go about testing this, adding to my 
spec/classes/install_spec.rb. for the apt::source in particular.  I haven't 
found anything on this yet.

I scaffolded my classes and spec/ structure using PDK.

-- 
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/c41f1796-4f86-4c36-95f3-2949cb2ce847%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to