Set distribReviosion to proposed in case of release/proposed/2019.2.0 branch

Change-Id: Ib133ad57d32d5cd200ed3de1a1c606c6ebb6f1d0
Related-Prod: PROD-34057
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index d8bfe3a..17fbdca 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -116,6 +116,7 @@
     }
 
     if (gitGuessedVersion == 'release/proposed/2019.2.0') {
+        distribRevision = 'proposed'
         def mcpSaltRepoUpdateVar = 'deb [arch=amd64] http://mirror.mirantis.com/update/proposed/salt-formulas/xenial xenial main'
         if (context.get('offline_deployment', 'False').toBoolean()) {
             mcpSaltRepoUpdateVar = "deb [arch=amd64] http://${context.get('aptly_server_deploy_address')}/update/proposed/salt-formulas/xenial xenial main".toString()
diff --git a/test-cookiecutter-reclass.groovy b/test-cookiecutter-reclass.groovy
index 9c34f58..3494c7b 100644
--- a/test-cookiecutter-reclass.groovy
+++ b/test-cookiecutter-reclass.groovy
@@ -221,7 +221,13 @@
     }
     // 'binary' branch logic w\o 'release/' prefix
     if (testDistribRevision.contains('/')) {
-        testDistribRevision = testDistribRevision.split('/')[-1]
+        if (testDistribRevision.contains('proposed')) {
+            // set distrib revision to proposed to catch all updated from update/proposed
+            testDistribRevision = 'proposed'
+            messages.add('Enabled update/proposed repo')
+        } else {
+            testDistribRevision = testDistribRevision.split('/')[-1]
+        }
     }
     // Check if we are going to test bleeding-edge release, which doesn't have binary release yet
     // After 2018q4 releases, need to also check 'static' repo, for example ubuntu.