Commits

György Kohut committed 7ffcd48

Fix packages install

  • Participants
  • Parent commits ace0627

Comments (0)

Files changed (2)

vagrant/puppet/modules/backend/files/opt/honeynet/bin/install-java-packages.sh

-#!/bin/sh -e
-
-if [ ! -f ~/_java_packages_installed ]
-then
-    aptitude -y install --without-recommends  openjdk-7-jdk ant ivy maven
-    touch ~/_java_packages_installed
-fi

vagrant/puppet/modules/backend/manifests/init.pp

     # 	    # provider => "aptitude",
     # }
 
-    exec { "/opt/honeynet/bin/install-java-packages.sh": }
+    exec { "/usr/bin/aptitude -y install --without-recommends openjdk-7-jdk ant ivy maven": creates => "/root/_java_packages_installed" }
 
     package { "unzip": ensure => present }
 }