Skip to content

Instantly share code, notes, and snippets.

@webflo
Created December 11, 2014 17:06
Show Gist options
  • Select an option

  • Save webflo/b1b7a1e0e4f085148ad6 to your computer and use it in GitHub Desktop.

Select an option

Save webflo/b1b7a1e0e4f085148ad6 to your computer and use it in GitHub Desktop.
# Apache + PHP
mod "apache",
:git => "https://github.com/webflo/boxen-puppet-apache.git",
:ref => "yosemite"
mod "php",
:git => "https://github.com/webflo/puppet-php.git",
:ref => "yosemite"
mod "apache_php",
:git => "https://github.com/webflo/puppet-apache_php.git",
:ref => "yosemite"
# UEBERBIT Wrapper for PHP
mod "ub_php",
:git => "https://github.com/webflo/puppet-ub_php.git",
:ref => "master"
class people::webflo {
# PHP + Apache
$php_5_5 = '5.5.15'
ub_php { "5.3.28": }
ub_php { "5.4.30": }
ub_php { "${php_5_5}":
apc => false,
}
php::extension::xhprof { "xhprof for ${php_5_5}":
php => "${php_5_5}"
}
php::extension::redis { "redis for ${php_5_5}":
php => "${php_5_5}"
}
ub_php::alias { "5.4":
version => "5.4.30"
}
ub_php::alias { "5.5":
version => "5.5.15"
}
include mailcatcher
include ub_apache::vhosts::mailcatcher
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment