Skip to content

Commit 2774966

Browse files
author
jamescott
committed
move to includes topic
1 parent ab603cf commit 2774966

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

chef_master/source/environments.rst

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,7 @@ Manage Environments
5454

5555
Find Environment from Recipe
5656
-----------------------------------------------------
57-
Use the following syntax to find the current environment from a recipe:
58-
59-
.. code-block:: ruby
60-
61-
node.environment()
62-
63-
or:
64-
65-
.. code-block:: ruby
66-
67-
node.chef_environment
57+
.. include:: ../../includes_environment/includes_environment_find_from_recipe.rst
6858

6959
Save in a Data Bag
7060
-----------------------------------------------------
@@ -89,6 +79,3 @@ Move Nodes
8979
Search Environments
9080
-----------------------------------------------------
9181
.. include:: ../../includes_search/includes_search_environment.rst
92-
93-
94-
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.. The contents of this file may be included in multiple topics (using the includes directive).
2+
.. The contents of this file should be modified in a way that preserves its ability to appear in multiple topics.
3+
4+
5+
Use the following syntax to find the current environment from a recipe:
6+
7+
.. code-block:: ruby
8+
9+
node.environment()
10+
11+
or:
12+
13+
.. code-block:: ruby
14+
15+
node.chef_environment

0 commit comments

Comments
 (0)