Last active
August 29, 2015 14:10
-
-
Save gnilchee/b9b88107e4b89323f16d to your computer and use it in GitHub Desktop.
puppet manifest ensure vital lamp components installed.
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
if versioncmp($::puppetversion,'3.7.3') >= 0 { | |
$allow_virtual_packages = hiera('allow_virtual_packages',false) | |
Package { | |
allow_virtual => $allow_virtual_packages, | |
} | |
} | |
node 'node_name' { | |
$lamp = [ "puppet", "firewalld", "openssl", "mariadb-server", "mariadb", "httpd", "bash", "php", "php-mysql", "php-gd" ] | |
package { $lamp: ensure => "latest" } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment