Add elements for Chef/Puppet applications
Change-Id: Ibba68dd3f43dbf5bc39bb50c9ec57ed3783038c5 Closes-Bug: #1499362
This commit is contained in:
parent
2a4848f642
commit
7407ae978c
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
install-packages chef
|
|
@ -0,0 +1,42 @@
|
|||
Chef Elements
|
||||
===============
|
||||
|
||||
This folder contains necessary DIB elements to build Chef image
|
||||
expected by "Chef Example" Murano application.
|
||||
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
1. Install diskimage-builder
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo pip install diskimage-builder
|
||||
|
||||
2. Install qemu-utils and kpartx
|
||||
|
||||
|
||||
On Ubuntu, Debian:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo apt-get install qemu-utils kpartx
|
||||
|
||||
On Centos, Fedora:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo yum install qemu-utils kpartx
|
||||
|
||||
|
||||
Image building
|
||||
--------------
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Example/ChefExample/elements disk-image-create \
|
||||
vm ubuntu murano-agent chef -o ubuntu14.04-x64-chef
|
||||
|
||||
Where ${murano_agent_root} is a path to murano-agent files
|
||||
and ${murano_apps_root} is a path to murano-apps files.
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
install-packages chef
|
|
@ -0,0 +1,42 @@
|
|||
Chef Elements
|
||||
===============
|
||||
|
||||
This folder contains necessary DIB elements to build Chef image
|
||||
expected by "Chef Example" Murano application.
|
||||
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
1. Install diskimage-builder
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo pip install diskimage-builder
|
||||
|
||||
2. Install qemu-utils and kpartx
|
||||
|
||||
|
||||
On Ubuntu, Debian:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo apt-get install qemu-utils kpartx
|
||||
|
||||
On Centos, Fedora:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo yum install qemu-utils kpartx
|
||||
|
||||
|
||||
Image building
|
||||
--------------
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Example/ChefExample/elements disk-image-create \
|
||||
vm ubuntu murano-agent chef -o ubuntu14.04-x64-chef
|
||||
|
||||
Where ${murano_agent_root} is a path to murano-agent files
|
||||
and ${murano_apps_root} is a path to murano-apps files.
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
install-packages puppet
|
|
@ -0,0 +1,42 @@
|
|||
Puppet Elements
|
||||
===============
|
||||
|
||||
This folder contains necessary DIB elements to build Puppet image
|
||||
expected by "Puppet Example" Murano application.
|
||||
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
1. Install diskimage-builder
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo pip install diskimage-builder
|
||||
|
||||
2. Install qemu-utils and kpartx
|
||||
|
||||
|
||||
On Ubuntu, Debian:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo apt-get install qemu-utils kpartx
|
||||
|
||||
On Centos, Fedora:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo yum install qemu-utils kpartx
|
||||
|
||||
|
||||
Image building
|
||||
--------------
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Example/PuppetExample/elements disk-image-create \
|
||||
vm ubuntu murano-agent puppet -o ubuntu14.04-x64-puppet
|
||||
|
||||
Where ${murano_agent_root} is a path to murano-agent files
|
||||
and ${murano_apps_root} is a path to murano-apps files.
|
Loading…
Reference in New Issue