On Tue, Dec 6, 2011 at 12:27 PM, Christian G. Warden <cwar...@xerus.org> wrote:
> Do explicit class dependencies work?
> This simple example fails with:
> Could not find resource 'Class[Config]' for relationship on 
> 'Class[Uses_config]'
>
>        class config {
>        }
>
>        class uses_config {
>          Class['config'] -> Class['uses_config']
>        }
>
>        include uses_config
>
> Am I doing something?

You didn't declare include class config. If you intend uses_config to
automatically include class config, you should declare it there. In
either case you are missing include config or class { config: }
somewhere.

HTH,

Nan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to