forked from bodepd/puppetlabs-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
94 lines (58 loc) · 2.17 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Puppet Labs OpenStack
=====================
A collection of modules to install a single node OpenStack server.
Thanks to Canonical and Rackspace for their assistance in developing these modules.
Requirements
------------
* Currently only works on Ubuntu Natty
* Puppet 2.6.8 or later
* Nova PPA
Installation
------------
1. Install Python software properties
$ sudo apt-get install -y python-software-properties
2. Install the Nova PPA
$ sudo add-apt-repository ppa:nova-core/trunk
3. Update APT
$ sudo apt-get update
4. Install Puppet
$ apt-get install puppet
5. Download the Puppet OpenStack module
$ cd ~ && git clone --recurse git://github.com/puppetlabs/puppetlabs-openstack.git
6. Copy the modules into the Puppet modulepath
$ sudo cp -R ~/puppetlabs-openstack/modules/* /etc/puppet/
7. Run Puppet
$ sudo puppet apply --verbose ~/puppetlabs-openstack/manifests/all.pp
Usage
-----
1. Add images using glance
2. Extract credentials
$ cd ~
$ sudo nova-manage project zipfile nova novaadmin
$ unzip nova.zip
$ source novarc
$ euca-add-keypair openstack > ~/cert.pem
3. You can list any images and flavours available.
$ nova flavor-list
$ nova image-list
4. Run an instance
$ euca-run-instances ami-00000003 -k openstack -t m1.tiny
5. You can see running instances
$ euca-describe-instances
Author
------
Puppet Labs, Canonical & Rackspace!
License
-------
Author:: Puppet Labs (<[email protected]>)
Copyright:: Copyright (c) 2011 Puppet Labs
License:: Apache License, Version 2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.