HomePhorge

(PUP-2506) Trivial Ruby bug in Puppet::Resource::Ral
dc12d2a25d4eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2506) Trivial Ruby bug in Puppet::Resource::Ral

Prior to this commit, a bug is triggered when the Puppet::Error string
is interpolated. The #type method was called recursively and failed with
an ArgumentError: wrong number of arguments (0 for 1).

This commit fixes the bug by changing which variable is interpolated in
the string. It also adds a spec test for this case.

Details

Provenance
Carlos Salazar <csalazar@ksu.edu>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd1723f8c38a4: Merge branch 'stable'
Branches
Unknown
Tags
Unknown

Event Timeline

Carlos Salazar <csalazar@ksu.edu> committed rPUdc12d2a25d4e: (PUP-2506) Trivial Ruby bug in Puppet::Resource::Ral (authored by Carlos Salazar <csalazar@ksu.edu>).Jun 2 2014, 6:57 PM