|
1 | 1 | +++ |
2 | | -title = "Create an Origin" |
3 | | -description = "Create an Origin on Chef Habitat Builder" |
| 2 | +title = "Overview of Chef Habitat Builder origins" |
4 | 3 | gh_repo = "habitat" |
5 | 4 |
|
6 | 5 | [menu] |
7 | 6 | [menu.habitat] |
8 | | - title = "Create an Origin" |
9 | | - identifier = "habitat/origins Create an Origin" |
| 7 | + title = "Overview" |
| 8 | + identifier = "habitat/origins/overview" |
10 | 9 | parent = "habitat/origins" |
11 | 10 | weight = 10 |
12 | 11 | +++ |
13 | 12 |
|
14 | | -An origin is a space on Chef Habitat Builder where you can store, share, and build packages. It is a unique namespace within Chef Habitat Builder, and while you can delete or transfer an origin, you can't rename an origin after it is created. One example of an origin is the "core" origin, which is the set of foundational packages managed and versioned by the core Chef Habitat maintainers. |
| 13 | +{{< readfile file="/habitat/reusable/md/builder_origins.md" >}} |
15 | 14 |
|
16 | | -You can join existing origins by invitation and you can create your own origins. |
17 | | -For more on invitations, see [origin membership and RBAC]({{< relref "origin_rbac.md#origin-membership" >}}). |
| 15 | +## Chef-owned origins |
18 | 16 |
|
19 | | -### Create an Origin |
| 17 | +Progress Chef maintains the following origins: |
20 | 18 |
|
21 | | - |
| 19 | +- **core**: Hosts packages for common dependencies and compilers maintained by Progress Chef. |
| 20 | +- **chef**: Hosts packages for Chef products like Chef Infra Client, Chef InSpec, and Chef Automate. |
| 21 | +- **chef-platform**: Hosts packages for Chef 360 Platform skills. |
| 22 | +- **habitat**: Hosts packages required for an on-prem Habitat Builder deployment. |
22 | 23 |
|
23 | | -To create an origin, select the **Create origin** button on the _My Origins_ page which opens the _Create New Origin_ form. (Chef Habitat Builder > My Origins ) |
| 24 | +## Where can I create an origin |
24 | 25 |
|
25 | | - |
| 26 | +You can create origins in an on-prem Habitat Builder deployment. |
| 27 | +[Chef's public Habitat Builder](https://bldr.habitat.sh) doesn't support creating new origins. |
26 | 28 |
|
27 | | -First, enter a unique name that you want to associate with your packages. Chef Habitat will only let you create an origin with a unique name. Some examples that you'll see in Chef Habitat Builder are team names, user names, and abstract concepts. |
| 29 | +## Create an origin |
28 | 30 |
|
29 | | -Next, choose a privacy setting to set as the default for new packages. You can override this setting when uploading individual packages from the CLI or by connecting a plan file that declares a package as private. The difference between public and private packages is: |
| 31 | +{{< readfile file="/habitat/reusable/md/create_origins_builder.md" >}} |
30 | 32 |
|
31 | | -- Anyone can find and use public packages |
32 | | -- Only users with origin membership can find and use private packages |
| 33 | +### Create an origin with the Chef Habitat CLI |
33 | 34 |
|
34 | | -When you select **Save and Continue**, Chef Habitat Builder: |
| 35 | +{{< readfile file="/habitat/reusable/md/create_origins_cli.md" >}} |
35 | 36 |
|
36 | | -1. Creates your origin |
37 | | -1. Creates an [origin key pair]({{< relref "origin_keys.md" >}}) |
38 | | -1. Redirects Chef Habitat Builder to the origin page |
39 | | - |
40 | | - |
41 | | - |
42 | | -#### Create an Origin with the Chef Habitat CLI |
43 | | - |
44 | | -Use the [hab origin]({{< relref "habitat_cli.md#hab-origin" >}}) commands to manage your origins from the command line. |
45 | | - |
46 | | -Create an origin from the command line with the [hab origin create]({{< relref "habitat_cli.md#hab-origin-create" >}}) command |
47 | | - |
48 | | -```bash |
49 | | -hab origin create <origin> |
50 | | -``` |
51 | | - |
52 | | -The results of this command differ slightly from creating an origin on the Chef Habitat Builder site. The CLI command: |
53 | | - |
54 | | -1. Creates an origin on the Chef Habitat Builder site |
55 | | -1. Does _not_ generate an origin key pair |
56 | | - |
57 | | -For more information, see the [`hab origin create`]({{< relref "habitat_cli.md#hab-origin-create" >}}) CLI documentation. |
| 37 | +To create key pair for your origin, see the [origin keys]({{< relref "/habitat/origin_keys/#generate-origin-keys" >}}) documentation. |
0 commit comments