Hi,
First you should be able to ditch your modules.pp file. You can set where puppet
can read modules with the modulepath directive in puppet.conf on the server
([master] section)
modulepath /etc/puppet/modules
Next put import ''nodes.pp'' in your site.pp.
That should get you going.
Den
http://docs.puppetlabs.com/guides/modules.html#configuration
http://docs.puppetlabs.com/guides/language_guide.html#importing-manifests
On 05/02/2012, at 5:53, Henderson Alexandre <pringlesoriginal@gmail.com>
wrote:
> Hello Puppet user group,
>
>
> I''m unable to get the node controllernode.vps.net to inherit the
class
> basenode to run any of the includes defined in basenode, no errors are
> reported by puppet.
>
> All controllernode.vps.net is able to import from puppet is the hosts
> module which is defined in site.pp
>
> -------------------------------------------------------------------
> [root@puppet manifests]# cat nodes.pp
>
> node basenode {
> include hosts
> include ntp
> }
>
> node ''controllernode.vps.net'' inherits basenode{
> include controllernode
> }
> ----------------------------------------------------------------------
> [root@puppet manifests]# cat site.pp
> node default {
> include hosts
> }
> ----------------------------------------------------------------------
> [root@puppet manifests]# cat modules.pp
> import "ntp"
> import "controllernode"
> ---------------------------------------------------------------------
>
> [root@puppet puppet]# cd modules/
> [root@puppet modules]# tree
> .
>
> ├── controllernode
> │ ├── files
> │ └── manifests
> │ └── init.pp
>
> ├── hosts
> │ ├── files
> │ │ └── hosts
> │ └── manifests
> │ └── init.pp
>
> ├── ntp
> │ ├── files
> │ │ └── ntpd.conf
> │ └── manifests
> │ └── init.pp
> ---------------------------------------------------------------------------
>
>
> Any idea why controllernode.vps.net is not importing the
> controllernode module?
>
> Thanks
>
> --
> 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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.