Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/automate/client_runs.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Filter nodes from the search bar based on existing node information. You can app
[Chef Organization](/server_orgs/)
: A Chef Infra Server organization name.

[Chef Infra Server](/server_overview/)
[Chef Infra Server](/server/)
: A Chef Infra Server URL.

[Cookbook](/cookbooks/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ This section will discuss deploying Chef Automate HA on-premises machines with a

{{< /warning >}}

- Before proceeding with deployment steps make sure to [provision](/automate/ha_on_prem_deployment_procedure/#provisioning).
- Before proceeding with deployment steps make sure to [provision](/automate/ha_on_premises_deployment_procedure/#provisioning).

- [Run on the Bastion host](/automate/ha_on_prem_deployment_procedure/#deploy-the-bastion-host) to download the latest Automate CLI and Airgapped Bundle.
- [Run on the Bastion host](/automate/ha_on_premises_deployment_procedure/#deploy-the-bastion-host) to download the latest Automate CLI and Airgapped Bundle.

## Generate Chef Automate config

Expand Down
2 changes: 1 addition & 1 deletion content/automate/package_cleanup.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ Packages are stored in `/hab/pkgs`, with each package consuming:
- [Chef Automate CLI reference]({{< ref "cli.md" >}})
- [Chef Automate upgrade guide]({{< ref "upgrade.md" >}})
- [Chef Automate backup guide]({{< ref "backup.md" >}})
- [Chef Habitat Package Management](/habitat/on_prem_builder/packages/update_packages/)
- [Chef Habitat Package Management](/habitat/builder/on_prem/packages/update_packages/)

## Support

Expand Down
2 changes: 1 addition & 1 deletion content/automate/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Total tests

Severity
: The impact of a control, from 0 to 1.
See the Chef InSpec documentation for more information about the [severity measure](/inspec/dsl_inspec#syntax)
See the Chef InSpec documentation for more information about the [severity measure](/inspec/latest/profiles/controls/)

Selecting the shaded area next to the control name or the `+` on the right side expands the control to show a more detailed description.
Selecting **View Code** displays the control's InSpec code.
Expand Down
4 changes: 2 additions & 2 deletions content/azure_cwa_cloud_shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ machine.
Chef Workstation on Azure Cloud Shell lets you use:

- [chef](/workstation/latest/tools/ctl_chef/)
- [kitchen](/workstation/latest/kitchen/ctl_kitchen/)
- [kitchen](/workstation/latest/tools/kitchen/ctl_kitchen/)
- [inspec](/inspec/latest/reference/cli/)
- [knife](/workstation/latest/tools/knife/)
- [cookstyle](/workstation/cookstyle/)
Expand All @@ -39,4 +39,4 @@ Ensure you have an accessible Azure Cloud Shell instance. You may need
to create a storage account to use Azure Cloud Shell if you haven't used
it before in this tenant. For more information on accessing, setting up,
and using Azure Cloud Shell, see the [Cloud Shell
Documentation](https://docs.microsoft.com/en-us/azure/cloud-shell/quickstart).
Documentation](https://learn.microsoft.com/en-us/azure/cloud-shell/get-started/classic?tabs=azurecli).
14 changes: 3 additions & 11 deletions content/reusable/md/policyfile_rb_settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ A `Policyfile.rb` file may contain the following settings:

Possible values for `:SOURCE_TYPE` are:

- `:artifactory`
- `:chef_repo`
- `:chef_server`
- `:supermarket`

`:artifactory`
: Pulls cookbooks from an Artifactory server.

Expand Down Expand Up @@ -75,9 +70,7 @@ A `Policyfile.rb` file may contain the following settings:
default_source :supermarket, 'https://supermarket.example'
```

<div class="admonition-note">
<p class="admonition-note-title">Note</p>
<div class="admonition-note-text">
{{< note >}}

If a run-list or any dependencies require a cookbook that's present
in more than one source, be explicit about which source is
Expand All @@ -103,8 +96,7 @@ A `Policyfile.rb` file may contain the following settings:
end
```

</div>
</div>
{{< /note >}}

`cookbook "NAME" [, "VERSION_CONSTRAINT"] [, SOURCE_OPTIONS]`

Expand Down Expand Up @@ -270,7 +262,7 @@ A `Policyfile.rb` file may contain the following settings:
where:

- `ATTRIBUTE_TYPE` is either `default` or `override` as described above.
- `POLICY_GROUP` is a user-defined policy group, such as _dev_, _test_ _staging_, or _production_.
- `POLICY_GROUP` is a user-defined policy group, such as `dev`, `test`, `staging`, or `production`.

In the following example, the value of `default['attribute']` is set to either `dev_value` or `prod_value` depending on the policy group.

Expand Down
4 changes: 2 additions & 2 deletions content/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ resource "aws_instance" "web" {

The [Terraform Chef Provider](https://www.terraform.io/docs/providers/chef/index.html) allows you to manage Chef Infra Server resources (nodes, data bags, etc.) using the Chef Infra Server API. Policyfiles, cookbooks, clients, and ACLs aren't currently managed with the Provider. The [Terraform Chef Provider documentation](https://www.terraform.io/docs/providers/chef/index.html) provides a complete list of supported options and an example of usage. HashiCorp provides support for the Terraform Chef Provider and it's not officially supported by Chef Software.

## Additional Terraform Integrations
## Additional Terraform integrations

* [Kitchen Terraform](https://newcontext-oss.github.io/kitchen-terraform/) is a community [Test Kitchen](/kitchen/) driver that allows for multi-node testing.
* [Kitchen Terraform](https://newcontext-oss.github.io/kitchen-terraform/) is a community [Test Kitchen](/workstation/latest/tools/kitchen/) driver that allows for multi-node testing.
4 changes: 4 additions & 0 deletions content/workstation/install_workstation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
layout = "redirect"
redirect_url = "/workstation/latest/install/"
+++
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@
# Chef Workstation redirects
####

[[redirects]]
from = "/workstation/knife_*"
to = "/workstation/latest/tools/knife/knife_:splat"
status = 301

[[redirects]]
from = "/workstation/26/*"
to = "https://release-26--chef-workstation-docs.netlify.app/workstation/26/:splat"
Expand Down
8 changes: 8 additions & 0 deletions scripts/local-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,12 @@ echo Hugo env: $HUGO_ENV
npm install
npm ls

# Netlify CLI prepends node_modules/.bin to PATH when running this script.
# The pure-JS sass build in node_modules/.bin does not support the
# --embedded protocol that Hugo requires, causing an "unexpected EOF" error.
# Prepend the Homebrew bin directory so the native Dart Sass binary is
# found first.
BREW_PREFIX=$(brew --prefix 2>/dev/null || echo "/usr/local")
export PATH="${BREW_PREFIX}/bin:${PATH}"

hugo server -b localhost:1313
Loading