Add elements for puppet/chef
Change-Id: I869ac19705437faf99c77b3c87f9cf590f9eaae4
This commit is contained in:
parent
af9a56028d
commit
14c042c05d
|
@ -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