Skip to content

DEP 016

Ben Dalling edited this page Mar 8, 2016 · 3 revisions

Rename of ensure attribute to package_ensure

This will be in the following classes:

  • cassandra::java
  • cassandra::opscenter
  • cassandra::opscenter::pycrypto
  • cassandra::optutils

Change code that looks like this:

class { 'cassandra::opscenter::pycrypto':
  ensure => present,
  ...
} ->
class { 'cassandra::opscenter':
  ensure => $opscenter_version,
  ...
}

class { 'cassandra::optutils':
  ensure => $optutils_version,
  ...
}

To this something that looks more like this:

class { 'cassandra::opscenter::pycrypto':
  package_ensure => present,
  ...
} ->
class { 'cassandra::opscenter':
  package_ensure => $opscenter_version,
  ...
}

class { 'cassandra::optutils':
  package_ensure => $optutils_version,
  ...
}
Clone this wiki locally