File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed
Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,7 @@ Manage Environments
5454
5555Find 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
6959Save in a Data Bag
7060-----------------------------------------------------
@@ -89,6 +79,3 @@ Move Nodes
8979Search Environments
9080-----------------------------------------------------
9181.. include :: ../../includes_search/includes_search_environment.rst
92-
93-
94-
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments