As Jeff said, ideally you wouldn't have any cross-module dependencies, but
everyone still does it.
There's a couple of ways you can solve this issue at the moment. The first
(and my preferred way) is to setup a fixtures directory as described in
http://bombasticmonkey.com/2012/03/02/automati
On Tue, Mar 6, 2012 at 10:53 PM, R. Tyler Croy wrote:
> My module now depends on the puppetlabs/puppet-apt module for supporting
> Debian/Ubuntu hosts, doing this however broke all my debian/ubuntu related
> rspec-puppet tests.
>
> Is there a reasonable way to mock out resources (like apt::source
My module now depends on the puppetlabs/puppet-apt module for supporting
Debian/Ubuntu hosts, doing this however broke all my debian/ubuntu related
rspec-puppet tests.
Is there a reasonable way to mock out resources (like apt::source, etc) to just
test that my classes are doing what they should be