|
1 | | -default["glance"]["db"]["name"] = "glance" |
2 | | -default["glance"]["db"]["username"] = "glance" |
3 | | -default["glance"]["db"]["password"] = "gl4nc3" |
4 | | - |
5 | | -default["glance"]["service_tenant_name"] = "service" |
6 | | -default["glance"]["service_user"] = "glance" |
7 | | - |
8 | | -#Glance API |
9 | | -default["glance"]["config"]["debug"] = "false" |
10 | | -default["glance"]["config"]["verbose"] = "false" |
11 | | -default["glance"]["config"]["bind_host"]["api"] = "0.0.0.0" |
12 | | -default["glance"]["config"]["bind_port"]["api"] = "9292" |
13 | | -default["glance"]["config"]["log_file"]["api"] = "/var/log/glance/api.log" |
14 | | -default["glance"]["config"]["workers"] = "10" |
15 | | -default["glance"]["config"]["allow_anonymous_access"] = "False" |
16 | | -default["glance"]["config"]["show_image_direct_url"] = "True" |
17 | | -default["glance"]["config"]["notifier_strategy"] = "noop" |
18 | | -default["glance"]["config"]["filesystem_store_datadir"] = "/var/lib/glance/images/" |
19 | | -default["glance"]["config"]["image_cache_dir"] = "/var/lib/glance/image-cache/" |
20 | | -default["glance"]["config"]["flavor"] = "keystone" |
21 | | - |
22 | | -#RABBIT config |
23 | | -default["glance"]["config"]["rabbit_port"] = "5672" |
24 | | -default["glance"]["config"]["rabbit_use_ssl"] = "false" |
25 | | -default["glance"]["config"]["rabbit_userid"] = "guest" |
26 | | -default["glance"]["config"]["rabbit_password"] = "guest" |
27 | | -default["glance"]["config"]["rabbit_notification_exchange"] = "glance" |
28 | | -default["glance"]["config"]["rabbit_notification_topic"] = "notifications" |
29 | | -default["glance"]["config"]["rabbit_durable_queues"] = "False" |
30 | | - |
31 | | -#Glance Registry |
32 | | -default["glance"]["config"]["bind_host"]["registry"] = "0.0.0.0" |
33 | | -default["glance"]["config"]["bind_port"]["registry"] = "9191" |
34 | | -default["glance"]["config"]["log_file"]["registry"] = "/var/log/glance/registry.log" |
35 | | - |
36 | | - |
37 | | -default["glance"]["images"] = { |
38 | | - "CirrOS 0.3.0 i386" => "https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-i386-disk.img", |
39 | | - "CirrOS 0.3.0 x86_64" => "https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img", |
40 | | - "Fedora 19 (Cloud) i386" => "http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/x86_64/Fedora-x86_64-19-20130627-sda.qcow2", |
41 | | - "Fedora 19 (Cloud) x86_64" => "http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/i386/Fedora-i386-19-20130627-sda.qcow2", |
42 | | - "Ubuntu 12.04 Server (Cloud) amd64" => "http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img", |
43 | | - "Ubuntu 12.04 Server (Cloud) i386" => "http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-i386-disk1.img", |
44 | | - "Ubuntu 12.10 Server (Cloud) amd64" => "http://cloud-images.ubuntu.com/quantal/current/quantal-server-cloudimg-amd64-disk1.img", |
45 | | - "Ubuntu 12.10 Server (Cloud) i386" => "http://cloud-images.ubuntu.com/quantal/current/quantal-server-cloudimg-i386-disk1.img", |
46 | | - "Ubuntu 13.04 Server (Cloud) amd64" => "http://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-amd64-disk1.img", |
47 | | - "Ubuntu 13.04 Server (Cloud) i386" => "http://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-i386-disk1.img" |
| 1 | +default['glance']['db']['name'] = 'glance' |
| 2 | +default['glance']['db']['username'] = 'glance' |
| 3 | +default['glance']['db']['password'] = 'gl4nc3' |
| 4 | + |
| 5 | +default['glance']['service_tenant_name'] = 'service' |
| 6 | +default['glance']['service_user'] = 'glance' |
| 7 | + |
| 8 | +# Glance API |
| 9 | +default['glance']['config']['debug'] = 'false' |
| 10 | +default['glance']['config']['verbose'] = 'false' |
| 11 | +default['glance']['config']['bind_host']['api'] = '0.0.0.0' |
| 12 | +default['glance']['config']['bind_port']['api'] = '9292' |
| 13 | +default['glance']['config']['log_file']['api'] = '/var/log/glance/api.log' |
| 14 | +default['glance']['config']['workers'] = '10' |
| 15 | +default['glance']['config']['allow_anonymous_access'] = 'False' |
| 16 | +default['glance']['config']['show_image_direct_url'] = 'True' |
| 17 | +default['glance']['config']['notifier_strategy'] = 'noop' |
| 18 | +default['glance']['config']['filesystem_store_datadir'] = '/var/lib/glance/images/' |
| 19 | +default['glance']['config']['image_cache_dir'] = '/var/lib/glance/image-cache/' |
| 20 | +default['glance']['config']['flavor'] = 'keystone' |
| 21 | + |
| 22 | +# RabbitMQ config |
| 23 | +default['glance']['config']['rabbit_port'] = '5672' |
| 24 | +default['glance']['config']['rabbit_use_ssl'] = 'false' |
| 25 | +default['glance']['config']['rabbit_userid'] = 'guest' |
| 26 | +default['glance']['config']['rabbit_password'] = 'guest' |
| 27 | +default['glance']['config']['rabbit_notification_exchange'] = 'glance' |
| 28 | +default['glance']['config']['rabbit_notification_topic'] = 'notifications' |
| 29 | +default['glance']['config']['rabbit_durable_queues'] = 'False' |
| 30 | + |
| 31 | +# Glance Registry |
| 32 | +default['glance']['config']['bind_host']['registry'] = '0.0.0.0' |
| 33 | +default['glance']['config']['bind_port']['registry'] = '9191' |
| 34 | +default['glance']['config']['log_file']['registry'] = '/var/log/glance/registry.log' |
| 35 | + |
| 36 | +default['glance']['images'] = { |
| 37 | + 'CirrOS 0.3.0 i386' => 'https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-i386-disk.img', |
| 38 | + 'CirrOS 0.3.0 x86_64' => 'https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img', |
| 39 | + 'Fedora 19 (Cloud) i386' => 'http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/x86_64/Fedora-x86_64-19-20130627-sda.qcow2', |
| 40 | + 'Fedora 19 (Cloud) x86_64' => 'http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/i386/Fedora-i386-19-20130627-sda.qcow2', |
| 41 | + 'Ubuntu 12.04 Server (Cloud) amd64' => 'http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img', |
| 42 | + 'Ubuntu 12.04 Server (Cloud) i386' => 'http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-i386-disk1.img', |
| 43 | + 'Ubuntu 12.10 Server (Cloud) amd64' => 'http://cloud-images.ubuntu.com/quantal/current/quantal-server-cloudimg-amd64-disk1.img', |
| 44 | + 'Ubuntu 12.10 Server (Cloud) i386' => 'http://cloud-images.ubuntu.com/quantal/current/quantal-server-cloudimg-i386-disk1.img', |
| 45 | + 'Ubuntu 13.04 Server (Cloud) amd64' => 'http://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-amd64-disk1.img', |
| 46 | + 'Ubuntu 13.04 Server (Cloud) i386' => 'http://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-i386-disk1.img', |
| 47 | + 'Ubuntu 13.10 Server (Cloud) amd64' => 'http://cloud-images.ubuntu.com/saucy/current/saucy-server-cloudimg-amd64-disk1.img', |
| 48 | + 'Ubuntu 13.10 Server (Cloud) i386' => 'http://cloud-images.ubuntu.com/saucy/current/saucy-server-cloudimg-i386-disk1.img' |
48 | 49 | } |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
0 commit comments