Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php.ini not updated #422

Closed
swenske opened this issue Mar 1, 2018 · 3 comments
Closed

php.ini not updated #422

swenske opened this issue Mar 1, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@swenske
Copy link

swenske commented Mar 1, 2018

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.4.0-1stretch
  • Ruby: 2.3.3-1+deb9u2
  • Distribution: Debian 9
  • PHP Version: 7.0
  • Module version: 5.2.0

How to reproduce (e.g Puppet code you use)

  class { '::php':
    ensure          => 'latest',
    package_prefix  => 'php-',
    ext_tool_enable => '/usr/sbin/phpenmod',
    ext_tool_query  => '/usr/sbin/phpquery',
    manage_repos    => false,
    fpm             => false,
    dev             => true,
    composer        => false,
    pear            => false,
    phpunit         => false,

    settings   => {
      'PHP/max_execution_time'  => '90',
      'PHP/max_input_time'      => '300',
      'PHP/memory_limit'        => '64M',
      'PHP/post_max_size'       => '32M',
      'PHP/upload_max_filesize' => '32M',
      'Date/date.timezone'      => 'Europe/Paris',
    },


    extensions => {
      ssh2    => {},
      curl    => {},
      gettext => {},
      ldap    => {},
      geoip   => {},
      xml     => {},
      sqlite3 => {},
      mysql   => {},
      pgsql   => {},
      mongodb => {},
      xdebug  => {},
      amqplib => {},
    },

  }

What are you seeing

Nothing, /etc/php/7.0/cli/php.ini is not touched

What behaviour did you expect instead

update php.ini with settings I set.

Output log

Any additional information you'd like to impart

@juniorsysadmin juniorsysadmin added the bug Something isn't working label Mar 2, 2018
@swenske
Copy link
Author

swenske commented Mar 7, 2018

Any clues ?
thx

@swenske
Copy link
Author

swenske commented Mar 14, 2018

Hi,

I just tried with the master branch (v5.3.1-rc0), I get the same behaviour, php.ini aren't modified at all.

@swenske
Copy link
Author

swenske commented Apr 9, 2018

Hi,

puppetlabs/inifile was missing ...

@swenske swenske closed this as completed Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants