Forum Discussion
What_Lies_Bene1
Cirrostratus
Nov 03, 2014Puppet F5 SOAP Module - Creating Classes
Hi all,
I'm currently working on automating F5 builds using Puppet. The module here: https://github.com/puppetlabs/puppetlabs-f5 is pretty poorly documented and I've found quite a few errors in ...
What_Lies_Bene1
Cirrostratus
Nov 03, 2014I resolved this myself but not in a particularly elegant way. I changed line 102 of the provider file from this;
message = { classes: { items: { name: resource[:name], members: { items: [] }}}}
to this;
message = { classes: { items: { name: resource[:name], members: { items: [:members] }}}}
Essentially, iControl will not accept a null value for a member item/key. Unfortunately, putting in any value results in a member/key with that name that is created and then deleted. Using [''] resulted in a blank (but very present) member item/key.
It would be nice if this could instead be the first member specified in the manifest but this is beyond my current skills.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects