Skip to content

Commit

Permalink
Use Chef::Log instead of log resource
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Sep 17, 2015
1 parent 60c46c1 commit 9fd7783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
php_pkgs << 'php-mysql' if dbtype == 'mysql'
php_pkgs << 'php-pgsql' if dbtype == 'pgsql'
else
log('Unsupported platform, trying to guess packages.') { level :warn }
Chef::Log.warn('Unsupported platform, trying to guess packages.')
php_pkgs = %w(php-gd php-mbstring php-xml php-intl samba-client)
php_pkgs << 'php-pdo' if dbtype == 'sqlite'
php_pkgs << 'php-mysql' if dbtype == 'mysql'
Expand Down

0 comments on commit 9fd7783

Please sign in to comment.