Chapter 09/circuit-oneops-1-master/components/cookbooks/cassandra/libraries/cassandra_util.rb
# Checks if the YAML config directives are supported.
# Applicable only if versions of Cassandra >= 1.2 and
# has a non empty config directive map.
#
Checks if the YAML config directives are supported.
Applicable only if versions of Cassandra >= 1.2 and
has a non empty config directive map.
Checks if the YAML config directives are supported . Applicable only if versions of Cassandra > = 1 . 2 and has a non empty config directive map .
def conf_directive_supported?
      ci = node.workorder.rfcCi.ciAttributes
      ver = ci.version.to_f
      cfg = ci.config_directives if ci.has_key?("config_directives")
      cassandra_supported?(ver) && !cfg.nil? && !cfg.empty?
    end
def conf_directive_supported? ci = node . workorder . rfcCi . ciAttributes ver = ci . version . to_f cfg = ci . config_directives if ci . has_key? ( "config_directives" ) cassandra_supported? ( ver ) && ! cfg . nil? && ! cfg . empty? end
Checks if the YAML config directives are supported.
Checks if the YAML config directives are supported .