]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-12083] "Ceph" Should be capitalized in help output
authorTravis Rhoden <trhoden@redhat.com>
Fri, 19 Jun 2015 21:06:43 +0000 (14:06 -0700)
committerTravis Rhoden <trhoden@redhat.com>
Thu, 23 Jul 2015 23:27:59 +0000 (16:27 -0700)
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/admin.py
ceph_deploy/install.py
ceph_deploy/mon.py
ceph_deploy/new.py

index 0d7ba8a9dbee79a1f4545d995f720355847356fe..f21aff94be8e288ed6828a5ad75935df2eb70c69 100644 (file)
@@ -59,7 +59,7 @@ def make(parser):
         'client',
         metavar='HOST',
         nargs='+',
-        help='host to configure for ceph administration',
+        help='host to configure for Ceph administration',
         )
     parser.set_defaults(
         func=admin,
index 10cec3ba3ccce4f374e7c934006e6539203dba0f..9115c85405001ea2956bffdcab28a2d582f64493 100644 (file)
@@ -31,7 +31,7 @@ def sanitize_args(args):
 
 def detect_components(args, distro):
     """
-    Since the package split, now there are various different ceph components to
+    Since the package split, now there are various different Ceph components to
     install like:
 
     * ceph
@@ -131,7 +131,7 @@ def install(args):
             continue
 
         rlogger = logging.getLogger(hostname)
-        rlogger.info('installing ceph on %s' % hostname)
+        rlogger.info('installing Ceph on %s' % hostname)
 
         cd_conf = getattr(args, 'cd_conf', None)
 
@@ -264,7 +264,7 @@ def custom_repo(distro, args, cd_conf, rlogger, install_ceph=None):
 def install_repo(args):
     """
     For a user that only wants to install the repository only (and avoid
-    installing ceph and its dependencies).
+    installing Ceph and its dependencies).
     """
     cd_conf = getattr(args, 'cd_conf', None)
 
@@ -273,7 +273,7 @@ def install_repo(args):
         distro = hosts.get(
             hostname,
             username=args.username,
-            # XXX this should get removed once ceph packages are split for
+            # XXX this should get removed once Ceph packages are split for
             # upstream. If default_release is True, it means that the user is
             # trying to install on a RHEL machine and should expect to get RHEL
             # packages. Otherwise, it will need to specify either a specific
@@ -311,7 +311,7 @@ def uninstall(args):
             use_rhceph=True)
         LOG.info('Distro info: %s %s %s', distro.name, distro.release, distro.codename)
         rlogger = logging.getLogger(hostname)
-        rlogger.info('uninstalling ceph on %s' % hostname)
+        rlogger.info('uninstalling Ceph on %s' % hostname)
         distro.uninstall(distro)
         distro.conn.exit()
 
@@ -357,8 +357,8 @@ def purgedata(args):
         distro.conn.exit()
 
     if installed_hosts:
-        LOG.error("ceph is still installed on: %s", installed_hosts)
-        raise RuntimeError("refusing to purge data while ceph is still installed")
+        LOG.error("Ceph is still installed on: %s", installed_hosts)
+        raise RuntimeError("refusing to purge data while Ceph is still installed")
 
     for hostname in args.host:
         distro = hosts.get(hostname, username=args.username)
@@ -525,7 +525,7 @@ def make(parser):
         '--all',
         dest='install_all',
         action='store_true',
-        help='install all ceph components (e.g. mon,osd,mds,rgw). This is the default',
+        help='install all Ceph components (e.g. mon,osd,mds,rgw). This is the default',
     )
 
     repo = parser.add_mutually_exclusive_group()
@@ -573,7 +573,7 @@ def make(parser):
         '--repo-url',
         nargs='?',
         dest='repo_url',
-        help='specify a repo URL that mirrors/contains ceph packages',
+        help='specify a repo URL that mirrors/contains Ceph packages',
     )
 
     parser.add_argument(
index 8de59daebd0f3b233a2bef06b2c0a4ca95c6db85..a15849ffc8adc077d20c8c4b1a59abe226f7c78e 100644 (file)
@@ -526,7 +526,7 @@ def make(parser):
 
 def get_mon_initial_members(args, error_on_empty=False, _cfg=None):
     """
-    Read the ceph config file and return the value of mon_initial_members
+    Read the Ceph config file and return the value of mon_initial_members
     Optionally, a NeedHostError can be raised if the value is None.
     """
     if _cfg:
index 197f992a82ebe0d6f3725d3d72d23da549b9b311..359f6bfc94b7b756786a4035dd739d6f3f462d2e 100644 (file)
@@ -116,7 +116,7 @@ def get_public_network_ip(ips, public_subnet):
 
 def new(args):
     if args.ceph_conf:
-        raise RuntimeError('will not create a ceph conf file if attemtping to re-use with `--ceph-conf` flag')
+        raise RuntimeError('will not create a Ceph conf file if attemtping to re-use with `--ceph-conf` flag')
     LOG.debug('Creating new cluster named %s', args.cluster)
     cfg = conf.ceph.CephConf()
     cfg.add_section('global')