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,
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
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(
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(
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
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
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= ['