From e0400e799ea3e264309ec9ed419d2127945611be Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 19 Sep 2013 11:01:18 -0400 Subject: [PATCH] make sure to user cluster when specified Signed-off-by: Alfredo Deza --- ceph_deploy/hosts/centos/mon/create.py | 2 ++ ceph_deploy/hosts/debian/mon/create.py | 2 ++ ceph_deploy/hosts/fedora/mon/create.py | 2 ++ ceph_deploy/hosts/suse/mon/create.py | 2 ++ 4 files changed, 8 insertions(+) diff --git a/ceph_deploy/hosts/centos/mon/create.py b/ceph_deploy/hosts/centos/mon/create.py index c8cc2bc..32ffe42 100644 --- a/ceph_deploy/hosts/centos/mon/create.py +++ b/ceph_deploy/hosts/centos/mon/create.py @@ -18,6 +18,8 @@ def create(distro, logger, args, monitor_keyring): [ service, 'ceph', + '-c', + '/etc/ceph/{cluster}.conf'.format(cluster=args.cluster), 'start', 'mon.{hostname}'.format(hostname=hostname) ], diff --git a/ceph_deploy/hosts/debian/mon/create.py b/ceph_deploy/hosts/debian/mon/create.py index ea4d2d8..fcf22a2 100644 --- a/ceph_deploy/hosts/debian/mon/create.py +++ b/ceph_deploy/hosts/debian/mon/create.py @@ -34,6 +34,8 @@ def create(distro, logger, args, monitor_keyring): [ service, 'ceph', + '-c', + '/etc/ceph/{cluster}.conf'.format(cluster=args.cluster), 'start', 'mon.{hostname}'.format(hostname=hostname) ], diff --git a/ceph_deploy/hosts/fedora/mon/create.py b/ceph_deploy/hosts/fedora/mon/create.py index 687736f..e7c2e45 100644 --- a/ceph_deploy/hosts/fedora/mon/create.py +++ b/ceph_deploy/hosts/fedora/mon/create.py @@ -19,6 +19,8 @@ def create(distro, logger, args, monitor_keyring): [ service, 'ceph', + '-c', + '/etc/ceph/{cluster}.conf'.format(cluster=args.cluster), 'start', 'mon.{hostname}'.format(hostname=hostname) ], diff --git a/ceph_deploy/hosts/suse/mon/create.py b/ceph_deploy/hosts/suse/mon/create.py index 687736f..e7c2e45 100644 --- a/ceph_deploy/hosts/suse/mon/create.py +++ b/ceph_deploy/hosts/suse/mon/create.py @@ -19,6 +19,8 @@ def create(distro, logger, args, monitor_keyring): [ service, 'ceph', + '-c', + '/etc/ceph/{cluster}.conf'.format(cluster=args.cluster), 'start', 'mon.{hostname}'.format(hostname=hostname) ], -- 2.47.3