stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariangela Hills (JIRA)" <>
Subject [jira] [Created] (STRATOS-1055) [Wiki] - Improvements needed in the Puppet Master docs
Date Mon, 05 Jan 2015 10:30:34 GMT
Mariangela Hills created STRATOS-1055:

             Summary: [Wiki] - Improvements needed in the Puppet Master docs
                 Key: STRATOS-1055
             Project: Stratos
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 4.1.0 M4
            Reporter: Mariangela Hills
            Assignee: Mariangela Hills

The answers mentioned for the following issues need to be documented to improve the Puppet
Master documentation. 

Bug #4  - Setup blocker 

Unfortunately, the setup process doesn't work very well, and I hit a major blocker.  the git
repo [1] does not contain a python distribution zip (
, and the documentation predicates a distribution existing [2]

"13. Copy the Python Cartridge Agent distribution (,
which is in the <STRATOS_HOME>/products/python-cartridge-agent/target/ directory, to
the /etc/puppet/modules/python_agent/files/ directory.

Please tell the elves how to fix?


Additional documentation glitches include the following:

UG #1

"Install Puppet Master (v3) as follows:

    Execute the following command. When you execute this command, your system hostname will
get modified.
    ./puppetinstall -m -d <PUPPETMASTER-DOMAIN> -s <PUPPET-MASTER-IP>

?? docs don't explain PUPPETMASTER-domain and puppet-master-ip

BUG #2

"Change the variables in the nodes.pp file accordingly.
vi /etc/puppet/manifests/nodes/

??? what does 'change accordingly' mean?

?? the example has address parameters.  how do the parameters map to reader IP
addresses?  should the reader use or a local IP address?

BUG #3

Download the Java distribution to the /etc/puppet/modules/java/files/ directory. Define the
Java distribution name and the unzipped folder name in the  base.pp file, which is in the
/etc/puppet/manifests/nodes directory, and save the file.

? should I just apt-get a java distribution?
You have to build the python agent to get the zip.
Do a "mvn clean install" from <STRATOS_HOME>/products/python-cartridge-agent directory.
Then you will get the inside target directory.

Installing puppet master is documented here

You have to update /etc/puppet/manifests/nodes/base.pp according to your setup. For example,
you have to update $mb_ip/$cep_ip  according to your setup.

#following directory is used to store binary packages
$local_package_dir    = '/mnt/packs'
# Stratos message broker IP and port
$mb_ip                = 'YOUR_MB_IP'
$mb_port              = 'YOUR_MB_PORT'
$mb_type              = 'activemq'
# Stratos CEP IP and port
$cep_ip               = 'YOUR_CEP_IP'
$cep_port             = 'YOUR_CEP_PORT'
# Stratos Cartridge Agent’s trust store password
$truststore_password  = 'wso2carbon'

But I guess this base.pp is updated. Instead of $mb_ip and $mb_port, you have to give $mb_url
($mb_url	= 'tcp://').

You have to download a java distribution, say jdk-7u7-linux-x64.tar.gz, and copy this inside
/etc/puppet/modules/java/files/ directory.
Then you need to update the /etc/puppet/manifests/nodes/base.pp according to your java distribution

$java_distribution  = 'jdk-7u7-linux-x64.tar.gz'
$java_name          = 'jdk1.7.0_07'

Here $java_distribution is the downloaded java distribution name and $java_name is the the
name of the unzipped java distribution.

This message was sent by Atlassian JIRA

View raw message