~xwang2713/charms/precise/hpcc/hpcc-5.0

« back to all changes in this revision

Viewing changes to precise/hpcc/config.yaml

  • Committer: Xiaoming Wang
  • Date: 2014-02-10 21:55:12 UTC
  • Revision ID: xiaoming.wang@lexisnexis.com-20140210215512-0glt2bbze2tmc539
Again, thanks for taking time to review HPCC Charm. Based on the 3rd review we made following change
s:
1) Add restart in start hook 

2) Add checksum validation. We add a string package-checksum in config.yaml. If it is not empty inst
all script will use it to validate the downloaded package before install. In future our download sit
e will provide md5sum file so validate will be conducted automatically wihtout this setting.

3) Fix the open-port which was broken before. 

4) Add implementation to automatically generate ssh key pair if user doesn't provide them in config.
yaml. Basically if no keys supplied in config.yaml every new joined node will try to use existing ssh keys through relation-get. If can find it will call ssh-keygen to create new pair. In relation-chanage hook every node will use the keys from lowest ip node if there are different thant its pair. It shouldn't have overhead since when every nodes has the same pair of key.  We tested in various scenarios, for example deploy multiple nodes, add new nodes, etc. There is a restriction: user can not change the keys setting in config.yaml after the charm deployed. It will be added in future enhancement.

5) We add CentOS prerequisite but never test it. Actually we are not sure if current juju charm supp
ort CentOS or Fedora.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
    default: CE
16
16
    description: HPCC package type -  CE (Community Edition) is only choice now.
17
17
 
 
18
  package-checksum:
 
19
    type: string
 
20
    default: bc2fb0ad5f9fa1eaf7a33483ec31bfa3
 
21
    description: |
 
22
      HPCC package checksum. The default the value is for HPCC CE 4.2.0-4 Ubunut
 
23
      12.04 amd64. User can get other package checksum from:
 
24
           http://hpccsystems.com/download
 
25
      In future HPCCSystem download site will provide checksum file which will
 
26
      allow automatically verification without this setting.
 
27
      Set this value to empty string to skip the validation when download the
 
28
      package.
 
29
 
18
30
 
19
31
  download-url:
20
32
    type: string