summaryrefslogtreecommitdiff
path: root/spec/integration
Commit message (Collapse)AuthorAgeFilesLines
* Fix error message for providers without `provides`Christian Höltje2015-08-191-1/+1
| | | | | | | | | | | The warning incorrectly said that the provider was missing `resource_name :resource` when it should have said it was missing `provides :resource` I also switched from using `begin`...`rescue` since it isn't needed and needlessly slow things up. Fixes #3614
* Update to cheffish 1.3 for tests, tweak converge_if_changed outputJohn Keiser2015-07-312-198/+140
|
* Add current_value_does_not_exist! API, pretty up the outputJohn Keiser2015-07-311-61/+63
|
* Add Resource.action.converged_if_changedJohn Keiser2015-07-311-0/+469
|
* Make Resource.action work with non-standard namesjk/action_dashJohn Keiser2015-07-301-0/+23
|
* Make "property_name" in actions load current value as defaultJohn Keiser2015-07-271-54/+82
|
* Add Resource.load_current_valueJohn Keiser2015-07-271-0/+178
|
* Remove warnings from tests too.Noah Kantrowitz2015-07-191-15/+0
|
* Deprecate passing more than 1 argument to create a resourcejk/3634John Keiser2015-07-061-4/+12
|
* Don't accept multiple parameters in recipe DSL (just name)John Keiser2015-07-061-0/+20
|
* Re-separate priority map and DSL handler map so that provides has veto power ↵John Keiser2015-07-061-364/+595
| | | | over priority
* Call provides? when resolving, reduce number of calls to provides?John Keiser2015-06-301-89/+340
| | | | in Provider
* Use windows paths without case-sensitivity.ksubrama/path_spaceKartik Null Cating-Subramanian2015-06-301-11/+13
| | | | | | Fixes #1684 Add tests for path manipulation in chef-fs. Clean up the handling of paths in chef-fs.
* Get tests passingJay Mundrawala2015-06-291-1/+1
|
* Fix to allow LW resources to be used with HW providersjdm/lwrp-fixJay Mundrawala2015-06-241-0/+25
| | | | | | | | | | | | | | This should fix sethvargo-cookbooks/swap#22 Here's what was happening: The cookbooks creates a Resource using the LWRP base. This dynamically creates a class. We used to create this class with the name Chef::Resource::SomeResourceName. In 12.4, this change to something like "LWRP resource some_resource_name from cookbook CookbookName". When searching for a provider, it couldn't be found because it wasn't explicitly set, as it would have been if it was a LW provider, and it wasn't found in Chef::Provider, because Chef::Provider had a provider SomeResourceName instead of "LWRP resource some_resource_name from cookbook CookbookName".
* Get tests running under Ruby 2.0John Keiser2015-06-231-3/+7
|
* Update resource_name in resource action testsJohn Keiser2015-06-232-5/+5
|
* Create the `action :name do ... end` syntax for ResourceJohn Keiser2015-06-231-0/+338
|
* Add default_action and allowed_actions to Resource class, remove from LWRPJohn Keiser2015-06-231-0/+1
|
* Get rid of warning when defining an LWRPjk/remove_lwrp_warningJohn Keiser2015-06-231-6/+2
|
* Sort identical "provides" alphabetically (for backcompat)John Keiser2015-06-181-20/+195
| | | | - Warn when multiple providers try to provide the same thing
* Do not set resource_name outside of Chef::Resourcejk/chef-resource-name-onlyJohn Keiser2015-06-181-19/+15
|
* Ensure :nothing is in the list of allowed actions for an LWRPJohn Keiser2015-06-161-0/+44
|
* Make resource_for_short_name look up the canonical resourcejk/automatic-automatic-nameJohn Keiser2015-06-081-12/+109
|
* Remove unused test lineJohn Keiser2015-06-081-1/+0
|
* Make sure resource_name :x only removes automatic provides from that classJohn Keiser2015-06-082-18/+108
|
* Overwrite resource_name with providesJohn Keiser2015-06-081-16/+234
|
* Make use_automatic_resource_name automaticJohn Keiser2015-06-081-3/+77
|
* Fix hyphenated LWRP nameshyphenated-lwrpJohn Keiser2015-06-031-0/+57
|
* Make resource deprecation warnings once-only; fix recipe DSL tests back upJohn Keiser2015-06-021-5/+4
|
* Narrow resolvers to only look at parts of the map we supportJohn Keiser2015-06-021-1/+1
|
* Add default_action and allowed_actions to Resource class, remove from LWRPJohn Keiser2015-06-011-5/+1
|
* Add use_automatic_resource_nameJohn Keiser2015-06-012-7/+4
|
* Make resource_name call providesJohn Keiser2015-06-012-6/+8
|
* Toss an error if a resource without a resource_name is createdJohn Keiser2015-06-011-0/+21
|
* Move resource_name up to Resource, and figure out its value automaticallyJohn Keiser2015-06-012-3/+3
|
* Skip integration tests that aren't working on appveyor environmentdanielsdeleo2015-05-191-27/+29
|
* Use descriptive constant names in tests to avoid conflictdanielsdeleo2015-05-191-16/+16
|
* rvm needs GEM_PATH protectedlcg/integ-fixesLamont Granquist2015-05-181-1/+1
| | | | | otherwise the rubyopts passes -rbundler/setup which whacks the gem_path and then without the env var it can't find internal gems like i18n.
* just check for exit != 0Lamont Granquist2015-05-181-1/+1
|
* fix circular references testsLamont Granquist2015-05-181-14/+8
|
* suppress cookbook self-dependencies and warnlcg/warn-cb-self-depLamont Granquist2015-05-151-0/+18
| | | | | | | | | | | | | | | | | | | | cookbooks with self-deps: name 'foo' depends 'foo' are useless and can waste cycles in the depsolver (particularly in the non-solution case), and likely limit the possible choices of depsolvers that we could pick at some point to replace gecode. filtering out the self-dep here will prevent the chef server depsolver from seeing the self-dep and needing to do the work to strip it. also warn the user so that they can remove the self-dep. in the future this will be a hard error. foodcritic also has a rule about removing these.
* Fix deprecation warning (and corresponding test) for Chef::Resource::BlahJohn Keiser2015-05-131-4/+7
|
* Add deprecation warning for providers that do not use providesJohn Keiser2015-05-131-0/+41
|
* Remove provides_nothingJohn Keiser2015-05-131-16/+0
|
* Remove automatic `provides`John Keiser2015-05-131-17/+12
|
* Add tests for resource naming and creationJohn Keiser2015-05-132-1/+278
|
* add a spec test + linebreaksLamont Granquist2015-05-041-0/+5
|
* Add an integration test of chef-client with empty ENV.Kartik Null Cating-Subramanian2015-05-011-2/+19
|
* Update integration tests for chefzero URLsdanielsdeleo2015-04-011-3/+3
|