[chef] LWRP Boolean


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] LWRP Boolean
  • Date: Fri, 12 Apr 2013 09:56:41 -0300

Ohai Chefs!

What's the "correct" way to have a boolean attribute in a LWRP? There's no Boolean class in Ruby, so 

attribute :some_boolean, :kind_of => Boolean, :default => false

is not possible.

What's the solution?

Thanks,

- cassiano




Archive powered by MHonArc 2.6.16.

§