Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudera 6 support #52

Open
jgrammen-agilitypr opened this issue Feb 1, 2019 · 4 comments
Open

Cloudera 6 support #52

jgrammen-agilitypr opened this issue Feb 1, 2019 · 4 comments

Comments

@jgrammen-agilitypr
Copy link

Is there any plan to update this repository to support cloudera 6? or is there any forks / new project that does ?

@bogdan-radocea
Copy link

+1

2 similar comments
@nefa
Copy link

nefa commented Feb 21, 2019

+1

@alan-augustine
Copy link

+1

@jgrammen-agilitypr
Copy link
Author

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]/ {```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants