On Mon, Aug 10, 2015 at 08:44:33AM +0200, Julien Pivotto wrote:
> Hi all,
> 
> Giving the following code:
> 
> https://github.com/Inuits/puppet-acl/commit/7bf09e329dc08641089780f0104b9b93101f8ddc
> 
> My questions:
> 
> 1. Why do I get those "Cannot schedule without a schedule-containing catalog" 
> ?

Because resource are generated twice. Solved by
https://github.com/Inuits/puppet-acl/commit/81d7360da55953978e304a0b0901c176efcef2d8

- Dir['**', '*'].each do |path|
+ Dir['**/*'].each do |path|


> 
> 2. Are the "generate" and "eval_generate" functions "public"? Are they
> recommended to be used in custom types? If not, how can I achieve the same 
> thing?

I am still interested in that question.

-- 
 (o-    Julien Pivotto
 //\    Open-Source Consultant
 V_/_   Inuits - https://www.inuits.eu

-- 
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/20150810073238.GA26200%40nitrogen.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to