Puppet: System Administration Automated

Support

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)

patch for documentation

  • a/lib/puppet/parser/functions.rb

    old new  
    165165    type is defined, either as a native type or a defined type, or whether a class is defined. 
    166166    This is useful for checking whether a class is defined and only including it if it is. 
    167167    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 unfortunately 
     168    (e.g., ``if defined(File['/tmp/myfile']) { ... }``).  This function is unfortunately 
    169169    dependent on the parse order of the configuration when testing whether a resource is defined.") do |vals| 
    170170        result = false 
    171171        vals.each do |val|