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

load-balance doesn't eval in eos_switchconfig #141

Closed
tcyrus opened this issue Jun 18, 2019 · 1 comment
Closed

load-balance doesn't eval in eos_switchconfig #141

tcyrus opened this issue Jun 18, 2019 · 1 comment

Comments

@tcyrus
Copy link

tcyrus commented Jun 18, 2019

Using this example puppet config example2.pp:

$running_config = @(END)
! ...
load-balance policies
   load-balance fm6000 profile LB-7
      fields mac dst-mac vlan-priority
      fields ip protocol src-ip
      distribution symmetric-hash mac-ip
! ...
end
END

eos_switchconfig { 'running-config':
  content => $running_config,
}
-bash-4.3# puppet apply example2.pp --trace
...
Error: /Stage[main]/Main/Eos_switchconfig[running-config]: Could not evaluate:
>    load-balance fm6000 profile LB-7

% Invalid input at line 6
% Configuration replace aborted due to errors in loading the file

/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/errors.rb:106:in `fail'
/opt/puppetlabs/puppet/modules/eos/lib/puppet/provider/eos_switchconfig/default.rb:103:in `rescue in flush'
/opt/puppetlabs/puppet/modules/eos/lib/puppet/provider/eos_switchconfig/default.rb:87:in `flush'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1006:in `flush'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:25:in `evaluate'
...

Note: The only way to encounter this issue is by first solving #140.

@tcyrus
Copy link
Author

tcyrus commented Jun 18, 2019

This seems like a hardware issue, Closing

@tcyrus tcyrus closed this as completed Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant