Re: [Puppet Users] Need help with defining same package resource in two modules

Ryan Coleman
Thu, 19 Sep 2013 21:59:51 -0000

On Mon, Sep 16, 2013 at 10:49 PM, Mani Devarajan
<manidevarajan@gmail.com>wrote:

> How do i overcome this issue to complete the workflow of module B in both
> cases (where A is enabled or disabled)
>

Mani, virtual resources will get the job done but may be heavy-handed for
your use case. If you want something a little simpler, check out the
ensure_resource function provided by the puppetlabs/stdlib module (search
the page for ensure_resource). http://forge.puppetlabs.com/puppetlabs/stdlib