Project

General

Profile

Actions

Bug #2137

closed

Unable to parse class with default parameters

Added by Josh Baird over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

1.1 RC4. I have the following class definition which my proxy (1.1 RC1) is unable to import:

class pbis_open(
$domain = 'na.lan',
$ou = 'Resources/CRP/UnixServers/Linux',
$options = '--disable hostname',
$joinuser = 'unixdom',
$joinpassword = 'pass',
$requiremembershipof = '"na\\EITUnixAdmins" "wheel"',
) {
class {'pbis_open::install': } ->
class {'pbis_open::domainjoin': } ->
Class['pbis_open']
}

Actions #1

Updated by Ohad Levy over 11 years ago

which version of the proxy are you using?

Actions #2

Updated by Greg Sutcliffe over 11 years ago

  • Category set to Puppet integration

This imports fine for me on the same setup as listed (Foreman rc4, Proxy rc1). Josh, what version of Puppet are you on?

Actions #3

Updated by Josh Baird over 11 years ago

pe-puppet-2.7.12-6.pe.el6.noarch

Actions #4

Updated by Josh Baird over 11 years ago

  • Status changed from New to Closed

Using IRB, it was determined that Puppet was showing a syntax error due to the trailing comma on the last paramater. This was hard to find, because my PM has two versions of puppet (to satisfy dependencies - see #1588). The proxy was using the non PE version of puppet which all of my clients use, so the error wasn't visible using puppet --debug on clients.

Actions

Also available in: Atom PDF