Issue #21193 has been updated by Andrew Parker.

Status changed from Merged - Pending Release to Closed

Released in 3.3.0

----------------------------------------
Bug #21193: Asserting rgen installed happens more than once
https://projects.puppetlabs.com/issues/21193#change-99476

* Author: Hunter Haugen
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: parser
* Target version: 3.3.0
* Affected Puppet version: 
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/1701
----------------------------------------
The method `assert_rgen_installed` appears to be intended to run only once 
after puppet is initialized.

When using the future parser in rspec-puppet, compiles subsequent compiles 
appeared to re-run the assertion checks causing them to fail.

There appears to be a typo at 
<https://github.com/puppetlabs/puppet/blob/master/lib/puppet/parser/parser_factory.rb#L31-#L32>
 between `@@asserted` and `@asserted` (assuming both should be the former), 
also `@@asserted` is never set to anything but `false`. There is no test 
coverage to explain the behavior.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to