| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
We're running this all in buildkite w/o issues.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Layout/MultilineMethodCallBraceLayout
- Layout/ClosingParenthesisIndentation
- Layout/IndentFirstArgument
EnforcedStyle: consistent
- Layout/BlockEndNewline
the first of these autocorrected to horrible looking code which exposed
that we really needed the other three as well, which also cleaned up a
bunch of other terrible looking code.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
enforce pretzels.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
since we use double quotes, be consistent everywhere.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
convert kind_of? to is_a?
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
| |
given how many regexps we have with /'s in the match this seems like
a very good one.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
| |
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
| |
zero args methods don't get parens.
this certainly reads better than the inverse.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
start enforcing using %i{} instead of arrays of symbols
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
| |
i like this one, gives visual priority to returns or raises that are
buried in the middle of things.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is using:
Layout/AlignArguments:
Enabled: true
EnforcedStyle: with_fixed_indentation
the default style can use really excessive whitespace. on starting
lines which are already long, it fully indents across to where the
arguments start and then begins the line there.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
| |
result of automation
https://github.com/chef/chefstyle/pull/72
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
| |
Chef::Resource::Service tests were failing on SLES 11 x86_64
and SLES 11 s390x because the permissions weren't correct.
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
|
|
|
|
| |
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
|
|
|
|
|
|
| |
* fix service enable idempotency in sles11
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
|\
| |
| | |
"chef-client" => #{Chef::Dist::CLIENT}
|
| |
| |
| |
| | |
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
|
| |
| |
| |
| | |
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
|
|\ \
| |/
|/|
| |
| | |
MsysTechnologiesllc/Vijay/MSYS-958_write_permissions_does_not_work_properly_on_windows
Fix for write permissions were not working properly on windows
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Using proper verbiage for constant SUBFOLDERS_AND_FILES_ONLY
- Source
https://metacpan.org/pod/Win32::Security::ACE#dbmAceFlags
- Minor DRY up and Fixes
- Ensured chefstyle
Signed-off-by: vijaymmali1990 <vijay.mali@msystechnologies.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Added functional test cases for deny_rights option
- Ensured chef style
- Fixes MSYS-958
Signed-off-by: vijaymmali1990 <vijay.mali@msystechnologies.com>
|
| |
| |
| |
| |
| |
| | |
Platforms that don't use /etc/locale.conf aren't supported
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|\ \
| | |
| | | |
Don't force DSC functional tests to PS4
|
| | |
| | |
| | |
| | |
| | |
| | | |
New Windows platforms like 2016 have Powershell 5.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|/ /
| |
| |
| |
| |
| |
| | |
Some platforms have groups in odd ranges, make sure the gid we select is
not in use.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Deprecated `lc_all`
- Provided other features like generate locale if it is not available
- Removed system dependancy
- Added unit and functional test cases
- Added YARD format comments
- Ensured Chefstyle
- Fixes: MSYS-988
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
certificates
- P7B might contain multiple certificates and we should not miss the internal one while import.
- Added test cases and ensured chef-style
- Fixes: MSYS-977
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Previously, we were building a new OpenSSL::X509::Certificate object with PEM string contents.
- To get this content, we were using openssl utility and were converting all certificate types into PEM
- And were extracting the PEM contents out of resulting data.
- It could directly be done via correct usage of applicable classes.
- Reverted using Open3. It uses shell hence did not solved the purpose.
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
|/
|
|
|
|
|
|
|
|
| |
- Till now, cer certificates were only considered to be in binary format (DER)
- They can also be base-64 encoded(PEM)
- We should only append "inform DER" only if it is a binary certificate, otherwise, default ("inform PEM") would support base64 encoded certificates.
- Added test caes
- Ensured Chef style
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
|
|
|
|
|
| |
Further avoid system reserved groups
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Joshua Justice <jjustice6@bloomberg.net>
|
|
|
|
| |
Signed-off-by: Joshua Justice <jjustice6@bloomberg.net>
|
|
|
|
| |
Signed-off-by: Joshua Justice <jjustice6@bloomberg.net>
|
|\
| |
| |
| |
| | |
MsysTechnologiesllc/nimesh/MSYS-960_set_psscript_flags
powershell_script: Prefer user provided flags over the defaults
|
| |
| |
| |
| |
| |
| |
| | |
- Using `flags` attribute from resources itself
- Fixed and add the required test cases
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
|\ \
| | |
| | |
| | |
| | | |
MsysTechnologiesllc/nimesh/MSYS-971_windows_task_clear_args
windows_task: Minor fix while setting command and arguments of task
|
| |/
| |
| |
| | |
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
|/
|
|
|
|
|
|
|
| |
- Using `add_pfx` of Win32::Certstore to import a PFX certificate with its thumbprint
- Using correct version of `win32-certstore` to support these changes
- Added Test cases
- Minor cleanup and opimization
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
|\
| |
| |
| |
| | |
MsysTechnologiesllc/nimesh/MSYS-937_windows_certificate_idempotency
windows_certificate: Ensure all actions are fully idempotent
|
| |
| |
| |
| | |
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
| |
| |
| |
| |
| |
| | |
- Mostly focus on all major actions and their idempotency.
Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
|
|/
|
|
|
|
| |
We have a solaris2 platform, but not a solaris platform.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
this is the result of changes to rules we already previously had
enabled.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
user resource: Remove support for macOS 10.7 and 10.7 upgraded to 10.8+
|
| |
| |
| |
| |
| |
| | |
We can greatly simplify our dscl user provider by removing support for macOS 10.7 and 10.7 which has been upgraded to 10.8. No one is using this anyone as it's beyond EOL with Apple and has been for years.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
interactive tasks
- Minor changes in `validate_user_and_password` to support this feature
- `validate_interactive_setting` would no longer be needed
- Added test cases
- Added support to latest version of win32-taskscheduler gem (2.0.4)
- Fixes MSYS-924
Signed-off-by: Nimesh <nimesh.patni@msystechnologies.com>
|
|
|
|
|
|
| |
Rename the macos helpers. Remove unused helpers to check for RHEL 5 and < Windows 2008 R2.
Signed-off-by: Tim Smith <tsmith@chef.io>
|