You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can try to fix this myself, but would appreciate some thoughts / suggestion (or feel free to submit a PR if someone else has a good fix).
Basically, if you set the fastcgi_params path to something non-default, Puppet still tries to manage it if the File resource doesn't exist.
The current logic is:
if $ensure == present and $fastcgi != undef and !defined(File[$fastcgi_params])
which mostly deals with the case where the user creates the fastcgi_params file except in the case where
the file is created by something outside of Puppet or
when concat is used to build the file (this is the problem I bumped up against)
I think there's a param that was supposed to create a file resource, but this also didn't seem to work.
I can't think of a scenario where we'd want to use a non-default filename but manage the file with the template in the module; it would be useful to be able to use a custom template, possibly, or just to let the user define a filename that's managed elsewhere in Puppet.
I can try to fix this myself, but would appreciate some thoughts / suggestion (or feel free to submit a PR if someone else has a good fix).
Basically, if you set the fastcgi_params path to something non-default, Puppet still tries to manage it if the File resource doesn't exist.
The current logic is:
which mostly deals with the case where the user creates the fastcgi_params file except in the case where
I think there's a param that was supposed to create a file resource, but this also didn't seem to work.
I can't think of a scenario where we'd want to use a non-default filename but manage the file with the template in the module; it would be useful to be able to use a custom template, possibly, or just to let the user define a filename that's managed elsewhere in Puppet.
https://github.com/voxpupuli/puppet-nginx/blob/master/manifests/resource/location.pp#L254-L259
The text was updated successfully, but these errors were encountered: