summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-01-27 18:14:05 +0530
committerLamont Granquist <lamont@scriptkiddie.org>2020-01-27 11:33:15 -0800
commit53323547cbde709da0c1fe7e58bd431ff48370de (patch)
tree8026daa9144c8385247fa30a26a3435d989a7d87
parentd7b479691c4d85b670187fd17191be1d23c88407 (diff)
downloadchef-53323547cbde709da0c1fe7e58bd431ff48370de.tar.gz
berks upload skip syntax check
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-rw-r--r--lib/chef/cookbook_uploader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook_uploader.rb b/lib/chef/cookbook_uploader.rb
index b9d4bfe5d1..816cbf95fe 100644
--- a/lib/chef/cookbook_uploader.rb
+++ b/lib/chef/cookbook_uploader.rb
@@ -47,7 +47,7 @@ class Chef
def upload_cookbooks
# Syntax Check
- validate_cookbooks
+ validate_cookbooks unless opts[:skip_syntax_check]
# generate checksums of cookbook files and create a sandbox
checksum_files = {}
cookbooks.each do |cb|