Sha256: f04faf8ec9d0860a43c2a06970b8418d17b8bf3728b446b3079b0c8173480799

Contents?: true

Size: 1004 Bytes

Versions: 1

Compression:

Stored size: 1004 Bytes

Contents

# puppet-doc-lint

Lint your Puppet files for RDoc coverage

This project is heavily based on the puppet-parse code base, go check it out! :smile:

## Installation

    gem install puppet-doc-lint


## Usage

### By hand

You can report on one or more manifests by running

    puppet-doc-lint <path(s) to file(s)>

For example:
  
```
puppet-doc-lint ~/Projects/puppetlabs-firewall/manifests/linux/debian.pp
class firewall::linux::debian Parameters are ["ensure", "enable"]
class firewall::linux::debian Docs found are ["ensure", "enable"]
```

### Rake task

If you want to parse your entire modules directory, you can add
`require 'puppet-doc-lint/rake-task' to your Rakefile and then run

    rake parse

If you need to ignore certain paths from being parsed:

``` ruby
PuppetDocLint.configuration.ignore_paths = ["vendor/**/*.pp"]
```

## Contributing

You can do any of these:

1. Create new Pull Request
2. Create an issue
3. Write me an email
4. Complain about how useless my code is on twitter

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-doc-lint-0.0.1 README.md