@@ -441,13 +441,13 @@ All other fields are contained within the `data` attribute.
441
441
Extracted artifacts can be validated with the ` chef-cli ` using the following command:
442
442
443
443
``` bash
444
- $ chef-cli validate-data -m external_domain_metadata.json -r issue < extractor_issues_2.json
444
+ chef-cli validate-data -m external_domain_metadata.json -r issue < extractor_issues_2.json
445
445
```
446
446
447
447
You can also generate example data to show the format the data has to be normalized to, using:
448
448
449
449
``` bash
450
- $ echo ' {}' | chef-cli fuzz-extracted -r issue -m external_domain_metadata.json > example_issues.json
450
+ echo ' {}' | chef-cli fuzz-extracted -r issue -m external_domain_metadata.json > example_issues.json
451
451
```
452
452
453
453
## Deploy your snapin in your test org, and run an import.
@@ -470,7 +470,7 @@ chef-cli ctx switch --env prod
470
470
This will print the list of airdrop imports in the org. Select the one you like by running
471
471
472
472
``` bash
473
- $ eval $( chef-cli ctx switch --env -- prod --id < the id you choose> ) ; chef-cli ctx show
473
+ eval $( chef-cli ctx switch --env prod --id < the id you choose> ) ; chef-cli ctx show
474
474
```
475
475
476
476
If this method doesn't work, you can manually export the variable (replacing the values based on the logs of your running import):
@@ -482,12 +482,12 @@ export AIRDROP_CONTEXT='{"run_id":"1","mode":"initial","connection_id":"x","migr
482
482
Or you can use the interactive helper of the cli:
483
483
484
484
``` bash
485
- $ eval $( chef-cli ctx init) ; chef-cli ctx show > ctx.json
485
+ eval $( chef-cli ctx init) ; chef-cli ctx show > ctx.json
486
486
```
487
487
488
488
## Use the local UI to create a recipe blueprint for your initial import:
489
489
490
- ` $ chef-cli configure-mappings --env prod`
490
+ ` chef-cli configure-mappings --env prod `
491
491
492
492
If your org is no in US-East-1, you have to override an environment variable to make sure the tool reaches to the right server, eg:
493
493
0 commit comments