From b18595ee0afb140977fdc45fcb383be1e00c3871 Mon Sep 17 00:00:00 2001 From: Nils Olof Paulsson <nils.olof.paulsson@liu.se> Date: Fri, 13 Oct 2023 15:28:03 +0200 Subject: [PATCH] typo --- manifests/nginx.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/manifests/nginx.pp b/manifests/nginx.pp index 713b99d..a2b4568 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 -- GitLab