Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | replace thin w/ webrick for func. test server | danielsdeleo | 2012-11-19 | 6 | -20/+34 |
| | |||||
* | [CHEF-3617] create full path of run lock file | Seth Chisamore | 2012-11-17 | 1 | -2/+15 |
| | |||||
* | [CHEF-3616] add cipher field to edbi metadata | danielsdeleo | 2012-11-16 | 1 | -0/+11 |
| | | | | | | Adds "cipher" to the metadata fields for encrypted data bag items. This enables user-configurable ciphers in the future. Cipher is still hard-coded to aes-256-cbc for now. | ||||
* | [CHEF-3392] remove unused `from_plain_hash` method | danielsdeleo | 2012-11-15 | 1 | -4/+0 |
| | |||||
* | [CHEF-3392] JSON serialize encrypted data bags, use random IV | danielsdeleo | 2012-11-14 | 4 | -6/+129 |
| | | | | | | | * Use JSON instead of YAML to serialize encrypted data bag values before encrypting. * Use a random IV for each encrypted value for resilience against some types of crypto attacks. Fixes CHEF-3480. | ||||
* | [CHEF-3604] why run assertions should pass on custom service commands | Seth Chisamore | 2012-11-13 | 1 | -0/+10 |
| | |||||
* | [CHEF-3603] add init_command attribute to service resource | Seth Chisamore | 2012-11-13 | 2 | -0/+24 |
| | |||||
* | Wire "force" default and override into node | danielsdeleo | 2012-11-09 | 1 | -0/+12 |
| | | | | | | The desired behavior works without this match because of method_missing on Chef::Node, but this makes the behavior tested, documented, and explicit. | ||||
* | Add "force" level precedence to Node::Attribute | danielsdeleo | 2012-11-09 | 1 | -0/+18 |
| | |||||
* | [CHEF-2903] load attribute files in run_list order | danielsdeleo | 2012-11-07 | 23 | -0/+66 |
| | |||||
* | refactor unix securable tests: make updated status explicit | danielsdeleo | 2012-11-06 | 1 | -24/+57 |
| | | | | | splits tests for updated_by_last_action to their own examples so it's more explicit in the code and specdoc. | ||||
* | assert starting state, remove atime checks | danielsdeleo | 2012-11-06 | 4 | -10/+40 |
| | | | | | Chef will nearly always change the atime when inspecting the current state of the file; previous tests were passing by accident. | ||||
* | verify updated/not updated for directory-like resources | danielsdeleo | 2012-11-06 | 1 | -23/+75 |
| | |||||
* | verify updated/not updated for file-like resources | danielsdeleo | 2012-11-06 | 2 | -74/+183 |
| | |||||
* | modify remote_directory tests to verify updated/not_updated status | danielsdeleo | 2012-11-06 | 1 | -35/+136 |
| | |||||
* | [CHEF-3564] Added a remote_directory test | tylercloke | 2012-11-05 | 1 | -0/+15 |
| | | | | that ensures that the new_resouce.updated_by_last_action state is properly captured when the dir contents change and when they don't. | ||||
* | Finished refactoring converge and updated tests | tylercloke | 2012-11-05 | 12 | -104/+12 |
| | | | | so that converge and converge! are no longer a method in the provider and why_run, respectively. There is instead set_updated_status in provider. Everything is now converged in why_run's add_action, so neither of the converge methods should ever need to be called. Updated tests to reflect this. Removed all calls to converge, and replaced with set_updated_status only for tests that are looking at the update status of a provider, where the converge behavior has been mocked out. | ||||
* | Hack out immediate converge actions to prove concept | danielsdeleo | 2012-11-05 | 1 | -0/+3 |
| | |||||
* | [OC-4668] fix file rm in test teardown for ruby 1.8 | danielsdeleo | 2012-11-05 | 1 | -1/+1 |
| | |||||
* | [OC-4668] fix constant scoping ::File vs. File | danielsdeleo | 2012-11-05 | 1 | -2/+2 |
| | |||||
* | [OC-4668] move ohai into before(:all) in deploy_rev test | danielsdeleo | 2012-11-05 | 1 | -3/+5 |
| | |||||
* | [OC-4668] cleanup revision deploy tests | danielsdeleo | 2012-11-05 | 1 | -26/+92 |
| | | | | | | | | | * Use a single file to track order of operations between different steps in the tests * Use symbolic names when tracking order of operations so it's more human readable * Mark tests as unix_only, deploy doesn't support windows * Add tests that run a "migration" | ||||
* | [OC-4668] explain expectation on restart test | danielsdeleo | 2012-11-05 | 1 | -0/+5 |
| | |||||
* | [OC-4668] restore old file cache path after tests | danielsdeleo | 2012-11-05 | 1 | -0/+1 |
| | |||||
* | [OC-4668] add functional tests for deploy_revision | danielsdeleo | 2012-11-05 | 3 | -0/+425 |
| | |||||
* | [CHEF-3499] add platform introspection to Node | danielsdeleo | 2012-11-02 | 1 | -3/+2 |
| | |||||
* | [CHEF-3499] convert node specs to use let() {} | danielsdeleo | 2012-11-02 | 1 | -221/+222 |
| | |||||
* | [CHEF-3499] move platform introspection tests into shared examples | danielsdeleo | 2012-11-02 | 2 | -150/+170 |
| | |||||
* | fix functional specs for lazy cookbook file loading | danielsdeleo | 2012-11-02 | 1 | -1/+3 |
| | |||||
* | Fix "platfrom" filename typo | danielsdeleo | 2012-11-02 | 1 | -0/+0 |
| | |||||
* | Move func test from f0db9a to the right spot | Bryan McLellan | 2012-11-02 | 1 | -0/+51 |
| | | | | | The merge from 10-stable left this out on a limb because of the directory structure change. | ||||
* | [CHEF-2936] ensure all default and override attrs go in node json | danielsdeleo | 2012-11-02 | 2 | -2/+43 |
| | | | | | | | | | | default and override attributes are now split into components, so all the components need to be merged together to generate the serialized representation of a node. Unfortunately, this means that serializing a node is now lossy because the information about which component default and override attributes belong to is lost. In practice, this is not a major issue, since automatic, override, and default attributes are cleared by chef for each run. | ||||
* | [CHEF-2936] apply attributes at run list expansion | danielsdeleo | 2012-11-02 | 1 | -1/+29 |
| | | | | | | Role and environment default/override attributes are now set on the node at run_list expansion time, using the appropriate new attribute components on Node::Attribute. | ||||
* | [CHEF-2936] add role and environment components to Node::Attribute | danielsdeleo | 2012-11-02 | 1 | -0/+38 |
| | | | | | | | | | I reformatted Chef::Node::Attribute because the indentation was busted. The actual code change is that Attribute now has components for role_default, env_default, role_override, and env_override, and merges them according to the precedence given in the documentation. These new components are not yet wired in to Chef::Node, however. | ||||
* | Fix syntax and force_encoding for 1.8 | danielsdeleo | 2012-10-31 | 1 | -1/+1 |
| | |||||
* | [OC-3553] remove deprecated #rest_request and associated tests | danielsdeleo | 2012-10-31 | 1 | -190/+99 |
| | |||||
* | [OC-3553] convert http_request provider to non-deprecated APIs | danielsdeleo | 2012-10-31 | 1 | -69/+28 |
| | |||||
* | [OC-3553] add 304 NotModified support to raw_http_request | danielsdeleo | 2012-10-31 | 1 | -0/+9 |
| | | | | | | 304 support was previously in #run_request, which is deprecated and going away. To support If-Modified-Since in the http_request resource, we need to add support for 304 to the api we're keeping. | ||||
* | Merge branch '10-stable' | Bryan McLellan | 2012-10-30 | 6 | -138/+170 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: chef-expander/lib/chef/expander/version.rb chef-server-api/lib/chef-server-api/version.rb chef-server-webui/lib/chef-server-webui/version.rb chef-server/lib/chef-server/version.rb chef-solr/lib/chef/solr/version.rb chef/lib/chef/node/attribute.rb lib/chef/node.rb | ||||
* | | fight transient jenkins failures with rspec `at_least` | Seth Chisamore | 2012-10-30 | 1 | -1/+1 |
| | | | | | | Repeat after me: I HATE MOCKING. | ||||
* | | [OC-3564] move core Chef to the repo root \o/ \m/ | Seth Chisamore | 2012-10-30 | 436 | -0/+52330 |
|/ | | | | The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo! | ||||
* | big refactor of the repo layout. move to a chef gem and a chef-server gem ↵ | Ezra Zygmuntowicz | 2008-10-08 | 90 | -5816/+0 |
| | | | | all with proper deps | ||||
* | merging in fujins service resource and provider | Adam Jacob | 2008-10-02 | 1 | -0/+100 |
|\ | |||||
| * | Pattern should default to service_name, updated spec | AJ Christensen | 2008-10-01 | 1 | -1/+5 |
| | | |||||
| * | Init provider for service and relevant work in other providers. Updated ↵ | AJ Christensen | 2008-10-01 | 1 | -5/+5 |
| | | | | | | | | resource spec a little. | ||||
| * | Specifications for the Service resource, and necessary adjustments to the ↵ | AJ Christensen | 2008-10-01 | 1 | -0/+96 |
| | | | | | | | | actual code to make specs pass. | ||||
* | | Adding Chef::FileCache - a simpler replacement for FileStore | Adam Jacob | 2008-09-30 | 1 | -0/+124 |
|/ | |||||
* | adding script spec | Adam Jacob | 2008-09-22 | 1 | -0/+50 |
| | |||||
* | Adding default node config | Adam Jacob | 2008-09-22 | 1 | -0/+23 |
| | |||||
* | Adding specs for new resource types, fixes to node, mixin::template | Adam Jacob | 2008-09-08 | 15 | -338/+733 |
| |