Skip to content

Instantly share code, notes, and snippets.

@dougmarcey
Created October 31, 2013 18:08
Show Gist options
  • Save dougmarcey/7254230 to your computer and use it in GitHub Desktop.
Save dougmarcey/7254230 to your computer and use it in GitHub Desktop.
class php::nginx (
$shm_size = $php::params::shm_size,
$service_name = "php-fpm"
) inherits php::params {
package { [ "php53u-fpm" ] : }
service { "php-fpm":
name => "php-fpm",
ensure => running,
enable => true,
require => Package["php53u-fpm"],
}
class { 'php::packages':
service_name => $service_name
} ->
class { 'php::files':
service_name => $service_name
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment