In that example, 'role' is a module, and 'role::somerole' is a class
in that module:
/etc/puppet/modules/role/manifests/somerole.pp:
class role::somerole {
...
}
- Chad
On Sat, Oct 26, 2013 at 7:58 AM, Steven Jonthen
wrote:
> I've a question:
> What does this mean/how is this realized?:
> '::r
I've a question:
What does this mean/how is this realized?:
'::role::somerole'
Is this a module or a manifest? What is "role" and what "somerole"? How
does the content look like and where do I have to create it?
Can you give me an example?
--
You received this message because you are subscribe
Ok thanks!
That helps me a lot! I'll do research on your hints and come back if I've
questions.
Thanks a lot!
--
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
Hi,
What you'll need is some way to classify nodes, I do this through Hiera.
Per node I have a yaml file named after the host: hostname.yaml with the
following:
---
roles:
- '::role::somerole'
In manifests/site.pp I only define one node, the default:
node default {
hiera_include('roles', []