Skip to content

DEP 018

Ben Dalling edited this page May 15, 2016 · 2 revisions

Removal of Attributes from ::cassandra::datastax_agent

The following attributes have been removed from the class:

  • agent_alias
  • async_pool_size
  • async_queue_size
  • hosts
  • local_interface
  • stomp_interface
  • storage_keyspace

They have been replaced with the generic settings attribute which is a hash of settings for placement into the file specified in address_config_file.

An example of altering your code could be to change:

class { 'cassandra::datastax_agent':
  agent_alias     => 'foobar',
  stomp_interface => $::ipaddress,
  ...
}

to the new code:

class { 'cassandra::datastax_agent':
  settings => {
    'agent_alias'     => {
      'value' => 'foobar',
    },
    'stomp_interface' => {
       'value' => 'localhost',
    },
    'async_pool_size' => {
      ensure => absent,
    }
  }
}
Clone this wiki locally