Ticket #1209: 0001-fixed-missing-bracket-in-documentation.patch
| File 0001-fixed-missing-bracket-in-documentation.patch, 1.1 kB (added by immerda, 8 months ago) |
|---|
-
a/lib/puppet/parser/functions.rb
old new 165 165 type is defined, either as a native type or a defined type, or whether a class is defined. 166 166 This is useful for checking whether a class is defined and only including it if it is. 167 167 This function can also test whether a resource has been defined, using resource references 168 (e.g., ``if defined(File['/tmp/myfile'] { ... }``). This function is unfortunately168 (e.g., ``if defined(File['/tmp/myfile']) { ... }``). This function is unfortunately 169 169 dependent on the parse order of the configuration when testing whether a resource is defined.") do |vals| 170 170 result = false 171 171 vals.each do |val|