Issue #16259 has been updated by Jo Rhett.

Well yes, but that obviates the use of periodmatch = number ;-)

I think it's a goofy check. It's trying to ensure that number = 1 if 
periodmatch = number, and fails in the boolean logic. Probably just a fix in 
the check logic.

(I would totally send a patch if I didn't have 10bil other things to do...)
----------------------------------------
Bug #16259: err: Failed to apply catalog: Parameter repeat failed: Repeat must 
be 1 unless periodmatch is 'distance', not 'number'
https://projects.puppetlabs.com/issues/16259#change-70833

Author: Jo Rhett
Status: Needs More Information
Priority: Normal
Assignee: Jo Rhett
Category: 
Target version: 
Affected Puppet version: 2.7.18
Keywords: errors
Branch: 


<pre>
schedule { 'fails':
    range       => '17 - 20',
    period      => daily,
    periodmatch => number,
    repeat      => 1,                                                           
                                                            
}
</pre>

Produces this error:

<pre>
err: Failed to apply catalog: Parameter repeat failed: Repeat must be 1 unless 
periodmatch is 'distance', not 'number'
</pre>

Removing the "repeat" line (which defaults to 1) is a workaround.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to