dev/provisioning/modules/sysconfig/manifests/php.pp
changeset 30 7ca52d7235ed
parent 28 b0b56e0f8c7f
child 325 31a4987f6017
equal deleted inserted replaced
29:50702e620af4 30:7ca52d7235ed
    20     }
    20     }
    21 
    21 
    22     file { '/var/log/php':
    22     file { '/var/log/php':
    23         ensure => directory,
    23         ensure => directory,
    24         owner => 'apache',
    24         owner => 'apache',
    25         group => 'apache'
    25         group => 'apache',
       
    26         require => Package["httpd"]
    26     }
    27     }
    27 
    28 
    28     augeas { "php_ini/memory_limit":
    29     augeas { "php_ini/memory_limit":
    29         lens    => "PHP.lns",
    30         lens    => "PHP.lns",
    30         incl    => "/opt/remi/php56/root/etc/php.ini",
    31         incl    => "/opt/remi/php56/root/etc/php.ini",
    56 #TODO : set php log
    57 #TODO : set php log
    57     file { "/var/www/html/phpinfo.php":
    58     file { "/var/www/html/phpinfo.php":
    58         mode   => 440,
    59         mode   => 440,
    59         owner  => 'apache',
    60         owner  => 'apache',
    60         group  => 'apache',
    61         group  => 'apache',
    61         source => "puppet:///modules/sysconfig/phpinfo.php"
    62         source => "puppet:///modules/sysconfig/phpinfo.php",
       
    63         require => Package["httpd"]
    62     }
    64     }
    63 
    65 
    64 }
    66 }