summaryrefslogtreecommitdiffstats
path: root/build/f_example_packadd/README
blob: 55fa7c1a1cd0ee48c145de0b2c2221939455ad3d (plain)
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
##############################################################################
# Copyright (c) 2015 Ericsson AB and others.
# stefan.k.berg@ericsson.com
# jonas.bjurel@ericsson.com
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

This is an example of a an addition of an arbitrary debian package: foobar
It adds the debian package foobar_1.0-1 to the fuel .iso image and deploys it
to the controllers and the computes.

The f_example_packadd has the following structure:
.
+--------+----------+-----------+------------+
         |          |           |            |
      puppet/    Makefile     README    foobar_1.0-1/
         |                  (this file)  (deb pack)
         |
         |
      modules/
         |
         |
         |
       opnfv/
         |
         |
         |
     manifests/
         |
         |
         |
     foobar.pp

Makefile:
Invoked by the git root Makefile, based on the foobar_1.0-1 deb pack artifacts, and the pupet manifests, it builds a deb package
and adds it together with the manifest to a fuel build artifact directory, such that it eventually gets built into the new fuel .iso

foobar_1.0-1:
Contains arbitrary debian package artifacts

foobar.pp:
Controls the installation and configuration of foobar

To activate this example feature, add "SUBDIRS += f_example_packadd" in the git root Makefile.