Skip to content

'20-apc.ini' formatted ini files #32

@basvanmeurs

Description

@basvanmeurs

On debian, the ini files are named as '20-apc.ini' (they have a priority number).

When using your module, files are always created as 'apc.ini' and there is no way to change this.

Example:
php::module::ini { 'apc':
settings => {
'apc.enabled' => '1',
'apc.shm_segments' => '1',
'apc.shm_size' => '128M',
}
}

Produces '/etc/php5/conf.d/apc.ini'. Installing packaging php-apc already produced the file '/etc/php5/conf.d/20-apc.ini' with just the following line: extension=apc.so

Netto effect: 2 files in the config directory and messages such as "PHP Warning: Module 'apc' already loaded in Unknown on line 0" when running the php command.

Proposed solution: allow to specify the output ini filename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions