> Modules most certainly can be called from within other modules.  Most
> of the time when I have had problems is has been because the names of
> the module didn't match the class name in the init.pp.  Double check
> your names and try again.
>
Okay this is what I thought, but here is what I have in module named
and module hpc

named/manifest/init.pp:

class named{
        package{"bind":
                ensure => present,
        }
        service{"named":
                ensure => running,
                enable => true,
                hasstatus => true,
                hasrestart => true,
        }


hpc/manifests/init.pp:
class hpc::master{
        include hpc::named
}

class hpc::named{
        include named     #<<< does not seem to be working
        service{"named":  #<<< added to get the notify to work
                ensure => running,
        }
        file{"named.conf.cluster":
                path => "/etc/named.conf",
                source=> "puppet:///hpc/named.conf",
                notify => Service["named"],
        }

Am I missing something in this setup. I would expect the
Service[named] to complain about being specified twice, but it does
not.

Evan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to