summaryrefslogtreecommitdiffstats
path: root/manifests/cluster
diff options
context:
space:
mode:
authorJaume Devesa <devvesa@gmail.com>2015-11-30 12:53:55 +0100
committerJaume Devesa <devvesa@gmail.com>2015-12-14 14:15:15 +0000
commitd7e457b8af855b2ecc08d94776532660ef56b736 (patch)
treec20916d4e169e707697b5ceec2d347ae96a6f65e /manifests/cluster
parentb94e93d8c822c0940e89ebfe47818351634f8cc2 (diff)
Modify cassandra dependency
Switch to locp/cassandra module since it has much more options than midonet/puppet-cassandra and it is already defined on the openstack-puppet-modules packages in RHEL. More info: https://bugzilla.redhat.com/show_bug.cgi?id=1285718 Depends-On: I72f21036fda795b54312a7d39f04c30bbf16c41b Change-Id: Icea9bd96e4c80a26b9e813d383f84099c736d7bf
Diffstat (limited to 'manifests/cluster')
-rw-r--r--manifests/cluster/cassandra.pp19
1 files changed, 9 insertions, 10 deletions
diff --git a/manifests/cluster/cassandra.pp b/manifests/cluster/cassandra.pp
index 39e6e5e..b20926b 100644
--- a/manifests/cluster/cassandra.pp
+++ b/manifests/cluster/cassandra.pp
@@ -60,15 +60,14 @@ class tripleo::cluster::cassandra(
# validate_array($cassandra_servers)
validate_ipv4_address($cassandra_ip)
- class {'::cassandra::run':
- seeds => $cassandra_servers,
- seed_address => $cassandra_ip,
- conf_dir => '/etc/cassandra/default.conf',
- pid_dir => '/var/run/cassandra',
- service_path => '/sbin',
- storage_port => $storage_port,
- ssl_storage_port => $ssl_storage_port,
- client_port => $client_port,
- client_port_thrift => $client_port_thrift
+ class {'::cassandra':
+ cluster_name => 'TripleO',
+ seeds => $cassandra_servers,
+ listen_address => $cassandra_ip,
+ storage_port => $storage_port,
+ ssl_storage_port => $ssl_storage_port,
+ native_transport_port => $client_port,
+ rpc_port => $client_port_thrift
}
+
}