p2pu / lernanta-dev-env

Development Environment for p2pu lernanta code
8 stars 9 forks source link

Chef never successfully completed! #8

Closed anler closed 11 years ago

anler commented 11 years ago

I am receiving this error when booting the vm using vagrant up.

[2013-05-08T14:19:30-07:00] INFO: Processing template[/opt/lernanta/lernanta/db_seed_lernanta.sql] action create (main::lernanta line 133)

================================================================================

Error executing action `create` on resource 'template[/opt/lernanta/lernanta/db_seed_lernanta.sql]'

================================================================================

Errno::EPERM

------------

Operation not permitted - /opt/lernanta/lernanta/db_seed_lernanta.sql

Resource Declaration:

---------------------

# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/main/recipes/lernanta.rb

133: template "/opt/lernanta/lernanta/db_seed_lernanta.sql" do
134:   source "db_seed_lernanta.sql"
135:   mode 0644
136:   user "p2pu"
137:   group "p2pu"
138: end
139: 

Compiled Resource:

------------------

# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/main/recipes/lernanta.rb:133:in `from_file'

template("/opt/lernanta/lernanta/db_seed_lernanta.sql") do
  provider Chef::Provider::Template
  action "create"
  retries 0
  retry_delay 2
  path "/opt/lernanta/lernanta/db_seed_lernanta.sql"
  backup 5
  source "db_seed_lernanta.sql"
  cookbook_name :main
  recipe_name "lernanta"
  owner "p2pu"
  group "p2pu"
  mode 420
  checksum "f52b8c0eb28a50522f844dfdfafe762308187b0ac485f391c74380ed60e87c47"
end