Comments (7)
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.
this is fixed if I change the file /php/recipes/package.rb
31>> resources(:execute => 'apt-get update').run_action(:run)
from chef-php.
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.
What version of Chef are you using? Is it chef-solo, chef-zero or chef-server?
from chef-php.
chef-solo, version 12.6.0
from chef-php.
Have you tried with an older version? This smells like either a Chef bug!
from chef-php.
in the end I used the official chef php cookbook and created my own phpmyadmin recipe
from chef-php.
Related Issues (9)
- Yum repo is depricated. HOT 5
- Fix module_apc on dotdeb HOT 1
- fpm service not enabled automatically HOT 2
- PHP MCrypt module does not load on Ubuntu 14.04. HOT 3
- module* recipes fail because php5endmod not available on Ubuntu 12.04 HOT 1
- Timezone defaults HOT 1
- fpm_log_dir is created with world writable permissions.
- service[php-fpm] cannot be found on Ubuntu 14.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-php.