| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
scientific linux, oracle, etc, etc...
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
|
|
|
| |
Because `Provider::Group::Suse` expects users to exist, we need to mock
out the `Etc` call that checks for our non-existent spec users.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| |
|
|
|
|
|
| |
The `usermod` binary in SUSE 12.1 no longer throws an error if you
attempt to unlock a user account that has no password.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| |
|
|
|
|
| |
data key in values hash.
Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
|
| |
|
|
|
|
| |
* Modified ifconfig resource's functional spec to handle persistent stateless network interface names on Ubuntu platform.
* Implemented the review comments.
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| | |
MsysTechnologiesllc/ali/allow_symlink_directory_delete_on_windows
Added code to handle deletion of directories on Windows that are symlinks.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
userdel -r will not remove a homedir not owned by the user, have
to manually rm -rf it.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |/
|
|
|
|
|
| |
try to document it a bit better so i don't accidentally delete it
again.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
| |
|
|
| |
instance_eval ran into namespace issues
|
| |
|
|
|
|
|
| |
the default behavior of the remove action changed to have manage_home
set toi true to match the :create action
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
|
|
| |
mac always gets dscl, windows always gets windows
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Wait for the start callback rather than the do block, as it happens
later. This prevents us from getting into many conditions where the
start returns before the server is fully initialized, where if stop()
is called too soon after start returns, it would cause exceptions.
2. Wait for the thread to finish completely
3. Use Thread.current.abort_on_exception` to show the actual listen errors,
so that problems like this can be diagnosed.
4. Use :each to start and stop TinyServer so that race conditions like this
are exposed earlier and more often (this will let us rid ourselves of them
more quickly).
5. Use WEBrick::HTTPServer directly, which gets rid of the need for the
complicated trap workaround (rack is the one that traps).
|
| |
|
|
|
|
|
|
|
| |
split out the user provider into 1:1 resources.
fix the behavior of the linux user provider to implement
manage_home behavior correctly.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This is a rebase and clean up of #311
Signed-off-by: Thom May <thom@chef.io>
|
| |
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- fixes *_unless behavior and set_unless_value_present hack from Chef 12
- simplifies rm_* code
- introduces functional read/write/unlink/exist? API
- deprecates method_missing access to attributes for Chef 13
- deprecates set/set_unless aliases for Chef 14
- removes MultiMash mess that I wrote for Chef 13
https://github.com/chef/chef/pull/5029 for more details
|
| | |
|
| |\
| |
| | |
Skip `ps_credential` test for `dsc_script` until proper test cert
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
this is part of our informal style guide, lets make it formal since
clearly its not getting followed very well.
|
| |\
| |
| | |
Autofixing new Perf cops in 0.37.2
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
6 Performance/Casecmp
18 Performance/Detect
1 Performance/RangeInclude
27 Performance/RedundantBlockCall
6 Performance/RedundantMatch
5 Performance/RedundantMerge
18 Performance/StringReplacement
|
| | |
| |
| |
| |
| |
| |
| |
| | |
lets us use Gem::Dependency constraints directly as rspec
constraints for matching Chef::Version and RUBY_VERSION.
copies some magic sauce from bundler that does something
similar
|
| | |
| |
| |
| |
| |
| |
| | |
artursitarski/change-shell-for-locked-user"
This reverts commit 94494e761763b877c3ef3b52eee9ac9df2186340, reversing
changes made to a95a87d50c9e5af2fbd583afcf972880656d1a4b.
|
| | |
| |
| |
| | |
PSDesiredStateConfiguration
|
| | |
| |
| |
| | |
We don't have git on those boxes
|
| |/ |
|
| |
|
|
| |
no enforced trailing comma on arguments...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
252 Style/TrailingCommaInLiteral
84 Style/TrailingCommaInArguments
15 Style/SpaceAroundKeyword
--
351 Total
We already dealt with SpaceAroundKeyword under its old name
SpaceBeforeModifierKeyword, it looks like it got stricter about
spaces after keywords.
TrailingComma also got split, and it looks like the
TrailingCommaInArguments behavior is new?
|
| | |
|