You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ce...@apache.org on 2016/03/21 18:05:44 UTC

[02/43] incubator-metron git commit: METRON-43 Refactor Deployment Scripts for Correctness and Ease of Use (dlyle65535 via cestella) closes apache/incubator-metron#28

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/5fc17e63/deployment/roles/yaf/vars/main.yml
----------------------------------------------------------------------
diff --git a/deployment/roles/yaf/vars/main.yml b/deployment/roles/yaf/vars/main.yml
index 967d479..1d53958 100644
--- a/deployment/roles/yaf/vars/main.yml
+++ b/deployment/roles/yaf/vars/main.yml
@@ -19,3 +19,4 @@ fixbuf_version: 1.7.1
 yaf_version: 2.8.0
 yaf_home: /opt/yaf
 yaf_topic: ipfix
+hdp_repo_def: http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.2.0/hdp.repo
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/5fc17e63/deployment/vagrant/multinode-vagrant/Vagrantfile
----------------------------------------------------------------------
diff --git a/deployment/vagrant/multinode-vagrant/Vagrantfile b/deployment/vagrant/multinode-vagrant/Vagrantfile
index 9309786..61d656f 100644
--- a/deployment/vagrant/multinode-vagrant/Vagrantfile
+++ b/deployment/vagrant/multinode-vagrant/Vagrantfile
@@ -26,7 +26,7 @@ Vagrant.configure(2) do |config|
 
   # all hosts built on centos 6
   config.vm.box = "bento/centos-6.7"
-  config.ssh.insert_key = "true"
+  config.ssh.insert_key = false
 
   # enable the hostmanager plugin
   config.hostmanager.enabled = true
@@ -44,11 +44,11 @@ Vagrant.configure(2) do |config|
       node.vm.provider "virtualbox" do |vb|
         vb.memory = host[:memory]
         vb.cpus = host[:cpus]
+      end
 
-        # enable promisc mode on the network interface
-        if host.has_key?(:promisc)
-          vb.customize ["modifyvm", :id, "--nicpromisc#{host[:promisc]}", "allow-all"]
-        end
+      # enable promisc mode on the network interface
+      if host.has_key?(:promisc)
+        vb.customize ["modifyvm", :id, "--nicpromisc#{host[:promisc]}", "allow-all"]
       end
 
       # provisioning; only after all hosts created
@@ -56,7 +56,8 @@ Vagrant.configure(2) do |config|
         node.vm.provision :ansible do |ansible|
           ansible.playbook = "../../playbooks/metron_full_install.yml"
           ansible.sudo = true
-          ansible.inventory_path = "../../inventory/singlenode-vagrant"
+          ansible.inventory_path = "../../inventory/multinode-vagrant"
+          ansible.limit = "all"
         end
       end
     end

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/5fc17e63/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b2343fc..992f328 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,8 @@
 						<exclude>**/src/main/resources/patterns/**</exclude>
 						<exclude>**/src/main/resources/SampleInput/**</exclude>
 						<exclude>**/dependency-reduced-pom.xml</exclude>
-					  <exclude>**/files/opensoc-ui</exclude>
+					        <exclude>**/files/opensoc-ui</exclude>
+					        <exclude>**/*.iml</exclude>
 					</excludes>
 				</configuration>
 			</plugin>