Skip to content

Instantly share code, notes, and snippets.

@jmetzger
Created November 20, 2014 12:26
Show Gist options
  • Save jmetzger/692d7b72065d456477ff to your computer and use it in GitHub Desktop.
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)
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
}
}
@jmetzger
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment