Files
puppet-httpd/spec/acceptance/fixtures/default.pp
Glauco Oliveira 9c22e17cef Add acceptance tests for puppet-httpd
Add acceptance tests for puppet-httpd module so that once the module is
applied we check if files were created, packages were installed and
services were started.

Change-Id: I3e1430f2937bd2bc5ea789c626784af7d5d85959
Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
2015-09-28 14:50:03 -03:00

24 lines
412 B
Puppet

class { '::httpd': }
class { '::httpd::dev': }
class { '::httpd::php': }
class { '::httpd::mod::wsgi': }
class { '::httpd::ssl': }
httpd::vhost { 'localhost':
port => 80,
docroot => '/var/www',
priority => 50,
redirect_ssl => true,
}
httpd::mod { 'rewrite':
ensure => present,
}
case $::operatingsystem {
'ubuntu', 'debian': {
class { '::httpd::python': }
}
default: {}
}