Last active
February 3, 2017 00:05
-
-
Save natemccurdy/c2701121d21cdf68522f to your computer and use it in GitHub Desktop.
Puppet Fundamentals Capstone
This file contains hidden or 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
# $modulepath/profiles/manifests/blog.pp | |
class profiles::blog { | |
include mysql::server | |
include mysql::bindings | |
include apache | |
include apache::mod::php | |
include wordpress | |
} |
This file contains hidden or 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
# $modulepath/profiles/manifests/blog_no_hiera.pp | |
class profiles::blog_no_hiera { | |
include mysql::server | |
class { 'mysql::bindings': | |
php_enable => true, | |
} | |
include apache | |
include apache::mod::php | |
class { 'wordpress': | |
install_dir => '/var/www/html', | |
} | |
} |
This file contains hidden or 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/puppetlabs/puppet/hieradata/defaults.yaml | |
--- | |
wordpress::install_dir: /var/www/html | |
mysql::bindings::php_enable: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment