specinfra 2.83.1 → 2.85.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f98623e6d0a234bd7fe4efe0a86e0cdc270a415
4
- data.tar.gz: 42c023dec145584e4bc648127adc088b88f2f727
3
+ metadata.gz: 5dcca0a6c67f3f9b47c2833d86186ef641f41483
4
+ data.tar.gz: b4fcb4bc6a28133ef0e581947a748fb8f4cf5218
5
5
  SHA512:
6
- metadata.gz: 05045bced49f00191b843da8fc16339f4209d543c04ae652a886feabe0ec346179da570168e4f16e0ddbe2c4a8e743203c49bc8665ce7bed3e64148f17917f53
7
- data.tar.gz: fbb932813642ede8d94a754bd5a631ed8fe404b6489c2acc3c3539212638a0fe8c9cd53320d6996e105e5bec92fae48ca9e4387c35f7178451551fcf2c9b461d
6
+ metadata.gz: 57fb67750b01a42c2967f2aa98e1759d18bf62c77ff6fc49a8887fd3a54e775d5b48db3b7d4c095871d9592130a52a453a7d1e3a003caa42e625842058acec93
7
+ data.tar.gz: 590f94b6646ef7d036d4481d6df2c5ead0f2545847bc1e1a852f41c66101767858669faedf32fa407735fec175ee7a14ed0180e0521a077155059990495e9324
@@ -70,7 +70,7 @@ module Specinfra
70
70
  end
71
71
 
72
72
  def find_powershell(dirs)
73
- ( dirs.map { |dir| "#{ENV['WINDIR']}\\#{dir}\\WindowsPowerShell\\v1.0\\powershell.exe" } ).find { |exe| File.exists?(exe) } || 'powershell'
73
+ ( dirs.map { |dir| "#{ENV['WINDIR']}\\#{dir}\\WindowsPowerShell\\v1.0\\powershell.exe" } ).find { |exe| File.exist?(exe) } || 'powershell'
74
74
  end
75
75
 
76
76
  end
@@ -17,7 +17,7 @@ module Specinfra
17
17
  @base_image = get_or_pull_image(image)
18
18
 
19
19
  create_and_start_container
20
- ObjectSpace.define_finalizer(self, proc { cleanup_container })
20
+ ObjectSpace.define_finalizer(self, self.class.__send__(:finalizer_for, @container))
21
21
  elsif container = get_config(:docker_container)
22
22
  @container = ::Docker::Container.get(container)
23
23
  else
@@ -25,6 +25,25 @@ module Specinfra
25
25
  end
26
26
  end
27
27
 
28
+ class << self
29
+ protected
30
+
31
+ # Get a finalizer for given container.
32
+ #
33
+ # @param [::Docker::Container, nil] container
34
+ #
35
+ # @return [Proc]
36
+ def finalizer_for(container)
37
+ proc do
38
+ # noinspection RubyNilAnalysis
39
+ unless container.nil?
40
+ container.stop
41
+ container.delete
42
+ end
43
+ end
44
+ end
45
+ end
46
+
28
47
  def run_command(cmd, opts={})
29
48
  cmd = build_command(cmd)
30
49
  run_pre_command(opts)
@@ -77,8 +96,7 @@ module Specinfra
77
96
  end
78
97
 
79
98
  def cleanup_container
80
- @container.stop
81
- @container.delete
99
+ self.class.__send__(:finalizer_for, @container).call
82
100
  end
83
101
 
84
102
  def current_image
@@ -0,0 +1,31 @@
1
+ class Specinfra::Command::Amazon::V2022::Package < Specinfra::Command::Linux::Base::Package
2
+ class << self
3
+ def check_is_installed(package, version=nil)
4
+ cmd = "rpm -q #{escape(package)}"
5
+ if version
6
+ full_package = "#{package}-#{version}"
7
+ cmd = "#{cmd} | grep -w -- #{Regexp.escape(full_package)}"
8
+ end
9
+ cmd
10
+ end
11
+
12
+ alias :check_is_installed_by_rpm :check_is_installed
13
+
14
+ def get_version(package, opts=nil)
15
+ "rpm -q --qf '%{VERSION}-%{RELEASE}' #{package}"
16
+ end
17
+
18
+ def install(package, version=nil, option='')
19
+ if version
20
+ full_package = "#{package}-#{version}"
21
+ else
22
+ full_package = package
23
+ end
24
+ cmd = "dnf -y #{option} install #{escape(full_package)}"
25
+ end
26
+
27
+ def remove(package, option='')
28
+ "dnf -y #{option} remove #{package}"
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,5 @@
1
+ class Specinfra::Command::Amazon::V2022::Port < Specinfra::Command::Amazon::Base::Port
2
+ class << self
3
+ include Specinfra::Command::Module::Ss
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class Specinfra::Command::Amazon::V2022::Service < Specinfra::Command::Amazon::Base::Service
2
+ class << self
3
+ include Specinfra::Command::Module::Systemd
4
+ end
5
+ end
@@ -0,0 +1,11 @@
1
+ class Specinfra::Command::Amazon::V2022::Yumrepo < Specinfra::Command::Redhat::Base::Yumrepo
2
+ class << self
3
+ def check_exists(repository)
4
+ "dnf repolist all | grep -qsE \"^[\\!\\*]?#{escape(repository)}\(\\s\|$\|\\/)\""
5
+ end
6
+
7
+ def check_is_enabled(repository)
8
+ "dnf repolist enabled | grep -qs \"^[\\!\\*]\\?#{escape(repository)}\""
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,2 @@
1
+ class Specinfra::Command::Amazon::V2022 < Specinfra::Command::Redhat::Base
2
+ end
@@ -8,6 +8,10 @@ class Specinfra::Command::Darwin::Base::Inventory < Specinfra::Command::Base::In
8
8
  'false'
9
9
  end
10
10
 
11
+ def get_kernel
12
+ 'false'
13
+ end
14
+
11
15
  def get_hostname
12
16
  'hostname -s'
13
17
  end
@@ -0,0 +1,31 @@
1
+ class Specinfra::Command::Guix::Base::Service < Specinfra::Command::Linux::Base::Service
2
+ class << self
3
+ def check_is_enabled(service, level=nil)
4
+ "herd status #{escape(service)} | grep 'It is enabled.'"
5
+ end
6
+
7
+ def check_is_running(service)
8
+ "herd status #{escape(service)} | grep 'It is started.'"
9
+ end
10
+
11
+ def enable(service)
12
+ "herd enable #{escape(service)}"
13
+ end
14
+
15
+ def disable(service)
16
+ "herd disable #{escape(service)}"
17
+ end
18
+
19
+ def start(service)
20
+ "herd start #{escape(service)}"
21
+ end
22
+
23
+ def stop(service)
24
+ "herd stop #{escape(service)}"
25
+ end
26
+
27
+ def restart(service)
28
+ "herd restart #{escape(service)}"
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,2 @@
1
+ class Specinfra::Command::Guix::Base < Specinfra::Command::Linux::Base
2
+ end
@@ -0,0 +1 @@
1
+ class Specinfra::Command::Guix; end
@@ -30,7 +30,7 @@ class Specinfra::Command::Linux::Base::Inventory < Specinfra::Command::Base::Inv
30
30
 
31
31
  def get_block_device
32
32
  block_device_dirs = '/sys/block/*/{size,removable,device/{model,rev,state,timeout,vendor},queue/rotational}'
33
- "for f in $(ls #{block_device_dirs}); do echo -e \"${f}\t$(cat ${f})\"; done"
33
+ %Q[bash -c 'for f in $(ls #{block_device_dirs}); do echo -e "${f}\t$(cat ${f})"; done']
34
34
  end
35
35
 
36
36
  def get_system_product_name
@@ -127,6 +127,13 @@ require 'specinfra/command/amazon/v2'
127
127
  require 'specinfra/command/amazon/v2/service'
128
128
  require 'specinfra/command/amazon/v2/port'
129
129
 
130
+ # Amazon Linux V2022 (inherit RedHat)
131
+ require 'specinfra/command/amazon/v2022'
132
+ require 'specinfra/command/amazon/v2022/package'
133
+ require 'specinfra/command/amazon/v2022/port'
134
+ require 'specinfra/command/amazon/v2022/service'
135
+ require 'specinfra/command/amazon/v2022/yumrepo'
136
+
130
137
  # AIX (inherit Base)
131
138
  require 'specinfra/command/aix'
132
139
  require 'specinfra/command/aix/base'
@@ -228,6 +235,11 @@ require 'specinfra/command/gentoo/base'
228
235
  require 'specinfra/command/gentoo/base/package'
229
236
  require 'specinfra/command/gentoo/base/service'
230
237
 
238
+ # Guix (inherit Linux)
239
+ require 'specinfra/command/guix'
240
+ require 'specinfra/command/guix/base'
241
+ require 'specinfra/command/guix/base/service'
242
+
231
243
  # Plamo (inherit Linux)
232
244
  require 'specinfra/command/plamo'
233
245
  require 'specinfra/command/plamo/base'
@@ -0,0 +1,10 @@
1
+ class Specinfra::Helper::DetectOs::Guix < Specinfra::Helper::DetectOs
2
+ def detect
3
+ if run_command('ls /etc/os-release').success?
4
+ line = run_command('cat /etc/os-release').stdout
5
+ if line =~ /ID=guix/
6
+ { :family => 'guix', :release => nil }
7
+ end
8
+ end
9
+ end
10
+ end
@@ -31,6 +31,7 @@ require 'specinfra/helper/detect_os/esxi'
31
31
  require 'specinfra/helper/detect_os/eos'
32
32
  require 'specinfra/helper/detect_os/freebsd'
33
33
  require 'specinfra/helper/detect_os/gentoo'
34
+ require 'specinfra/helper/detect_os/guix'
34
35
  require 'specinfra/helper/detect_os/nixos'
35
36
  require 'specinfra/helper/detect_os/openbsd'
36
37
  require 'specinfra/helper/detect_os/photon'
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.83.1"
2
+ VERSION = "2.85.0"
3
3
  end
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+
3
+ property[:os] = nil
4
+ set :os, :family => 'amazon', :release => '2022'
5
+
6
+ describe get_command(:check_package_is_installed, 'telnet') do
7
+ it { should eq 'rpm -q telnet' }
8
+ end
9
+
10
+ describe get_command(:check_package_is_installed, 'telnet', '0.17-48.el6.x86_64') do
11
+ it { should eq 'rpm -q telnet | grep -w -- telnet\\-0\\.17\\-48\\.el6\\.x86_64' }
12
+ end
13
+
14
+ describe get_command(:check_package_is_installed, 'linux-headers-$(uname -r)') do
15
+ it 'should be escaped (that is, command substitution should not work' do
16
+ should eq 'rpm -q linux-headers-\\$\\(uname\\ -r\\)'
17
+ end
18
+ end
19
+
20
+ describe get_command(:install_package, 'telnet') do
21
+ it { should eq "dnf -y install telnet" }
22
+ end
23
+
24
+ describe get_command(:install_package, 'telnet', '0.17-48.el6.x86_64') do
25
+ it { should eq "dnf -y install telnet-0.17-48.el6.x86_64" }
26
+ end
27
+
28
+ describe get_command(:install_package, 'linux-headers-$(uname -r)') do
29
+ it 'should be escaped (that is, command substitution should no work)' do
30
+ should eq "dnf -y install linux-headers-\\$\\(uname\\ -r\\)"
31
+ end
32
+ end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ property[:os] = nil
4
+ set :os, :family => 'amazon', :release => '2022'
5
+
6
+ describe get_command(:check_port_is_listening, '80') do
7
+ it { should eq 'ss -tunl | grep -E -- :80\ ' }
8
+ end
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+
3
+ property[:os] = nil
4
+ set :os, :family => 'amazon', :release => '2022'
5
+
6
+ describe get_command(:enable_service, 'httpd') do
7
+ it { should eq 'systemctl enable httpd' }
8
+ end
9
+
10
+ describe get_command(:disable_service, 'httpd') do
11
+ it { should eq 'systemctl disable httpd' }
12
+ end
13
+
14
+ describe get_command(:start_service, 'httpd') do
15
+ it { should eq 'systemctl start httpd' }
16
+ end
17
+
18
+ describe get_command(:stop_service, 'httpd') do
19
+ it { should eq 'systemctl stop httpd' }
20
+ end
21
+
22
+ describe get_command(:restart_service, 'httpd') do
23
+ it { should eq 'systemctl restart httpd' }
24
+ end
25
+
26
+ describe get_command(:reload_service, 'httpd') do
27
+ it { should eq 'systemctl reload httpd' }
28
+ end
29
+
30
+ describe get_command(:enable_service, 'sshd.socket') do
31
+ it { should eq 'systemctl enable sshd.socket' }
32
+ end
@@ -0,0 +1,12 @@
1
+ require 'spec_helper'
2
+
3
+ property[:os] = nil
4
+ set :os, :family => 'amazon', :release => '2022'
5
+
6
+ describe get_command(:check_yumrepo_exists, 'epel') do
7
+ it { should eq "dnf repolist all | grep -qsE \"^[\\!\\*]?epel\(\\s\|$\|\\/)\"" }
8
+ end
9
+
10
+ describe get_command(:check_yumrepo_is_enabled, 'epel') do
11
+ it { should eq "dnf repolist enabled | grep -qs \"^[\\!\\*]\\?epel\"" }
12
+ end
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+
3
+ property[:os] = nil
4
+ set :os, :family => 'guix'
5
+
6
+ describe get_command(:enable_service, 'nginx') do
7
+ it { should eq 'herd enable nginx' }
8
+ end
9
+
10
+ describe get_command(:disable_service, 'nginx') do
11
+ it { should eq 'herd disable nginx' }
12
+ end
13
+
14
+ describe get_command(:start_service, 'nginx') do
15
+ it { should eq 'herd start nginx' }
16
+ end
17
+
18
+ describe get_command(:stop_service, 'nginx') do
19
+ it { should eq 'herd stop nginx' }
20
+ end
21
+
22
+ describe get_command(:restart_service, 'nginx') do
23
+ it { should eq 'herd restart nginx' }
24
+ end
@@ -16,5 +16,5 @@ end
16
16
 
17
17
  describe get_command(:get_inventory_block_device) do
18
18
  block_device_dirs = '/sys/block/*/{size,removable,device/{model,rev,state,timeout,vendor},queue/rotational}'
19
- it { should eq "for f in $(ls #{block_device_dirs}); do echo -e \"${f}\t$(cat ${f})\"; done" }
19
+ it { should eq %Q[bash -c 'for f in $(ls #{block_device_dirs}); do echo -e "${f}\t$(cat ${f})"; done'] }
20
20
  end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+ require 'specinfra/helper/detect_os/guix'
3
+
4
+ describe Specinfra::Helper::DetectOs::Guix do
5
+ guix = Specinfra::Helper::DetectOs::Guix.new(:exec)
6
+ it 'Should return guix when Guix is installed.' do
7
+ allow(guix).to receive(:run_command) {
8
+ CommandResult.new(:stdout => "NAME=\"Guix System\" \nID=guix\nPRETTY_NAME=\"Guix System\" \nLOGO=guix-icon\nHOME_URL=\"https://guix.gnu.org\" \nDOCUMENTATION_URL=\"https://guix.gnu.org/en/manual\" \nSUPPORT_URL=\"https://guix.gnu.org/en/help\" \nBUG_REPORT_URL=\"https://lists.gnu.org/mailman/listinfo/bug-guix\"", :exit_status => 0)
9
+ }
10
+ expect(guix.detect).to include(
11
+ :family => 'guix',
12
+ :release => nil
13
+ )
14
+ end
15
+ end
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ describe Specinfra::HostInventory::Kernel do
4
+ describe "get" do
5
+ let(:host_inventory) { Specinfra::HostInventory.instance }
6
+ let(:command_class) { Specinfra::Command::Darwin::Base }
7
+ let(:error_message) { "get_kernel is not implemented in #{command_class}" }
8
+ let(:kernel_inventory) { Specinfra::HostInventory::Kernel.new(host_inventory) }
9
+ let(:result) { kernel_inventory.get }
10
+ example "it includes the value of os_info[:arch] in the key 'machine'" do
11
+ expect(result).to include(
12
+ "machine" => host_inventory.backend.os_info[:arch]
13
+ )
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,50 @@
1
+ require 'spec_helper'
2
+
3
+ ## Output from 'df -k'
4
+ str = <<-EOH
5
+ Filesystem 1K-blocks Used Available Use% Mounted on
6
+ none 4015168 0 4015168 0% /dev
7
+ /dev/sda3 235797392 184584640 39162064 83% /
8
+ /dev/sda1 523248 3640 519608 1% /boot/efi
9
+ tmpfs 4025296 1052 4024244 1% /dev/shm
10
+ none 4025292 44 4025248 1% /run/systemd
11
+ none 4025292 0 4025292 0% /run/user
12
+ cgroup 4025292 0 4025292 0% /sys/fs/cgroup
13
+ none 4025292 0 4025292 0% /var/cache/fontconfig
14
+ none 4025292 684 4024608 1% /var/lib/gdm
15
+ tmpfs 805056 44 805012 1% /run/user/1000
16
+ EOH
17
+
18
+ describe Specinfra::HostInventory::Filesystem do
19
+ let(:host_inventory) { nil }
20
+ describe 'Example of Guix' do
21
+ ret = Specinfra::HostInventory::Filesystem.new(host_inventory).parse(str)
22
+ example "/dev/sda3" do
23
+ expect(ret["/dev/sda3"]).to include(
24
+ "kb_available" => "39162064",
25
+ "kb_size" => "235797392",
26
+ "mount" => "/",
27
+ "percent_used" => "83%",
28
+ "kb_used" => "184584640"
29
+ )
30
+ end
31
+ example "/dev/sda1" do
32
+ expect(ret["/dev/sda1"]).to include(
33
+ "kb_available" => "519608",
34
+ "kb_size" => "523248",
35
+ "mount" => "/boot/efi",
36
+ "percent_used" => "1%",
37
+ "kb_used" => "3640"
38
+ )
39
+ end
40
+ example "cgroup" do
41
+ expect(ret["cgroup"]).to include(
42
+ "kb_available" => "4025292",
43
+ "kb_size" => "4025292",
44
+ "mount" => "/sys/fs/cgroup",
45
+ "percent_used" => "0%",
46
+ "kb_used" => "0"
47
+ )
48
+ end
49
+ end
50
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.83.1
4
+ version: 2.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-26 00:00:00.000000000 Z
11
+ date: 2023-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp
@@ -170,6 +170,11 @@ files:
170
170
  - lib/specinfra/command/amazon/v2.rb
171
171
  - lib/specinfra/command/amazon/v2/port.rb
172
172
  - lib/specinfra/command/amazon/v2/service.rb
173
+ - lib/specinfra/command/amazon/v2022.rb
174
+ - lib/specinfra/command/amazon/v2022/package.rb
175
+ - lib/specinfra/command/amazon/v2022/port.rb
176
+ - lib/specinfra/command/amazon/v2022/service.rb
177
+ - lib/specinfra/command/amazon/v2022/yumrepo.rb
173
178
  - lib/specinfra/command/arch.rb
174
179
  - lib/specinfra/command/arch/base.rb
175
180
  - lib/specinfra/command/arch/base/package.rb
@@ -285,6 +290,9 @@ files:
285
290
  - lib/specinfra/command/gentoo/base.rb
286
291
  - lib/specinfra/command/gentoo/base/package.rb
287
292
  - lib/specinfra/command/gentoo/base/service.rb
293
+ - lib/specinfra/command/guix.rb
294
+ - lib/specinfra/command/guix/base.rb
295
+ - lib/specinfra/command/guix/base/service.rb
288
296
  - lib/specinfra/command/linux.rb
289
297
  - lib/specinfra/command/linux/base.rb
290
298
  - lib/specinfra/command/linux/base/bond.rb
@@ -463,6 +471,7 @@ files:
463
471
  - lib/specinfra/helper/detect_os/esxi.rb
464
472
  - lib/specinfra/helper/detect_os/freebsd.rb
465
473
  - lib/specinfra/helper/detect_os/gentoo.rb
474
+ - lib/specinfra/helper/detect_os/guix.rb
466
475
  - lib/specinfra/helper/detect_os/nixos.rb
467
476
  - lib/specinfra/helper/detect_os/openbsd.rb
468
477
  - lib/specinfra/helper/detect_os/photon.rb
@@ -513,6 +522,10 @@ files:
513
522
  - spec/command/amazon/service_spec.rb
514
523
  - spec/command/amazon2/port_spec.rb
515
524
  - spec/command/amazon2/service_spec.rb
525
+ - spec/command/amazon2022/package_spec.rb
526
+ - spec/command/amazon2022/port_spec.rb
527
+ - spec/command/amazon2022/service_spec.rb
528
+ - spec/command/amazon2022/yumrepo_spec.rb
516
529
  - spec/command/base/file_spec.rb
517
530
  - spec/command/base/group_spec.rb
518
531
  - spec/command/base/host_spec.rb
@@ -548,6 +561,7 @@ files:
548
561
  - spec/command/freebsd/interface_spec.rb
549
562
  - spec/command/freebsd/package_spec.rb
550
563
  - spec/command/freebsd/service_spec.rb
564
+ - spec/command/guix/service_spec.rb
551
565
  - spec/command/linux/bond_spec.rb
552
566
  - spec/command/linux/bridge_spec.rb
553
567
  - spec/command/linux/file_spec.rb
@@ -591,6 +605,7 @@ files:
591
605
  - spec/helper/detect_os/eos_spec.rb
592
606
  - spec/helper/detect_os/esxi_spec.rb
593
607
  - spec/helper/detect_os/freebsd_spec.rb
608
+ - spec/helper/detect_os/guix_spec.rb
594
609
  - spec/helper/detect_os/openbsd_spec.rb
595
610
  - spec/helper/detect_os/suse_spec.rb
596
611
  - spec/helper/os_spec.rb
@@ -600,7 +615,9 @@ files:
600
615
  - spec/host_inventory/base/group_spec.rb
601
616
  - spec/host_inventory/base/user_spec.rb
602
617
  - spec/host_inventory/darwin/filesystem_spec.rb
618
+ - spec/host_inventory/darwin/kernel_spec.rb
603
619
  - spec/host_inventory/freebsd/filesystem_spec.rb
620
+ - spec/host_inventory/guix/filesystem_spec.rb
604
621
  - spec/host_inventory/linux/block_device_spec.rb
605
622
  - spec/host_inventory/linux/cpu_spec.rb
606
623
  - spec/host_inventory/linux/filesystem_spec.rb
@@ -655,6 +672,10 @@ test_files:
655
672
  - spec/command/amazon/service_spec.rb
656
673
  - spec/command/amazon2/port_spec.rb
657
674
  - spec/command/amazon2/service_spec.rb
675
+ - spec/command/amazon2022/package_spec.rb
676
+ - spec/command/amazon2022/port_spec.rb
677
+ - spec/command/amazon2022/service_spec.rb
678
+ - spec/command/amazon2022/yumrepo_spec.rb
658
679
  - spec/command/base/file_spec.rb
659
680
  - spec/command/base/group_spec.rb
660
681
  - spec/command/base/host_spec.rb
@@ -690,6 +711,7 @@ test_files:
690
711
  - spec/command/freebsd/interface_spec.rb
691
712
  - spec/command/freebsd/package_spec.rb
692
713
  - spec/command/freebsd/service_spec.rb
714
+ - spec/command/guix/service_spec.rb
693
715
  - spec/command/linux/bond_spec.rb
694
716
  - spec/command/linux/bridge_spec.rb
695
717
  - spec/command/linux/file_spec.rb
@@ -733,6 +755,7 @@ test_files:
733
755
  - spec/helper/detect_os/eos_spec.rb
734
756
  - spec/helper/detect_os/esxi_spec.rb
735
757
  - spec/helper/detect_os/freebsd_spec.rb
758
+ - spec/helper/detect_os/guix_spec.rb
736
759
  - spec/helper/detect_os/openbsd_spec.rb
737
760
  - spec/helper/detect_os/suse_spec.rb
738
761
  - spec/helper/os_spec.rb
@@ -742,7 +765,9 @@ test_files:
742
765
  - spec/host_inventory/base/group_spec.rb
743
766
  - spec/host_inventory/base/user_spec.rb
744
767
  - spec/host_inventory/darwin/filesystem_spec.rb
768
+ - spec/host_inventory/darwin/kernel_spec.rb
745
769
  - spec/host_inventory/freebsd/filesystem_spec.rb
770
+ - spec/host_inventory/guix/filesystem_spec.rb
746
771
  - spec/host_inventory/linux/block_device_spec.rb
747
772
  - spec/host_inventory/linux/cpu_spec.rb
748
773
  - spec/host_inventory/linux/filesystem_spec.rb