Remove deprecated zabbix_host.group, zabbix::agent::zbx_group, zabbix::resources::agent::group parameters #639
Annotations
6 errors
spec/types/zabbix_host_spec.rb#L12
zabbix_host with default provider is expected to be a valid type
Failure/Error: it { is_expected.to be_valid_type.with_properties('group') }
Not a valid type ["Invalid properties: group"]
|
spec/unit/puppet/type/zabbix_host_spec.rb#L32
Puppet::Type::Zabbix_host when validating properties has a group property
Failure/Error: expect(described_class.attrtype(param)).to eq(:property)
expected: :property
got: nil
(compared using ==)
|
spec/unit/puppet/x/spec_zabbix_types.rb#L52
Puppet::Type::Zabbix_host properties group behaves like validated property attrtype is expected to eq :property
Failure/Error: it { expect(described_class.attrtype(param)).to eq :property }
expected: :property
got: nil
(compared using ==)
Shared Example Group: "validated property" called from ./spec/unit/puppet/type/zabbix_host_spec.rb:80
|
spec/unit/puppet/x/spec_zabbix_types.rb#L57
Puppet::Type::Zabbix_host properties group behaves like validated property allowed supports group1 as a value
Failure/Error:
expect { described_class.new(:name => 'nobody', param => value) }.
not_to raise_error
expected no Exception, got #<Puppet::Error: no parameter named 'group'> with backtrace:
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/util/errors.rb:157:in `fail'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:668:in `[]='
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:2499:in `block in set_parameters'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:2493:in `each'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:2493:in `set_parameters'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:2389:in `initialize'
# ./spec/unit/puppet/x/spec_zabbix_types.rb:58:in `new'
# ./spec/unit/puppet/x/spec_zabbix_types.rb:58:in `block (5 levels) in <top (required)>'
# ./spec/unit/puppet/x/spec_zabbix_types.rb:58:in `block (4 levels) in <top (required)>'
Shared Example Group: "validated property" called from ./spec/unit/puppet/type/zabbix_host_spec.rb:80
|
spec/unit/puppet/x/spec_zabbix_types.rb#L57
Puppet::Type::Zabbix_host properties group behaves like validated property allowed supports Group One as a value
Failure/Error:
expect { described_class.new(:name => 'nobody', param => value) }.
not_to raise_error
expected no Exception, got #<Puppet::Error: no parameter named 'group'> with backtrace:
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/util/errors.rb:157:in `fail'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:668:in `[]='
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:2499:in `block in set_parameters'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:2493:in `each'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:2493:in `set_parameters'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.27.0/lib/puppet/type.rb:2389:in `initialize'
# ./spec/unit/puppet/x/spec_zabbix_types.rb:58:in `new'
# ./spec/unit/puppet/x/spec_zabbix_types.rb:58:in `block (5 levels) in <top (required)>'
# ./spec/unit/puppet/x/spec_zabbix_types.rb:58:in `block (4 levels) in <top (required)>'
Shared Example Group: "validated property" called from ./spec/unit/puppet/type/zabbix_host_spec.rb:80
|
|
The logs for this run have expired and are no longer available.
Loading