f5devcentral / f5-puppet

Puppet modules for F5 BIG-IP
Apache License 2.0
13 stars 27 forks source link

from_remote_file feature #48

Open hilmiller opened 6 years ago

hilmiller commented 6 years ago

The types f5_sslkey and f5_sslcertificate have parameter from_local_file, but does this module provide a way to PUT files to the F5 from Puppet over iControl REST API?

scshitole commented 6 years ago

@hilmiller you mean from Puppet master to F5 bigip?

hilmiller commented 6 years ago

@scshitole Yeah, puppet master has the cert and the puppet device run puts the cert on the f5. I don't think that's possible currently. Perhaps a better solution would be to create a "f5_put_file" type that could handle uploading arbitrary F5 configuration objects. This way, more complex certificate chaining configurations could be implemented that simply expect local certificate files. The user would need to specify certificate related resources depend on f5_put_file resources running first.

scshitole commented 6 years ago

@hilmiller you are saying basically just the opposite of https://github.com/f5devcentral/f5-puppet/blob/master/README.md#f5_sslcertificate

hilmiller commented 6 years ago

Yeah, thanks!