Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

.ini files are removed after each reload #13

Open
lunika opened this issue Mar 20, 2013 · 5 comments
Open

.ini files are removed after each reload #13

lunika opened this issue Mar 20, 2013 · 5 comments

Comments

@lunika
Copy link

lunika commented Mar 20, 2013

Hello,

when I reload vagrant, all .ini symlinks are removed :

notice: /File[/etc/php5/conf.d/20-mcrypt.ini]/ensure: removed
notice: /File[/etc/php5/conf.d/20-mysql.ini]/ensure: removed
notice: /File[/etc/php5/conf.d/20-mysqli.ini]/ensure: removed
notice: /File[/etc/php5/conf.d/20-pdo_mysql.ini]/ensure: removed
notice: /File[/etc/php5/conf.d/10-pdo.ini]/ensure: removed
notice: /File[/etc/php5/conf.d/20-xdebug.ini]/ensure: removed
notice: /File[/etc/php5/conf.d/20-curl.ini]/ensure: removed
notice: /File[/etc/php5/conf.d/20-gd.ini]/ensure: removed

I don't understand why, I need this files.

my conf is here : https://github.com/lunika/thelia-vagrant-config

thx

@saz
Copy link
Owner

saz commented Apr 7, 2013

All unmanaged files will be removed by default. Those files are unmanaged due to the file name starting with a number. This module isn't aware of such conf.d files.

Which version of php are you running?

@lunika
Copy link
Author

lunika commented Apr 8, 2013

php 5.4

@skitoo
Copy link

skitoo commented Jun 21, 2013

I have the same problem.
What is the solution to resolve this problem ?

thx

@lunika
Copy link
Author

lunika commented Jun 21, 2013

I don't know if it's a good solution but I put all my ini files in the configuration : https://github.com/lunika/vm-php/tree/master/conf and when I want a module I specify the source :

php::module { ["curl"]:
        notify => Service['apache'],
        source => "/vagrant/conf/curl.ini"
    }

This VM works fine for me if you want to try : https://github.com/lunika/vm-php

@skitoo
Copy link

skitoo commented Jun 21, 2013

Thank you ! It works for me :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants