f5_profileclientssl creating profiles in multiple partitions
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the Puppet run with the f5_profileclientssl resources shown for /Reverse-Proxy and /Common, then compare the behavior for client SSL profiles, data groups, and HTTP profiles. Done means resources are created only in the requested custom partition, repeated puppet device runs succeed, and the workaround deleting /Common profiles is no longer needed.
Written by the indexing model from the issue text.
Description
When I attempt to add a SSL Client profile in my custom partition, puppet will create the profile in both the /custom and /common partition. The puppet run will succeed on the first run (creates profiles in both the /common and /custom partition) but then fails after running puppet device again. The error i'm receiving is telling me the profile already exists in the /common partition. The only workaround I have for this is to create another f5_profileclientssl resource with an ensure => absent against the profile that was created in the /common partition.
`f5_profileclientssl {'/Common/serverA':
ensure => 'absent',
}
f5_profileclientssl {'/Common/serverB':
ensure => 'absent',
}
f5_profileclientssl {'/Reverse-Proxy/serverA':
ensure => 'present',
proxy_ssl => 'disabled',
proxy_ssl_passthrough => 'disabled',
}
f5_profileclientssl {'/Reverse-Proxy/serverB':
ensure => 'present',
proxy_ssl => 'disabled',
proxy_ssl_passthrough => 'disabled',
}`
If i remove the top two resources (/common/serverA & /common/serverB). I get the following error.
Error: /Stage[main]/f5::Profileclientssl/F5_profileclientssl[/Reverse-Proxy/serverA]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: REST failure: HTTP status code 409 detected. Body of failure is: {"code":409,"message":"01020066:3: The requested ClientSSL Profile (/Common/serverA) already exists in partition Common.","errorStack":[],"apiError":3}
I only want to create profiles in my /custom partition. How can I prevent puppet from creating the profiles in the /common/ partition? This is also happening when I attempt to add data groups and http profiles
- Dominant language
- Ruby
- Stars
- 13
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from f5devcentral/f5-puppet
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
f5devcentral/f5-puppet#74 ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 68/100
f5devcentral/f5-puppet#37 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
f5devcentral/f5-puppet#83 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
f5devcentral/f5-puppet#82 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
f5devcentral/f5-puppet#81 ·
All issues in f5devcentral/f5-puppet
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
notch8/utk_knapsack#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Homebrew/homebrew-cask#288729 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100