Created
November 20, 2014 12:26
-
-
Save jmetzger/692d7b72065d456477ff to your computer and use it in GitHub Desktop.
Applying php::cli @thias-php to debian wheezy (https://forge.puppetlabs.com/thias/php)
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
class profile::www::typo3::wheezy { | |
# debian specific | |
$cli_inifile = '/etc/php5/cli/php.ini' | |
file { '/etc/php5': | |
ensure => 'directory' | |
} -> | |
file { '/etc/php5/cli': | |
ensure => 'directory' | |
} -> | |
php::ini { "$cli_inifile": } | |
class { '::php::cli': | |
inifile => $cli_inifile | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Love that class ->https://forge.puppetlabs.com/thias/php
Above you can see how to apply it to debian wheezy to get the default paths in debian wheezy