summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-28 16:22:14 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-28 16:22:14 -0700
commit4923ee5788b830e560d535628b9999e0f958ccf4 (patch)
treeffc29d3d12512c8b1773b291dbf6b296c5adc1ff
parenta4218e9c92348536d10e0d872e20fcd564a5c76a (diff)
downloadchef-4923ee5788b830e560d535628b9999e0f958ccf4.tar.gz
Formatting
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/scm/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/scm/git.rb b/lib/chef/resource/scm/git.rb
index 6d96d556eb..53f1a1f44a 100644
--- a/lib/chef/resource/scm/git.rb
+++ b/lib/chef/resource/scm/git.rb
@@ -59,7 +59,7 @@ class Chef
end
```
- Where the branch_name variable is set to staging or master, depending on the environment of the node. Once this is determined, the branch_name variable is used to set the revision for the repository. If the git status command is used after running the example above, it will return the branch name as deploy, as this is the default value. Run Chef Infra Client in debug mode to verify that the correct branches are being checked out:
+ Where the `branch_name` variable is set to staging or master, depending on the environment of the node. Once this is determined, the `branch_name` variable is used to set the revision for the repository. If the git status command is used after running the example above, it will return the branch name as `deploy`, as this is the default value. Run Chef Infra Client in debug mode to verify that the correct branches are being checked out:
```
sudo chef-client -l debug