Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem seems that puppet doc doesn't "see" resources that are declared in a case statement, like this :

case $operatingsystem { 'centos','redhat': { file { '/tmp/dummy': ... ... } } 'solaris': { file { '/tmp/otherfile': ... ... } } default: { } }

The problem seems that puppet doc doesn't "see" resources that are declared in a case statement, like this :

case $operatingsystem {
                'centos','redhat': {
                          file { '/tmp/dummy':
                           ...
                           ...
                          }
                 }
                 'solaris': {
                           file { '/tmp/otherfile':
                            ...
                            ...
                            }
                 }
                 default: { 
                 }
}

}