system-config/modules/remove_nginx/manifests/init.pp
Monty Taylor e600570db6 We need to stop nginx before we can start apache.
Change-Id: I7af46314f34fed18474daaf32f1483beb7557dff
Reviewed-on: https://review.openstack.org/11245
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 17:12:13 +00:00

12 lines
190 B
Puppet

class remove_nginx {
package { 'nginx':
ensure => absent,
}
file { "/etc/nginx/sites-available/default":
ensure => absent,
}
service { 'nginx':
ensure => stopped
}
}