Howto - install configure and run the banquise client on Centos

download the rpms and install them :

rpm -Uvh banquise-client-*
warning: banquise-client-core-0.5-7.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e40ea9df
Preparing...                ########################################### [100%]
   1:banquise-client-yum    ########################################### [ 50%]
   2:banquise-client-core   ########################################### [100%]

install an extra requirement (not yet in the spec file) :

# yum install yum-security

(be sure that the yum security module is enabled in /etc/yum/pluginconf.d/security.conf)

[main]
enabled=1

edit the banquise configuration file /etc/banquise.conf :

you have to modify the url of the server

[DEFAULT]
server_url = http://127.0.0.1/banquise/web/json
type = REST
pid = /var/run/banquise.pid
backend = yum
#postscript = "puppetd --test" 
# for administration only (list command) - this is an option
#login =
#passwd =

now on banquise's web interface you need to create at least on customer :

  • login
  • choose the tab "customers"
  • click on the green +
  • fill the form and save it
  • click now on the magnifying glass
  • no valid contracts/no hosts, click on the green +
  • choose the range of the contract
  • generate the license

now back on the client :

link the machine to the contract :

 # banquise setup
 configuring the server to use banquise...
 You need a valid license key.
 license key : <enter he the key you generated just before via the web interface>

test the connection with banquise :

 # banquise test
 Communication with server ok

now you can start an update or any other commands of the client that are described in http://www.banquise.be/projects/banquise/wiki/Client_commands