| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
launchd: Fix capitalization of HardResourceLimits
|
| |
| |
| |
| |
| |
| |
| | |
Seems to have been a typo.
You can check e.g. https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html or https://www.launchd.info/ for the proper capitalization.
Signed-off-by: Marc Seeger <mseeger@fb.com>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
|
|
| |
* Chef-16 resource cleanup + unified_mode
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| |
| |
| | |
MsysTechnologiesllc/Nimesh/MSYS-1178_cron_resource_add_timeout
Add time_out property in cron resource
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Property accepts hash with its options as keys and value as their values
- Property also accepts Integer or String value
- Minor code drapes
- Maintained chefstyle
- TBD for AIX platforms
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
| |
| |
| |
| |
| | |
This will clear the password flags when the password is set for this user. This ensures that the user will not be prompted to change their password on next login.
Signed-off-by: Aron List <aronotmar@live.nl>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need more defensive coding around the absense of the ShadowData.
Unfortunately I wasn't able to fix the tests on my mac where this
happens, and don't know how to introduce tests that would fail on
buildkite, so we have no coverage for this. Testing was done
manually on the CLI.
Also removed some useless converge_by statements that were
effectively double-logging. The methods that the converge_by's
were in are already wrapped by converge_by's in the superclass
so the resource is already "dirty" in the sense that it knows
that it is being updated, and the log message that e.g. the
user is being removed is already being printed. Some of the
sub-action logging with sub-converge_by's here is still good
since it shows the details of how the user is being added or
removed or modified which makes sense (still sort of abusing
converge_by to get only logging, but that doesn't matter because
we're in a block where we MUST be updating the resource anyway).
This commit also re-adds testing of unit+integration testing to the
omnibus pipeline.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
Add output for the file provider verification
|
| |
| |
| |
| |
| |
| |
| | |
- Fix failing specs.
- Fix long strings getting truncated for RSpec expectations.
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
|
| |
| |
| |
| |
| |
| | |
closes #4793
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \
| | |
| | |
| | |
| | | |
MsysTechnologiesllc/VSingh/fix-apt-repository-resource-uri
Fix apt_repository uri single/double quotes and spaces
|
| | |
| | |
| | |
| | | |
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
|
| |/
| |
| |
| | |
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
|
|\ \
| | |
| | | |
Resolve non-zero "success" error code issues with linux_user resource
|
| | |
| | |
| | |
| | |
| | |
| | | |
code 12
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Resolved new method in linux_user not returning the correct array.
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
action method s
hell_out reference. This fixes an issue related to certain commands returning non-0 exit codes but still functioning
as exptected
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
|
| |/
|/|
| |
| | |
Signed-off-by: Noam Lerner <noamler@fb.com>
|
|/
|
|
|
|
| |
This is a simple resource. It's way easier to understand in a single file.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the implementation of [RFC-087](https://github.com/chef-boneyard/chef-rfc/blob/master/rfc087-distro-sugar-helpers.md)
although some of the specifics have been iterated on and changed.
The documentation will be in the [README.md](https://github.com/chef/chef/tree/master/chef-utils/README.md) once this is merged.
While this PR mostly moves chef-sugar utilities into core-chef via this chef-utils gem, the scope of the chef-utils gem
should be considered larger than just that. As an example this PR moves the Mash class into this gem for reuse in ohai
as well.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
service/systemd_unit: Don't try to reenable services in an indirect status
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This follows this `is_masked` path to ensure we don't try to enable OR
disable systemd units if they are indirect
Fixes #9041
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
| |
| |
| |
| |
| |
| | |
This update found a few things that should have been triggering before.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
| |
closes #9045
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|\
| |
| | |
Avoid a PATH environment variable update before a windows package install
|
| |
| |
| |
| | |
Signed-off-by: Jeremy HAGE <jha@jsh-consulting.com>
|
|\ \
| | |
| | | |
Fix yum & dnf shellout if exit with nonzero status
|
| | |
| | |
| | |
| | | |
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
|
| |/
| |
| |
| | |
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
|
|/
|
|
| |
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
|
|\
| |
| |
| |
| | |
MsysTechnologiesllc/Kapil/MSYS-1015_chocolatey_package_fails_using_extra_options
Fix for chocolatey_package fails using extra options
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
Fixed buildkite failure
Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
update require changes according to internal review comments
Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
Fix for MSYS-1015 chocolatey_package fails using extra options
Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: Ryan Cragun <ryan@chef.io>
|
|\ \
| | |
| | |
| | |
| | | |
MsysTechnologiesllc/Kapil/MSYS-1094_user_resource_does_not_handle_a_gid_specified_as_a_string
Fix for user resource does not handle a gid specified as a string
|
| |/
| |
| |
| | |
Signed-off-by: Kapil chouhan <kapil.chouhan@msystechnologies.com>
|
|\ \
| |/
|/| |
Add mac_user resource that is compatible with macOS >= 10.14
|
| |
| |
| |
| | |
Signed-off-by: Ryan Cragun <ryan@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Ryan Cragun <ryan@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Ryan Cragun <ryan@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Ryan Cragun <ryan@chef.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix 'iterations' description
* Update 'gid' property, remove coercion, resolve group name and id in
provider
* Move validation of password value when given salt to resource property
coercion
* Restructure exception handling around calls
* Don't re-map properties onto current_resource after
load_current_resource
* Execute inline group resources with run_action
* Always set the home directory when creating a user
* Poll for user creating instead of a hard sleep
* Remove old ascii encoding copy pasta
Signed-off-by: Ryan Cragun <ryan@chef.io>
|