Giter Site home page Giter Site logo

Comments (7)

niluzok avatar niluzok commented on June 24, 2024 1

i got the same error on Ubuntu 12.04, chef-solo 12.9.38, but tried several versions down to 12.0.0 - same error.
how can i get it working?

from chef-php.

dfanica avatar dfanica commented on June 24, 2024

this is fixed if I change the file /php/recipes/package.rb

31>>   resources(:execute => 'apt-get update').run_action(:run)

from chef-php.

dfanica avatar dfanica commented on June 24, 2024

And after I fix that I get this:

RuntimeError
    ------------
    File templates/ubuntu/php.ini.erb does not exist for cookbook php

    Resource Declaration:
    ---------------------
    # In /root/perfectserver/chef-ispconfig3/cookbooks/php/recipes/package.rb

     41: template "#{node['php']['conf_dir']}/php.ini" do
     42:   source 'php.ini.erb'
     43:   owner 'root'
     44:   group 'root'
     45:   mode 00644
     46:   notifies :restart, 'service[php-fpm]' if node['recipes'].include?('php::fpm') && platform_family?('rhel', 'fedora')
     47: end
     48: 

... even if the file exists in templates/default/

from chef-php.

priestjim avatar priestjim commented on June 24, 2024

What version of Chef are you using? Is it chef-solo, chef-zero or chef-server?

from chef-php.

dfanica avatar dfanica commented on June 24, 2024

chef-solo, version 12.6.0

from chef-php.

priestjim avatar priestjim commented on June 24, 2024

Have you tried with an older version? This smells like either a Chef bug!

from chef-php.

dfanica avatar dfanica commented on June 24, 2024

in the end I used the official chef php cookbook and created my own phpmyadmin recipe

from chef-php.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.