Got it. Solved the problem.

On Feb 3, 1:19 pm, sateesh <bbalasate...@gmail.com> wrote:
> Hi,
>
> How to include the class of module in the manifests. Please find below
> the details of file location. The puppet location is /etc/puppet/
>
> In that location I have manifests and modules folder.
> In modules, I have module "abc" in which I have xyz manifest.
> xyz has following code located in /etc/puppet/modules/abc/manifests/
> xyz.pp:
>
> class abc::xyz{
>   ...code here...
>
> }
>
> now I want to include the abc::xyz class in the root manifests file
> located in /etc/puppet/manifests/site.pp.
>
> I am able to include the statement "include abc", but when I try to
> include "include abc::xyz", I am getting "Could not find class
> abc::xyz" error when I run the command "puppet apply --verbose
> site.pp"
>
> Please let me know how to include that class in site.pp.
>
> Thanks in advance,
> Sateesh B.

-- 
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