[Puppet Users] non existing classes cause puppet 2.7 client to error out

2014-02-06 Thread Kyle Flavin
I put this up on the Puppet Ask forum as well. Hopefully the duplication isn't a big deal, I've been struggling to come up with a good solution to this. I'm attempting to migrate a puppet environment from Puppet 2.6 to Puppet 2.7. My plan for doing this is to install a new Puppet 2.7 master,

[Puppet Users] Re: non existing classes cause puppet 2.7 client to error out

2014-02-10 Thread Kyle Flavin
Thanks for the response John, I was afraid that would be the case. Back to the drawing board. On Friday, February 7, 2014 6:09:23 AM UTC-8, jcbollinger wrote: > > > > On Thursday, February 6, 2014 2:17:00 PM UTC-6, Kyle Flavin wrote: >> >> I put this up on the

[Puppet Users] Overriding the file resource with class inheritance

2016-01-29 Thread Kyle Flavin
I'm creating a module, and I want to override the file resource for puppet.conf which is defined within a module called "puppet". The resource declaration looks like this: # modules/puppet/manifests/init.pp class puppet { ... file { '/etc/puppet/puppet.conf': content => template(

[Puppet Users] Overriding file resource with class inheritance

2016-01-29 Thread Kyle Flavin
I'm creating a module, and I want to override the file resource for puppet.conf which is defined within a module called "puppet". The resource declaration looks like this: # modules/puppet/manifests/init.pp class puppet { ... file { '/etc/puppet/puppet.conf': content => template(

Re: [Puppet Users] Overriding file resource with class inheritance

2016-01-29 Thread Kyle Flavin
On Friday, January 29, 2016 at 3:44:24 PM UTC-8, Garrett Honeycutt wrote: > > Hi Kyle, > > I think you have a scoping issue, try using the double colons for the > puppet class, such as 'class foreman-proxy::puppet inherits ::puppet'. > > You seem to be using inheritance correctly to override a r

Re: [Puppet Users] Overriding file resource with class inheritance

2016-02-01 Thread Kyle Flavin
Thanks Martin, makes sense. I'm modifying the code to avoid the cross-module inheritance. On Saturday, January 30, 2016 at 2:56:16 AM UTC-8, Martin Alfke wrote: > > Hi Kyle, > > On 30 Jan 2016, at 01:27, Kyle Flavin > > wrote: > > > On Friday, January 29, 2

[Puppet Users] Overriding class parameters within Foreman

2016-02-04 Thread Kyle Flavin
We're using Foreman to manage puppet. I'm trying to create a class that uses the default value of $::domain, for $dhcp_dnsdomain, unless the parameter is defined as a host parameter within Foreman. For example: class foreman_proxy ( $dhcp_dnsdomain = $::domain, $nameservers= ['