File tree Expand file tree Collapse file tree 6 files changed +85
-0
lines changed Expand file tree Collapse file tree 6 files changed +85
-0
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,6 @@ pip-log.txt
28
28
29
29
# Doc
30
30
_build
31
+
32
+ # Vagrant
33
+ .vagrant
Original file line number Diff line number Diff line change
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ Vagrant ::Config . run do |config |
5
+ # All Vagrant configuration is done here. The most common configuration
6
+ # options are documented and commented below. For a complete reference,
7
+ # please see the online documentation at vagrantup.com.
8
+
9
+ # Every Vagrant virtual environment requires a box to build off of.
10
+ config . vm . box = "precise64"
11
+
12
+ # The url from where the 'config.vm.box' box will be fetched if it
13
+ # doesn't already exist on the user's system.
14
+ config . vm . box_url = "http://files.vagrantup.com/precise64.box"
15
+
16
+ config . vm . provision :chef_solo do |chef |
17
+ chef . cookbooks_path = [ "vagrantchef/cookbooks" , "vagrantchef/site-cookbooks" ]
18
+ chef . roles_path = "vagrantchef/roles"
19
+ chef . data_bags_path = "vagrantchef/data_bags"
20
+ chef . add_recipe "git"
21
+ chef . add_recipe "python"
22
+ chef . add_recipe "mysql::client"
23
+ chef . add_recipe "mysql::server"
24
+ # chef.add_role "web"
25
+ #
26
+ # # You may also specify custom JSON attributes:
27
+ chef . json = {
28
+ :mysql => {
29
+ :tunable => {
30
+ :log_bin => "mysql-bin.log"
31
+ }
32
+ }
33
+ }
34
+ end
35
+ end
Original file line number Diff line number Diff line change
1
+ cookbooks
2
+ tmp
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+ #^syntax detection
3
+
4
+ site 'http://community.opscode.com/api/v1'
5
+
6
+ cookbook 'git'
7
+ cookbook 'mysql'
8
+ cookbook 'python'
9
+
Original file line number Diff line number Diff line change
1
+ SITE
2
+ remote: http://community.opscode.com/api/v1
3
+ specs:
4
+ build-essential (1.1.2)
5
+ dmg (1.0.0)
6
+ git (1.0.2)
7
+ build-essential (>= 0.0.0)
8
+ dmg (>= 0.0.0)
9
+ runit (>= 0.0.0)
10
+ yum (>= 0.0.0)
11
+ mysql (1.3.0)
12
+ build-essential (>= 0.0.0)
13
+ openssl (>= 0.0.0)
14
+ openssl (1.0.0)
15
+ python (1.0.8)
16
+ build-essential (>= 0.0.0)
17
+ yum (>= 0.0.0)
18
+ runit (0.15.0)
19
+ yum (1.0.0)
20
+
21
+ DEPENDENCIES
22
+ git (>= 0)
23
+ mysql (>= 0)
24
+ python (>= 0)
25
+
Original file line number Diff line number Diff line change
1
+ For managing a test environement with multiple versions of MySQL we use Vagrant and Chef. This directory contains all the cookbooks for building your environment.
2
+
3
+ Librarian
4
+ ==========
5
+
6
+ Cookbooks are manage via [ librarian] ( https://github.com/applicationsonline/librarian ) .
7
+
8
+ For installing it:
9
+
10
+ gem instal librarian
11
+ librarian-chef install
You can’t perform that action at this time.
0 commit comments