Skip to content
Snippets Groups Projects
Commit 0e623784 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Remove old platform support

parent 4e4d9707
No related branches found
No related tags found
No related merge requests found
......@@ -22,36 +22,10 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
if node['platform_version'] == '16.04'
package 'php-xdebug' do
action 'upgrade'
end
package 'php-xdebug' do
action 'upgrade'
end
template '/etc/php/' + node['ubuntu_base']['php_version'] + '/mods-available/xdebug.ini' do
mode '0644'
end
else
package 'php5.6-xdebug'
template '/etc/php5/apache2/conf.d/xdebug.ini' do
mode '0644'
ignore_failure true
end
template '/etc/php5/cli/conf.d/xdebug.ini' do
mode '0644'
notifies :restart, 'service[apache2]', :delayed
ignore_failure true
end
template '/etc/php/5.6/apache2/conf.d/xdebug.ini' do
mode '0644'
ignore_failure true
end
template '/etc/php/5.6/cli/conf.d/xdebug.ini' do
mode '0644'
notifies :restart, 'service[apache2]', :delayed
ignore_failure true
end
end
\ No newline at end of file
template '/etc/php/' + node['ubuntu_base']['php_version'] + '/mods-available/xdebug.ini' do
mode '0644'
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment