summaryrefslogtreecommitdiff
path: root/cspell.json
Commit message (Collapse)AuthorAgeFilesLines
* Add efivarfs to list of non-existent mount devices (#13683)Animesh Sahu2023-05-161-0/+1
| | | Signed-off-by: Animeshz <animeshsahu19@yahoo.com>
* feat(apt_repository): Allow specifying arbitrary options (#13728)Thayne McCombs2023-05-031-0/+1
| | | | | | | | | This allows specifying additional options to apt repositories, in addition to `trusted` and `arch`. By using an array of strings we also allow using multivalue operators like -= and += Fixes: #13727 Signed-off-by: Thayne McCombs <thayne@lucid.co>
* Automate manual certificate setup step used in kitchen tests (#13714)neha-p62023-05-031-0/+1
| | | Signed-off-by: Neha Pansare <neha.pansare@progress.com>
* chore: Use the `chef_dictionary` directly. (#13467)Jason Dent2023-02-281-8/+5
| | | | | | | `cspell` and `cspell-action` now support fetching remote dictionaries. Note: the file format `version` is now "0.2". Signed-off-by: Jason Dent <jason@steetsidesoftware.nl>
* Update pre-install cleanup (#13562)Vikram Karve2023-02-141-0/+1
| | | | | | | Script now updated to first attempt direct folder deletion. Fall back to existing move-delete strategy only if that doesn't work, likely due to EBUSY error on RHEL --------- Signed-off-by: Vikram Karve <vikram.karve@progress.com> Co-authored-by: Phil Dibowitz <phil@ipom.com>
* hab debugging doc (#13571)tpowell-progress2023-02-141-0/+1
| | | | | * hab debugging doc created after trying to reproduce effortless bug Signed-off-by: Thomas Powell <powell@progress.com>
* add esoteric platforms to validate adhoc/release pipelines (#13546)Evan Ahlberg2023-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * run pre-command on all verify pipelines * update pre-command to pull aws credentials on both chef and chef canary * update pre-command pipeline names * add esoteric builds * add build_timestamp environment variable * update sha on omnibus plugin * skip transitive depenceny licensing for chef-foundation * use chef-foundation * remove notarize * add solaris tests * add aix tests * add all esoteric platforms * Adding in changes to run publish of omnibus packages to Artifactory, as well as related gems for Linux/Windows * set lib path in chef omnibus * move lib dirs to software * Adding in if statement around artifactory api key, as its not needed for macOS (only Artifactory password needed) * Log every macho? * Fixing regex check * Extend the bin dirs and lib dirs. * remove mac osx 10 * Remove lib dirs. * Update the version of omnibus-buildkite-plugin. * Fixing unbound variable error on filter; Fixing notarize macOS so it doesn't run when macOS is filtered out of build * Adding in changes to retry/timeout on esoteric builds; Adding in dependency check on macOS Notarize * add build record step on validate/release pipeline * fix comparison for pipeline slug * Adding in code to promote the packages when runnong validate/release * remove comments and fix omnibus branch * Fixing potential issue with BUILDKITE_BUILD_CREATOR_TEAMS being unset * get role attached to ec2 server instead of hardcoding * Update omnibus bundle with license_scout * Dynamically determine the version of ruby. * replace . with _ in notraize step * Move lib_dirs logic to chef-foundation * remove skip_transitive_depenency_licensing and add comments to build/test arrays * increase timeout on esoteric to 120 mins * fix mac osx depends on and update pipeline name to regex * align omnibus plugin version to 0.2.83 * add check for centos6 in omnibus-test.sh * add comments for empty array check --------- Signed-off-by: Evan Ahlberg <evanahlberg@gmail.com> Signed-off-by: Jesse Prieur <jesse.prieur@gmail.com> Signed-off-by: Gregory Schofield <grschofi@progress.com> Co-authored-by: Jesse Prieur <jesse.prieur@gmail.com> Co-authored-by: Gregory Schofield <grschofi@progress.com>
* Updating CONTRIBUTING.md and how to release (#13484)tpowell-progress2023-01-181-0/+1
| | | | | to specifically call out some merging and branching practices as well as troubleshooting of release and order of operations. Signed-off-by: Thomas Powell <powell@progress.com>
* Added or Corrected spelling and corrected a Python exception handler which ↵John2022-12-211-0/+6
| | | | | | was incorrectly using a comma Signed-off-by: John <john.mccrae@progress.com>
* Updating the docs, post Chef-18, to clarify how the release processJohn2022-12-121-0/+1
| | | | | | should flow. Signed-off-by: John <john.mccrae@progress.com>
* Integrate ruby 3.1 into buildsJohn McCrae2022-08-231-0/+1
| | | | | | | | | This is a combination of 64 commits, the originals were mostly repeating one-line messages so that history has not been kept here. Signed-off-by: Thomas Powell <thomas.powell@progress.com> Signed-off-by: Marc Paradise <marc@chef.io> Signed-off-by: John McCrae <john.mccrae@progress.com>
* Fix SSL, git error, disable resolv conf testThomas Powell2022-08-221-0/+4
| | | | Signed-off-by: Thomas Powell <powell@progress.com>
* Merge pull request #11626 from ↵John McCrae2022-06-141-0/+1
|\ | | | | | | MsysTechnologiesllc/smriti/3884_mounting_cifs_shares_with_spaces
| * Renamed device_with_space_escape and added explanation commentspratixha2022-04-061-0/+1
| | | | | | | | Signed-off-by: pratixha <pratiksha.prajapati@msystechnologies.com>
* | Updated files to account for pem storage in the Certificate StoreJohn McCrae2022-05-261-0/+1
| | | | | | | | Signed-off-by: John McCrae <jmccrae@chf.io>
* | Merge pull request #12837 from ↵John McCrae2022-05-081-0/+2
|\ \ | | | | | | | | | chef/dependabot/bundler/omnibus/main/berkshelf-8.0.0
| * | Updated the recipe to remove Git completely before updating it.John McCrae2022-05-081-1/+0
| | | | | | | | | | | | Signed-off-by: John McCrae <jmccrae@chf.io>
| * | Updated the recipe to remove Git completely before updating it.John McCrae2022-05-081-0/+1
| | | | | | | | | | | | Signed-off-by: John McCrae <jmccrae@chf.io>
| * | Updated the recipe to remove Git completely before updating it.John McCrae2022-05-051-0/+1
| | | | | | | | | | | | Signed-off-by: John McCrae <jmccrae@chf.io>
| * | Updated the recipe to remove Git completely before updating it.John McCrae2022-05-051-0/+1
| | | | | | | | | | | | Signed-off-by: John McCrae <jmccrae@chf.io>
* | | add expire and inactive options to linux user resource (#11659)Corey Hemminger2022-05-031-0/+1
|/ / | | | | | | | | | | | | * add expire and inactive options to linux user resource * fix spell check * add tests Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
* | SELinux integration to infra client (#12694)neha-p62022-04-111-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 1. Add resources for SELlinux 2. Add common helper for SELinux under a new subdirectory 3. Wire files together with corresponding changes Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 3. Include SElinux CommonHelper under action_class for corresponding resources as it uses shell_out! 4. Add SELinux config file templates for debian and default versions Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 5.Add local mode true to correctly parse template from selinux_state resource Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 6. Remove SELinux cookbook dependency from kitchen-tests as SELinux resources are now part of core chef client, update linux.rb recipe to use corresponding SELinux resources instead of include_recipe Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 7. Add unit test cases for SELinux resources 8. Add documentation for SELinux resources Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 9. Obvious fix: code linting and spellcheck Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 10. Add code linting changes. 11. Add missing comma in cspell.json resulting in issue Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 12. Add linting and spellcheck changes Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 13. Add documentation for SELinux resources for all properties, actions with examples 14. Added permissive SELinux policy for en_to_end kitchen test Signed-off-by: Neha Pansare <neha.pansare@progress.com> * 15. Fix chefstyle linting 16. Update few shell_out calls to use array format of input parameters Signed-off-by: Neha Pansare <neha.pansare@progress.com>
* | Merge branch 'main' into jfm/platform_updatesJohn McCrae2022-04-071-1/+8
|\ \ | |/
| * cspell fixesLamont Granquist2022-04-011-1/+7
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * updating gemlock filesJohn McCrae2022-03-221-0/+1
| | | | | | | | Signed-off-by: John McCrae <john.mccrae@progress.com>
* | Updating RUBY_PLATFORM on Windows for Ruby 3.1 compatibilityJohn McCrae2022-04-071-0/+1
|/
* Adding support to move the client.pem to secure storageJohn McCrae2022-01-261-1/+0
| | | | Signed-off-by: John McCrae <jmccrae@chf.io>
* Adding support to move the client.pem to secure storageJohn McCrae2022-01-261-0/+2
| | | | Signed-off-by: John McCrae <jmccrae@chf.io>
* Merge pull request #10823 from chef/lcg/yum-versionfixLamont Granquist2021-12-161-0/+2
|\
| * cspell naggingLamont Granquist2021-12-151-0/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Adds approle support for Chef::SecretFetcher::HashiVaultCollin McNeese2021-12-141-0/+1
|/ | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>
* Mount: resource with loop option not idempotentsmriti2021-11-301-0/+1
| | | | Signed-off-by: smriti <sgarg@msystechnologies.com>
* Add allow_downgrade back to DNFLamont Granquist2021-11-291-0/+5
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* adds servicelevel to cspellCollin McNeese2021-10-301-0/+1
| | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>
* spellcheck fix in cspellCollin McNeese2021-10-291-0/+2
| | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>
* Add a few chef/chef specific spellings to the cspell fileTim Smith2021-10-181-1/+12
| | | | | | The other stuff is in the company dictionary now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Skip the cspell config and MVPs file in cspellTim Smith2021-10-161-1/+3
| | | | | | No need to check these Signed-off-by: Tim Smith <tsmith@chef.io>
* Start over in the cspell fileTim Smith2021-10-161-514/+134
| | | | | | Now that we don't have the release notes in this repo most of this can probably go. Signed-off-by: Tim Smith <tsmith@chef.io>
* Check for ca_key_file before loading ca keymp/chef-12091Marc A. Paradise2021-09-271-0/+1
| | | | | | | | | | | Checking for csr_file wasn't correct, because that's not what we're using to load the ca key. This also adds an inspec verification to ensure that the generated `openssl_x509_certificate` in the _openssl.rb test is valid. It fails without the supporting change. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* Merge pull request #12029 from chef/jfm/powershell_package_sourceJohn McCrae2021-09-251-0/+8
|\
| * Updated the package source resource to accept credentials and updated the ↵John McCrae2021-09-151-0/+8
| | | | | | | | | | | | code to be more readable Signed-off-by: John McCrae <john.mccrae@progress.com>
* | Expand examples and fix cspell warningsTim Smith2021-09-221-1/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | cspellLamont Granquist2021-09-221-0/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Fix spelling and chefstyle issuesTim Smith2021-09-141-0/+1
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Move some words to the global dictionaryTim Smith2021-07-311-58/+0
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix cspell configTim Smith2021-07-301-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Fixed spellchecksnehaldwivedi2021-07-151-0/+1
| | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
* Add habitat resources + content rendering helpers for json/toml/yaml (#11577)Jeff Brimager2021-07-081-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commiting new resources to clean branch Signed-off-by: Jeff Brimager <jbrimager@chef.io> * reworked toml_dumper resource helper to make sure all end statements were correct and it was being made available to other resource Signed-off-by: Jeff Brimager <jbrimager@chef.io> * changing implementation of toml_deumper to match how the cron_validations helper was implemented Signed-off-by: Jeff Brimager <jbrimager@chef.io> * changing implementation of toml_dumper to match how the cron_validations helper was implemented Signed-off-by: Jeff Brimager <jbrimager@chef.io> * calling toml dumper as a method Signed-off-by: Jeff Brimager <jbrimager@chef.io> * testing new method for toml_dumper helper Signed-off-by: Jeff Brimager <jbrimager@chef.io> * adding "use" statement for toml helper in habitat_config and habitat_toml Signed-off-by: Jeff Brimager <jbrimager@chef.io> * fixing relational mapping with toml_dumper Signed-off-by: Jeff Brimager <jbrimager@chef.io> * using Chef::ResourceHelper::TomlDumper as method to create toml Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correcting syntax error for Chef::ResourceHelpers:: in the habitat_config and habitat_user_toml resource Signed-off-by: Jeff Brimager <jbrimager@chef.io> * adding a render helper Signed-off-by: Jeff Brimager <jbrimager@chef.io> * moved files to correct directories for render_helpers and corrected resource syntax Signed-off-by: Jeff Brimager <jbrimager@chef.io> * chefstyle corrections Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed renderhelers form chef-utils. there by mistake Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected class for render helpers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * fixed broken end statement in chef/dsl/toml.rb Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected render helper class syntax line 23. was set as a module ; Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected dsl helper mapping for render_helpers in spec tests Signed-off-by: Jeff Brimager <jbrimager@chef.io> * wiring chef-utls/internal to render_helpers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * remove "include internal" from render_helpers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed old helper from habitat_config and habitat_user_toml resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed old helper from habitat_config and habitat_user_toml resources Signed-off-by: Jeff <jbrimager@gmail.com> * removed old helper from habitat_config and habitat_user_toml resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * chefstyle corrections on render_helpers_spec Signed-off-by: Jeff Brimager <jbrimager@chef.io> * chefstyle corrections on chef-utils/lib/chef-utils.rb Signed-off-by: Jeff Brimager <jbrimager@chef.io> * added all documentation to resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaned up render_helper_spec.rb Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaning up spellcheck errors Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing unused variable from habitat package provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correecting bad syntaxt in habitat_package Signed-off-by: Jeff Brimager <jbrimager@chef.io> * temporarioly remove prperty descriptions from habitat_install Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing documentation changes the habitat_package and habitat_sup as well Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaninig up commented issues Signed-off-by: Jeff Brimager <jbrimager@chef.io> * added all property descriptions back to habitat resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected chefstule errros Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaned up descriptions in habitat_install Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaning up bad trailing spaces Signed-off-by: Jeff Brimager <jbrimager@chef.io> * fixed kitchen runlist for linux Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing habitat from package providers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaned up bad character in habitat install Signed-off-by: Jeff Brimager <jbrimager@chef.io> * fixed habitat_package resource Signed-off-by: Jeff Brimager <jbrimager@chef.io> * changing how habitat_package connects to its provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * converted habitat_package_provider to a resource class Signed-off-by: Jeff Brimager <jbrimager@chef.io> * chefstyle corrections made Signed-off-by: Jeff Brimager <jbrimager@chef.io> * connecting habitat_package with _provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * testing habitat_package_provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * changing resource method for habit_package_provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * more chefstyle corrections Signed-off-by: Jeff Brimager <jbrimager@chef.io> * reverted changes Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correcting end statements and bad syntax Signed-off-by: Jeff Brimager <jbrimager@chef.io> * trying to alter habitat_package_provider to work as a resource Signed-off-by: Jeff Brimager <jbrimager@chef.io> * altering the methods for remove_package in habitat_provider_package Signed-off-by: Jeff Brimager <jbrimager@chef.io> * mapping exceptions to habitat package provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * habitat_package resource connected to habitat_package_provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed V2 hab version compare from habitat_package provider we will only support systemd moving forward Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing yesterdays changes to see if they are causing the issue with habitat_sup Signed-off-by: Jeff Brimager <jbrimager@chef.io> * reverting the habitat_package provider to previous state Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing bad test Signed-off-by: Jeff Brimager <jbrimager@chef.io> * restored the version_compare in habitat provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correcting spellcheck issues Signed-off-by: Jeff Brimager <jbrimager@chef.io> * commiting new resources to clean branch Signed-off-by: Jeff Brimager <jbrimager@chef.io> * reworked toml_dumper resource helper to make sure all end statements were correct and it was being made available to other resource Signed-off-by: Jeff Brimager <jbrimager@chef.io> * changing implementation of toml_deumper to match how the cron_validations helper was implemented Signed-off-by: Jeff Brimager <jbrimager@chef.io> * changing implementation of toml_dumper to match how the cron_validations helper was implemented Signed-off-by: Jeff Brimager <jbrimager@chef.io> * calling toml dumper as a method Signed-off-by: Jeff Brimager <jbrimager@chef.io> * testing new method for toml_dumper helper Signed-off-by: Jeff Brimager <jbrimager@chef.io> * adding "use" statement for toml helper in habitat_config and habitat_toml Signed-off-by: Jeff Brimager <jbrimager@chef.io> * fixing relational mapping with toml_dumper Signed-off-by: Jeff Brimager <jbrimager@chef.io> * using Chef::ResourceHelper::TomlDumper as method to create toml Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correcting syntax error for Chef::ResourceHelpers:: in the habitat_config and habitat_user_toml resource Signed-off-by: Jeff Brimager <jbrimager@chef.io> * adding a render helper Signed-off-by: Jeff Brimager <jbrimager@chef.io> * moved files to correct directories for render_helpers and corrected resource syntax Signed-off-by: Jeff Brimager <jbrimager@chef.io> * chefstyle corrections Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed renderhelers form chef-utils. there by mistake Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected class for render helpers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * fixed broken end statement in chef/dsl/toml.rb Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected render helper class syntax line 23. was set as a module ; Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected dsl helper mapping for render_helpers in spec tests Signed-off-by: Jeff Brimager <jbrimager@chef.io> * wiring chef-utls/internal to render_helpers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * remove "include internal" from render_helpers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed old helper from habitat_config and habitat_user_toml resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed old helper from habitat_config and habitat_user_toml resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * chefstyle corrections on render_helpers_spec Signed-off-by: Jeff Brimager <jbrimager@chef.io> * chefstyle corrections on chef-utils/lib/chef-utils.rb Signed-off-by: Jeff Brimager <jbrimager@chef.io> * added all documentation to resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaned up render_helper_spec.rb Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaning up spellcheck errors Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing unused variable from habitat package provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correecting bad syntaxt in habitat_package Signed-off-by: Jeff Brimager <jbrimager@chef.io> * temporarioly remove prperty descriptions from habitat_install Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing documentation changes the habitat_package and habitat_sup as well Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaninig up commented issues Signed-off-by: Jeff Brimager <jbrimager@chef.io> * added all property descriptions back to habitat resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected chefstule errros Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaned up descriptions in habitat_install Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaning up bad trailing spaces Signed-off-by: Jeff Brimager <jbrimager@chef.io> * fixed kitchen runlist for linux Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing habitat from package providers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaned up bad character in habitat install Signed-off-by: Jeff Brimager <jbrimager@chef.io> * fixed habitat_package resource Signed-off-by: Jeff Brimager <jbrimager@chef.io> * changing how habitat_package connects to its provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * converted habitat_package_provider to a resource class Signed-off-by: Jeff Brimager <jbrimager@chef.io> * chefstyle corrections made Signed-off-by: Jeff Brimager <jbrimager@chef.io> * connecting habitat_package with _provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * testing habitat_package_provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * changing resource method for habit_package_provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * more chefstyle corrections Signed-off-by: Jeff Brimager <jbrimager@chef.io> * reverted changes Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correcting end statements and bad syntax Signed-off-by: Jeff Brimager <jbrimager@chef.io> * trying to alter habitat_package_provider to work as a resource Signed-off-by: Jeff Brimager <jbrimager@chef.io> * altering the methods for remove_package in habitat_provider_package Signed-off-by: Jeff Brimager <jbrimager@chef.io> * mapping exceptions to habitat package provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * habitat_package resource connected to habitat_package_provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed V2 hab version compare from habitat_package provider we will only support systemd moving forward Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing yesterdays changes to see if they are causing the issue with habitat_sup Signed-off-by: Jeff Brimager <jbrimager@chef.io> * reverting the habitat_package provider to previous state Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing bad test Signed-off-by: Jeff Brimager <jbrimager@chef.io> * restored the version_compare in habitat provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correcting spellcheck issues Signed-off-by: Jeff Brimager <jbrimager@chef.io> * adding documentation to habitat resources Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correcting doc format in habitat_sup Signed-off-by: Jeff Brimager <jbrimager@chef.io> * cleaned up descrtipstions and added proper tagging for doc generation Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed require_relative "toml" from render helpers Signed-off-by: Jeff Brimager <jbrimager@chef.io> * misunderstanding in refactor. code added back for require_relative Signed-off-by: Jeff Brimager <jbrimager@chef.io> * misunderstanding in refactor. code added back for require_relative Signed-off-by: Jeff Brimager <jbrimager@chef.io> * added use_multipackage_api to habitat_package_provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * added guard to make sure habitat linux was only tested on systemd capable machines Signed-off-by: Jeff Brimager <jbrimager@chef.io> * extended timeout loops on _habitat_services kitchen tests Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed unnecessary tesys Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed deprecated test method for habitat package version_compare Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removing private tag in the habitat package provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * more corrections to the habitat_package provider for testing Signed-off-by: Jeff Brimager <jbrimager@chef.io> * removed bad line in habitat package provider Signed-off-by: Jeff Brimager <jbrimager@chef.io> * corrected punctuation on all habitat descriptions Signed-off-by: Jeff Brimager <jbrimager@chef.io> * adding notes to tk runs to explain why service loads are looped Signed-off-by: Jeff Brimager <jbrimager@chef.io> * correcting spellcheck errors Signed-off-by: Jeff Brimager <jbrimager@chef.io> * merging master Signed-off-by: Jeff Brimager <jbrimager@chef.io>
* Add 'secret' to the Chef DSLMarc A. Paradise2021-07-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a proposed addition of a 'secret' helper to the Chef DSL, where a 'secret' is private data stored within a secrets management service. Usage would look like the following working example: ``` # The included ':example' secrets provider # requires that it be configured with a hash of secrets my_config = { "secret1" => "a hidden door" } file "/tmp/the-secret" do content secret(name: "secret1", service: :example, config: my_config) end ``` Initial constraints: * minimal-to-no abstraction over how services handle inputs, outputs, and errors. Each of these services has well-defined interfaces already, and there is much more different than the same across services. We may revisit this as we begin implementing a range of specific secrets fetchers. * no caching of results. * avoid 'provider' nomenclature. That's already well-used within Chef Infra. That's why a secrets 'service' has a SecretFetcher implementation and not a SecretProvider. Security Concerns: Because we don't provide an abstraction around the returned secret (there is not a specific single type of returned data we can rely on), if a secrets fetcher does not take steps to hide its own data from incidental output (logs, debug output, exceptions) then there is a risk of exposing this data to people and systems that have the ability to view the output. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* Add specsTim Smith2021-06-131-0/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>