puphpet/puppet-puphpet — pull request #7 by rogeriopradoj (2014-01-30 14:11:53+00:00)
Title: Set apache2 ini location to defined in apache::params::conf_dir

For me, solved the bug similar to https://github.com/puphpet/puphpet/issues/387, this message was appearing before:

Stderr from the command:

```shell
stdin: is not a tty
Error: Could not set 'link' on ensure: No such file or directory - /etc/php5/apache2/conf.d at 229:/etc/puppet/modules/puphpet/manifests/ini.pp
Error: Could not set 'link' on ensure: No such file or directory - /etc/php5/apache2/conf.d at 229:/etc/puppet/modules/puphpet/manifests/ini.pp
Wrapped exception:
No such file or directory - /etc/php5/apache2/conf.d
Error: /Stage[main]/Main/Puphpet::Ini[xdebug.default_enable]/File[/etc/php5/apache2/conf.d/zzzz_custom.ini]/ensure: change from absent to link failed: Could not set 'link' on ensure: No such file or directory - /etc/php5/apache2/conf.d at 229:/etc/puppet/modules/puphpet/manifests/ini.pp
```

After this commit change (and pointing my Puppetfile to my fork of course), everything went fine: http://asciinema.org/a/7430

My config.yaml is here: https://gist.github.com/rogeriopradoj/8709119