Issue #2868 has been reported by Mark Bergsma.
----------------------------------------
Feature #2868: evaluated() function to check whether a class has been evaluated
http://projects.reductivelabs.com/issues/2868
Author: Mark Bergsma
Status: Unreviewed
Priority: Normal
Assigned to:
Category: functions
Target version:
Affected version: 0.25.1
Keywords: qualified variables, functions, evaluation
Branch:
I would like to have an evaluated() function to check whether a given class has
been evaluated for a node.
For example, I have a class:
class nfs::home {
$mounted = "true"
...
}
Elsewhere, I would like to refer to this fully qualified variable
$nfs::home::mounted, but this triggers errors like
Could not look up qualified variable 'nfs::home::mounted'; class nfs::home
has not been evaluated
Wrapping the test with an evaluated() function would solve this.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.