github.com/observiq/bindplane-agent@v1.51.0/windows/test/install.rb (about)

     1  collector_home="C:/Program Files/observIQ OpenTelemetry Collector"
     2  
     3  [
     4      "#{collector_home}/plugins",
     5      "#{collector_home}/storage"
     6  ].each do |dir|
     7      describe file(dir) do
     8          it { should exist }
     9          it { should be_directory }
    10      end
    11  end
    12  
    13  [
    14      "#{collector_home}/observiq-otel-collector.exe",
    15      "#{collector_home}/config.yaml",
    16      "#{collector_home}/plugins/elasticsearch_logs.yaml",
    17      "#{collector_home}/plugins/mysql_logs.yaml",
    18      "#{collector_home}/plugins/redis_logs.yaml"
    19  ].each do |file|
    20      describe file(file) do
    21          it { should exist }
    22          it { should be_file }
    23      end
    24  end
    25  
    26  describe service('observiq-otel-collector') do
    27      it { should be_installed }
    28      it { should be_enabled }
    29      it { should be_running }
    30  end