diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-09-07 14:07:07 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-09-07 14:07:07 -0700 |
commit | 5f25faf5c6961665aab6625e64bf09fb2a45d708 (patch) | |
tree | 8ad7859463b22b84707664a3d9c74dc5b5085c94 /lib | |
parent | 6bb6fcf2365329d3d1760221d36e3b4e17872e9f (diff) | |
download | chef-zero-https.tar.gz |
Update http -> https links in tests / commmentshttps
We have to update our test link to get chef-server to pass. I updated
all the comments while I was there.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef_zero/data_store/data_already_exists_error.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/data_store/data_error.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/data_store/data_not_found_error.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/data_store/memory_store.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/data_store/memory_store_v2.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/data_store/raw_file_store.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/data_store/v2_to_v1_adapter.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/endpoints/license_endpoint.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/rest_base.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/server.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/socketless_server_map.rb | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/lib/chef_zero/data_store/data_already_exists_error.rb b/lib/chef_zero/data_store/data_already_exists_error.rb index f9bcba3..bbc0525 100644 --- a/lib/chef_zero/data_store/data_already_exists_error.rb +++ b/lib/chef_zero/data_store/data_already_exists_error.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/data_store/data_error.rb b/lib/chef_zero/data_store/data_error.rb index c528a4a..5d8e403 100644 --- a/lib/chef_zero/data_store/data_error.rb +++ b/lib/chef_zero/data_store/data_error.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/data_store/data_not_found_error.rb b/lib/chef_zero/data_store/data_not_found_error.rb index ef02353..55ec8f9 100644 --- a/lib/chef_zero/data_store/data_not_found_error.rb +++ b/lib/chef_zero/data_store/data_not_found_error.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/data_store/memory_store.rb b/lib/chef_zero/data_store/memory_store.rb index cc76b23..cc61388 100644 --- a/lib/chef_zero/data_store/memory_store.rb +++ b/lib/chef_zero/data_store/memory_store.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/data_store/memory_store_v2.rb b/lib/chef_zero/data_store/memory_store_v2.rb index 10ed007..d853fe0 100644 --- a/lib/chef_zero/data_store/memory_store_v2.rb +++ b/lib/chef_zero/data_store/memory_store_v2.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/data_store/raw_file_store.rb b/lib/chef_zero/data_store/raw_file_store.rb index fbe6888..8a59a9e 100644 --- a/lib/chef_zero/data_store/raw_file_store.rb +++ b/lib/chef_zero/data_store/raw_file_store.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/data_store/v2_to_v1_adapter.rb b/lib/chef_zero/data_store/v2_to_v1_adapter.rb index cfb7132..65a37cc 100644 --- a/lib/chef_zero/data_store/v2_to_v1_adapter.rb +++ b/lib/chef_zero/data_store/v2_to_v1_adapter.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/endpoints/license_endpoint.rb b/lib/chef_zero/endpoints/license_endpoint.rb index 1e5aece..25922da 100644 --- a/lib/chef_zero/endpoints/license_endpoint.rb +++ b/lib/chef_zero/endpoints/license_endpoint.rb @@ -17,7 +17,7 @@ module ChefZero "limit_exceeded" => (node_count > MAX_NODE_COUNT) ? true : false, "node_license" => MAX_NODE_COUNT, "node_count" => node_count, - "upgrade_url" => "http://blah.com", + "upgrade_url" => "https://blah.com", }) end end diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb index be50de2..d735c1e 100644 --- a/lib/chef_zero/rest_base.rb +++ b/lib/chef_zero/rest_base.rb @@ -68,7 +68,7 @@ module ChefZero def accepts?(request, category, type) # If HTTP_ACCEPT is not sent at all, assume it accepts anything - # This parses as per http://tools.ietf.org/html/rfc7231#section-5.3 + # This parses as per https://datatracker.ietf.org/doc/html/rfc7231#section-5.3 return true unless request.env["HTTP_ACCEPT"] accepts = request.env["HTTP_ACCEPT"].split(/,\s*/).map { |x| x.split(";", 2)[0].strip } diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb index aac9c5e..f15fb12 100644 --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/socketless_server_map.rb b/lib/chef_zero/socketless_server_map.rb index 53ca476..a52c2f5 100644 --- a/lib/chef_zero/socketless_server_map.rb +++ b/lib/chef_zero/socketless_server_map.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, |