Created
November 4, 2014 22:03
-
-
Save vml-jglenn/af4915e05108d8b887c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/puppet/environments/production/manifests/java01.pp | |
node 'java01.example.lan' inherits default { | |
file { '/etc/httpd/ssl': | |
ensure => 'directory', | |
owner => 'root', | |
group => 'root', | |
mode => '0640', | |
recurse => 'remote', | |
source => 'puppet:///files/ssl/example.com', | |
} | |
class { 'apache': | |
serveradmin => '[email protected]', | |
vhost_dir => '/etc/httpd/vhosts.d', | |
} | |
class { 'apache::mod::authnz_ldap': } | |
file { [ '/var/www', | |
'/var/www/vhosts', | |
]: | |
ensure => 'directory', | |
owner => 'root', | |
group => 'root', | |
mode => '0755', | |
} | |
class { 'apache': | |
serveradmin => '[email protected]', | |
vhost_dir => '/etc/httpd/vhosts.d', | |
} | |
class { 'apache::mod::status': | |
allow_from => ['10.200.61.192'], | |
} | |
package { 'tomcat': | |
ensure => installed, | |
} | |
service { 'tomcat.service': | |
ensure => 'running', | |
enable => 'true', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment