Re: [Puppet Users] simple node classification and custom facts

2016-09-07 Thread Arnau
Hi, my 2 cents below: 2016-09-04 22:32 GMT+02:00 Berkeley : > [...] > > :hierarchy: > - "fqdn/%{clientcert}" > - "env/%{environment}" > - "roles/%{role}" > - "os/%{osfamily} > - common > > > I should add that I'm very comfortable writing ruby code, but for > something so basi

[Puppet Users] simple node classification and custom facts

2016-09-06 Thread Berkeley
I'm doing a refactor of my puppet code with the profiles+roles design pattern. I'm encountering what should be a simple problem, but I'm having trouble finding an answer. With roles/profiles, you instantiate classes using 'include' and fetch the parameter values from hiera. Then, for each nod