diff options
author | Adam Jacob <adam@hjksolutions.com> | 2009-04-25 10:01:12 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2009-04-25 10:01:12 -0700 |
commit | 30b8bb68c0ba2aeb611084c026ff4cf15cbd6c47 (patch) | |
tree | ca11ba04cb9892ec9ed777a19a8a51b631bbc53a /features/transfer_remote_files.feature | |
parent | 675ed6c6ed7507c392cab1ccac9335d46a045527 (diff) | |
download | chef-30b8bb68c0ba2aeb611084c026ff4cf15cbd6c47.tar.gz |
Refactoring feature directory, adding directory features
Diffstat (limited to 'features/transfer_remote_files.feature')
-rw-r--r-- | features/transfer_remote_files.feature | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/features/transfer_remote_files.feature b/features/transfer_remote_files.feature deleted file mode 100644 index 541cf9b4c9..0000000000 --- a/features/transfer_remote_files.feature +++ /dev/null @@ -1,48 +0,0 @@ -Feature: Transfer Remote Files - In order to easily manage many systems at once - As a Developer - I want to manage the contents of files remotely - - Scenario: Transfer a file from a cookbook - Given a validated node - And it includes the recipe 'transfer_remote_files::transfer_a_file_from_a_cookbook' - When I run the chef-client - Then the run should exit '0' - And a file named 'transfer_a_file_from_a_cookbook.txt' should contain 'easy like sunday morning' - - Scenario: Should prefer the file for this specific host - Given a validated node - And it includes the recipe 'transfer_remote_files::should_prefer_the_file_for_this_specific_host' - And the cookbook has a 'file' named 'host_specific.txt' in the 'host' specific directory - And the cookbook has a 'file' named 'host_specific.txt' in the 'platform-version' specific directory - And the cookbook has a 'file' named 'host_specific.txt' in the 'platform' specific directory - And the cookbook has a 'file' named 'host_specific.txt' in the 'default' specific directory - When I run the chef-client - Then the run should exit '0' - And a file named 'host_specific.txt' should be from the 'host' specific directory - - Scenario: Should prefer the file for the correct platform version - Given a validated node - And it includes the recipe 'transfer_remote_files::should_prefer_the_file_for_this_specific_host' - And the cookbook has a 'file' named 'host_specific.txt' in the 'platform-version' specific directory - And the cookbook has a 'file' named 'host_specific.txt' in the 'platform' specific directory - And the cookbook has a 'file' named 'host_specific.txt' in the 'default' specific directory - When I run the chef-client - Then the run should exit '0' - And a file named 'host_specific.txt' should be from the 'platform-version' specific directory - - Scenario: Should prefer the file for the correct platform - Given a validated node - And it includes the recipe 'transfer_remote_files::should_prefer_the_file_for_this_specific_host' - And the cookbook has a 'file' named 'host_specific.txt' in the 'platform' specific directory - And the cookbook has a 'file' named 'host_specific.txt' in the 'default' specific directory - When I run the chef-client - Then the run should exit '0' - And a file named 'host_specific.txt' should be from the 'platform' specific directory - - Scenario: Transfer a file from a specific cookbook - Given a validated node - And it includes the recipe 'transfer_remote_files::transfer_a_file_from_a_specific_cookbook' - When I run the chef-client - Then the run should exit '0' - And a file named 'from_definition.txt' should contain 'easy like saturday morning'
\ No newline at end of file |