aboutsummaryrefslogtreecommitdiff
path: root/bigtop-deploy
diff options
context:
space:
mode:
authorEvans Ye <evansye@apache.org>2015-04-30 20:07:28 +0000
committerKonstantin Boudnik <cos@wandisco.com>2015-05-01 16:14:36 -0700
commitf69e8f3d2b2972e7501f6b78275d8b07c20ef425 (patch)
treea62de687c3355d3bbf379734669908a2a4b10b73 /bigtop-deploy
parent8239a3af0873fdd4e10426f499a7002029e55b25 (diff)
BIGTOP-1827. Tachyon package name conflict on Debian/Ubuntu
Signed-off-by: Konstantin Boudnik <cos@wandisco.com>
Diffstat (limited to 'bigtop-deploy')
-rw-r--r--bigtop-deploy/puppet/modules/tachyon/manifests/init.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/bigtop-deploy/puppet/modules/tachyon/manifests/init.pp b/bigtop-deploy/puppet/modules/tachyon/manifests/init.pp
index 2e525fe5..8d53b25d 100644
--- a/bigtop-deploy/puppet/modules/tachyon/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/tachyon/manifests/init.pp
@@ -11,7 +11,7 @@
# limitations under the License.
class tachyon {
class common ($master_host){
- package { "tachyon":
+ package { "tachyon-tfs":
ensure => latest,
}
@@ -19,13 +19,13 @@ class tachyon {
file {
"/etc/tachyon/conf/log4j.properties":
content => template("tachyon/log4j.properties"),
- require => [Package["tachyon"]]
+ require => [Package["tachyon-tfs"]]
}
# add tachyon-env.sh to point to tachyon master
file { "/etc/tachyon/conf/tachyon-env.sh":
content => template("tachyon/tachyon-env.sh"),
- require => [Package["tachyon"]]
+ require => [Package["tachyon-tfs"]]
}
}
@@ -35,13 +35,13 @@ class tachyon {
exec {
"tachyon formatting":
command => "/usr/lib/tachyon/bin/tachyon format",
- require => [ Package["tachyon"], File["/etc/tachyon/conf/log4j.properties"], File["/etc/tachyon/conf/tachyon-env.sh"] ]
+ require => [ Package["tachyon-tfs"], File["/etc/tachyon/conf/log4j.properties"], File["/etc/tachyon/conf/tachyon-env.sh"] ]
}
if ( $fqdn == $tachyon::common::master_host ) {
service { "tachyon-master":
ensure => running,
- require => [ Package["tachyon"], Exec["tachyon formatting"] ],
+ require => [ Package["tachyon-tfs"], Exec["tachyon formatting"] ],
hasrestart => true,
hasstatus => true,
}
@@ -60,7 +60,7 @@ class tachyon {
service { "tachyon-worker":
ensure => running,
- require => [ Package["tachyon"], File["/etc/tachyon/conf/log4j.properties"], File["/etc/tachyon/conf/tachyon-env.sh"] ],
+ require => [ Package["tachyon-tfs"], File["/etc/tachyon/conf/log4j.properties"], File["/etc/tachyon/conf/tachyon-env.sh"] ],
hasrestart => true,
hasstatus => true,
}