| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Issue 1397
one line fix, very simple
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem was that the mechanism I was using for
passing the node to the compiler was conflicting with
the Indirector::Request's method of handling node
authentication.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |
| |
| |
| |
| |
| | |
This just fixes a regression.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
CHANGELOG
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
lib/puppet/util/settings.rb
spec/integration/defaults.rb
spec/unit/node/catalog.rb
spec/unit/type/interface.rb
spec/unit/type/ssh_authorized_key.rb
|
| |\
| | |
| | |
| | | |
git://github.com/lak/puppet into 0.24.x
|
| | |
| | |
| | |
| | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As with Events, this was never used (beyond being
assigned), so I've gotten rid of it.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The class had a 'transaction' accessor that was assigned
but never used, and it is simple enough that it needed
direct arguments rather than named arguments.
The rest of the code is changing the other classes that use
Events.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There's a small amount of refactoring here, mostly
removing code that appears to not be used at all.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
This will often result in duplicate information, but at least
the information will now always be there.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |\ \
| | | |
| | | |
| | | | |
0.24.x
|
| | |/
| | |
| | |
| | |
| | |
| | | |
removed described? logic from insync? in ensure.rb and source.rb
raise in source#retrieve if the source is not found
|
| | | |
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | | |
and there are now client- and server-specific yaml directories.
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>
|
| | |
|
| |\
| | |
| | |
| | | |
into 0.24.x
|
| | |
| | |
| | |
| | | |
Luke's comments
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, I was merging early and changing the name later.
This commit fixes it so that the node is created with the right
name in the first place, so the node.fact_merge actually works.
Yay for real-world testing.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |\ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | |
| | |
| | |
| | | |
It only works when finding certificates, but that should be sufficient.
|
|\| | |
|
| | |
| | |
| | |
| | | |
This correctly renames the files and they still get read in.
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
CHANGELOG
spec/unit/node/catalog.rb
spec/unit/type/package.rb
spec/unit/type/schedule.rb
spec/unit/type/service.rb
spec/unit/util/settings.rb
|
| | |
| | |
| | |
| | |
| | |
| | | |
I foolishly was just using the old-style api.
Added an integration test to catch this in the future.
|
| | |
| | |
| | |
| | |
| | | |
This is a simplified class for managing ldap connections,
and this work just removes some duplication.
|
| | |
| | |
| | |
| | |
| | | |
This makes it easy to find multiple nodes in ldap, and
was done so it can be used by puppetrun.
|
| | |
| | |
| | |
| | |
| | | |
This just returns a Connection instance with the default
ldap configuration information already provided.
|
| |/
| |
| |
| | |
as long as you're using Facter 1.5.
|