On some distributions (e.g., CentOS), you may receive an error while trying
to execute ``ceph-deploy`` commands. If ``requiretty`` is set
by default, disable it by executing ``sudo visudo`` and locate the
- ``Default requiretty`` setting. Change it to ``Default:ceph !requiretty`` to
+ ``Defaults requiretty`` setting. Change it to ``Defaults:ceph !requiretty`` to
ensure that ``ceph-deploy`` can connect using the ``ceph`` user and execute
commands with ``sudo``.
.. _placement group: ../../rados/operations/placement-groups
.. _Monitoring a Cluster: ../../rados/operations/monitoring
.. _Monitoring OSDs and PGs: ../../rados/operations/monitoring-osd-pg
-.. _Network Configuration Reference: ../../rados/configuration/network-config-ref
\ No newline at end of file
+.. _Network Configuration Reference: ../../rados/configuration/network-config-ref
.. note:: Some distributions (e.g., RHEL) require you to comment out
- ``Default requiretty`` in the ``/etc/sudoers`` file for ``ceph-deploy`` to
+ ``Defaults requiretty`` in the ``/etc/sudoers`` file for ``ceph-deploy`` to
work properly. If editing, ``/etc/sudoers``, ensure that you use
``sudo visudo`` rather than a text editor.