Ottomata has submitted this change and it was merged.
Change subject: Remove references to cdh4
......................................................................
Remove references to cdh4
Change-Id: Iff0c00cd65b92d501d8754ffc12a11e79b28e3c9
---
M manifests/role/analytics.pp
M manifests/role/analytics/hadoop.pp
2 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Ottomata: Verified; Looks good to me, approved
diff --git a/manifests/role/analytics.pp b/manifests/role/analytics.pp
index c2958e1..fbcc60d 100644
--- a/manifests/role/analytics.pp
+++ b/manifests/role/analytics.pp
@@ -56,7 +56,7 @@
# If hdfs user exists, then add it to the stats group.
# I don't want to use puppet types to manage the hdfs
- # user, since it is installed by the cdh4 packages.
+ # user, since it is installed by the cdh packages.
exec { 'hdfs_user_in_stats_group':
command => 'usermod hdfs -a -G stats',
# only run this command if the hdfs user exists
diff --git a/manifests/role/analytics/hadoop.pp
b/manifests/role/analytics/hadoop.pp
index a23c12d..736e819 100644
--- a/manifests/role/analytics/hadoop.pp
+++ b/manifests/role/analytics/hadoop.pp
@@ -226,7 +226,7 @@
nrpe::monitor_service { 'hadoop-hdfs-journalnode':
description => 'Hadoop JournalNode',
nrpe_command => '/usr/lib/nagios/plugins/check_procs -c 1:1 -C
java -a "org.apache.hadoop.hdfs.qjournal.server.JournalNode"',
- require => Class['cdh4::hadoop'],
+ require => Class['cdh::hadoop'],
}
}
}
@@ -234,7 +234,7 @@
# == Class role::analytics::hadoop::master
-# Includes cdh4::hadoop::master classes
+# Includes cdh::hadoop::master classes
#
class role::analytics::hadoop::master inherits role::analytics::hadoop::client
{
system::role { 'role::analytics::hadoop::master':
@@ -303,7 +303,7 @@
}
# == Class role::analytics::hadoop::worker
-# Includes cdh4::hadoop::worker classes
+# Includes cdh::hadoop::worker classes
class role::analytics::hadoop::worker inherits role::analytics::hadoop::client
{
system::role { 'role::analytics::hadoop::worker':
description => 'Hadoop Worker (DataNode & NodeManager)',
--
To view, visit https://gerrit.wikimedia.org/r/145677
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iff0c00cd65b92d501d8754ffc12a11e79b28e3c9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits