lazydelphibuilder@gmail.com
2013-May-13 07:32 UTC
[Puppet Users] Rspec-puppet: what is differences between contain_class, include_class, create_class?
Hello, everyone! Does anyone can tell me about differences (or help to find any document or source code with the answer) between functions: * contain_class * include_class * create_class Which one is preferred in which cases? Thank you, in advance. -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
lazydelphibuilder@gmail.com
2013-May-15 12:41 UTC
[Puppet Users] Re: Rspec-puppet: what is differences between contain_class, include_class, create_class?
I looked at rspec-puppet sources and found that there is only one matcher exists: *include_class* So, I assume that *contain_class* and *create_class* are not part of the rspec-puppet and *should not be used*. (maybe, they''re some Ruby functions, or some matchers, that came from RSpec). -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.