spiceweasel 2.6.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/README.md +33 -9
- data/bin/spiceweasel +3 -3
- data/lib/spiceweasel.rb +3 -2
- data/lib/spiceweasel/berksfile.rb +6 -10
- data/lib/spiceweasel/cli.rb +174 -129
- data/lib/spiceweasel/clusters.rb +31 -23
- data/lib/spiceweasel/command.rb +23 -5
- data/lib/spiceweasel/command_helper.rb +36 -2
- data/lib/spiceweasel/config.rb +4 -3
- data/lib/spiceweasel/cookbooks.rb +76 -57
- data/lib/spiceweasel/data_bags.rb +100 -64
- data/lib/spiceweasel/environments.rb +78 -56
- data/lib/spiceweasel/execute.rb +6 -7
- data/lib/spiceweasel/extract_local.rb +59 -46
- data/lib/spiceweasel/knife.rb +21 -20
- data/lib/spiceweasel/log.rb +5 -5
- data/lib/spiceweasel/nodes.rb +261 -193
- data/lib/spiceweasel/roles.rb +107 -76
- data/lib/spiceweasel/version.rb +5 -3
- data/test/chef-repo/Berksfile +4 -0
- data/test/chef-repo/Berksfile.lock +10 -0
- data/test/chef-repo/PASSWORD +1 -0
- data/test/chef-repo/cookbooks/abc/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/abc/README.md +68 -0
- data/test/chef-repo/cookbooks/abc/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/abc/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/def/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/def/README.md +68 -0
- data/test/chef-repo/cookbooks/def/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/def/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/fail1/README.md +68 -0
- data/test/chef-repo/cookbooks/fail1/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/fail2/README.md +68 -0
- data/test/chef-repo/cookbooks/fail2/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/fail3/README.md +68 -0
- data/test/chef-repo/cookbooks/fail3/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/ghi/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/ghi/README.md +68 -0
- data/test/chef-repo/cookbooks/ghi/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/ghi/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/jkl/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/jkl/README.md +68 -0
- data/test/chef-repo/cookbooks/jkl/metadata.rb +10 -0
- data/test/chef-repo/cookbooks/jkl/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/mno/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/mno/README.md +68 -0
- data/test/chef-repo/cookbooks/mno/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/mno/recipes/default.rb +8 -0
- data/test/chef-repo/data_bags/junk/README +1 -0
- data/test/chef-repo/data_bags/junk/abc.json +4 -0
- data/test/chef-repo/data_bags/junk/ade.json +4 -0
- data/test/chef-repo/data_bags/junk/afg.json +4 -0
- data/test/chef-repo/data_bags/junk/bcd.json +4 -0
- data/test/chef-repo/data_bags/junk/sub1/cde1.json +4 -0
- data/test/chef-repo/data_bags/junk/sub1/cde2.json +4 -0
- data/test/chef-repo/data_bags/junk/sub2/def1.json +4 -0
- data/test/chef-repo/data_bags/junk/sub2/def2.json +4 -0
- data/test/chef-repo/data_bags/users/README +1 -0
- data/test/chef-repo/data_bags/users/badjson.json +8 -0
- data/test/chef-repo/data_bags/users/failname.json +8 -0
- data/test/chef-repo/data_bags/users/mray.json +8 -0
- data/test/chef-repo/data_bags/users/ubuntu.json +8 -0
- data/test/chef-repo/environments/development.rb +2 -0
- data/test/chef-repo/environments/fail2.rb +8 -0
- data/test/chef-repo/environments/fail3.rb +2 -0
- data/test/chef-repo/environments/production-blue.json +177 -0
- data/test/chef-repo/environments/production-green.json +177 -0
- data/test/chef-repo/environments/production-red.json +177 -0
- data/test/chef-repo/environments/qa.rb +2 -0
- data/test/chef-repo/environments/sub/efg1.rb +2 -0
- data/test/chef-repo/environments/sub/efg2.json +177 -0
- data/test/chef-repo/fail-cookbook1.yml +19 -0
- data/test/chef-repo/fail-cookbook2.yml +21 -0
- data/test/chef-repo/fail-cookbook3.yml +37 -0
- data/test/chef-repo/fail-cookbook4.yml +37 -0
- data/test/chef-repo/fail-cookbook5.yml +10 -0
- data/test/chef-repo/fail-cookbook6.yml +9 -0
- data/test/chef-repo/fail-db1.yml +12 -0
- data/test/chef-repo/fail-db2.yml +10 -0
- data/test/chef-repo/fail-db3.yml +10 -0
- data/test/chef-repo/fail-db4.yml +10 -0
- data/test/chef-repo/fail-env1.yml +27 -0
- data/test/chef-repo/fail-env2.yml +27 -0
- data/test/chef-repo/fail-env3.yml +28 -0
- data/test/chef-repo/fail-env4.yml +28 -0
- data/test/chef-repo/fail-roles1.yml +22 -0
- data/test/chef-repo/fail-roles2.yml +21 -0
- data/test/chef-repo/fail-roles3.yml +23 -0
- data/test/chef-repo/fail-roles4.yml +23 -0
- data/test/chef-repo/fail-roles5.yml +23 -0
- data/test/chef-repo/infrastructure.yml +43 -0
- data/test/chef-repo/nodes/boxy.lab.atx.json +1756 -0
- data/test/chef-repo/nodes/guenter.home.atx.json +2503 -0
- data/test/chef-repo/roles/README +1 -0
- data/test/chef-repo/roles/base.rb +18 -0
- data/test/chef-repo/roles/base2.rb +16 -0
- data/test/chef-repo/roles/base3.rb +17 -0
- data/test/chef-repo/roles/base4.rb +15 -0
- data/test/chef-repo/roles/fail1.rb +8 -0
- data/test/chef-repo/roles/fail2.rb +5 -0
- data/test/chef-repo/roles/fail3.rb +5 -0
- data/test/chef-repo/roles/sub/bw2.json +21 -0
- data/test/chef-repo/roles/sub/bwi1.json +20 -0
- data/test/chef-repo/roles/tc.rb +13 -0
- data/test/examples/cluster-file-example.yml +14 -0
- data/test/examples/example-cluster.yml +8 -0
- data/test/examples/example.json +127 -0
- data/test/examples/example.rb +128 -0
- data/test/examples/example.yml +67 -0
- data/test/examples/google-example.yml +33 -0
- data/test/examples/joyent-vsphere-example.yml +15 -0
- data/test/examples/knife.yml +7 -0
- data/test/examples/kvm-example.yml +22 -0
- data/test/examples/node-example.yml +23 -0
- data/test/examples/php-quick-start.yml +83 -0
- data/test/extract-repo/Berksfile +4 -0
- data/test/extract-repo/Berksfile.lock +10 -0
- data/test/extract-repo/cookbooks/abc/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/abc/README.md +68 -0
- data/test/extract-repo/cookbooks/abc/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/abc/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/def/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/def/README.md +68 -0
- data/test/extract-repo/cookbooks/def/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/def/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/ghi/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/ghi/README.md +68 -0
- data/test/extract-repo/cookbooks/ghi/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/ghi/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/jkl/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/jkl/README.md +68 -0
- data/test/extract-repo/cookbooks/jkl/metadata.rb +10 -0
- data/test/extract-repo/cookbooks/jkl/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/mno/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/mno/README.md +68 -0
- data/test/extract-repo/cookbooks/mno/metadata.rb +9 -0
- data/test/extract-repo/cookbooks/mno/recipes/default.rb +8 -0
- data/test/extract-repo/data_bags/junk/README +1 -0
- data/test/extract-repo/data_bags/junk/abc.json +4 -0
- data/test/extract-repo/data_bags/junk/ade.json +4 -0
- data/test/extract-repo/data_bags/junk/afg.json +4 -0
- data/test/extract-repo/data_bags/junk/bcd.json +4 -0
- data/test/extract-repo/data_bags/junk/sub1/cde1.json +4 -0
- data/test/extract-repo/data_bags/junk/sub1/cde2.json +4 -0
- data/test/extract-repo/data_bags/junk/sub2/def1.json +4 -0
- data/test/extract-repo/data_bags/junk/sub2/def2.json +4 -0
- data/test/extract-repo/data_bags/users/README +1 -0
- data/test/extract-repo/data_bags/users/mray.json +8 -0
- data/test/extract-repo/data_bags/users/ubuntu.json +8 -0
- data/test/extract-repo/environments/development.rb +2 -0
- data/test/extract-repo/environments/production-blue.json +177 -0
- data/test/extract-repo/environments/production-green.json +177 -0
- data/test/extract-repo/environments/production-red.json +177 -0
- data/test/extract-repo/environments/qa.rb +2 -0
- data/test/extract-repo/environments/sub/efg1.rb +2 -0
- data/test/extract-repo/environments/sub/efg2.json +177 -0
- data/test/extract-repo/nodes/boxy.lab.atx.json +1756 -0
- data/test/extract-repo/nodes/guenter.home.atx.json +2503 -0
- data/test/extract-repo/roles/README +1 -0
- data/test/extract-repo/roles/base.rb +18 -0
- data/test/extract-repo/roles/base2.rb +16 -0
- data/test/extract-repo/roles/base3.rb +17 -0
- data/test/extract-repo/roles/base4.rb +16 -0
- data/test/extract-repo/roles/sub/bw2.json +21 -0
- data/test/extract-repo/roles/sub/bwi1.json +20 -0
- data/test/extract-repo/roles/tc.rb +13 -0
- data/test/extract-repo2/cookbooks/README.md +1 -0
- data/test/extract-repo2/data_bags/README.md +1 -0
- data/test/extract-repo2/environments/README.md +1 -0
- data/test/extract-repo2/nodes/README.md +1 -0
- data/test/extract-repo2/roles/README.md +1 -0
- metadata +357 -67
- data/spec/bin/chef_client_spec.rb +0 -72
- data/spec/bin/google_spec.rb +0 -105
- data/spec/bin/joyent-vsphere_spec.rb +0 -25
- data/spec/bin/knife_spec.rb +0 -18
- data/spec/bin/kvm_spec.rb +0 -29
- data/spec/bin/node_spec.rb +0 -108
- data/spec/bin/spiceweasel_spec.rb +0 -136
@@ -0,0 +1,13 @@
|
|
1
|
+
mno CHANGELOG
|
2
|
+
=============
|
3
|
+
|
4
|
+
This file is used to list changes made in each version of the mno cookbook.
|
5
|
+
|
6
|
+
0.1.0
|
7
|
+
-----
|
8
|
+
- [your_name] - Initial release of mno
|
9
|
+
|
10
|
+
- - -
|
11
|
+
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
|
12
|
+
|
13
|
+
The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown.
|
@@ -0,0 +1,68 @@
|
|
1
|
+
mno Cookbook
|
2
|
+
============
|
3
|
+
TODO: Enter the cookbook description here.
|
4
|
+
|
5
|
+
e.g.
|
6
|
+
This cookbook makes your favorite breakfast sandwich.
|
7
|
+
|
8
|
+
Requirements
|
9
|
+
------------
|
10
|
+
TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
|
11
|
+
|
12
|
+
e.g.
|
13
|
+
#### packages
|
14
|
+
- `toaster` - mno needs toaster to brown your bagel.
|
15
|
+
|
16
|
+
Attributes
|
17
|
+
----------
|
18
|
+
TODO: List your cookbook attributes here.
|
19
|
+
|
20
|
+
e.g.
|
21
|
+
#### mno::default
|
22
|
+
<table>
|
23
|
+
<tr>
|
24
|
+
<th>Key</th>
|
25
|
+
<th>Type</th>
|
26
|
+
<th>Description</th>
|
27
|
+
<th>Default</th>
|
28
|
+
</tr>
|
29
|
+
<tr>
|
30
|
+
<td><tt>['mno']['bacon']</tt></td>
|
31
|
+
<td>Boolean</td>
|
32
|
+
<td>whether to include bacon</td>
|
33
|
+
<td><tt>true</tt></td>
|
34
|
+
</tr>
|
35
|
+
</table>
|
36
|
+
|
37
|
+
Usage
|
38
|
+
-----
|
39
|
+
#### mno::default
|
40
|
+
TODO: Write usage instructions for each cookbook.
|
41
|
+
|
42
|
+
e.g.
|
43
|
+
Just include `mno` in your node's `run_list`:
|
44
|
+
|
45
|
+
```json
|
46
|
+
{
|
47
|
+
"name":"my_node",
|
48
|
+
"run_list": [
|
49
|
+
"recipe[mno]"
|
50
|
+
]
|
51
|
+
}
|
52
|
+
```
|
53
|
+
|
54
|
+
Contributing
|
55
|
+
------------
|
56
|
+
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
|
57
|
+
|
58
|
+
e.g.
|
59
|
+
1. Fork the repository on Github
|
60
|
+
2. Create a named feature branch (like `add_component_x`)
|
61
|
+
3. Write your change
|
62
|
+
4. Write tests for your change (if applicable)
|
63
|
+
5. Run the tests, ensuring they all pass
|
64
|
+
6. Submit a Pull Request using Github
|
65
|
+
|
66
|
+
License and Authors
|
67
|
+
-------------------
|
68
|
+
Authors: TODO: List authors
|
@@ -0,0 +1 @@
|
|
1
|
+
README FOR SURE!
|
@@ -0,0 +1 @@
|
|
1
|
+
README FOR SURE!
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{
|
2
|
+
"id": "badjson",
|
3
|
+
"ssh_keys": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwg/55j0pKI8FmzQ8g0hOQ+x5YXN8QPpDx7+Y7SZaZEvarC/ot5lBdPgypPd4ucGn/s+hpd8LfgyYNr10NGQhjis0Ll0XJMjQMqq9ucPSv1fVDVp3Kzc2e8Vjyych2Q25UMrDq4lkhFQREQX528Voj8W3PnRcsExZiXV8RQbyy3+VS1R3MUSO/fs7Kk2z1Xxnkyzy+3KEkpPVQWJdNVGcvpB7oSOchgYqPRBX5s93WMiG2ALQtji3W0MKGifOsp7c+Hxc1ZhZupyT2/uo5Ui3i0tYfnmewUwD1M6aOL5kQsFRvAYRV2jI6TOTL5eZQ/ntQOhD35bNvaKwfMWc2qTSkw== matthewhray@gmail.com",
|
4
|
+
"groups": "sysadmin",
|
5
|
+
"uid": 2001,
|
6
|
+
"shell": "\/bin\/bash"
|
7
|
+
"comment": "Matt Ray"
|
8
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{
|
2
|
+
"id": "mray",
|
3
|
+
"ssh_keys": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwg/55j0pKI8FmzQ8g0hOQ+x5YXN8QPpDx7+Y7SZaZEvarC/ot5lBdPgypPd4ucGn/s+hpd8LfgyYNr10NGQhjis0Ll0XJMjQMqq9ucPSv1fVDVp3Kzc2e8Vjyych2Q25UMrDq4lkhFQREQX528Voj8W3PnRcsExZiXV8RQbyy3+VS1R3MUSO/fs7Kk2z1Xxnkyzy+3KEkpPVQWJdNVGcvpB7oSOchgYqPRBX5s93WMiG2ALQtji3W0MKGifOsp7c+Hxc1ZhZupyT2/uo5Ui3i0tYfnmewUwD1M6aOL5kQsFRvAYRV2jI6TOTL5eZQ/ntQOhD35bNvaKwfMWc2qTSkw== matthewhray@gmail.com",
|
4
|
+
"groups": "sysadmin",
|
5
|
+
"uid": 2001,
|
6
|
+
"shell": "\/bin\/bash",
|
7
|
+
"comment": "Matt Ray"
|
8
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{
|
2
|
+
"id": "mray",
|
3
|
+
"ssh_keys": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwg/55j0pKI8FmzQ8g0hOQ+x5YXN8QPpDx7+Y7SZaZEvarC/ot5lBdPgypPd4ucGn/s+hpd8LfgyYNr10NGQhjis0Ll0XJMjQMqq9ucPSv1fVDVp3Kzc2e8Vjyych2Q25UMrDq4lkhFQREQX528Voj8W3PnRcsExZiXV8RQbyy3+VS1R3MUSO/fs7Kk2z1Xxnkyzy+3KEkpPVQWJdNVGcvpB7oSOchgYqPRBX5s93WMiG2ALQtji3W0MKGifOsp7c+Hxc1ZhZupyT2/uo5Ui3i0tYfnmewUwD1M6aOL5kQsFRvAYRV2jI6TOTL5eZQ/ntQOhD35bNvaKwfMWc2qTSkw== matthewhray@gmail.com",
|
4
|
+
"groups": "sysadmin",
|
5
|
+
"uid": 2001,
|
6
|
+
"shell": "\/bin\/bash",
|
7
|
+
"comment": "Matt Ray"
|
8
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{
|
2
|
+
"id": "ubuntu",
|
3
|
+
"ssh_keys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMZp/K82zUKpxJWrvObJT9AZSVK7wbZX//COKJc3n9Qub4FZbLtiiUWpTL8Bh2HwrlDH7MTkeGyEwpoHyTTp9Y6zNJ+mOmidUYS45jtDDlKkmdtF3AhmgARu6xqXWLBBnKEMP3+ulASWuInW8iBF1loEss+DkRaxyOqi4Sqx8UQMa9UjMqA+i7zfz/YX3ZWkDnG5otkB7AmYv9cZFtiTPD4RT4WmaMuT48WonFVnDI47nMrZi4AS3yIPt0UU5dC0FTwLyH6/IcWsj6yVzV78Nki8RPMlWfkhFrf4y0lU6kX+BkoLjMQzt+Wb3X0v7npCagzuUxBUU9PkQAzUaC1FId mray@morbo.local",
|
4
|
+
"groups": "sysadmin",
|
5
|
+
"uid": 2002,
|
6
|
+
"shell": "\/bin\/bash",
|
7
|
+
"comment": "Rackspace Training"
|
8
|
+
}
|
@@ -0,0 +1,177 @@
|
|
1
|
+
{
|
2
|
+
"name": "production-blue",
|
3
|
+
"default_attributes": {
|
4
|
+
},
|
5
|
+
"json_class": "Chef::Environment",
|
6
|
+
"description": "Production-Blue OpenStack environment.",
|
7
|
+
"cookbook_versions": {
|
8
|
+
},
|
9
|
+
"override_attributes": {
|
10
|
+
"dns": {
|
11
|
+
"dynect": {
|
12
|
+
"cn": "ATT-SERVICES",
|
13
|
+
"user": "chef"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"openstack": {
|
17
|
+
"auth": {
|
18
|
+
"strategy": "token"
|
19
|
+
},
|
20
|
+
"secret": {
|
21
|
+
"key_path": "/etc/chef/encrypted_data_bag_secret"
|
22
|
+
},
|
23
|
+
"db": {
|
24
|
+
"root_user_use_databag": true
|
25
|
+
},
|
26
|
+
"logging": {
|
27
|
+
"ignore": {
|
28
|
+
"nova.api.openstack.wsgi": "WARNING",
|
29
|
+
"nova.osapi_compute.wsgi.server": "WARNING",
|
30
|
+
"keystone.middleware.auth_token": "ERROR"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"rsyslog": {
|
35
|
+
"server_search": "role:infra-logging"
|
36
|
+
},
|
37
|
+
"authorization": {
|
38
|
+
"sudo": {
|
39
|
+
"agent_forwarding": true,
|
40
|
+
"include_sudoers_d": true,
|
41
|
+
"groups": [
|
42
|
+
"sysadmin"
|
43
|
+
]
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"openssh": {
|
47
|
+
"client": {
|
48
|
+
"forward_agent": "yes"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"developer_mode": false,
|
52
|
+
"ntp": {
|
53
|
+
"servers": [
|
54
|
+
"12.129.64.150", "63.240.192.73", "63.240.129.148", "12.130.97.150", "63.241.193.69", "206.19.225.150", "12.129.192.149", "206.19.185.150", "63.240.1.42"
|
55
|
+
]
|
56
|
+
},
|
57
|
+
"glance": {
|
58
|
+
"syslog": {
|
59
|
+
"use": true
|
60
|
+
},
|
61
|
+
"verbose": true,
|
62
|
+
"debug": false,
|
63
|
+
"glance_api_chef_role": "openstack-image",
|
64
|
+
"keystone_service_chef_role": "openstack-identity",
|
65
|
+
"rabbit_server_chef_role": "infra-messaging",
|
66
|
+
"image_upload": true,
|
67
|
+
"images": [
|
68
|
+
"ubuntu-12.10-2012.11.15",
|
69
|
+
"centos-5-2013.02.26",
|
70
|
+
"centos-6-2013.02.26",
|
71
|
+
"fedora-16-2013.02.26",
|
72
|
+
"fedora-15-2013.02.26",
|
73
|
+
"rhel-6-2013.02.26",
|
74
|
+
"ubuntu-12.04-2013.03.13",
|
75
|
+
"ubuntu-11.04-2013.03.13"
|
76
|
+
],
|
77
|
+
"image": {
|
78
|
+
"ubuntu-12.10-2012.11.15": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/ubuntu-12.10-20121115.qcow2",
|
79
|
+
"centos-5-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/centos-5.8-sda.qcow2",
|
80
|
+
"centos-6-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/centos-6.2-sda.qcow2",
|
81
|
+
"fedora-16-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/fedora-16-16-20130226.qcow2",
|
82
|
+
"fedora-15-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/fedora-15-20130226.qcow2",
|
83
|
+
"rhel-6-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/rhel-6-20130227.qcow2",
|
84
|
+
"ubuntu-12.04-2013.03.13": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/ubuntu-12.04.2-20130313.qcow2",
|
85
|
+
"ubuntu-11.04-2013.03.13": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/ubuntu-11.04-20130313.qcow2"
|
86
|
+
},
|
87
|
+
"api": {
|
88
|
+
"bind_interface": "bond1.2001"
|
89
|
+
},
|
90
|
+
"registry": {
|
91
|
+
"bind_interface": "bond1.2001"
|
92
|
+
}
|
93
|
+
},
|
94
|
+
"keystone": {
|
95
|
+
"syslog": {
|
96
|
+
"use": true
|
97
|
+
},
|
98
|
+
"verbose": true,
|
99
|
+
"debug": false,
|
100
|
+
"bind_interface": "bond1.2001",
|
101
|
+
"token": {
|
102
|
+
"backend": "memcache"
|
103
|
+
},
|
104
|
+
"roles": [
|
105
|
+
"admin",
|
106
|
+
"keystone_admin",
|
107
|
+
"keystone_service_admin",
|
108
|
+
"member",
|
109
|
+
"netadmin",
|
110
|
+
"sysadmin"
|
111
|
+
],
|
112
|
+
"tenants": [
|
113
|
+
"admin",
|
114
|
+
"service",
|
115
|
+
"demo"
|
116
|
+
],
|
117
|
+
"admin_user": "ksadmin",
|
118
|
+
"users": {
|
119
|
+
"ksadmin": {
|
120
|
+
"password": "ksadmin",
|
121
|
+
"default_tenant": "admin",
|
122
|
+
"roles": {
|
123
|
+
"admin": [
|
124
|
+
"admin"
|
125
|
+
],
|
126
|
+
"keystone_admin": [
|
127
|
+
"admin"
|
128
|
+
],
|
129
|
+
"keystone_service_admin": [
|
130
|
+
"admin"
|
131
|
+
]
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"cinder": {
|
137
|
+
"syslog": {
|
138
|
+
"use": true
|
139
|
+
},
|
140
|
+
"verbose": true,
|
141
|
+
"debug": false,
|
142
|
+
"glance_api_chef_role": "openstack-image",
|
143
|
+
"keystone_service_chef_role": "openstack-identity",
|
144
|
+
"rabbit_server_chef_role": "infra-messaging"
|
145
|
+
},
|
146
|
+
"nova": {
|
147
|
+
"syslog": {
|
148
|
+
"use": true
|
149
|
+
},
|
150
|
+
"verbose": true,
|
151
|
+
"debug": false,
|
152
|
+
"glance_api_chef_role": "openstack-image",
|
153
|
+
"keystone_service_chef_role": "openstack-identity",
|
154
|
+
"nova_setup_chef_role": "infra-db-openstack",
|
155
|
+
"rabbit_server_chef_role": "infra-messaging",
|
156
|
+
"network": {
|
157
|
+
"network_manager": "nova.network.manager.VlanManager",
|
158
|
+
"vlan_interface": "bond1",
|
159
|
+
"public_interface": "bond1.2002",
|
160
|
+
"fixed_range": "10.0.0.0/8"
|
161
|
+
},
|
162
|
+
"networks": []
|
163
|
+
},
|
164
|
+
"horizon": {
|
165
|
+
"keystone_default_role": "member",
|
166
|
+
"debug": false,
|
167
|
+
"use_ssl": false,
|
168
|
+
"ssl_offload": true
|
169
|
+
},
|
170
|
+
"vms": {
|
171
|
+
"repo": {
|
172
|
+
"private_key": "2d93240144125951518ff463f8ce2206"
|
173
|
+
}
|
174
|
+
}
|
175
|
+
},
|
176
|
+
"chef_type": "environment"
|
177
|
+
}
|
@@ -0,0 +1,177 @@
|
|
1
|
+
{
|
2
|
+
"name": "production-green",
|
3
|
+
"default_attributes": {
|
4
|
+
},
|
5
|
+
"json_class": "Chef::Environment",
|
6
|
+
"description": "Production-Green OpenStack environment.",
|
7
|
+
"cookbook_versions": {
|
8
|
+
},
|
9
|
+
"override_attributes": {
|
10
|
+
"dns": {
|
11
|
+
"dynect": {
|
12
|
+
"cn": "ATT-SERVICES",
|
13
|
+
"user": "chef"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"openstack": {
|
17
|
+
"auth": {
|
18
|
+
"strategy": "token"
|
19
|
+
},
|
20
|
+
"secret": {
|
21
|
+
"key_path": "/etc/chef/encrypted_data_bag_secret"
|
22
|
+
},
|
23
|
+
"db": {
|
24
|
+
"root_user_use_databag": true
|
25
|
+
},
|
26
|
+
"logging": {
|
27
|
+
"ignore": {
|
28
|
+
"nova.api.openstack.wsgi": "WARNING",
|
29
|
+
"nova.osapi_compute.wsgi.server": "WARNING",
|
30
|
+
"keystone.middleware.auth_token": "ERROR"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"rsyslog": {
|
35
|
+
"server_search": "role:infra-logging"
|
36
|
+
},
|
37
|
+
"authorization": {
|
38
|
+
"sudo": {
|
39
|
+
"agent_forwarding": true,
|
40
|
+
"include_sudoers_d": true,
|
41
|
+
"groups": [
|
42
|
+
"sysadmin"
|
43
|
+
]
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"openssh": {
|
47
|
+
"client": {
|
48
|
+
"forward_agent": "yes"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"developer_mode": false,
|
52
|
+
"ntp": {
|
53
|
+
"servers": [
|
54
|
+
"12.129.64.150", "63.240.192.73", "63.240.129.148", "12.130.97.150", "63.241.193.69", "206.19.225.150", "12.129.192.149", "206.19.185.150", "63.240.1.42"
|
55
|
+
]
|
56
|
+
},
|
57
|
+
"glance": {
|
58
|
+
"syslog": {
|
59
|
+
"use": true
|
60
|
+
},
|
61
|
+
"verbose": true,
|
62
|
+
"debug": false,
|
63
|
+
"glance_api_chef_role": "openstack-image",
|
64
|
+
"keystone_service_chef_role": "openstack-identity",
|
65
|
+
"rabbit_server_chef_role": "infra-messaging",
|
66
|
+
"image_upload": true,
|
67
|
+
"images": [
|
68
|
+
"ubuntu-12.10-2012.11.15",
|
69
|
+
"centos-5-2013.02.26",
|
70
|
+
"centos-6-2013.02.26",
|
71
|
+
"fedora-16-2013.02.26",
|
72
|
+
"fedora-15-2013.02.26",
|
73
|
+
"rhel-6-2013.02.26",
|
74
|
+
"ubuntu-12.04-2013.03.13",
|
75
|
+
"ubuntu-11.04-2013.03.13"
|
76
|
+
],
|
77
|
+
"image": {
|
78
|
+
"ubuntu-12.10-2012.11.15": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/ubuntu-12.10-20121115.qcow2",
|
79
|
+
"centos-5-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/centos-5.8-sda.qcow2",
|
80
|
+
"centos-6-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/centos-6.2-sda.qcow2",
|
81
|
+
"fedora-16-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/fedora-16-16-20130226.qcow2",
|
82
|
+
"fedora-15-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/fedora-15-20130226.qcow2",
|
83
|
+
"rhel-6-2013.02.26": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/rhel-6-20130227.qcow2",
|
84
|
+
"ubuntu-12.04-2013.03.13": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/ubuntu-12.04.2-20130313.qcow2",
|
85
|
+
"ubuntu-11.04-2013.03.13": "https://data.iad1.attstorage.com/v1/AUTH_286b16b8-f68f-4292-a4e7-10c5fd706b99/guest-images/ubuntu-11.04-20130313.qcow2"
|
86
|
+
},
|
87
|
+
"api": {
|
88
|
+
"bind_interface": "bond1.2001"
|
89
|
+
},
|
90
|
+
"registry": {
|
91
|
+
"bind_interface": "bond1.2001"
|
92
|
+
}
|
93
|
+
},
|
94
|
+
"keystone": {
|
95
|
+
"syslog": {
|
96
|
+
"use": true
|
97
|
+
},
|
98
|
+
"verbose": true,
|
99
|
+
"debug": false,
|
100
|
+
"bind_interface": "bond1.2001",
|
101
|
+
"token": {
|
102
|
+
"backend": "memcache"
|
103
|
+
},
|
104
|
+
"roles": [
|
105
|
+
"admin",
|
106
|
+
"keystone_admin",
|
107
|
+
"keystone_service_admin",
|
108
|
+
"member",
|
109
|
+
"netadmin",
|
110
|
+
"sysadmin"
|
111
|
+
],
|
112
|
+
"tenants": [
|
113
|
+
"admin",
|
114
|
+
"service",
|
115
|
+
"demo"
|
116
|
+
],
|
117
|
+
"admin_user": "ksadmin",
|
118
|
+
"users": {
|
119
|
+
"ksadmin": {
|
120
|
+
"password": "ksadmin",
|
121
|
+
"default_tenant": "admin",
|
122
|
+
"roles": {
|
123
|
+
"admin": [
|
124
|
+
"admin"
|
125
|
+
],
|
126
|
+
"keystone_admin": [
|
127
|
+
"admin"
|
128
|
+
],
|
129
|
+
"keystone_service_admin": [
|
130
|
+
"admin"
|
131
|
+
]
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"cinder": {
|
137
|
+
"syslog": {
|
138
|
+
"use": true
|
139
|
+
},
|
140
|
+
"verbose": true,
|
141
|
+
"debug": false,
|
142
|
+
"glance_api_chef_role": "openstack-image",
|
143
|
+
"keystone_service_chef_role": "openstack-identity",
|
144
|
+
"rabbit_server_chef_role": "infra-messaging"
|
145
|
+
},
|
146
|
+
"nova": {
|
147
|
+
"syslog": {
|
148
|
+
"use": true
|
149
|
+
},
|
150
|
+
"verbose": true,
|
151
|
+
"debug": false,
|
152
|
+
"glance_api_chef_role": "openstack-image",
|
153
|
+
"keystone_service_chef_role": "openstack-identity",
|
154
|
+
"nova_setup_chef_role": "infra-db-openstack",
|
155
|
+
"rabbit_server_chef_role": "infra-messaging",
|
156
|
+
"network": {
|
157
|
+
"network_manager": "nova.network.manager.VlanManager",
|
158
|
+
"vlan_interface": "bond1",
|
159
|
+
"public_interface": "bond1.2002",
|
160
|
+
"fixed_range": "10.0.0.0/8"
|
161
|
+
},
|
162
|
+
"networks": []
|
163
|
+
},
|
164
|
+
"horizon": {
|
165
|
+
"keystone_default_role": "member",
|
166
|
+
"debug": false,
|
167
|
+
"use_ssl": false,
|
168
|
+
"ssl_offload": true
|
169
|
+
},
|
170
|
+
"vms": {
|
171
|
+
"repo": {
|
172
|
+
"private_key": "2d93240144125951518ff463f8ce2206"
|
173
|
+
}
|
174
|
+
}
|
175
|
+
},
|
176
|
+
"chef_type": "environment"
|
177
|
+
}
|