Thx for the quick answer.
On Tue, Jun 26, 2012 at 10:56 AM, Stephen Gran <stephen.g...@guardian.co.uk>wrote: > Hi, > > They should do the same thing - include a class with default values if > it is parameterized. > > There is one difference that is most likely a bug. try this manifest: > > ./test.pp > class { 'wobble': } > class { 'wibble': } > > ./modules/wobble/manifests/init.pp > class wobble { > class { 'wibble': } > } > > ./modules/wibble/manifests/init.pp > class wibble { > notice "hello, I'm wibble" > } > > notice: Scope(Class[Wibble]): hello, I'm wibble > Duplicate declaration: Class[Wibble] is already declared > > The compiler doesn't treat these as two 'include' statements, for some > reason. > > Cheers, > > On Tue, 2012-06-26 at 10:40 +0200, Antidot SAS wrote: > > Hi everyone, > > > > > > > > > > I am asking a quick question is there any concept difference between: > > -- > > include myclass > > -- > > and > > -- > > class { 'myclass'} > > -- > > > > > > I confess that the border between those 2 concepts are very similar > > for me... > > > > > > > > > > Regards, > > Jeremy MAURO > > > > -- > > 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. > > -- > Stephen Gran > Senior Systems Integrator - guardian.co.uk > > Please consider the environment before printing this email. > ------------------------------------------------------------------ > Visit guardian.co.uk - newspaper of the year > > www.guardian.co.uk www.observer.co.uk www.guardiannews.com > > On your mobile, visit m.guardian.co.uk or download the Guardian > iPhone app www.guardian.co.uk/iphone > > To save up to 30% when you subscribe to the Guardian and the Observer > visit www.guardian.co.uk/subscriber > --------------------------------------------------------------------- > This e-mail and all attachments are confidential and may also > be privileged. If you are not the named recipient, please notify > the sender and delete the e-mail and all attachments immediately. > Do not disclose the contents to another person. You may not use > the information for any purpose, or store, or copy, it in any way. > > Guardian News & Media Limited is not liable for any computer > viruses or other material transmitted with or as part of this > e-mail. You should employ virus checking software. > > Guardian News & Media Limited > > A member of Guardian Media Group plc > Registered Office > PO Box 68164 > Kings Place > 90 York Way > London > N1P 2AP > > Registered in England Number 908396 > > -- > 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. > > -- 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.