Skip to content

Commit 9667754

Browse files
author
kuyan
committed
Code block type is 'console', not 'bash'.
1 parent 0eff17a commit 9667754

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/scenarios/admin.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ Systems Administration
44
Fabric
55
------
66

7-
`Fabric <http://docs.fabfile.org>`_ is a library for simplifying system administration tasks. While Chef
8-
and Puppet tend to focus on managing servers and system libraries,
9-
fabric is more focused on application level tasks such as deployment.
7+
`Fabric <http://docs.fabfile.org>`_ is a library for simplifying system
8+
administration tasks. While Chef and Puppet tend to focus on managing servers
9+
and system libraries, fabric is more focused on application level tasks such
10+
as deployment.
1011

1112
Install Fabric:
1213

13-
.. code-block:: bash
14+
.. code-block:: console
1415
1516
$ pip install fabric
1617
@@ -40,7 +41,7 @@ server.
4041
With the previous code saved in a file named fabfile.py, we can check memory
4142
usage with:
4243

43-
.. code-block:: bash
44+
.. code-block:: console
4445
4546
$ fab memory_usage
4647
[my_server1] Executing task 'memory'
@@ -59,7 +60,7 @@ usage with:
5960
6061
and we can deploy with:
6162

62-
.. code-block:: bash
63+
.. code-block:: console
6364
6465
$ fab deploy
6566
@@ -78,7 +79,7 @@ multiple servers using simple template files.
7879

7980
Salt supports python versions 2.6 and 2.7 and can be installed via pip:
8081

81-
.. code-block:: bash
82+
.. code-block:: console
8283
8384
$ pip install salt
8485
@@ -87,7 +88,7 @@ shell commands or use pre-built modules of complex commands on our minions.
8788

8889
The following command lists all available minion hosts, using the ping module.
8990

90-
.. code-block:: bash
91+
.. code-block:: console
9192
9293
$ salt '*' test.ping
9394
@@ -98,7 +99,7 @@ provide a host taxonomy for the salt modules.
9899

99100
The following command lists all available minions running CentOS using the grains system:
100101

101-
.. code-block:: bash
102+
.. code-block:: console
102103
103104
$ salt -G 'os:CentOS' test.ping
104105

0 commit comments

Comments
 (0)