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

update gems #670

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 43 additions & 51 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.5)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ansi (1.5.0)
ast (2.4.2)
Expand All @@ -10,27 +10,25 @@ GEM
codecov (0.6.0)
simplecov (>= 0.15, < 0.22)
coderay (1.1.3)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
deep_merge (1.2.2)
dependency_checker (0.3.0)
parallel
puppet_forge (>= 2.2, < 4.0)
rake (~> 13.0)
semantic_puppet (~> 1.0)
diff-lcs (1.5.0)
diff-lcs (1.5.1)
docile (1.4.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
domain_name (0.6.20240107)
ed25519 (1.3.0)
facter (4.4.3)
facter (4.6.1)
hocon (~> 1.3)
sys-filesystem (~> 1.3)
thor (>= 1.0.1, < 2.0)
facterdb (1.21.0)
facterdb (1.23.0)
facter (< 5.0.0)
jgrep
faker (2.19.0)
i18n (>= 1.6, < 2)
faker (3.2.3)
i18n (>= 1.8.11, < 2)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
Expand All @@ -57,14 +55,13 @@ GEM
faraday_middleware (1.2.0)
faraday (~> 1.0)
fast_gettext (2.3.0)
ffi (1.15.5)
hiera (3.12.0)
hirb (0.7.3)
hocon (1.4.0)
http-accept (1.7.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
i18n (1.9.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jgrep (1.5.4)
json-schema (4.1.1)
Expand All @@ -81,32 +78,32 @@ GEM
json-schema (>= 2.8, < 5.0)
spdx-licenses (~> 1.0)
method_source (1.0.0)
mime-types (3.5.1)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2023.0808)
mime-types-data (3.2024.0305)
minitar (0.9)
mocha (1.1.0)
metaclass (~> 0.0.1)
multi_json (1.15.0)
multipart-post (2.3.0)
multipart-post (2.4.0)
net-scp (4.0.0)
net-ssh (>= 2.6.5, < 8.0.0)
net-ssh (7.2.0)
net-ssh (7.2.1)
net-telnet (0.1.1)
netrc (0.11.0)
parallel (1.21.0)
parallel_tests (3.7.3)
parallel (1.24.0)
parallel_tests (3.13.0)
parallel
parser (3.2.2.3)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
pathspec (0.2.1)
pathspec (1.0.0)
pluginator (1.5.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (5.0.3)
puppet (7.26.0)
public_suffix (5.0.4)
puppet (7.29.0)
concurrent-ruby (~> 1.0)
deep_merge (~> 1.0)
facter (> 2.0.1, < 5)
Expand All @@ -120,15 +117,15 @@ GEM
puppet-blacksmith (6.1.1)
puppet-modulebuilder (~> 0.2)
rest-client (~> 2.0)
puppet-debugger (1.3.0)
puppet-debugger (1.4.0)
awesome_print (~> 1.7)
bundler
facterdb (>= 0.4.0)
pluginator (~> 1.5.0)
puppet (>= 5.5)
puppet (>= 6)
rb-readline (>= 0.5.5)
table_print (>= 1.0.0)
tty-pager (~> 0.13)
tty-pager (~> 0.14)
puppet-lint (2.5.2)
puppet-module-posix-default-r2.7 (1.1.1)
puppet-module-posix-dev-r2.7 (1.1.1)
Expand Down Expand Up @@ -168,7 +165,7 @@ GEM
puppet-strings (2.9.0)
rgen
yard (~> 0.9.5)
puppet-syntax (3.1.0)
puppet-syntax (3.3.0)
puppet (>= 5)
rake
puppet_forge (3.2.0)
Expand All @@ -182,35 +179,35 @@ GEM
puppet-lint (~> 2.0)
puppet-syntax (>= 2.0, < 4)
rspec-puppet (~> 2.0)
racc (1.7.1)
racc (1.7.3)
rainbow (2.2.2)
rake
rake (13.0.6)
rake (13.1.0)
rb-readline (0.5.5)
regexp_parser (2.8.1)
regexp_parser (2.9.0)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.2.6)
rgen (0.9.0)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
rgen (0.9.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (~> 3.13.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.11.0)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-puppet (2.11.1)
rspec-support (~> 3.13.0)
rspec-puppet (2.12.0)
rspec
rspec-puppet-facts (2.0.5)
facter
Expand All @@ -222,7 +219,7 @@ GEM
puppetlabs_spec_helper
rspec
rspec-puppet
rspec-support (3.11.0)
rspec-support (3.13.1)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rsync (1.0.9)
Expand All @@ -235,8 +232,8 @@ GEM
rubocop-ast (>= 1.2.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.1)
parser (>= 3.3.0.4)
rubocop-performance (1.9.1)
rubocop (>= 0.90.0, < 2.0)
rubocop-ast (>= 0.4.0)
Expand Down Expand Up @@ -272,17 +269,12 @@ GEM
unicode-display_width (>= 1.5, < 3.0)
unicode_utils (~> 1.4)
strings-ansi (0.2.0)
sys-filesystem (1.4.4)
ffi (~> 1.1)
table_print (1.5.7)
thor (1.2.2)
thor (1.3.1)
tty-pager (0.14.0)
strings (~> 0.2.0)
tty-screen (~> 0.8)
tty-screen (0.8.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
tty-screen (0.8.2)
unicode-display_width (1.8.0)
unicode_utils (1.4.0)
yard (0.9.36)
Expand Down
8 changes: 4 additions & 4 deletions spec/classes/profile/vmhost/host_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,21 @@ def contain_vm(name)
it { is_expected.to contain_vm('vmname').with_nameservers(['5.5.5.5', '4.4.4.4']) }

context 'and given a random number of cpus' do
let(:cpus) { Faker::Number.between(1, 12).to_i }
let(:cpus) { Faker::Number.between(from: 1, to: 12).to_i }
let(:params) { super().merge(cpus: cpus) }

it { is_expected.to contain_vm('vmname').with_cpus(cpus) }
end

context 'and given a random amount of disk space' do
let(:disk) { Faker::Number.between(8, 200).to_i }
let(:disk) { Faker::Number.between(from: 8, to: 200).to_i }
let(:params) { super().merge(disk: disk) }

it { is_expected.to contain_vm('vmname').with_disk(disk) }
end

context 'and given a random amount of ram' do
let(:ram) { Faker::Number.between(1, 64).to_i }
let(:ram) { Faker::Number.between(from: 1, to: 64).to_i }
let(:params) { super().merge(ram: ram) }

it { is_expected.to contain_vm('vmname').with_ram(ram) }
Expand Down Expand Up @@ -120,7 +120,7 @@ def contain_vm(name)
end

context 'and given some random nameservers' do
let(:nameservers) { Array.new(Faker::Number.between(2, 4)) { Faker::Internet.ip_v4_address } }
let(:nameservers) { Array.new(Faker::Number.between(from: 2, to: 4)) { Faker::Internet.ip_v4_address } }
let(:params) { super().merge(nameservers: nameservers) }

it { is_expected.to contain_vm('vmname').with_nameservers(nameservers) }
Expand Down