Giter Site home page Giter Site logo

vkhatri / chef-heartbeat Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 30 KB

Chef Cookbook to Manage Elastic Heartbeat

Home Page: https://supermarket.chef.io/cookbooks/elastic-heartbeat

License: Apache License 2.0

Ruby 100.00%
beats elastic heartbeat monitoring

chef-heartbeat's People

Contributors

brianvans avatar vkhatri avatar

Watchers

 avatar  avatar

Forkers

brianvans dalaga

chef-heartbeat's Issues

Repo Config failed

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

fix amazon2 service inspec test

  File /etc/yum.repos.d/beats.repo
     ✔  content should match /https:\/\/artifacts.elastic.co\/packages\/6.x\/yum/
  System Package heartbeat-elastic
     ✔  should be installed
     ✔  version should match "6.2.3"
  Service heartbeat-elastic
     ✔  should be installed
     ∅  should be enabled
     expected that `Service heartbeat-elastic` is enabled
     ✔  should be running
Test Summary: 5 successful, 1 failure, 0 skipped

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.