summaryrefslogtreecommitdiff
path: root/spec/unit/resource
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11970 from chef/snehal/fix_version_comparisons_on_upgradeLamont Granquist2021-11-171-0/+12
|\
| * Updated review changessnehaldwivedi2021-10-071-0/+12
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
* | spellcheck fixCollin McNeese2021-10-291-2/+2
| | | | | | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>
* | adds additional properties to rhsm_register resourceCollin McNeese2021-10-291-0/+42
| | | | | | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>
* | remove require root metafix-macos-userdefaults-nomethod-errorrishichawda2021-10-271-1/+1
| | | | | | | | Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
* | Add support for `sensitive` in `chef_client_trusted_certificate`Jared Kauppila2021-10-261-0/+14
| | | | | | | | Signed-off-by: Jared Kauppila <Jared.Kauppila@sentry.com>
* | Fix all the string errorsexpeditor/chef/chefstyle_b5c712d298e240493020b8d5977f03172cc65e17Tim Smith2021-10-228-20/+20
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #12105 from qubitrenegade/qbrd/kernel_module-enableTim Smith2021-10-211-1/+2
|\ \ | | | | | | Add 'enable' action to 'kernel_module' resource to reverse 'disable' action.
| * | Add 'enable' action to 'kernel_module' resource to reverse 'disable' action. ↵qubitrenegade2021-10-181-1/+2
| | | | | | | | | | | | | | | | | | Fixes #12104 Signed-off-by: qubitrenegade <qubitrenegade@gmail.com>
* | | Fix chefstyle failurefix-failing-pipeline-testsTim Smith2021-10-211-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | add macos_only to unit testsrishichawda2021-10-211-1/+1
|/ / | | | | | | Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
* | Merge pull request #11898 from chef/api-based-macos-userdefaultsTim Smith2021-10-161-95/+35
|\ \ | |/ |/| rewrite macos_userdefaults using corefoundation gem
| * remove unused variable in unit testrishichawda2021-09-301-1/+0
| | | | | | | | Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
| * update testsrishichawda2021-09-241-95/+36
| | | | | | | | Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
* | Merge pull request #12029 from chef/jfm/powershell_package_sourceJohn McCrae2021-09-251-62/+63
|\ \ | |/ |/|
| * Updated the package source resource to accept credentials and updated the ↵John McCrae2021-09-151-62/+63
| | | | | | | | | | | | code to be more readable Signed-off-by: John McCrae <john.mccrae@progress.com>
* | Merge pull request #12062 from gogsbread/jsonTim Smith2021-09-231-0/+72
|\ \ | | | | | | Add Json verifier
| * | Change copyright to FacebookAntony Deepak Thomas2021-09-221-1/+1
| | | | | | | | | | | | Signed-off-by: Antony Deepak Thomas <antonydeepak@gmail.com>
| * | Change rspec to reflect the behavior of JSONCompatAntony Deepak Thomas2021-09-221-3/+9
| | | | | | | | | | | | Signed-off-by: Antony Deepak Thomas <antonydeepak@gmail.com>
| * | Add Json verifierAntony Deepak Thomas2021-09-201-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds Json verifier to the list of built-in verifiers. Json verifier can be used with symbol ':json' on `file` like resources such as `file`, `template` etc. Signed-off-by: Antony Deepak Thomas <antonydeepak@gmail.com>
* | | Merge pull request #11904 from chef/lcg/compliance-segmentTim Smith2021-09-232-0/+612
|\ \ \ | | | | | | | | Native compliance phase
| * | | Native compliance phaseLamont Granquist2021-09-172-0/+612
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compliance/{profiles,waivers,inputs} directories supported in cookbooks. include_profile, include_waiver, include_input as DSL methods to dynamically add compliance phase items to the run. inspec_waiver, inspect_input resources for additional sugar and a resource-like API. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Exclude running libarchive tests on platforms where loading libarchive is brokenJason Barnett2021-09-231-3/+14
| | | | | | | | | | | | Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
* | | Chefstyle fixTim Smith2021-09-211-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Re-enable archive_file tests on WindowsJason Barnett2021-09-211-13/+2
| | |
* | | Add strip_components property to archive_fileJason Barnett2021-09-211-3/+414
|/ / | | | | | | Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
* | Merge pull request #12022 from jiokmiso/mount_point_coerceTim Smith2021-09-141-0/+10
|\ \ | | | | | | Coerce mount_point only when it is not root directory
| * | Coerce mount_point only when it is not root directoryJiSoo2021-09-131-0/+10
| | | | | | | | | | | | Signed-off-by: JiSoo Kim <jskim910118@gmail.com>
* | | Fix spelling and chefstyle issuesTim Smith2021-09-141-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #11894 from ↵Tim Smith2021-09-141-0/+55
|\ \ \ | |_|/ |/| | | | | | | | gholtiii/gh/chef_client_scheduled_task_behaves_like_cron Enable chef-client scheduled task to behave like chef_client_cron, with consistent delay calculated once from splay
| * | Enable chef-client scheduled task to behave like chef_client_cron, with ↵George Holt2021-09-011-0/+55
| | | | | | | | | | | | | | | | | | consistent delay calculated once Signed-off-by: George Holt <gholtiii@me.com>
* | | Resolve chefstyle warningsTim Smith2021-09-131-3/+3
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Add Yaml verifierAntony Deepak Thomas2021-09-131-0/+67
| |/ |/| | | | | | | | | | | | | This patch adds Yaml verifier to the list of built-in verifiers. Yaml verifier can be used on `file` like resources such as `file`, `template` etc. Signed-off-by: Antony Deepak Thomas <antonydeepak@gmail.com>
* | [chef-client] Enable chef_client_scheduled_task resource to leverage the ↵George Holt2021-09-091-0/+14
| | | | | | | | | | | | windows_task priority property to boost chef-client spawned processes Signed-off-by: George Holt <gholtiii@me.com>
* | Fixing chefstyleAshwin2021-09-071-2/+1
| | | | | | | | Signed-off-by: Ashwin <avarma@msystechnologies.com>
* | Fixing sensitive property.Ashwin2021-09-071-0/+14
|/ | | | | | | - Sensitive property was not working on user_ulimit. - Added required specs. Signed-off-by: Ashwin <avarma@msystechnologies.com>
* Flush package cache after attaching to rhsm subscriptionJason Barnett2021-08-111-3/+50
| | | | Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
* Chefstyle fixesTim Smith2021-07-261-3/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #11842 from byplayer/homebrew_cask_name_issueTim Smith2021-07-261-11/+29
|\ | | | | Support '-' and '@' for homebrew cask name
| * Remove duplicated testsbyplayer2021-07-261-26/+0
| | | | | | | | | | | | | | To clarify what I want to do test in this change I remove duplicated test based on @tas50 review comment. Signed-off-by: byplayer <byplayer100@gmail.com>
| * Support '-' and '@' for homebrew cask namebyplayer2021-07-211-11/+55
| | | | | | | | | | Some cask name include '-' and '@' so I fix regular expression for cask name validation.
* | Fixed generates systemd service should not have spaces around the equal signs.antima-gupta2021-07-231-1/+1
| | | | | | | | | | | | Fixed testcase failure. Signed-off-by: antima-gupta <agupta@msystechnologies.com>
* | Add windows_update_settings resourceTim Smith2021-07-201-0/+64
|/ | | | | | | Copied from the desktop-config cookbook and simplified a little bit to skip properties we can calculate automatically. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add specsTim Smith2021-06-132-0/+133
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #11657 from chef/jfm/win_firewallLamont Granquist2021-06-071-7/+12
|\
| * Updated the firewall rule resource to allow for multiple remote addresses, ↵John McCrae2021-06-041-1/+1
| | | | | | | | | | | | updated the spec file to account for the change in data types Signed-off-by: John McCrae <john.mccrae@progress.com>
| * Updated the firewall rule resource to allow for multiple remote addresses, ↵John McCrae2021-06-031-1/+1
| | | | | | | | | | | | updated the spec file to account for the change in data types Signed-off-by: John McCrae <john.mccrae@progress.com>
| * Updated the firewall rule resource to allow for multiple remote addresses, ↵John McCrae2021-06-031-6/+11
| | | | | | | | | | | | updated the spec file to account for the change in data types Signed-off-by: John McCrae <john.mccrae@progress.com>
* | Merge pull request #11660 from chef/zypperLamont Granquist2021-06-071-1/+1
|\ \
| * | Fix failing specTim Smith2021-06-051-1/+1
| |/ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>