Public bug reported:
The filter list in /usr/share/augeas/lenses/dist/php.aug includes:
/etc/php*/*/*.ini
/etc/php*/fpm/pool.d/*.conf
This will match the php5-fpm package files:
/etc/php5/fpm/php.ini
/etc/php5/fpm/pool.d/*.conf
But not the php7.0-fpm package files:
/etc/php/7.0/fpm/php.ini
/etc/php/7.0/fpm/pool.d/*.conf
Puppet handles this badly because augeas won't report that anything has
changed trying to set options in /etc/php/7.0/fpm/php.ini, so it does
nothing instead of reporting an error:
Debug: Augeas[php_sessions](provider=augeas): Will attempt to save and only run
if files changed
Debug: Augeas[php_sessions](provider=augeas): sending command 'set' with params
["/files/etc/php/7.0/fpm/php.ini/Session/session.gc_maxlifetime", "604800"]
Debug: Augeas[php_sessions](provider=augeas): Skipping because no files were
changed
Debug: Augeas[php_sessions](provider=augeas): Closed the augeas connection
augeas-lenses:
Installed: 1.4.0-0ubuntu1
Candidate: 1.4.0-0ubuntu1
Version table:
*** 1.4.0-0ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
500 http://gb.archive.ubuntu.com/ubuntu xenial/main i386 Packages
100 /var/lib/dpkg/status
php7.0-fpm:
Installed: 7.0.4-7ubuntu2ppa1
Candidate: 7.0.4-7ubuntu2ppa1
Version table:
*** 7.0.4-7ubuntu2ppa1 1000
1000 http://ppa.launchpad.net/sa.me.uk/um/ubuntu xenial/main amd64
Packages
100 /var/lib/dpkg/status
7.0.4-7ubuntu2 500
500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
** Affects: augeas (Ubuntu)
Importance: Undecided
Status: New
** Package changed: ubuntu => augeas (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580731
Title:
augeas-lenses filter for PHP files doesn't match php7.0-* files
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/augeas/+bug/1580731/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs