deric / puppet-mesos

Puppet module for managing Mesos nodes

Home Page:https://forge.puppetlabs.com/deric/mesos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

undef property specs failing with new rspec

deric opened this issue · comments

mesos::property spec with :undef added in 5e48338 are failing with STRICT_VARIABLES on Puppet 3.

 Undefined variable "value" at /home/travis/build/deric/puppet-mesos/spec/fixtures/modules/mesos/manifests/property.pp:27
     # ./spec/defines/property_spec.rb:52:in `block (3 levels) in <top (required)>'

The syntax should be correct, it was introduced here.

@JayH5 any ideas?

@deric: 😢 I don't really know. This rspec + Puppet stuff is often quite fragile. Sorry, I don't really have time to dig into this at the moment... Can maybe take a look next week.

@JayH5 Sure, no problem. Downgrading rspec-puppet to < 2.4.0 seems to resolve the problem. So the problem was probably introduced somewhere here v2.3.2...v2.4.0.