BIGTOP-3571. Ensure Hadoop and Flink are deployed in the correct order. (#799)

diff --git a/bigtop-deploy/puppet/modules/flink/manifests/init.pp b/bigtop-deploy/puppet/modules/flink/manifests/init.pp
index 3538bca..4abd868 100644
--- a/bigtop-deploy/puppet/modules/flink/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/flink/manifests/init.pp
@@ -48,6 +48,8 @@
       hasrestart => true,
       hasstatus => true
     }
+
+    Package<| title == 'hadoop-hdfs' |> -> Package['flink-jobmanager']
   }
 
   class taskmanager {
@@ -64,5 +66,7 @@
       hasrestart => true,
       hasstatus => true,
     }
+
+    Package<| title == 'hadoop-hdfs' |> -> Package['flink-taskmanager']
   }
 }