Hi

I defined a module (xyz), which has following directories

 manifests/init.pp

class xyz is defined in init.pp in which I defined a service xyz. Now,
I want to have a another variation of xyz, say xyz_new which has a
different service start script, that is

class xyz_new inherits xyz {
    Service['xyz']: {
        start => "<new path to another start script>"
    }
}

Where should I define this new class xyz_new?

I put it under modules/xyz/manifests/classes/xyz_new.pp

The problem is that when I include this new class xyz_new, Puppet
complained about can not find init

err: /Stage[main]/xyz/Service[xyz]: Could not evaluate: Could not find
init script for 'xyz'

How can I avoid this?

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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to