Giter VIP home page Giter VIP logo

Comments (3)

danfromtitan avatar danfromtitan commented on June 29, 2024

The broken uri is a secondary issue... The main issue is node['apt-chef']['gpg'] is a remote resource while apt calls cookbook_file on it:

                                                    Error executing action `create` on resource 'cookbook_file[/var/chef/cache/packages-chef-io-public.key]'
                                                    ================================================================================

                                                    Chef::Exceptions::FileNotFound
                                                    ------------------------------
                                                    Cookbook 'apt-chef' (0.2.1) does not contain a file at any of these locations:
                                                      files/ubuntu-14.04/file:///opt/opscode/embedded/keys/packages-chef-io-public.key
                                                      files/ubuntu/file:///opt/opscode/embedded/keys/packages-chef-io-public.key
                                                      files/default/file:///opt/opscode/embedded/keys/packages-chef-io-public.key
                                                      files/file:///opt/opscode/embedded/keys/packages-chef-io-public.key

                                                    Resource Declaration:
                                                    ---------------------
                                                    # In /var/chef/cache/cookbooks/apt/providers/repository.rb

                                                     97:     cookbook_file cached_keyfile do
                                                     98:       source new_resource.key
                                                     99:       cookbook new_resource.cookbook
                                                    100:       mode 00644
                                                    101:       sensitive new_resource.sensitive if respond_to?(:sensitive)
                                                    102:       action :create
                                                    103:     end
                                                    104: 

                                                    Compiled Resource:
                                                    ------------------
                                                    # Declared in /var/chef/cache/cookbooks/apt/providers/repository.rb:97:in `install_key_from_uri'

                                                    cookbook_file("/var/chef/cache/packages-chef-io-public.key") do
                                                      provider Chef::Provider::CookbookFile
                                                      action [:create]
                                                      retries 0
                                                      retry_delay 2
                                                      default_guard_interpreter :default
                                                      path "/var/chef/cache/packages-chef-io-public.key"
                                                      backup 5
                                                      atomic_update true
                                                      source "file:///opt/opscode/embedded/keys/packages-chef-io-public.key"
                                                      declared_type :cookbook_file
                                                      cookbook_name "apt-chef"
                                                      mode 420
                                                    end

from apt-chef.

jtimberman avatar jtimberman commented on June 29, 2024

What version of the apt cookbook do you have, @danfromtitan

from apt-chef.

danfromtitan avatar danfromtitan commented on June 29, 2024

[email protected]

INFO: Loading cookbooks [ [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]]

from apt-chef.

Related Issues (5)

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.