You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ni...@apache.org on 2014/02/25 06:45:16 UTC
git commit: changes to nodes.pp
Repository: incubator-stratos
Updated Branches:
refs/heads/master 31eb2ae0a -> df3aeaf8f
changes to nodes.pp
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/df3aeaf8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/df3aeaf8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/df3aeaf8
Branch: refs/heads/master
Commit: df3aeaf8fa89befb9eecf842779a3e3c0a796766
Parents: 31eb2ae
Author: Nirmal Fernando <ni...@apache.org>
Authored: Tue Feb 25 11:14:38 2014 +0530
Committer: Nirmal Fernando <ni...@apache.org>
Committed: Tue Feb 25 11:14:38 2014 +0530
----------------------------------------------------------------------
tools/puppet3/manifests/nodes.pp | 46 ++++++++++++++++++++++++++++-------
1 file changed, 37 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/df3aeaf8/tools/puppet3/manifests/nodes.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/manifests/nodes.pp b/tools/puppet3/manifests/nodes.pp
index 38f9cc9..9056a05 100644
--- a/tools/puppet3/manifests/nodes.pp
+++ b/tools/puppet3/manifests/nodes.pp
@@ -2,16 +2,15 @@ node 'base' {
#essential variables
$package_repo = 'http://10.4.128.7'
- #following directory is used to store binary packages
$local_package_dir = '/mnt/packs'
- # Stratos message broker IP and port
- $mb_ip = '10.4.128.12'
- $mb_port = '5672'
- # Stratos CEP IP and port
- $cep_ip = '10.4.128.10'
- $cep_port = '7611'
- # Stratos Cartridge Agent’s trust store password
- $truststore_password = 'wso2carbon'
+ $mb_ip = '54.251.234.223'
+ $mb_port = '5677'
+ $cep_ip = '54.251.234.223'
+ $cep_port = '7615'
+ $truststore_password = 'wso2carbon'
+ $java_distribution = 'jdk-7u7-linux-x64.tar.gz'
+ $java_name = 'jdk1.7.0_07'
+ $member_type_ip = 'private'
#following variables required only if you want to install stratos using puppet.
#not supported in alpha version
@@ -50,9 +49,37 @@ node 'base' {
#$internal_repo_password = 'admin'
}
+node /nirmal/ inherits base {
+
+require java
+ class {'agent':}
+ class {'nodejs':}
+
+ #install agent before nodejs
+ Class['agent'] ~> Class['nodejs']
+
+
+#class {'agent':
+# type => 'mysql',
+# }
+# class {'mysql':}
+
+
+#require java
+# class {'agent':}
+# class {'php':}
+
+ #install agent before php
+# Class['agent'] ~> Class['php']
+#require java
+# class {'agent':}
+}
# php cartridge node
node /php/ inherits base {
+ $docroot = "/var/www"
+ $syslog="/var/log/apache2/error.log"
+ $samlalias="/var/www"
require java
class {'agent':}
class {'php':}
@@ -146,3 +173,4 @@ node 'sc.wso2.com' inherits base {
class {'manager': maintenance_mode => 'norestart',}
}
+