Re: [Puppet Users] Best way to exclude classes from a few nodes

2020-10-01 Thread djc...@gmail.com
Hello Martin, Do you have any further thoughts on the above? Thanks, Dan. On Monday, September 28, 2020 at 2:37:42 PM UTC+1 djc...@gmail.com wrote: > There is indeed a global hiera.yaml file: > # cat /etc/puppetlabs/puppet/hiera.yaml > --- > # Hiera 5 Global configuration file > > version: 5 >

Re: [Puppet Users] Best way to exclude classes from a few nodes

2020-10-01 Thread Martin Alfke
Hi Dan, The puppet lookup explain told you what it has found: Environment Data Provider (hiera configuration version 5) Using configuration "/etc/puppetlabs/code/environments/production/hiera.yaml" Hierarchy entry "Per-node data" Path "/etc/puppetlabs/code/environments/productio

Re: [Puppet Users] Best way to exclude classes from a few nodes

2020-10-01 Thread djc...@gmail.com
Thanks Martin, yes (on fours servers to be specific all with idm0 in the hostname). Problem I have, is although the lookup is returning what I need, when I run the agent, it returns: Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Erro

Re: [Puppet Users] Best way to exclude classes from a few nodes

2020-10-01 Thread Martin Alfke
Which version of puppet are you using? Puppet 5 or puppert 6? And: did you ran the puppet lookup command as root user? (I assume so, I just want to be sure) > On 1. Oct 2020, at 12:30, djc...@gmail.com wrote: > > Thanks Martin, yes (on fours servers to be specific all with idm0 in the > hostn

Re: [Puppet Users] Best way to exclude classes from a few nodes

2020-10-01 Thread djc...@gmail.com
Puppet 6: # puppet --version 6.15.0 Yes, I ran the lookup as root. On Thursday, October 1, 2020 at 11:40:49 AM UTC+1 Martin Alfke wrote: > Which version of puppet are you using? > Puppet 5 or puppert 6? > > And: did you ran the puppet lookup command as root user? (I assume so, I > just want to

Re: [Puppet Users] Best way to exclude classes from a few nodes

2020-10-01 Thread Martin Alfke
One more try: In your manifests/site.pp change the class declaration from class to include: node default { # … # class { 'grubipv6disable': } include grubipv6disable # … } > On 1. Oct 2020, at 12:44, djc...@gmail.com wrote: > > Puppet 6: > > # puppet --version > 6.15.0 > > Yes, I ra

Re: [Puppet Users] Best way to exclude classes from a few nodes

2020-10-01 Thread djc...@gmail.com
Unfortunately still the same issue. On Thursday, October 1, 2020 at 11:58:45 AM UTC+1 Martin Alfke wrote: > One more try: > > In your manifests/site.pp change the class declaration from class to > include: > > node default { > # … > # class { 'grubipv6disable': } > include grubipv6disable