Note that there are some explanatory texts on larger screens.

plurals
  1. POChef: cannot load such file -- moneta/basic_file
    primarykey
    data
    text
    <p>I am running a recipe which I have used a bazillion times before, and im getting these errors when I spin up a new EC2 instance with chef + knife.</p> <pre><code>[2013-01-30T23:44:48+00:00] INFO: Processing user[dan] action create (/var/chef/cache/cookbooks/users/providers/manage.rb line 65) [2013-01-30T23:44:48+00:00] INFO: user[dan] created [2013-01-30T23:44:48+00:00] INFO: Processing directory[/home/dan/.ssh] action create (/var/chef/cache/cookbooks/users/providers/manage.rb line 81) [2013-01-30T23:44:48+00:00] INFO: directory[/home/dan/.ssh] created directory /home/dan/.ssh [2013-01-30T23:44:48+00:00] INFO: directory[/home/dan/.ssh] owner changed to 2003 [2013-01-30T23:44:48+00:00] INFO: directory[/home/dan/.ssh] group changed to 2003 [2013-01-30T23:44:48+00:00] INFO: directory[/home/dan/.ssh] mode changed to 700 [2013-01-30T23:44:48+00:00] INFO: Processing template[/home/dan/.ssh/authorized_keys] action create (/var/chef/cache/cookbooks/users/providers/manage.rb line 88) [2013-01-30T23:44:48+00:00] FATAL: Could not load Moneta back end "BasicFile" ================================================================================ Error executing action `create` on resource 'template[/home/dan/.ssh/authorized_keys]' ================================================================================ LoadError --------- cannot load such file -- moneta/basic_file Resource Declaration: --------------------- # In /var/chef/cache/cookbooks/users/providers/manage.rb 88: template "#{home_dir}/.ssh/authorized_keys" do 89: source "authorized_keys.erb" 90: cookbook new_resource.cookbook 91: owner u['id'] 92: group u['gid'] || u['id'] 93: mode "0600" 94: variables :ssh_keys =&gt; u['ssh_keys'] 95: end 96: end Compiled Resource: ------------------ # Declared in /var/chef/cache/cookbooks/users/providers/manage.rb:88:in `block (2 levels) in class_from_file' template("/home/dan/.ssh/authorized_keys") do provider Chef::Provider::Template action "create" retries 0 retry_delay 2 path "/home/dan/.ssh/authorized_keys" backup 5 source "authorized_keys.erb" cookbook "users" variables {:ssh_keys=&gt;"ssh-rsa &lt;REPLACED BECAUSE SHUTUP&gt;!"} cookbook_name "users" mode "0600" owner "dan" group "dan" end [2013-01-30T23:44:48+00:00] ERROR: Running exception handlers [2013-01-30T23:44:48+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json [2013-01-30T23:44:48+00:00] ERROR: Exception handlers complete [2013-01-30T23:44:48+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2013-01-30T23:44:48+00:00] FATAL: LoadError: template[/home/dan/.ssh/authorized_keys] (/var/chef/cache/cookbooks/users/providers/manage.rb line 88) had an error: LoadError: cannot load such file -- moneta/basic_file </code></pre> <p>I have no idea what is going on, what moneta is, or why it cannot build from that template. The template is in <code>templates/default/authorized_keys.erb</code> as expected.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload