Heston Snodgrass
01/23/2025, 8:09 PMLumiere
01/23/2025, 8:09 PMLumiere
01/23/2025, 8:09 PMHeston Snodgrass
01/23/2025, 8:10 PMlet(:pre_condition) do
<<~'EOF'
something
something
EOF
end
Heston Snodgrass
01/23/2025, 8:11 PMCVQuesty
01/23/2025, 8:11 PMHeston Snodgrass
01/23/2025, 8:12 PMinclude
Lumiere
01/23/2025, 8:12 PMLumiere
01/23/2025, 8:12 PMCVQuesty
01/23/2025, 8:26 PMrnelson0
01/24/2025, 6:26 PMinclude $array
. Why is not clear to me though πDavid Sandilands
01/27/2025, 1:35 PMralfbosz
01/27/2025, 2:41 PMralfbosz
01/27/2025, 2:42 PMTheMeier
01/28/2025, 8:19 AMon_supported_os.each do |os, os_facts|
context "on #{os}" do
let(:facts) do
os_facts.merge(networking: { fqdn: 'my.domain.foo' })
end
but $facts{'networking']['fqdn']
always has the value defined in spec/default_facts.yml
Joel Wilson
02/25/2025, 5:38 PMbastelfreak
02/25/2025, 5:43 PMbastelfreak
02/25/2025, 5:43 PMJoel Wilson
02/25/2025, 5:43 PMspec_helper_acceptance.rb
Joel Wilson
02/25/2025, 5:43 PMbastelfreak
02/25/2025, 5:43 PMJoel Wilson
02/25/2025, 5:43 PMTheMeier
02/28/2025, 1:35 PMEd Rude
03/11/2025, 10:47 AMBrian Schonecker
04/28/2025, 12:36 PMerror during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, wrong number of arguments (given 3, expected 1..2)
The class module (if you can call it that) couldn't be more simple:
--class manhattan::a {
concat { '/bin/foo':
owner => 'root',
group => 'root',
mode => '0755',
}
}
bundle references me to:
concat/manifests/init.pp, line: 107, column: 27)
but for the life of me I can't figure out what's going on. The class module passes all other tests. My .fixtures.yml file references:
concat:
repo: "<https://github.com/puppetlabs/puppetlabs-concat.git>"
ref: "v9.0.2"
The spec file is:
require 'spec_helper'
describe 'manhattan::a' do
it { <http://is_expected.to|is_expected.to> compile }
end
It doesn't get much more simple than that. Can anyone shed light on what I might be doing wrong?bastelfreak
04/28/2025, 12:38 PMbastelfreak
04/28/2025, 12:38 PMYury Bushmelev
05/08/2025, 5:40 AMkernel
fact value to make my Linux-confined fact unit test to work on MacOS.Yury Bushmelev
05/08/2025, 5:42 AMFacter.clear
in before :each
hook, which looks legit but I should recheck the sources/documentation regarding this π€Yury Bushmelev
05/08/2025, 5:44 AM