Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo Config failed #4

Open
florian-asche opened this issue Jan 4, 2019 · 0 comments
Open

Repo Config failed #4

florian-asche opened this issue Jan 4, 2019 · 0 comments

Comments

@florian-asche
Copy link

Recipe: metricbeat::install
  * apt_repository[beats] action add[2019-01-04T15:59:08+01:00] INFO: Processing apt_repository[beats] action add (metricbeat::install line 29)

    
    ================================================================================
    Error executing action `add` on resource 'apt_repository[beats]'
    ================================================================================
    
    Errno::ENOENT
    -------------
    No such file or directory - gpg
    
    Resource Declaration:
    ---------------------
    # In /root/chef-solo/local-mode-cache/cache/cookbooks/metricbeat/recipes/install.rb
    
     29:   apt_repository 'beats' do
     30:     uri node['metricbeat']['apt']['uri']
     31:     components node['metricbeat']['apt']['components']
     32:     key node['metricbeat']['apt']['key']
     33:     action node['metricbeat']['apt']['action']
     34:     distribution ''
     35:   end
     36: 
    
    Compiled Resource:
    ------------------
    # Declared in /root/chef-solo/local-mode-cache/cache/cookbooks/metricbeat/recipes/install.rb:29:in `from_file'
    
    apt_repository("beats") do
      action [:add]
      default_guard_interpreter :default
      declared_type :apt_repository
      cookbook_name "metricbeat"
      recipe_name "install"
      uri "https://artifacts.elastic.co/packages/6.x/apt"
      components ["stable", "main"]
      key ["https://artifacts.elastic.co/GPG-KEY-elasticsearch"]
      distribution ""
      repo_name "beats"
    end
    
    System Info:
    ------------
    chef_version=13.8.5
    platform=ubuntu
    platform_version=18.04
    ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
    program_name=chef-solo worker: ppid=1017;start=15:58:05;
    executable=/opt/chef/bin/chef-solo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant