diff --git a/manifests/nginx.pp b/manifests/nginx.pp
index 713b99dbc02a5b01482b8c21ef4bba6498c51368..a2b4568fe57880c444067aef757898328764746a 100644
--- a/manifests/nginx.pp
+++ b/manifests/nginx.pp
@@ -12,9 +12,10 @@ class egg::nginx () {
   #   notify => Service['nginx'],
   # }
   file { '/etc/nginx/conf.d/eggsample.conf':
-    ensure => 'present',
-    source => "puppet:///modules/${module_name}/eggsample.conf",
-    notify => Service['nginx'],
+    ensure  => 'present',
+    source  => "puppet:///modules/${module_name}/eggsample.conf",
+    notify  => Service['nginx'],
+    require => Package['nginx'],
   }
 
   # Housekeeping