metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject incubator-metron git commit: METRON-792 Quick Dev should remove/replace RPM packages closes apache/incubator-metron#487
Date Thu, 23 Mar 2017 13:41:17 GMT
Repository: incubator-metron
Updated Branches:
  refs/heads/master 8f12a76e0 -> 64ff4694b


METRON-792 Quick Dev should remove/replace RPM packages closes apache/incubator-metron#487


Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/64ff4694
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/64ff4694
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/64ff4694

Branch: refs/heads/master
Commit: 64ff4694bbdc3d7584b931f571a91bff74d56874
Parents: 8f12a76
Author: dlyle65535 <dlyle65535@gmail.com>
Authored: Thu Mar 23 09:39:57 2017 -0400
Committer: David Lyle <dlyle65535@gmail.com>
Committed: Thu Mar 23 09:39:57 2017 -0400

----------------------------------------------------------------------
 metron-deployment/playbooks/metron_install.yml     | 2 +-
 metron-deployment/roles/metron-rpms/tasks/main.yml | 5 +++++
 metron-deployment/roles/quick_dev/tasks/main.yml   | 5 +++++
 3 files changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/64ff4694/metron-deployment/playbooks/metron_install.yml
----------------------------------------------------------------------
diff --git a/metron-deployment/playbooks/metron_install.yml b/metron-deployment/playbooks/metron_install.yml
index 6d31800..333207a 100644
--- a/metron-deployment/playbooks/metron_install.yml
+++ b/metron-deployment/playbooks/metron_install.yml
@@ -19,7 +19,7 @@
   become: true
   roles:
     - role: ambari_slave
-    - role: metron-builder
+    - { role: metron-builder,    tags: ['build'] }
     - role: metron-rpms
     - role: quick_dev
   tags:

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/64ff4694/metron-deployment/roles/metron-rpms/tasks/main.yml
----------------------------------------------------------------------
diff --git a/metron-deployment/roles/metron-rpms/tasks/main.yml b/metron-deployment/roles/metron-rpms/tasks/main.yml
index 265e835..7c7a2d7 100644
--- a/metron-deployment/roles/metron-rpms/tasks/main.yml
+++ b/metron-deployment/roles/metron-rpms/tasks/main.yml
@@ -16,6 +16,11 @@
 #
 ---
 
+- name: Clean out localrepo
+  file:
+    state: absent
+    path: /localrepo
+
 - name: Create localrepo directory
   file:
     path: /localrepo

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/64ff4694/metron-deployment/roles/quick_dev/tasks/main.yml
----------------------------------------------------------------------
diff --git a/metron-deployment/roles/quick_dev/tasks/main.yml b/metron-deployment/roles/quick_dev/tasks/main.yml
index 0fa0a23..341e02e 100644
--- a/metron-deployment/roles/quick_dev/tasks/main.yml
+++ b/metron-deployment/roles/quick_dev/tasks/main.yml
@@ -42,6 +42,11 @@
     - metron-indexing
     - metron-elasticsearch
 
+- name: Create local repo with new packages
+  shell: "createrepo /localrepo"
+  args:
+      creates: /localrepo/repodata
+
 - name: Re-install the Metron Packages via Ambari
   ambari_service_state:
     host: "{{ groups.ambari_master[0] }}"


Mime
View raw message