Skip to content

Commit

Permalink
use package_name cassandra and hints directory
Browse files Browse the repository at this point in the history
w/o package_name puppet-cassandra uses cassandra22 package on RedHat.
w/o providing hints directory cassandra-3 uses /hints dir on RedHat.

Change-Id: I6890f3266fa3f952dd87967f104d9d33f1ea8eb6
Closes-Bug: #1729055
  • Loading branch information
alexey-mr committed Nov 2, 2017
1 parent 5b44a11 commit 6a3415a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion manifests/analyticsdatabase/config.pp
Expand Up @@ -45,9 +45,11 @@
mode => '0755',
} ->
class {'::cassandra':
package_name => 'cassandra',
hints_directory => '/var/lib/cassandra/hints',
# service_ensure => stopped,
# service_enable => false,
settings => {
settings => {
'cluster_name' => 'ContrailAnalytics',
'listen_address' => $cassandra_ip,
'storage_port' => $storage_port,
Expand Down
4 changes: 3 additions & 1 deletion manifests/database/config.pp
Expand Up @@ -45,9 +45,11 @@
mode => '0755',
} ->
class {'::cassandra':
package_name => 'cassandra',
hints_directory => '/var/lib/cassandra/hints',
# service_ensure => stopped,
# service_enable => false,
settings => {
settings => {
'cluster_name' => 'ConfigDatabase',
'listen_address' => $cassandra_ip,
'storage_port' => $storage_port,
Expand Down

0 comments on commit 6a3415a

Please sign in to comment.