From 32f6a9d5246e8e02c7870e05f273a12c4ece84c6 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Fri, 11 Jun 2010 10:14:12 -0700 Subject: Working #3139 - Removing Property#checkable It was called in the 'check' attribute but not set anywhere else. The whole point of being a property is that you can retrieve the current state of that property - not being checkable/auditable is nonsensical. Signed-off-by: Luke Kanies --- lib/puppet/property.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/puppet/property.rb b/lib/puppet/property.rb index 5e616c396..7601d783c 100644 --- a/lib/puppet/property.rb +++ b/lib/puppet/property.rb @@ -35,22 +35,6 @@ class Puppet::Property < Puppet::Parameter end @array_matching = value end - - def checkable - @checkable = true - end - - def uncheckable - @checkable = false - end - - def checkable? - if defined? @checkable - return @checkable - else - return true - end - end end # Look up a value's name, so we can find options and such. -- cgit