Hi,

I just made a custom fact to display a status about mysql.
The fact variable is 'foo'.
In a module I test this fact variable to apply or not a ressource :
class bar {
   if $::foo == 'toto' {
      notice("Execute ressource")
      # Reload fact variable ?
      if $::foo == 'toto' {
         fail("Ressource not applied")
      }
   }
}

After apply my ressource I would like to reload the fact variable to test 
if there is a mysql status modification.
Do you know how can do that in a puppet class ?

Thank you in advance.

Loïc

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/-uh5H26o0B0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to