Class nginx::nginx
In: /modules/nginx/manifests/init.pp
Parent: nginx::params

Main options HTTP module options

Resources

Resources

File[$confdir/conf.d]
   owner => "root"
   group => "root"
   mode => "0755"
   require => Package["nginx"]

Directory for configuration snippets

File[$confdir/nginx.conf]
   owner => "root"
   group => "root"
   mode => "0644"
   content => template("nginx/nginx.conf.erb")
   notify => Service["nginx"]
   require => Package["nginx"]

Main configuration file

Package[$nginx::params::package]
   alias => "nginx"
   ensure => installed
Service[$nginx::params::service]
   enable => true
   ensure => running
   restart => $nginx::params::service_restart
   hasstatus => true
   require => Package["nginx"]
   alias => "nginx"

[Validate]