Hi all,

The code snippet below is an isolation of the problem I am facing.
I don't understand why this produces a duplicate declaration.
Can anyone give an explanation?

*$ cat test.pp *
*class foo { contain foo::bar }*
*class foo::bar { class { 'bar': } }*
*class bar { notify { 'hello': } }*
*include foo*

*$ puppet apply test.pp*
*Error: Duplicate declaration: Class[Foo::Bar] is already declared; cannot 
redeclare at /home/marc/test.pp:2 on node carbon.demo.lan*
*Error: Duplicate declaration: Class[Foo::Bar] is already declared; cannot 
redeclare at /home/marc/test.pp:2 on node carbon.demo.lan*

Thank you!
Marc

-- 
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/5a4b1b8f-09bf-4595-9a48-70090682fe5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to