Ubik toolbelt is a set of tools for Ubik management.
- Package env creator
- Control file for package
- Post/Pre Install/Remove/Upgrade controls
- Python
pip install git+http://github.com/socketubs/ubik-toolbelt.git
You can see how to create wget
package with Ubik-toolbelt in examples
dir.
cd /usr/local/src
ubik-package create my_package
cd my_package
mkdir -p src/usr/bin
vim src/usr/bin/hello.sh
vim make.sh
...
function install(){
cp -R $SRC/* $DST
}
...
./make.sh install
./make.sh package
This is a repositorie structure:
my_repo
├── .repo_root
├── Packages.json
├── Packages.list
├── repo.conf
└── stable
├── noarch
│ └── nodist
│ └── novers
│ ├── hello_hell.tar
│ ├── hello_world.tar
│ └── test_deps.tar
└── x86_64
└── debian
└── 6
├── hello_hell2.tar
├── hello_world2.tar
└── test_deps2.tar
And this how to create your own repositorie:
ubik-repo create my_repo
:: Create repositorie structure
:: Create default "stable" branch and two examples
And you have just to put your packages into the good Branch/Arch/Dist/Vers and run ubik-repo generate --old-format
in your repositorie root.
Thanks to Docopt to be awesome tool.
For information:
Canopsis is a hypervisor, built on top of all open source monitoring solutions
to agregate, correlate and ponderate events flowing from them.
License is AGPL3, it fully compatible with Canopsis
.
See LICENSE.