Just at a high level, this is essentially an issue with confusion around
our Test Setup helpers and dependency resolution across multiple versions
of our product. If we have this issue, our community certainly does as
well. When looking for solutions (from best to worst):

1. Curated TestHelpers and/or Community supported dependency resolution
(fully automated).
2. Custom automated solutions (rake)
3. Manually adding it to your jobs (build steps)

The third option "works for now", but isn't a long term maintainable
solution and I'm trying to do my best to discourage it.

We're in the process of adding hiera configuration to the Harness right now
(a hand rolled, but fully automated solution for acceptance tests) if you'd
like to bounce ideas/code off me for adding a rake task or Gemfile-like
solution for ntp, give me a holler (can't take it on fully, there's a
*lot*of RC's going out soon)


 - Justin



On Mon, May 14, 2012 at 10:24 AM, Chris Price <ch...@puppetlabs.com> wrote:

> On Mon, May 14, 2012 at 6:19 AM, Ken Barber <k...@puppetlabs.com> wrote:
>
>>
>> So when I roll back to c9386b541e9ecf6c0daffde2825bad385ea4da2b I'm
>> all good again. I've put in a work-around:
>>
>>  c.before :each do
>>    Puppet[:data_binding_terminus] = 'none'
>>  end
>>
>> Which works smashingly ... but its a workaround, and should belong
>> elsewhere.
>>
>> My question here is - where should this be fixed now? Is this
>> something that needs to be put into puppet/test/test_helper.rb, or
>> into puppet_spec_helper.rb? I'm asking this because I wanted to know
>> where to raise the bug basically :-).
>
>
>
> So, after reading the rest of this thread, I'm not sure whether or not you
> still want/need to change the test setup code... but I thought I'd try to
> answer your question anyway, because I'm sure that question will come up
> again in the future.
>
> My hope with the puppetlabs_spec_helper stuff is that we put as *little*
> as possible there; it should ideally not be responsible for anything other
> than determining whether you are working with an old version of puppet,
> and, if so, trying to provide support for it.  If you are working with
> recent versions of puppet then it should simply delegate *everything*
> related to test setup/teardown to the TestHelper class that you
> mentioned... that file lives in the same source tree as puppet, so it
> doesn't have to worry about cross-version compatibility.  That would be a
> fine place to put any settings initialization for data binding, or similar
> functionality.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To post to this group, send email to puppet-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-dev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to