Skip to content

Commit

Permalink
Set up relationships for nginx::config even when overridden
Browse files Browse the repository at this point in the history
This keeps the user from having to duplicate them when defining
nginx::config externally.
  • Loading branch information
radford committed Jan 29, 2015
1 parent fa34755 commit c2389b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,9 @@
sites_available_owner => $sites_available_owner,
sites_available_group => $sites_available_group,
sites_available_mode => $sites_available_mode,
require => Class['::nginx::package'],
notify => Class['::nginx::service'],
}
}
Class['::nginx::package'] -> Class['::nginx::config'] ~> Class['::nginx::service']

class { '::nginx::service':
configtest_enable => $configtest_enable,
Expand Down

0 comments on commit c2389b8

Please sign in to comment.