Puppet Class: myapp
- Defined in:
- manifests/init.pp
Summary
A short summary of the purpose of this classOverview
A description of what this class does
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/init.pp', line 7
class myapp {
class { 'apache':
apache_version => '2.4',
docroot => '/var/www/myapp',
}
apache::vhost { 'myapp':
port => '80',
docroot => '/var/www/myapp',
}
file {
'/var/www/myapp/index.html':
ensure => absent;
'/var/www/myapp':
ensure => directory;
}
include myapp::php
}
|