Skip to content

Commit

Permalink
Integration tests: Save generated passwords correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Sep 24, 2015
1 parent 561cdec commit 57f0d6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/cookbooks/owncloud_test/recipes/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#

node.default['owncloud']['admin']['user'] = 'test'
node.default['owncloud']['admin']['pass'] = 'test'
node.set['owncloud']['admin']['pass'] = 'test'

package 'wget'

Expand Down
4 changes: 2 additions & 2 deletions test/cookbooks/owncloud_test/recipes/mysql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# limitations under the License.
#

node.default['owncloud']['mysql']['server_root_password'] = 'vagrant_root'
node.default['owncloud']['config']['dbpassword'] = 'database_pass'
node.set['owncloud']['mysql']['server_root_password'] = 'vagrant_root'
node.set['owncloud']['config']['dbpassword'] = 'database_pass'

include_recipe 'owncloud_test::common'
4 changes: 2 additions & 2 deletions test/cookbooks/owncloud_test/recipes/postgresql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
include_recipe 'locale'
end

node.default['postgresql']['password']['postgres'] = 'vagrant_postgres'
node.set['postgresql']['password']['postgres'] = 'vagrant_postgres'

node.default['owncloud']['config']['dbpassword'] = 'database_pass'
node.set['owncloud']['config']['dbpassword'] = 'database_pass'
node.default['owncloud']['config']['dbtype'] = 'pgsql'

include_recipe 'owncloud_test::postgresql_memory'
Expand Down

0 comments on commit 57f0d6d

Please sign in to comment.