Hi,

I'm sorry but I haven't solved my problem yet. I haven't understood the 
answer of David Schmitt. I use Puppet 3.2 and Hierra with yaml files for 
the "classes" assignment. I would like something like that :

class monitoring {

  if tagged(http) {
    $http = "OK"
  } else { 
  $http = "NO "
  }
  
  if tagged(mysql) {
    $mysql = "OK"
  } else { 
  $mysql = "NO "
  }

  # etc.
  # etc.
}

But, as I have been explained, tagged is parse-order dependent. Is it 
possible to have the same thing but witout parse-order dependency? Is there 
a function like tagged but no parse-order dependency?

--
François Lafont


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to