diff options
author | Luke Kanies <luke@puppetlabs.com> | 2010-06-11 10:14:12 -0700 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 32f6a9d5246e8e02c7870e05f273a12c4ece84c6 (patch) | |
tree | 7106c459e889b683af3e838c07755f4767adb056 | |
parent | 58cf8d9dcbef783e280782d56febf06822e3e4eb (diff) | |
download | puppet-32f6a9d5246e8e02c7870e05f273a12c4ece84c6.tar.gz puppet-32f6a9d5246e8e02c7870e05f273a12c4ece84c6.tar.xz puppet-32f6a9d5246e8e02c7870e05f273a12c4ece84c6.zip |
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 <luke@puppetlabs.com>
-rw-r--r-- | lib/puppet/property.rb | 16 |
1 files changed, 0 insertions, 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. |