Update README, drop mentioning of O-P-M
openstack-puppet-modules is not used anymore since long time Change-Id: I00b527ea1fce88200ca6030df03f4ebed10e29d6
This commit is contained in:
parent
f34daad029
commit
6389d3b0d5
37
README.md
37
README.md
@ -20,7 +20,7 @@ options have yet to be added.
|
|||||||
$ git clone git://github.com/openstack/packstack.git
|
$ git clone git://github.com/openstack/packstack.git
|
||||||
$ cd packstack && sudo python setup.py install
|
$ cd packstack && sudo python setup.py install
|
||||||
|
|
||||||
## Installation of openstack-puppet-modules (REQUIRED if running packstack from source):
|
## Installation of Puppet modules (REQUIRED if running packstack from source):
|
||||||
|
|
||||||
$ export GEM_HOME=/tmp/somedir
|
$ export GEM_HOME=/tmp/somedir
|
||||||
$ gem install r10k
|
$ gem install r10k
|
||||||
@ -97,21 +97,14 @@ switch allows checking if any provided option is not recognized by **Packstack**
|
|||||||
|
|
||||||
## Developing
|
## Developing
|
||||||
|
|
||||||
**Warning:**
|
To ease development of **Packstack**, it can be
|
||||||
this procedure installs **openstack-puppet-modules** containing code that has
|
|
||||||
not been upstreamed and fully tested yet and as such will not be as robust as
|
|
||||||
the other install procedures. It is recommended to install from **RPM**
|
|
||||||
instead.
|
|
||||||
|
|
||||||
To ease development of **Packstack** and **openstack-puppet-modules**, it can be
|
|
||||||
useful to install from *git* such that updates to the git repositories are
|
useful to install from *git* such that updates to the git repositories are
|
||||||
immediately effective without reinstallation of packstack and
|
immediately effective without reinstallation.
|
||||||
**openstack-puppet-modules**.
|
|
||||||
|
|
||||||
To do this, start with a minimal **Fedora 21** installation. Then remove any
|
To do this, start with a minimal **CentOS 7** installation. Then remove any
|
||||||
relevant packages that might conflict:
|
relevant packages that might conflict:
|
||||||
|
|
||||||
$ yum -y erase openstack-{packstack*,puppet-modules}
|
$ yum -y erase openstack-packstack*,puppet-*
|
||||||
|
|
||||||
Disable **SELinux** by changing "`enforcing`" to "`permissive`" in
|
Disable **SELinux** by changing "`enforcing`" to "`permissive`" in
|
||||||
`/etc/sysconfig/selinux`, then reboot to allow service changes to take effect
|
`/etc/sysconfig/selinux`, then reboot to allow service changes to take effect
|
||||||
@ -121,30 +114,20 @@ and swap over networking. Then install packages:
|
|||||||
|
|
||||||
And install **RDO**:
|
And install **RDO**:
|
||||||
|
|
||||||
$ yum -y install https://rdo.fedorapeople.org/rdo-release.rpm
|
$ yum -y install https://www.rdoproject.org/repos/rdo-release.rpm
|
||||||
$ yum -y update
|
$ yum -y update
|
||||||
|
|
||||||
Now we get **openstack-puppet-modules**. Because `python setup.py
|
Install Puppet modules as described [above](README.md#installation-of-puppet-modules-required-if-running-packstack-from-source).
|
||||||
install_puppet_modules` from **Packstack** copies rather than linking, this is not
|
|
||||||
entirely straightforward:
|
|
||||||
|
|
||||||
$ git clone https://github.com/redhat-openstack/openstack-puppet-modules
|
Then we get **Packstack**:
|
||||||
$ cd openstack-puppet-modules
|
|
||||||
$ git checkout master-patches
|
|
||||||
$ mkdir /usr/share/openstack-puppet
|
|
||||||
$ ln -sv /root/openstack-puppet-modules /usr/share/openstack-puppet/modules
|
|
||||||
|
|
||||||
Then we get **Packstack**, and perform a similar dance:
|
|
||||||
|
|
||||||
$ yum install -y python-crypto python-devel libffi-devel openssl-devel gcc-c++
|
$ yum install -y python-crypto python-devel libffi-devel openssl-devel gcc-c++
|
||||||
$ git clone https://github.com/openstack/packstack
|
$ git clone https://github.com/openstack/packstack
|
||||||
$ cd packstack
|
$ cd packstack
|
||||||
$ python setup.py develop
|
$ python setup.py develop
|
||||||
$ cd /usr/share/openstack-puppet/modules
|
|
||||||
$ ln -sv /root/packstack/packstack/puppet/modules/packstack
|
|
||||||
|
|
||||||
And we're done. Changes to the contents of **Packstack** and
|
And we're done. Changes to the contents of **Packstack** source repository
|
||||||
**openstack-puppet-modules** repositories are picked up by the **Packstack**
|
are picked up by the **Packstack**
|
||||||
executable without further intervention, and **Packstack** is ready to install.
|
executable without further intervention, and **Packstack** is ready to install.
|
||||||
|
|
||||||
## Puppet Style Guide
|
## Puppet Style Guide
|
||||||
|
Loading…
x
Reference in New Issue
Block a user