This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: myface | |
# Recipe:: database | |
# | |
# Copyright (C) 2013 Charles Johnson | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
include_recipe "mysql::server" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path('../support/helpers', __FILE__) | |
describe 'myface::database' do | |
include Helpers::Myface | |
# Example spec tests can be found at http://git.io/Fahwsw | |
# Verify that MySQL is installed & enabled: | |
it "Enables and starts the mysql daemon" do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default['myface']['database']['host'] = 'localhost' | |
default['myface']['database']['username'] = 'root' | |
default['myface']['database']['password'] = node['mysql']['server_root_password'] | |
default['myface']['database']['dbname'] = 'myface' | |
default['myface']['database']['seed_file'] = "/tmp/myface-init.sql" |
OlderNewer