f5_profileclientssl autoload issue

Open Beginner friendly
#74 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
ruby
Domain
devops

Research direction

Open puppet/provider/f5_profileclientssl/rest.rb around lines 20-30 and inspect the profile mapping where the reported syntax error occurs. Reproduce by creating an SSL client profile and using the require lines in a virtualserver; done means the provider autoloads without the shown Ruby syntax errors.

Written by the indexing model from the issue text.

Description

Hi All,

when trying include a f5_profileclientssl in virtualserver I get the following error. Reproducing was simply to create a SSL client profile and use require lines create dependency. I think it's a missing "," on line 20 of the rest.rb file. Will create merge request once I've tested it.

2020-09-18 14:23:47 +1000 Puppet (err): Could not autoload puppet/provider/f5_profileclientssl/rest: /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:21: syntax error, unexpected tIDENTIFIER, expecting ')' proxy_ssl: profile['... ^~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:22: syntax error, unexpected tLABEL, expecting '=' proxy_ssl_passthrough: profile['proxySslPasst... ^~~~~~~~~~~~~~~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:23: syntax error, unexpected tLABEL, expecting '=' ssl_forward_proxy: profile['sslForwar... ^~~~~~~~~~~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:24: syntax error, unexpected tLABEL, expecting '=' ... ssl_forward_proxy_bypass: profile['sslForwardProxyB... ... ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:25: syntax error, unexpected tLABEL, expecting '=' peer_cert_mode: profile['peerCe... ^~~~~~~~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:26: syntax error, unexpected tLABEL, expecting '=' authenticate: profile['auth... ^~~~~~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:27: syntax error, unexpected tLABEL, expecting '=' retain_certificate: profile['retainCert... ^~~~~~~~~~~~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:28: syntax error, unexpected tLABEL, expecting '=' authenticate_depth: profile['authentica... ^~~~~~~~~~~~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:29: syntax error, unexpected tLABEL, expecting '=' partition: profile['p... ^~~~~~~~~~ /opt/puppetlabs/puppet/cache/lib/puppet/provider/f5_profileclientssl/rest.rb:30: syntax error, unexpected ')', expecting '=' ) ^

Dominant language
Ruby
Stars
13
Forks
24
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from f5devcentral/f5-puppet

All issues in f5devcentral/f5-puppet

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.