Skip to content

Commit

Permalink
Partial-Bug: #1413364
Browse files Browse the repository at this point in the history
Server Manager HA, configuration for mysql , nova , haproxy were
different from fab provisioning

1) Wrote a script to cluster gallera.

Change-Id: I4290d88b164fecec51cee950bffee115371956a8
  • Loading branch information
thilakrajs committed Feb 5, 2015
1 parent 68c2ce6 commit 393e2bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/server_mgr_puppet.py
Expand Up @@ -1927,6 +1927,14 @@ def build_contrail_hiera_file(
data += 'contrail::params::%s_user_list: %s\n' %(
role, str(role_users[role]))

if (server['id'] == role_ids['openstack'][0]) :
data += 'contrail::params::sync_db: %s\n' %(
"True")
else:
data += 'contrail::params::sync_db: %s\n' %(
"False")


# Retrieve and add all the cluster parameters specified.
data += self.add_cluster_parameters(cluster_params)
# Handle any other additional parameters to be added to yaml file.
Expand Down

0 comments on commit 393e2bf

Please sign in to comment.