21dff1ba3d
Change-Id: I4f7314bcb1cb58f94ff7a78aebe27ec4591fc11c Reviewed-on: https://review.openstack.org/14187 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
12 lines
191 B
Puppet
12 lines
191 B
Puppet
class remove_nginx {
|
|
package { 'nginx':
|
|
ensure => absent,
|
|
}
|
|
file { '/etc/nginx/sites-available/default':
|
|
ensure => absent,
|
|
}
|
|
service { 'nginx':
|
|
ensure => stopped,
|
|
}
|
|
}
|