diff --git a/manifests/package/debian.pp b/manifests/package/debian.pp
index 67564b045..937e98a59 100644
--- a/manifests/package/debian.pp
+++ b/manifests/package/debian.pp
@@ -55,7 +55,7 @@
 
         ensure_packages([ 'apt-transport-https', 'ca-certificates' ])
 
-        Apt::Source['nginx'] -> Package['apt-transport-https','ca-certificates']
+        Package['apt-transport-https','ca-certificates'] -> Apt::Source['nginx']
 
         package { 'passenger':
           ensure  => 'present',