You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/03/31 10:39:13 UTC

[3/3] git commit: Added Apache License Header for Puppet related files

Added Apache License Header for Puppet related files


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/cce0f8a1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/cce0f8a1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/cce0f8a1

Branch: refs/heads/master
Commit: cce0f8a126b2a59f2b42b6588aa3fdd8bbd531d7
Parents: 5e6db52
Author: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Authored: Mon Mar 31 14:07:22 2014 +0530
Committer: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Committed: Mon Mar 31 14:07:22 2014 +0530

----------------------------------------------------------------------
 tools/puppet3/auth.conf                         | 17 ++++++++++
 tools/puppet3/autosign.conf                     | 16 ++++++++++
 tools/puppet3/fileserver.conf                   | 17 ++++++++++
 tools/puppet3/manifests/nodes.pp                | 17 ++++++++++
 tools/puppet3/manifests/site.pp                 | 17 ++++++++++
 tools/puppet3/modules/agent/manifests/init.pp   | 17 ++++++++++
 .../modules/agent/manifests/initialize.pp       | 33 ++++++++++----------
 .../modules/agent/manifests/push_templates.pp   | 33 ++++++++++----------
 tools/puppet3/modules/agent/manifests/start.pp  | 33 ++++++++++----------
 .../templates/extensions/addons/_mysql.erb      | 17 ++++++++++
 .../agent/templates/extensions/addons/_ruby.erb | 17 ++++++++++
 tools/puppet3/modules/java/manifests/init.pp    | 17 ++++++++++
 .../modules/java/templates/java_home.sh.erb     | 17 ++++++++++
 tools/puppet3/modules/lb/manifests/clean.pp     | 33 ++++++++++----------
 tools/puppet3/modules/lb/manifests/deploy.pp    | 33 ++++++++++----------
 tools/puppet3/modules/lb/manifests/init.pp      | 33 ++++++++++----------
 .../puppet3/modules/lb/manifests/initialize.pp  | 33 ++++++++++----------
 tools/puppet3/modules/lb/manifests/params.pp    | 33 ++++++++++----------
 .../modules/lb/manifests/push_templates.pp      | 33 ++++++++++----------
 tools/puppet3/modules/lb/manifests/start.pp     | 33 ++++++++++----------
 tools/puppet3/modules/mysql/manifests/init.pp   | 17 ++++++++++
 .../modules/mysql/templates/000-default.erb     | 17 ++++++++++
 .../puppet3/modules/mysql/templates/my.cnf.erb  | 17 ++++++++++
 .../modules/mysql/templates/phpMyAdmin.conf.erb | 17 ++++++++++
 tools/puppet3/modules/nodejs/manifests/init.pp  | 17 ++++++++++
 .../modules/php/lib/facter/stratos_facts.rb     | 17 ++++++++++
 .../puppet3/modules/php/manifests/init.pp.cent  | 17 ++++++++++
 tools/puppet3/modules/php/manifests/init.pp.deb | 17 ++++++++++
 tools/puppet3/modules/php/manifests/init.pp.rpm | 17 ++++++++++
 .../modules/php/templates/httpd/httpd.conf.erb  | 17 ++++++++++
 tools/puppet3/modules/ruby/manifests/init.pp    | 17 ++++++++++
 .../modules/ruby/templates/ruby-start.sh.erb    | 18 +++++++++++
 tools/puppet3/modules/tomcat/manifests/init.pp  | 17 ++++++++++
 .../puppet3/modules/wordpress/manifests/init.pp | 17 ++++++++++
 .../wordpress/templates/httpd/httpd.conf.erb    | 17 ++++++++++
 tools/puppet3/puppet.conf                       | 17 ++++++++++
 36 files changed, 612 insertions(+), 160 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/auth.conf
----------------------------------------------------------------------
diff --git a/tools/puppet3/auth.conf b/tools/puppet3/auth.conf
index b31906b..a19683e 100644
--- a/tools/puppet3/auth.conf
+++ b/tools/puppet3/auth.conf
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # This is the default auth.conf file, which implements the default rules
 # used by the puppet master. (That is, the rules below will still apply
 # even if this file is deleted.)

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/autosign.conf
----------------------------------------------------------------------
diff --git a/tools/puppet3/autosign.conf b/tools/puppet3/autosign.conf
index 72e8ffc..42b2cbb 100644
--- a/tools/puppet3/autosign.conf
+++ b/tools/puppet3/autosign.conf
@@ -1 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 *

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/fileserver.conf
----------------------------------------------------------------------
diff --git a/tools/puppet3/fileserver.conf b/tools/puppet3/fileserver.conf
index 62598c4..21328ea 100644
--- a/tools/puppet3/fileserver.conf
+++ b/tools/puppet3/fileserver.conf
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # fileserver.conf
 
 # Puppet automatically serves PLUGINS and FILES FROM MODULES: anything in

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/manifests/nodes.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/manifests/nodes.pp b/tools/puppet3/manifests/nodes.pp
index dda9557..dbfd27f 100644
--- a/tools/puppet3/manifests/nodes.pp
+++ b/tools/puppet3/manifests/nodes.pp
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 node 'base' {
 
   #essential variables

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/manifests/site.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/manifests/site.pp b/tools/puppet3/manifests/site.pp
index 373acc6..cce0655 100644
--- a/tools/puppet3/manifests/site.pp
+++ b/tools/puppet3/manifests/site.pp
@@ -1 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 import "nodes"

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/agent/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/agent/manifests/init.pp b/tools/puppet3/modules/agent/manifests/init.pp
index affab0a..2d1b078 100644
--- a/tools/puppet3/modules/agent/manifests/init.pp
+++ b/tools/puppet3/modules/agent/manifests/init.pp
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class agent(
   $version = '4.0.0-SNAPSHOT',
   $owner   = 'root',

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/agent/manifests/initialize.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/agent/manifests/initialize.pp b/tools/puppet3/modules/agent/manifests/initialize.pp
index 39e9eb7..4fdb0c7 100755
--- a/tools/puppet3/modules/agent/manifests/initialize.pp
+++ b/tools/puppet3/modules/agent/manifests/initialize.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Initializing the deployment
 
 define agent::initialize ($repo, $version, $service, $local_dir, $target, $owner,) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/agent/manifests/push_templates.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/agent/manifests/push_templates.pp b/tools/puppet3/modules/agent/manifests/push_templates.pp
index 5227182..e6d7a53 100755
--- a/tools/puppet3/modules/agent/manifests/push_templates.pp
+++ b/tools/puppet3/modules/agent/manifests/push_templates.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Apply the templates
 
 define agent::push_templates ($target) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/agent/manifests/start.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/agent/manifests/start.pp b/tools/puppet3/modules/agent/manifests/start.pp
index 990b0ff..034834c 100755
--- a/tools/puppet3/modules/agent/manifests/start.pp
+++ b/tools/puppet3/modules/agent/manifests/start.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Starts the service once the deployment is successful.
 
 define agent::start ($target, $owner) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/agent/templates/extensions/addons/_mysql.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/agent/templates/extensions/addons/_mysql.erb b/tools/puppet3/modules/agent/templates/extensions/addons/_mysql.erb
index 7f36e95..88f8891 100644
--- a/tools/puppet3/modules/agent/templates/extensions/addons/_mysql.erb
+++ b/tools/puppet3/modules/agent/templates/extensions/addons/_mysql.erb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 export PATH='/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin'
 
 PASSWD=`facter -p stratos_mysql_password`

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/agent/templates/extensions/addons/_ruby.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/agent/templates/extensions/addons/_ruby.erb b/tools/puppet3/modules/agent/templates/extensions/addons/_ruby.erb
index 84e25ff..9117dde 100644
--- a/tools/puppet3/modules/agent/templates/extensions/addons/_ruby.erb
+++ b/tools/puppet3/modules/agent/templates/extensions/addons/_ruby.erb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 export PATH="/usr/local/rvm/gems/ruby-2.1.0/bin:/usr/local/rvm/gems/ruby-2.1.0@global/bin:/usr/local/rvm/rubies/ruby-2.1.0/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/rvm/bin:/root/bin"
 
 export HOME="/root/"

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/java/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/java/manifests/init.pp b/tools/puppet3/modules/java/manifests/init.pp
index dd2f690..834c58a 100755
--- a/tools/puppet3/modules/java/manifests/init.pp
+++ b/tools/puppet3/modules/java/manifests/init.pp
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class java { 
 
   $java_home  = "/opt/${java_name}"

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/java/templates/java_home.sh.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/java/templates/java_home.sh.erb b/tools/puppet3/modules/java/templates/java_home.sh.erb
index b92b179..c5b02bc 100755
--- a/tools/puppet3/modules/java/templates/java_home.sh.erb
+++ b/tools/puppet3/modules/java/templates/java_home.sh.erb
@@ -1 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 export JAVA_HOME="<%= @java_home %>"

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/lb/manifests/clean.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/lb/manifests/clean.pp b/tools/puppet3/modules/lb/manifests/clean.pp
index 9356bfa..b656d74 100755
--- a/tools/puppet3/modules/lb/manifests/clean.pp
+++ b/tools/puppet3/modules/lb/manifests/clean.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Cleans the previous deployment. If the maintenance mode is set to true, this will only kill the running service.
 
 define lb::clean ($mode, $target) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/lb/manifests/deploy.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/lb/manifests/deploy.pp b/tools/puppet3/modules/lb/manifests/deploy.pp
index ae23733..9768a90 100755
--- a/tools/puppet3/modules/lb/manifests/deploy.pp
+++ b/tools/puppet3/modules/lb/manifests/deploy.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Executes the deployment by pushing all necessary configurations and patches
 
 define lb::deploy ($service, $security, $target, $owner, $group) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/lb/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/lb/manifests/init.pp b/tools/puppet3/modules/lb/manifests/init.pp
index 8b199bb..ca7deed 100755
--- a/tools/puppet3/modules/lb/manifests/init.pp
+++ b/tools/puppet3/modules/lb/manifests/init.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Class: lb
 #
 # This class installs Stratos Load balancer

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/lb/manifests/initialize.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/lb/manifests/initialize.pp b/tools/puppet3/modules/lb/manifests/initialize.pp
index 8a13b3d..63c8bb6 100755
--- a/tools/puppet3/modules/lb/manifests/initialize.pp
+++ b/tools/puppet3/modules/lb/manifests/initialize.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Initializing the deployment
 
 define lb::initialize ($repo, $version, $service, $local_dir, $target, $mode, $owner,) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/lb/manifests/params.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/lb/manifests/params.pp b/tools/puppet3/modules/lb/manifests/params.pp
index 115411d..8dfd412 100755
--- a/tools/puppet3/modules/lb/manifests/params.pp
+++ b/tools/puppet3/modules/lb/manifests/params.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Class lb::params
 #
 # This class manages lb parameters

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/lb/manifests/push_templates.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/lb/manifests/push_templates.pp b/tools/puppet3/modules/lb/manifests/push_templates.pp
index 2159b13..eb835c6 100755
--- a/tools/puppet3/modules/lb/manifests/push_templates.pp
+++ b/tools/puppet3/modules/lb/manifests/push_templates.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Apply the templates
 define lb::push_templates ($directory, $target) {
   file { "${target}/repository/${name}":

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/lb/manifests/start.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/lb/manifests/start.pp b/tools/puppet3/modules/lb/manifests/start.pp
index 3ef1a04..0630fea 100755
--- a/tools/puppet3/modules/lb/manifests/start.pp
+++ b/tools/puppet3/modules/lb/manifests/start.pp
@@ -1,19 +1,20 @@
-# ----------------------------------------------------------------------------
-#  Copyright 2005-2013 WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ----------------------------------------------------------------------------
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Starts the service once the deployment is successful.
 
 define lb::start ($target, $owner) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/mysql/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/mysql/manifests/init.pp b/tools/puppet3/modules/mysql/manifests/init.pp
index d099057..070862b 100644
--- a/tools/puppet3/modules/mysql/manifests/init.pp
+++ b/tools/puppet3/modules/mysql/manifests/init.pp
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class mysql{
 
   if $stratos_mysql_password {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/mysql/templates/000-default.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/mysql/templates/000-default.erb b/tools/puppet3/modules/mysql/templates/000-default.erb
index 2b8c502..e18c70c 100644
--- a/tools/puppet3/modules/mysql/templates/000-default.erb
+++ b/tools/puppet3/modules/mysql/templates/000-default.erb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 <VirtualHost *:80>
         ServerAdmin webmaster@localhost
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/mysql/templates/my.cnf.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/mysql/templates/my.cnf.erb b/tools/puppet3/modules/mysql/templates/my.cnf.erb
index 37b2e9a..eb82b2c 100644
--- a/tools/puppet3/modules/mysql/templates/my.cnf.erb
+++ b/tools/puppet3/modules/mysql/templates/my.cnf.erb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 #
 # The MySQL database server configuration file.
 #

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/mysql/templates/phpMyAdmin.conf.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/mysql/templates/phpMyAdmin.conf.erb b/tools/puppet3/modules/mysql/templates/phpMyAdmin.conf.erb
index f1679a7..602caf3 100644
--- a/tools/puppet3/modules/mysql/templates/phpMyAdmin.conf.erb
+++ b/tools/puppet3/modules/mysql/templates/phpMyAdmin.conf.erb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # phpmyadmin - Web based MySQL browser written in php
 # 
 # Allows only localhost by default

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/nodejs/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/nodejs/manifests/init.pp b/tools/puppet3/modules/nodejs/manifests/init.pp
index f591ae1..7292a46 100644
--- a/tools/puppet3/modules/nodejs/manifests/init.pp
+++ b/tools/puppet3/modules/nodejs/manifests/init.pp
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class nodejs {
 
   $target = '/mnt'

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/php/lib/facter/stratos_facts.rb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/php/lib/facter/stratos_facts.rb b/tools/puppet3/modules/php/lib/facter/stratos_facts.rb
index 21a5019..3cab535 100644
--- a/tools/puppet3/modules/php/lib/facter/stratos_facts.rb
+++ b/tools/puppet3/modules/php/lib/facter/stratos_facts.rb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 if FileTest.exists?("/tmp/payload/launch-params")
 
   configs = File.read("/tmp/payload/launch-params").split(",").map(&:strip)

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/php/manifests/init.pp.cent
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/php/manifests/init.pp.cent b/tools/puppet3/modules/php/manifests/init.pp.cent
index 87cf719..22a5d8a 100755
--- a/tools/puppet3/modules/php/manifests/init.pp.cent
+++ b/tools/puppet3/modules/php/manifests/init.pp.cent
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class php ($syslog="", $docroot="/var/www/html", $samlalias="") {
   $packages = [
     'httpd',

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/php/manifests/init.pp.deb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/php/manifests/init.pp.deb b/tools/puppet3/modules/php/manifests/init.pp.deb
index 5ead615..8fc53c7 100755
--- a/tools/puppet3/modules/php/manifests/init.pp.deb
+++ b/tools/puppet3/modules/php/manifests/init.pp.deb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class php ($syslog="", $docroot="/var/www", $samlalias="") {
   $packages = [
     'nano',

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/php/manifests/init.pp.rpm
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/php/manifests/init.pp.rpm b/tools/puppet3/modules/php/manifests/init.pp.rpm
index 42c1c10..42aba65 100755
--- a/tools/puppet3/modules/php/manifests/init.pp.rpm
+++ b/tools/puppet3/modules/php/manifests/init.pp.rpm
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class php ($syslog="", $docroot="", $samlalias="") {
   $packages = [
     'httpd',

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/php/templates/httpd/httpd.conf.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/php/templates/httpd/httpd.conf.erb b/tools/puppet3/modules/php/templates/httpd/httpd.conf.erb
index 22b8e69..ce3ebeb 100644
--- a/tools/puppet3/modules/php/templates/httpd/httpd.conf.erb
+++ b/tools/puppet3/modules/php/templates/httpd/httpd.conf.erb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 #
 # This is the main Apache server configuration file.  It contains the
 # configuration directives that give the server its instructions.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/ruby/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/ruby/manifests/init.pp b/tools/puppet3/modules/ruby/manifests/init.pp
index ec4be1f..9b67106 100644
--- a/tools/puppet3/modules/ruby/manifests/init.pp
+++ b/tools/puppet3/modules/ruby/manifests/init.pp
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class ruby( $target = '/mnt' ) {
 
   if $stratos_app_path {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/ruby/templates/ruby-start.sh.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/ruby/templates/ruby-start.sh.erb b/tools/puppet3/modules/ruby/templates/ruby-start.sh.erb
index e32da09..2c115e4 100644
--- a/tools/puppet3/modules/ruby/templates/ruby-start.sh.erb
+++ b/tools/puppet3/modules/ruby/templates/ruby-start.sh.erb
@@ -1,5 +1,23 @@
 #!/bin/bash
 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+
 export PATH="/usr/local/rvm/gems/ruby-2.1.0/bin:/usr/local/rvm/gems/ruby-2.1.0@global/bin:/usr/local/rvm/rubies/ruby-2.1.0/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/rvm/bin:/root/bin"
 
 export HOME="/root/"

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/tomcat/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/tomcat/manifests/init.pp b/tools/puppet3/modules/tomcat/manifests/init.pp
index b783a05..55df4e3 100644
--- a/tools/puppet3/modules/tomcat/manifests/init.pp
+++ b/tools/puppet3/modules/tomcat/manifests/init.pp
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class tomcat(
   $owner   = 'root',
   $group   = 'root',

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/wordpress/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/wordpress/manifests/init.pp b/tools/puppet3/modules/wordpress/manifests/init.pp
index 4670845..78328f6 100644
--- a/tools/puppet3/modules/wordpress/manifests/init.pp
+++ b/tools/puppet3/modules/wordpress/manifests/init.pp
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 class wordpress (
   $httpd_user  = 'apache',
   $httpd_group = 'apache',

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/modules/wordpress/templates/httpd/httpd.conf.erb
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/wordpress/templates/httpd/httpd.conf.erb b/tools/puppet3/modules/wordpress/templates/httpd/httpd.conf.erb
index 89c341c..021484b 100644
--- a/tools/puppet3/modules/wordpress/templates/httpd/httpd.conf.erb
+++ b/tools/puppet3/modules/wordpress/templates/httpd/httpd.conf.erb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 #
 # This is the main Apache server configuration file.  It contains the
 # configuration directives that give the server its instructions.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/cce0f8a1/tools/puppet3/puppet.conf
----------------------------------------------------------------------
diff --git a/tools/puppet3/puppet.conf b/tools/puppet3/puppet.conf
index 312b567..4854197 100644
--- a/tools/puppet3/puppet.conf
+++ b/tools/puppet3/puppet.conf
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 [main]
 logdir=/var/log/puppet
 vardir=/var/lib/puppet