| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
| |
This reverts commit f16da4250c16aeab932a81a349df059c69d7ee23.
|
| | |
|
| |
|
|
|
| |
as far I see there have been a regression while refactoring the redhat service provider to user /sbin/service. This commit fixes this bug (1426) and service restarts are working again on redhat based systems.
There are no tests, as I couldn't figure out how that should be tested. It seems that some restart logic is already tested, however it looks like not every single kind of provider is covered by tests, nor I see at the moment how I could do that.
|
| |
|
|
|
|
| |
This avoid exceptions during type instanciation when a user does not yet exist.
The drawback is that we cannot use generated resources anymore and have to
mkdir, chown and chmod directly in the provided which is somewhat hackish.
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Added tests for the bit that's changed here (and caught
a couple of bugs in the original patch).
This is all a modification of Sam Quigley's work.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | |
| |
| |
| | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
CHANGELOG
spec/unit/provider/user/ldap.rb
|
| | |/
| |
| |
| |
| |
| |
| | |
Note that this only looks up ldap groups, at this point; if you want to set an
ldap user's primary group to a local group, you have to specify the GID.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |/
|
|
| |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
This type needs to be started again from scratch, and I'm not
going to do so for 0.24.5.
In particular, the model for red hat and sunos need to match --
they should both use the device name as the actual name.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |
|
|
|
|
|
|
|
|
| |
Autorequire the target file and its parent directory as well.
Default permissions and owner are now set on the file and its
parent directory.
Moved target attribute setting code from prefetch() in the provider to the type
itself. This seems much cleaner to me.
|
| | |
|
| |
|
|
|
|
| |
I've added a couple of tests for this bit of the user
and group useradd/groupadd providers, but I haven't migrated
the rest of the tests.
|
| |
|
|
|
|
| |
I've only added an integration test for the provider,
since that's all I've changed; none of the service providers
have rspec tests yet.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
value and added comments that query will now always do so.
The query method is only called in two places, from inside 'install' in
yum.rb and from inside 'uninstall' in rpm.
This behavior only happens when you have a lower version than the one you
are 'ensuring'.
Since the right package actually gets installed, the system is in sync
next time, but the event of installation is lost and subscribing resources
will never get it.
|
| |
|
|
| |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |\
| |
| |
| |
| |
| | |
Conflicts:
CHANGELOG
|
| | |
| |
| |
| |
| | |
Previously, they failed if you tried to get them to autogenerate
an id, because they assumed that a result would be returned.
|
| | |
| |
| |
| |
| |
| | |
This renames the 'facter' confine to 'variable', and it prefers
settings to facts. There shouldn't really be any overlap, so
it shouldn't be a problem.
|
| | | |
|
| |\|
| |
| |
| |
| |
| | |
Conflicts:
CHANGELOG
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now each of the test types is a separate subclass
of Confine, so that they can have all of their own
logging and summarizing behaviour.
Also, added a 'feature' type, which can test for
the availability of Puppet features (and log
their absence more usefully).
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
Tests for Bug #1216
Updated CHANGELOG
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
I created a Confiner module for the Provider class methods,
and then I enhanced the interface between it and the Confine
class to make sure binary paths are searched for fresh each time.
This fixes #1197, which was a result of binary paths being
searched for at startup, rather than at execution.
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
| |
Instead of deleting the init scripts (with --del) we should simply disable
it with chkconfig service off, and respectfully do the same for enable
=> true;
Updated CHANGELOG
Fix for #1219. Instead of deleting the init scripts (with --del) we should simply disable it with chkconfig service off, and respectfully do the same for enable
=> true;
|
| |\ |
|
| | | |
|
| |\| |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
These providers use posixAccount and posixGroup.
This is a collapsed merge, fwiw.
|
| | |
| |
| |
| | |
The -o flag is now only used when the uid is being changed.
|
| |/ |
|
| |
|
|
| |
some doco fixes
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
matching. The actual problem was caused by the fix to #1001.
|
| |
|
|
|
|
|
|
|
|
| |
any local variables and added a local variable -- see
http://snurl.com/21zf8. My own testing showed that this
caused memory growth to level off at a reasonable level.
Note that the link above says the problem is only with class
methods, but my own testing showed that it's any method that
meets these criteria. This is not a functional change, but
should hopefully be the last nail in the coffin of #1131.
|
| | |
|
| |
|
|
| |
password management
|
| | |
|