Created
December 14, 2015 15:58
-
-
Save velocity303/f870f3924319bc409141 to your computer and use it in GitHub Desktop.
Wordpress Puppet Profile
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
class profile::example::wordpress { | |
include apache | |
include apache::mod::php | |
include mysql::server | |
include mysql::bindings | |
include mysql::bindings::php | |
apache::vhost { $::fqdn: | |
priority => '10', | |
vhost_name => $::fqdn, | |
port => '80', | |
docroot => '/var/www/html', | |
} -> | |
class { '::wordpress': | |
install_dir => '/var/www/html', | |
} | |
firewall { '80 allow apache access': | |
port => [80], | |
proto => tcp, | |
action => accept, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment