On Monday, December 7, 2015 at 7:57:41 PM UTC-6, 韩雨哲 wrote:
>
> In the module, the classes are designed like this:
> A::install{}
>
> class A{
>   A::install{}
> }
>
> class A::B{
>   A::B::install{
>     require -> Class[A]
>   }
> }
>
> class A::C{
>   A::C::install{
>     require -> Class[A]
>   }
> }
>
>
> The result of puppet master compile is:
> "classes": [
>   "A",
>   "A::B",
>   "A::C",
>   "A::install",
>   "A",
>   "A::B",
>   "A::C"
> ]
>
> Then the "require" function doesn't take effect. And I must change it to 
> "require -> Class[A::install].
>
>

Is that supposed to be Puppet DSL?  It should not even compile -- almost 
everything about it is wrong.

 

> But in puppet 2.7.2, it looks ok.
>


I seriously doubt that.


John

-- 
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/f30e7e75-4a5c-45a4-99d1-6a42fd831107%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to