The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #23403

Error: Could not intialize global default settings: undefined method `mode=' for #<Puppet::Settings::AutosignSetting:0x7ff361614368>

Added by Dominic Cleal over 2 years ago. Updated over 2 years ago.

Status:Merged - Pending ReleaseStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:settings
Target version:3.4.0
Affected Puppet version:3.4.0-rc2 Branch:https://github.com/puppetlabs/puppet/pull/2150
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket is now tracked at: https://tickets.puppetlabs.com/browse/PUP-1015


Description

Follow-on from #23349… regression from 3.3.x to 3.4.0-rc2. This affects all Foreman users, since it’s the default installer configuration (https://github.com/theforeman/puppet-puppet/blob/master/templates/puppet.conf.erb#L21).

With this in puppet.conf:

[main]
    autosign       = $confdir/autosign.conf { mode = 664 }
# puppet --version
Error: Could not intialize global default settings: undefined method `mode=' for #<Puppet::Settings::AutosignSetting:0x7f4b4ecff440>
# rpm -q puppet
puppet-3.4.0-0.1rc2.el6.noarch

Sorry for not including the full puppet.conf entry in the earlier bug report, we could have avoided a round trip.


Related issues

Related to Puppet - Bug #23349: "Could not find value for $confdir" regression when using... Closed

History

#1 Updated by Dominic Cleal over 2 years ago

  • Description updated (diff)

#2 Updated by Adrien Thebo over 2 years ago

  • Status changed from Unreviewed to In Topic Branch Pending Review
  • Branch set to https://github.com/puppetlabs/puppet/pull/2150

It doesn’t look like we’re going to cut a new RC for this change alone, but if there’s another reason to do an RC3 then we’ll merge it in then. If it doesn’t make 3.4.0, then we should have it turned around in 3.4.1.

#3 Updated by Josh Cooper over 2 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release
  • Target version set to 3.4.0

Merged in d3ed8c0 to be released in 3.4.0

#4 Updated by Charlie Sharpsteen over 2 years ago

Redmine Issue #23403 has been migrated to JIRA:

https://tickets.puppetlabs.com/browse/PUP-1015

Also available in: Atom PDF