The Puppet Labs Issue Tracker has Moved:

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 See the following page for information on filing tickets with JIRA:

Bug #13293

passing a hash to a define fails with pson serialization format

Added by James Martin about 4 years ago. Updated about 4 years ago.

Status:InvestigatingStart date:03/21/2012
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Affected Puppet version:2.7.12 Branch:
Keywords:hash serialization

We've Moved!

Ticket tracking is now hosted in JIRA:


I have a defined resource that accepts a hash of a list of database names, users, pw, etc. Occassionaly (unscientifically) it will work once out of 20 times. The rest of the times it does not and fails with this error:

err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship source "Cpfusion::Functions::Setupdbs[dbpwcpclusterpassworddbnamecpclusterdbdbusercpclusteruser]"

If I modify puppet.conf on the client to include:

preferred_serialization_format = marshal

It works every time.

Thanks to _rc in #puppet for helping me work through this issue.


#1 Updated by Anonymous about 4 years ago

  • Status changed from Unreviewed to Needs More Information

It would be awesome if you could attach the failed catalog, and/or the manifests to reproduce this for us. That would help understand what is going on and to reproduce it.

This is pretty clearly some oddity in your setup, because this generally works – it is a fundamental enough operation that this bug must trigger in some corner case we don’t usually push, but you do.

#2 Updated by Anonymous about 4 years ago

  • Status changed from Needs More Information to Investigating

I have the required data, which is confidential, when this gets to being investigated. Thanks, James.

Also available in: Atom PDF