diff --git a/manifests/git/drush.pp b/manifests/git/drush.pp
index d2a0be7..319d9e2 100644
--- a/manifests/git/drush.pp
+++ b/manifests/git/drush.pp
@@ -30,20 +30,22 @@ class drush::git::drush (
     notify  => Exec['first drush run'],
   }
 
-  exec {'Install composer' :
-    command => 'curl -sS https://getcomposer.org/installer | php',
-    require => Package['php5-cli'],
-  }
-
-  exec {'Make Composer globally executable' :
-    command => 'mv composer.phar /usr/local/bin/composer',
-    require => Exec['Install composer'],
-    before  => Exec['Install Drush dependencies'],
-  }
-
-  exec {'Install Drush dependencies' :
-    command => 'composer install',
-    cwd     => '/usr/share/drush',
+  if $git_branch == '6.x' {
+    exec {'Install composer' :
+      command => 'curl -sS https://getcomposer.org/installer | php',
+      require => Package['php5-cli'],
+    }
+
+    exec {'Make Composer globally executable' :
+      command => 'mv composer.phar /usr/local/bin/composer',
+      require => Exec['Install composer'],
+      before  => Exec['Install Drush dependencies'],
+    }
+
+    exec {'Install Drush dependencies' :
+      command => 'composer install',
+      cwd     => '/usr/share/drush',
+    }
   }
 
   # Needed to download a Pear library
