You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2012/12/19 23:04:27 UTC
[20/50] [abbrv] git commit: rat: Fix license on recently added new
files in tools/devcloud
rat: Fix license on recently added new files in tools/devcloud
Signed-off-by: Rohit Yadav <bh...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/89dc874f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/89dc874f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/89dc874f
Branch: refs/heads/ui-plugins
Commit: 89dc874f6f510a8f8193d34bde1bcff976e9ac86
Parents: eddb3df
Author: Rohit Yadav <bh...@apache.org>
Authored: Fri Dec 14 22:23:09 2012 -0800
Committer: Rohit Yadav <bh...@apache.org>
Committed: Fri Dec 14 22:23:09 2012 -0800
----------------------------------------------------------------------
pom.xml | 4 ++
tools/devcloud/.rvmrc | 7 ----
tools/devcloud/src/.rvmrc | 24 +++++++++++++++
tools/devcloud/src/Gemfile | 19 +++++++++++-
tools/devcloud/src/boxit.sh | 16 ++++++++++
tools/devcloud/src/deps/boxer.sh | 16 ++++++++++
tools/devcloud/src/deps/boxes/basebox-build/.rvmrc | 17 ++++++++++
.../devcloud/src/deps/boxes/basebox-build/Gemfile | 17 ++++++++++
.../src/deps/boxes/basebox-build/Vagrantfile | 17 ++++++++++
.../src/deps/boxes/basebox-build/definition.rb | 1 -
tools/devcloud/src/deps/boxes/xenbox-build/.rvmrc | 17 ++++++++++
tools/devcloud/src/deps/boxes/xenbox-build/Gemfile | 17 ++++++++++
.../puppet/manifests/vagrant-devcloudinitial.pp | 17 ++++++++++
.../modules/devcloudinitial/files/network.conf | 16 ++++++++++
.../src/puppet/modules/devcloud/files/compare.sh | 18 ++++++++++-
.../puppet/modules/devcloud/lib/facter/xeninfo.rb | 19 +++++++++++-
.../devcloud/manifests/functions/httpdownload.pp | 19 +++++++++++-
.../puppet/modules/devcloud/manifests/params.pp | 17 ++++++++++
tools/devcloud/src/waitforxe.sh | 18 ++++++++++-
19 files changed, 283 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e5aa024..4d31cde 100644
--- a/pom.xml
+++ b/pom.xml
@@ -208,8 +208,12 @@
<excludes>
<exclude>CHANGES</exclude>
<exclude>INSTALL.md</exclude>
+ <exclude>.idea/</exclude>
+ <exclude>*.log</exclude>
+ <exclude>**/*.patch</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/.project</exclude>
+ <exclude>**/*.iml</exclude>
<exclude>**/.settings/**</exclude>
<exclude>.metadata/**</exclude>
<exclude>.git/**</exclude>
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/.rvmrc
----------------------------------------------------------------------
diff --git a/tools/devcloud/.rvmrc b/tools/devcloud/.rvmrc
deleted file mode 100644
index fa4f7ad..0000000
--- a/tools/devcloud/.rvmrc
+++ /dev/null
@@ -1,7 +0,0 @@
-rvm use ruby-1.9.3@vagrant-xen-cloudstack --create
-export VAGRANT_HOME=$HOME/.vagrant.d-xen-cloudstack
-bundle check > /dev/null 2>&1
-RETVAL=$?
-if [ $RETVAL -ne 0 ]; then
- bundle install
-fi
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/.rvmrc
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/.rvmrc b/tools/devcloud/src/.rvmrc
new file mode 100644
index 0000000..7e51d62
--- /dev/null
+++ b/tools/devcloud/src/.rvmrc
@@ -0,0 +1,24 @@
+# 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.
+
+rvm use ruby-1.9.3@vagrant-xen-cloudstack --create
+export VAGRANT_HOME=$HOME/.vagrant.d-xen-cloudstack
+bundle check > /dev/null 2>&1
+RETVAL=$?
+if [ $RETVAL -ne 0 ]; then
+ bundle install
+fi
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/Gemfile
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/Gemfile b/tools/devcloud/src/Gemfile
index bcc3310..2790c4a 100644
--- a/tools/devcloud/src/Gemfile
+++ b/tools/devcloud/src/Gemfile
@@ -1,2 +1,19 @@
+# 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.
+
source 'https://rubygems.org'
-gem 'vagrant', :git => 'https://github.com/chipchilders/vagrant'
\ No newline at end of file
+gem 'vagrant', :git => 'https://github.com/chipchilders/vagrant'
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/boxit.sh
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/boxit.sh b/tools/devcloud/src/boxit.sh
index ccf28c6..dae53ce 100755
--- a/tools/devcloud/src/boxit.sh
+++ b/tools/devcloud/src/boxit.sh
@@ -1,4 +1,20 @@
#! /bin/bash -ex
+# 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.
vagrant halt
vagrant package default --output devcloud.box
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxer.sh
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxer.sh b/tools/devcloud/src/deps/boxer.sh
index 29b3cb2..72d9cd1 100755
--- a/tools/devcloud/src/deps/boxer.sh
+++ b/tools/devcloud/src/deps/boxer.sh
@@ -1,4 +1,20 @@
#! /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.
# Load RVM into a shell session *as a function*
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxes/basebox-build/.rvmrc
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxes/basebox-build/.rvmrc b/tools/devcloud/src/deps/boxes/basebox-build/.rvmrc
index cbeb628..3c8c66c 100644
--- a/tools/devcloud/src/deps/boxes/basebox-build/.rvmrc
+++ b/tools/devcloud/src/deps/boxes/basebox-build/.rvmrc
@@ -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.
+
rvm use ruby-1.9.3@vagrant-release-cloudstack --create
export VAGRANT_HOME=$HOME/.vagrant.d-release-cloudstack
bundle check > /dev/null 2>&1
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxes/basebox-build/Gemfile
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxes/basebox-build/Gemfile b/tools/devcloud/src/deps/boxes/basebox-build/Gemfile
index 1649e85..dae53be 100644
--- a/tools/devcloud/src/deps/boxes/basebox-build/Gemfile
+++ b/tools/devcloud/src/deps/boxes/basebox-build/Gemfile
@@ -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.
+
source 'https://rubygems.org'
gem 'veewee', :git => 'https://github.com/jedi4ever/veewee.git'
gem 'em-winrm'
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxes/basebox-build/Vagrantfile
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxes/basebox-build/Vagrantfile b/tools/devcloud/src/deps/boxes/basebox-build/Vagrantfile
index e69de29..2456923 100644
--- a/tools/devcloud/src/deps/boxes/basebox-build/Vagrantfile
+++ b/tools/devcloud/src/deps/boxes/basebox-build/Vagrantfile
@@ -0,0 +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-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxes/basebox-build/definition.rb
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxes/basebox-build/definition.rb b/tools/devcloud/src/deps/boxes/basebox-build/definition.rb
index a7f9071..2466842 100644
--- a/tools/devcloud/src/deps/boxes/basebox-build/definition.rb
+++ b/tools/devcloud/src/deps/boxes/basebox-build/definition.rb
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-
Veewee::Session.declare({
:cpu_count => '1',
:memory_size=> '2048',
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxes/xenbox-build/.rvmrc
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxes/xenbox-build/.rvmrc b/tools/devcloud/src/deps/boxes/xenbox-build/.rvmrc
index fa4f7ad..7e51d62 100644
--- a/tools/devcloud/src/deps/boxes/xenbox-build/.rvmrc
+++ b/tools/devcloud/src/deps/boxes/xenbox-build/.rvmrc
@@ -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.
+
rvm use ruby-1.9.3@vagrant-xen-cloudstack --create
export VAGRANT_HOME=$HOME/.vagrant.d-xen-cloudstack
bundle check > /dev/null 2>&1
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxes/xenbox-build/Gemfile
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxes/xenbox-build/Gemfile b/tools/devcloud/src/deps/boxes/xenbox-build/Gemfile
index 8eab1c7..2790c4a 100644
--- a/tools/devcloud/src/deps/boxes/xenbox-build/Gemfile
+++ b/tools/devcloud/src/deps/boxes/xenbox-build/Gemfile
@@ -1,2 +1,19 @@
+# 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.
+
source 'https://rubygems.org'
gem 'vagrant', :git => 'https://github.com/chipchilders/vagrant'
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxes/xenbox-build/puppet/manifests/vagrant-devcloudinitial.pp
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxes/xenbox-build/puppet/manifests/vagrant-devcloudinitial.pp b/tools/devcloud/src/deps/boxes/xenbox-build/puppet/manifests/vagrant-devcloudinitial.pp
index 4f7cfb5..0d48071 100644
--- a/tools/devcloud/src/deps/boxes/xenbox-build/puppet/manifests/vagrant-devcloudinitial.pp
+++ b/tools/devcloud/src/deps/boxes/xenbox-build/puppet/manifests/vagrant-devcloudinitial.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 permission s and limitations
+# under the License.
+
node default { include devcloudinitial }
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/network.conf
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/network.conf b/tools/devcloud/src/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/network.conf
index 7096907..91dd743 100644
--- a/tools/devcloud/src/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/network.conf
+++ b/tools/devcloud/src/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/network.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.
bridge
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/puppet/modules/devcloud/files/compare.sh
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/puppet/modules/devcloud/files/compare.sh b/tools/devcloud/src/puppet/modules/devcloud/files/compare.sh
index e1667c1..e0ee95c 100644
--- a/tools/devcloud/src/puppet/modules/devcloud/files/compare.sh
+++ b/tools/devcloud/src/puppet/modules/devcloud/files/compare.sh
@@ -1,6 +1,22 @@
#! /bin/bash -eux
+# 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.
FILE=$1
WORKING_DIR=$2
cd $WORKING_DIR
-test `grep $FILE ${WORKING_DIR}/md5sum.txt | awk '{print $1}'` == `md5sum $FILE |awk '{print $1}'`
\ No newline at end of file
+test `grep $FILE ${WORKING_DIR}/md5sum.txt | awk '{print $1}'` == `md5sum $FILE |awk '{print $1}'`
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/puppet/modules/devcloud/lib/facter/xeninfo.rb
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/puppet/modules/devcloud/lib/facter/xeninfo.rb b/tools/devcloud/src/puppet/modules/devcloud/lib/facter/xeninfo.rb
index b174937..a0b8748 100644
--- a/tools/devcloud/src/puppet/modules/devcloud/lib/facter/xeninfo.rb
+++ b/tools/devcloud/src/puppet/modules/devcloud/lib/facter/xeninfo.rb
@@ -1,5 +1,22 @@
+# 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 permission s and limitations
+# under the License.
+
Facter.add(:xen_hostuuid) do
setcode do
uuid=Facter::Util::Resolution.exec('xe host-list |grep uuid|awk \'{print $5}\'')
end
-end
\ No newline at end of file
+end
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/puppet/modules/devcloud/manifests/functions/httpdownload.pp
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/puppet/modules/devcloud/manifests/functions/httpdownload.pp b/tools/devcloud/src/puppet/modules/devcloud/manifests/functions/httpdownload.pp
index 5e3db33..2a88771 100644
--- a/tools/devcloud/src/puppet/modules/devcloud/manifests/functions/httpdownload.pp
+++ b/tools/devcloud/src/puppet/modules/devcloud/manifests/functions/httpdownload.pp
@@ -1,4 +1,21 @@
- define devcloud::functions::httpdownload () {
+# 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 permission s and limitations
+# under the License.
+
+define devcloud::functions::httpdownload () {
$file="${name['basedir']}/${name['basefile']}"
exec {
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/puppet/modules/devcloud/manifests/params.pp
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/puppet/modules/devcloud/manifests/params.pp b/tools/devcloud/src/puppet/modules/devcloud/manifests/params.pp
index 836263a..ff625c1 100644
--- a/tools/devcloud/src/puppet/modules/devcloud/manifests/params.pp
+++ b/tools/devcloud/src/puppet/modules/devcloud/manifests/params.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 permission s and limitations
+# under the License.
+
# == Class: devcloud::params
#
# This class implements the module params pattern, but it's loaded using hiera
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/89dc874f/tools/devcloud/src/waitforxe.sh
----------------------------------------------------------------------
diff --git a/tools/devcloud/src/waitforxe.sh b/tools/devcloud/src/waitforxe.sh
index d59518f..637b9fc 100755
--- a/tools/devcloud/src/waitforxe.sh
+++ b/tools/devcloud/src/waitforxe.sh
@@ -1,4 +1,21 @@
#! /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.
+
date
interval=20
timeout=300
@@ -7,7 +24,6 @@ command="xe host-list"
count=0
maxcount=$(($timeout/$interval))
-
until [ $count -gt $maxcount ]; do
if $command > /dev/null 2>&1; then
echo "\"$command\" executed successfully."