Skip to content

Instantly share code, notes, and snippets.

@jippi
Created December 23, 2012 22:51
Show Gist options
  • Select an option

  • Save jippi/4366525 to your computer and use it in GitHub Desktop.

Select an option

Save jippi/4366525 to your computer and use it in GitHub Desktop.
class php::extension::apc::package inherits php::extension::package {
$ext_name = 'php5-apc'
}
class php::extension::package {
package {
$ext_name:
ensure => $php_version,
notify => [
defined(Service['apache2']) ? {
true => Service['apache2'],
default => [ ]
}
];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment