Ask Your Question
0

puppetlabs-f5 module : replacing f5 elements

asked 2013-07-18 20:29:24 -0500

BaltoStar gravatar image

updated 2013-07-19 15:40:36 -0500

puppetlabs-f5 module

puppet device : if a BIG-IP element ( such as an iRule ) defined in an f5 node definition ( within manifest site.pp ) is already present on the f5 device , under what conditions will it be replaced ?

Are logs available that are more comprehensive than those output on running puppet device in interactive mode ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-18 22:27:26 -0500

The puppet module will make the resource on the F5 match your puppet definition, just like any other puppet type.

The key is the name of the resource. So in puppet the resource looks like:

f5_irule { 'demo':
  ensure     => present,
  definition => 'when HTTP_REQUEST {}',
}

This will make the irule named 'demo' match this definition.

If you do not have puppet code to manage the resource, puppet will leave it alone. If the titles match, then puppet will enforce that it matches what you've defined in puppet, overriding anything on the f5.

For the logging, 'puppet device --debug' is probably the best ... (more)

edit flag offensive delete link more

Comments

Thanks Adam. But let's say that on my f5 device a particular iRule already exists and identically matches the definition in my puppet manifest. Will the puppetlabs-f5 module still ...(more)

BaltoStar gravatar imageBaltoStar ( 2013-07-19 15:49:21 -0500 )edit

No, it will not unload/reload. A lot of work was done to make sure these type are idempotent like all other puppet types. If everything matches exactly, nothing needs ...(more)

Adam Crews gravatar imageAdam Crews ( 2013-07-19 19:32:51 -0500 )edit

Suppose a puppet f5 node manifest with an f5 element definition that does not include all possible properties ( sparse definition ). Further suppose this element pre-exists on f5 device and some ...(more)

BaltoStar gravatar imageBaltoStar ( 2013-07-19 20:16:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-07-18 20:29:24 -0500

Seen: 121 times

Last updated: Jul 19 '13