How to deploy iApps using Puppet Enterprise
Problem this snippet solves:
If you have iApp deployed on the F5 BIG-IP and you would like to deploy the same iApp on hundreds of F5 BIG-IP devices programmatically in IT using Puppet Infrastructure. For example below is the Puppet command to retrieve f5.http iApp detail which can be used in Puppet manifest file site.pp to deploy the iApp.
sudo FACTER_url=https://admin:admin@10.192.74.61 puppet resource f5_iapp /Common/simplehttp.app/simplehttp [sudo] password for scs: f5_iapp { '/Common/simplehttp.app/simplehttp': ensure => 'present', tables => {'basic__snatpool_members' => [], 'net__snatpool_members' => [], 'optimizations__hosts' => [], 'pool__hosts' => [{'name' => 'f5.bigip1.com'}], 'pool__members' => [{'addr' => '10.1.1.1', 'connection_limit' => '0', 'port' => '80'}], 'server_pools__servers' => []}, template => '/Common/f5.http', variables => {'client__http_compression' => '/#create_new#', 'monitor__monitor' => '/#create_new#', 'monitor__response' => 'none', 'monitor__uri' => '/', 'net__client_mode' => 'wan', 'net__server_mode' => 'lan', 'pool__addr' => '192.168.32.11', 'pool__pool_to_use' => '/#create_new#', 'pool__port' => '80', 'ssl__mode' => 'no_ssl', 'ssl_encryption_questions__advanced' => 'no', 'ssl_encryption_questions__help' => 'hide'}, }
How to use this snippet:
The above example is for deploying f5.http iApp, this information can be used in puppet manifest file site.pp, if you need to deploy other iApps for DDoS, APM or any complex iApp deployment using Puppet you can very well use this information. Please find the Document attached which talks about steps required to deploy simple http iApp.
Code :
69220
Tested this on version:
11.6