Skip to content

Commit

Permalink
Merge pull request #2795 from chef/pricing_page
Browse files Browse the repository at this point in the history
Update URLs for our pricing page
  • Loading branch information
tas50 committed Sep 7, 2021
2 parents 067b093 + bf9b519 commit 6ce3468
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs-chef-io/content/server/api_chef_server.md
Expand Up @@ -363,7 +363,7 @@ The response is similar to:
"limit_exceeded": false,
"node_license": 25,
"node_count": 12,
"upgrade_url": "http://www.chef.io/contact/on-premises-simple"
"upgrade_url": "https://www.chef.io/pricing"
}
```

Expand Down Expand Up @@ -394,7 +394,7 @@ number of nodes that are under license:
</tr>
<tr class="even">
<td><code>license['upgrade_url']</code></td>
<td>The URL to visit for more information about how to update the number of nodes licensed for an organization. Default value: <code>"http://www.chef.io/contact/on-premises-simple"</code>.</td>
<td>The URL to visit for more information about how to update the number of nodes licensed for an organization. Default value: <code>"https://www.chef.io/pricing"</code>.</td>
</tr>
</tbody>
</table>
Expand Down
Expand Up @@ -94,7 +94,7 @@ Chef Infra Server versions earlier than 14.5 that are configured with `nginx['en

: The URL to visit for more information about how to update the number
of nodes licensed for an organization. Default value:
`'http://www.chef.io/contact/on-premises-simple'`.
`https://www.chef.io/pricing'`.

`notification_email`

Expand Down
Expand Up @@ -90,7 +90,7 @@ Chef Infra Server versions earlier than 14.5 configured with `nginx['enable_non_

: The URL to visit for more information about how to update the number
of nodes licensed for an organization. Default value:
`'http://www.chef.io/contact/on-premises-simple'`.
`'https://www.chef.io/pricing'`.

`notification_email`

Expand Down
5 changes: 2 additions & 3 deletions oc-chef-pedant/spec/api/license_spec.rb
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
# Author:: Douglas Triggs (<doug@chef.io>)
# Copyright:: Copyright (c) 2014 Chef, Inc.
# Copyright:: Copyright (c) Chef Software, Inc.

require 'pedant/rspec/node_util'

Expand All @@ -19,7 +18,7 @@
"limit_exceeded" => (node_count > MAX_NODE_COUNT ) ? true : false,
"node_license" => MAX_NODE_COUNT,
"node_count" => node_count,
"upgrade_url" => /^http\:\/\.*/
"upgrade_url" => /^https\:\/\.*/
}}

context "GET /license" do
Expand Down
Expand Up @@ -44,7 +44,7 @@
default['private_chef']['from_email'] = '"Opscode" <donotreply@chef.io>'
default['private_chef']['role'] = 'standalone'
default['private_chef']['license']['nodes'] = 25
default['private_chef']['license']['upgrade_url'] = 'http://www.chef.io/contact/on-premises-simple'
default['private_chef']['license']['upgrade_url'] = 'https://www.chef.io/pricing'

default['private_chef']['default_orgname'] = nil

Expand Down
2 changes: 1 addition & 1 deletion src/oc_erchef/habitat/config/sys.config
Expand Up @@ -103,7 +103,7 @@
%% their own logical section, but erlang requires these to
%% be part of a loaded application
{node_license, {{node_license}} },
{upgrade_url, <<"http://www.chef.io/contact/on-premises-simple">>},
{upgrade_url, <<"https://www.chef.io/pricing">>},
{max_request_size, {{max_request_size }} },
{server_version, "{{server_version}}"},
{health_ping_timeout, 400},
Expand Down
2 changes: 1 addition & 1 deletion src/oc_erchef/raml-docs/schemas/server-license.json
Expand Up @@ -24,6 +24,6 @@
"limit_exceeded": true,
"node_license": 25,
"node_count": 370007,
"upgrade_url": "http://www.chef.io/contact/on-premises-simple"
"upgrade_url": "https://www.chef.io/pricing"
}
}

0 comments on commit 6ce3468

Please sign in to comment.