puppet-cloudera
puppet-cloudera copied to clipboard
Cloudera 6 support
Is there any plan to update this repository to support cloudera 6? or is there any forks / new project that does ?
+1
+1
+1
Just a follow up for anyone who is interested. I tested the current version of this module with CDH6 and with a minor change or two, it does work So I forked it and made my own changes.
in case you are interested here is the changes needed. not pretty, but functional
@@ -285,7 +285,7 @@
@exec { 'scm_prepare_database':
- command => "/usr/share/cmf/schema/scm_prepare_database.sh ${db_type} ${scmopts} --user=${db_user} --password=${db_pass} ${database_name} ${username} ${password} && touch /etc/cloudera-scm-server/.scm_prepare_database",
+ command => "/opt/cloudera/cm/schema/scm_prepare_database.sh ${db_type} ${scmopts} --user=${db_user} --password=${db_pass} ${database_name} ${username} ${password} && touch /etc/cloudera-scm-server/.scm_prepare_database",
creates => '/etc/cloudera-scm-server/.scm_prepare_database',
require => $scm_prepare_database_require,
manifests/init.pp
@@ -348,7 +348,7 @@
- if $cm_version =~ /^5/ {
+ if $cm_version =~ /^[5|6]/ {```