aboutsummaryrefslogtreecommitdiff
path: root/bigtop_toolchain/manifests/env.pp
diff options
context:
space:
mode:
authorIan Mordey <ian.mordey@wandisco.com>2013-09-12 08:53:00 -0700
committerKonstantin Boudnik <cos@apache.org>2013-09-12 08:53:00 -0700
commit4f875876f924c17b62a6ce53249c2c31aa738602 (patch)
tree017091a7102944f22ad14e1be023389664b39996 /bigtop_toolchain/manifests/env.pp
parent95bac804ea5f98c5d448e9a404604d825fb50af8 (diff)
downloadbigtop-odpi-4f875876f924c17b62a6ce53249c2c31aa738602.tar.gz
BIGTOP-1063. Add Scala 2.9.3 to bigtop-toolchain
Signed-off-by: Konstantin Boudnik <cos@apache.org>
Diffstat (limited to 'bigtop_toolchain/manifests/env.pp')
-rw-r--r--bigtop_toolchain/manifests/env.pp38
1 files changed, 38 insertions, 0 deletions
diff --git a/bigtop_toolchain/manifests/env.pp b/bigtop_toolchain/manifests/env.pp
new file mode 100644
index 00000000..61af2a68
--- /dev/null
+++ b/bigtop_toolchain/manifests/env.pp
@@ -0,0 +1,38 @@
+# 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 bigtop_toolchain::env {
+ case $operatingsystem{
+ Ubuntu: {
+ file { '/etc/profile.d/bigtop.sh':
+ source => 'puppet:///modules/bigtop_toolchain/jenkins.sh.ubu',
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ }
+ }
+ default: {
+ file {'/etc/profile.d/bigtop.sh':
+ source => 'puppet:///modules/bigtop_toolchain/jenkins.sh.centos',
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ }
+ }
+ }
+}
+