| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| | |
MsysTechnologiesllc/dh/adding_powershell_package_manager_support
Adding support for Powershell package manager to Chef package provider
|
| | |
| |
| |
| | |
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
| | |
| |
| |
| | |
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
| | |
| |
| |
| | |
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
| | |
| |
| |
| | |
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
| |/
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
| |
|
| |
Signed-off-by: Ian C. Ward <ian.ward@disney.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Avoid ArgumentError
new_resource.gid.to_s will be empty if a recipe calls the user resource without gid and changes the home property. Will result in an exception and if chef is run by root, the home dir will end up being owned by root from the mv.
* Avoid chown issues when using manage_home and not specifying a gid
Using a sensible CONSTANT for gid when new_resource.gid.nil?
Signed-off-by: Chris Gerke <chris.gerke@gmail.com>
|
| |\
| |
| | |
service - upstart restart does not uses latest job config, need start/stop
|
| | |\ |
|
| | | | |
|
| | |\ \ |
|
| | | | | |
|
| | |\ \ \ |
|
| | |\ \ \ \ |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
latest upstart job config is not used by /sbin/restart but retains oiginal
http://upstart.ubuntu.com/cookbook/#restart
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Properly check lock status of user on solaris2
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
According to `man shadow` on Solaris 10 and 11, an account is only
locked if the first four characters in the password field are
`*LK*`. The same is true for SmartOS (the OS for which the initial code
was contributed).
Signed-off-by: Tom Duffield <tom@chef.io>
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
On Solaris, the 'shadow' database does not exist within `getent`, so the
checking for the username there won't return accurate results. As the
Solaris provider assumes user management via /etc/shadow, we can very
easily parse the contents of the file directly.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
package locking for apt, yum and zypper
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
https://github.com/chef/chef/pull/5395
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| |\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | |
| | | | | | | |
| | | | | | | | |
MsysTechnologiesllc/ali/package_resource_uninstall_fix
Newly creating uninstall string using the product code value retrieved from the uninstall_string of the Windows registry to avoid using invalid uninstall_string.
|
| | | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
the uninstall_string of the Windows registry to avoid using invalid uninstall_string.
Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Core: set use_inline_resources in package superclass
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
allows subclasses to use_inline_resources (hab_package
will most likely want this)
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Using `all?` will return `false` when the array is empty.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix copyrights and update a few more Opscode references to Chef
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Address test failures in SUSE 11.4 and 12.1
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The expected behavior of chef, as defined by our tests, is that if a
user specified in a group resource does not exist than chef should raise
an error. On suse, we use groupmod which will not raise an error if you
attempt to add a non-existent user to a group. This change adds in a
simple check that will raise an error if the specified does not exist.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| |/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
a few cops we have enabled got a little more accurate/stricter
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Peter Walz <pnw@umn.edu>
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes a side effect of #5127 where if a `cron` resource sets MAILTO, PATH,
SHELL, or HOME, it gets updated with every chef-client run.
Signed-off-by: Peter Walz <pnw@umn.edu>
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
comparison of home paths to fix Issue #5444
Signed-off-by: Geoffrey Hichborn <geoff@socialcast.com>
|
| | |_|_|_|/
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
on freebsd and mac we're now telling people to use `manage_home` instead
of `supports[:manage_home]` but it doesn't actually work. fixes that so
that it works now.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Fix solaris handling for useradd -m/-M behavior
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Normalize full key name to avoid resource update on identical key names
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Add trailing newline to generated 15update-stamp
|
| | | | | | | | |
|