| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
and you have to specify the valid environments for your site.
|
| |
| |
| |
| | |
59626cb3907d36e4fd762277daa76f523faf0908
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
3) Failure:
test_webxmlmix(TestBucket)
[./network/handler/bucket.rb:222:in `test_webxmlmix'
/home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `__send__'
/home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `run']:
Exception raised:
Class: <OpenSSL::SSL::SSLError>
Message: <"hostname was not match with the server certificate">
---Backtrace---
/usr/lib/ruby/1.8/openssl/ssl.rb:91:in `post_connection_check'
/usr/lib/ruby/1.8/net/http.rb:588:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:548:in `start'
/home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/xmlrpc/client.rb:141:in `start'
/home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/client.rb:95:in `initialize'
/home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/client/dipper.rb:16:in `initialize'
./network/handler/bucket.rb:223:in `new'
./network/handler/bucket.rb:223:in `test_webxmlmix'
./network/handler/bucket.rb:222:in `test_webxmlmix'
/home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `__send__'
/home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `run'
---------------
|
| | |
| | |
| | |
| | |
| | |
| | | |
the behaviour of Resource#override_parameter unintentionally.
I've corrected the comments so it's clear why the original behaviour
was there.
|
| | |
| | |
| | |
| | |
| | |
| | | |
part of the suite, but failed when run individually. The
problem was that I changed lib/puppettest/support/utils to
have a separate module and I didn't test the individual files.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This option only writes the output of the command to the log if the command
failed.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
this moves logging of the command in front of failing from unexpected
return. This helps very much to debug exec failures.
Additionally I removed the unused local variable "loglevel"
|
| |/ / |
|
| | |
| | |
| | |
| | | |
modifications to fit coding style.
|
| | |
| | |
| | |
| | |
| | |
| | | |
but only because the code (and my coding style, to some extent)
has changed so much in the last few months.
Also, added specs.
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | | |
when running as root, examples trying to create directories
with non-standard users failed. This fix evades this difficulty.
|
|\ \ \ |
|
| | | | |
|
| |/ / |
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
environment
lib/puppet/defaults.rb:10:in `expand_path': couldn't find HOME environment -- expanding `~/.puppet' (ArgumentError)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
resources. These are commits:
c19835ce9f8a5138b30a1a32ca741c996b0916d2
9290cc89a2206fb5204578f8e91208857a48b147
ffb4c2dbc7314b364d25e4f7be599ef05b767b44
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
This commit applies ctrlaltdel's patch from trac #872
|
| |/ /
| | |
| | |
| | |
| | | |
Currently "Puppet::Type::File when used with replace=>false and content should
be insync if the file exists and the content is different" fails.
|
|\ \ \ |
|
| | | | |
|
| |/ / |
|
| | |
| | |
| | |
| | | |
on hashing.
|
| | |
| | |
| | |
| | |
| | |
| | | |
At this point, I'm holding the experiment until after the release,
so I'm committing this for now and will take it back up after 0.24.0
is out.
|
| | |
| | |
| | |
| | |
| | | |
added to the configuration by the master client, rather than
by the creating types.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
references to resources. It deprecates the class-level
[] and []= methods, used for so long to provide closure
behaviour but now unnecessary with the node configuration's
ability to function as a resource container.
All of the spec tests pass, but there is much to do to make
the test/ tests pass, I expect.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
that belong with the AST classes rather than in the parser.
Yeah, these tests need to be rewritten.
Committed on an airplane. :)
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
from the server. The real problem was getting all of the validation
done before any caching, which required a good bit more refactoring
than I expected.
In actuality, this commit is relatively small even though it covers
many files; most of the changes just make the code clearer or shorter.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
switching the node scope to no longer be lazy evaluation,
just like I switched 'main'. When I made all of these
classes and nodes lazy evaluated, I should have decoupled
my real goal (using resources to evaluate them) from the idea
of lazy-evaluating them, and this basically does that.
I also changed the scope heirarchy slightly so that scopes will
tend to be below the node scope, altho this was already generally
the case.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
It was getting evaluated after node classes, which caused
even stranger ordering issues.
|
| | | | |
|
| |\ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | | |
autotest config file.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Puppet specs.
Created a spec/lib/monkey_patches/ directory for holding patches to RSpec functionality.
Extraced 'confine' and 'runnable?' support from the local copy of RSpec (spec/lib/spec/) and now load them from the monkey_patches/ directory.
Fixed a bad include in one of the specs.
Made it possible for the gem-installed spec binary (which autotest calls) to be used with Puppet.
Imported the Autotest::Rspec class, created a PuppetRspec autotest class, added a discovery.rb file for autotest to pick these up.
Autotest still has the following problems:
* it needs to be run with the proper include path:
% ruby -I spec/lib/ `which autotest`
* the patterns in our custom autotest handler (puppet_rspec) aren't yet fully specified (they
only recognize changes in our spec files, not changes in the puppet libs
which they are testing)
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
exception text is passed back via REST.
|
| | | | |
| | | | |
| | | | |
| | | | | |
handlers. Refactor request building in REST handler specs.
|
| | | | | |
|
| | |\ \ \ |
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Conflicts:
spec/unit/indirector/indirection.rb
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
moving.
|
| | | | | | | |
|