Bug #784
value is a required option for Puppet::Parser::Resource::Param
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 0.24.0 | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
While trying to get resource collection to work I got the following error from puppetmasterd:
err: value is a required option for Puppet::Parser::Resource::Param
Looking at the MySQL logs I noticed the following strange query:
SELECT * FROM param_values WHERE (param_values.resource_id = 72 AND (param_name_id = '--- !ruby/object:Puppet::Rails::ParamName \nattributes: \n name: type\n updated_at: 2007-08-23 09:21:23\n id: \"18\"\n'))
Notice the param_name_id is an integer and is being compared to a string. Patch to fix this is attached.
History
Updated by Matt Palmer over 4 years ago
I’ve just been bitten by this bug as well. Patch works like a charm (sqlite database).
Updated by Anonymous over 4 years ago
- Status changed from 1 to 2
Updated by Anonymous over 4 years ago
- Status changed from 2 to Closed
- 7 set to fixed
Fixed in commit:6f9a444bba13f134c2395dd52a3816ab7ec3031c. Applied patch by vvidic.