| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I'm not really sure why the 0.24.x-style code got merged in,
since master's changes should be more recent.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
|\ \ \ \ \ \
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
since that method is deprecated.
Conflicts:
CHANGELOG
bin/puppetca
lib/puppet/file_serving/fileset.rb
lib/puppet/network/xmlrpc/client.rb
lib/puppet/type/file/selcontext.rb
spec/unit/file_serving/metadata.rb
spec/unit/type/file.rb
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Puppet's execute() function.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add to predefined variables to the ERB template space. "classes"
and "tags" which provide arrays of all the defined classes and tags
for a node.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
cleaning out prior versions
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
merge commit to 0.24x, original commit:
I could observe that yumhelper.py can run quite some time
and use quite a lot of memory (up to 100MB!) if you're
using many repositories. As the yumhelper is only needed
if you use latest as a ensure-keyword it makes no sense
for people like me letting puppet fetch these details
always, if you're never going to use latest. => lazy loading.
After discussion on the list, this is the new version for
lazy loading yum latest package versions. It is implemented
mainly in the way that Luke proposed. However it stores
the latest informations in the variable latest_info so
the latest method didn't get too hackish and could nearly be
left like it was before.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit c5d1a4f6ffe72477ce02358a93d48df850aea15b.
|
| | |_|_|/
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
replaced in rspec
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
failure
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The test was expecting the current time, albeit as an integer.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and disabling a gem test that hangs forever for me.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
#1636 original patch was incomplete, and on some cases, the client
could report:
"Failed to generate additional resources during transaction:
None of the provided sources exist"
The server was trying to recurse when asking to list files and thus was
returning an empty response instead of a "file" response.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since a30ecf2aeffd71960bd806fb28cd6d1b8adc2452, reclist has one parameter
less, but Puppet::Network::Handler::PluginMount.list wasn't ported to the
new API.
While mounting plugins, reclist wasn't requiring 'file_serving/fileset',
leading to an NameError.
The change to the new API meant that we lost the existance test of plugins
mount directory. It was failing when the client was mounting module plugins that
weren't existing (like facter and no custom facts defined).
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(this was a regression caused by other work I did).
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When searching for a module template and if the default templatedir is
inexistant, puppet was raising an error without trying the modules templates
directories.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch allows to do this:
User <| groups == leads |>
@user { "foo":
ensure => "present",
groups => ["bar","baz","leads"]
}
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
which causes puppet to produce different exit codes depending
on whether there were changes or failures in the transaction.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Added a rescue block for Timeout::Error (which isn't a subclass of StandardError)
Removed a Dev Error conditional to facilitate testing
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This changesets allow empty if or else branches:
if true {
} else {
}
It works by emitting on the parser stack an AST node that doesn't
do anything (a no-op). This allows the less intrusive code
as no part of the if evaluation code has been touched.
|
| | | | | |
|