Sha256: 6dbc9d493b3021db7ed63ac4bcde5ddaf8796e099039613fc14d13e2b3344637

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

# # Generic Nginx profile
#
# Installs nginx base as per the module. To use nging in other profiles just do
# the following:
#
# ```puppet
# include profile::nginx
#
# nginx::resource::server { 'my-server.com':
#   listen_port => 80,
#   www_root    => '/var/www',
# }
# ```
#
class profile::nginx {
  include ::nginx

  file { 'default_config_file':
    ensure  => absent,
    path    => "${nginx::conf_dir}/conf.d/default.conf",
    require => Class['nginx::config'],
    notify  => Class['nginx::service'],
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/nginx.pp
onceover-3.22.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/nginx.pp