Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Mar 8, 2016
1 parent 285847e commit 87ee1dd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 34 deletions.
56 changes: 23 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,72 +1,62 @@
# eyplib

![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)

#### Table of Contents

1. [Overview](#overview)
2. [Module Description](#module-description)
3. [Setup](#setup)
* [What eyplib affects](#what-eyplib-affects)
* [Setup requirements](#setup-requirements)
* [Beginning with eyplib](#beginning-with-eyplib)
4. [Usage](#usage)
5. [Reference](#reference)
5. [Limitations](#limitations)
6. [Development](#development)
* [Contributing](#contributing)

## Overview

A one-maybe-two sentence summary of what the module does/what problem it solves.
This is your 30 second elevator pitch for your module. Consider including
OS/Puppet version it works with.
Standard library of resources for Puppet modules.

## Module Description

If applicable, this section should have a brief description of the technology
the module integrates with and what that integration enables. This section
should answer the questions: "What does this module *do*?" and "Why would I use
it?"

If your module has a range of functionality (installation, configuration,
management, etc.) this is the time to mention it.
Contains common functions for eyp modules

## Setup

Installing the eyplib module adds the functions, facts, and resources of this standard library to Puppet.

### What eyplib affects

* A list of files, packages, services, or operations that the module will alter,
impact, or execute on the system it's installed on.
* This is a great place to stick any warnings.
* Can be in list or paragraph form.
After you've installed eyplib, all of its functions, facts, and resources are already available.

### Setup Requirements

If your module requires anything extra before setting up (pluginsync enabled,
etc.), mention it here.
Requires pluginsync enabled

### Beginning with eyplib
## Usage

The very basic steps needed for a user to get the module up and running.
Just add a dependency on your metadata.json file, for example:

If your most recent release breaks compatibility or requires particular steps
for upgrading, you may wish to include an additional section here: Upgrading
(For an example, see http://forge.puppetlabs.com/puppetlabs/firewall).
```json
"dependencies": [
{"name":"puppetlabs/stdlib","version_requirement":">= 4.6.0"},
{"name":"puppetlabs/concat","version_requirement":">= 1.2.3"},
{"name":"eyp/eyplib","version_requirement":">= 0.0.1 < 0.1.0"}
],
```

## Usage
## Reference

Put the classes, types, and resources for customizing, configuring, and doing
the fancy stuff with your module here.
### functions

## Reference
#### bool2onoff

Here, list the classes, types, providers, facts, etc contained in your module.
This section should include all of the under-the-hood workings of your module so
people know what the module is touching on their system but don't need to mess
with things. (We are working on automating this section!)
Transform a boolean (it can also be a string) to **On** or **Off**. Other values through.

## Limitations
#### bool2yesno

This is where you list OS compatibility, version compatibility, etc.
Transform a boolean (it can also be a string) to **yes** or **no**. Other values through.

## Development

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eyp-eyplib",
"version": "0.1.0",
"author": "eyp",
"summary": null,
"summary": "Utility functions for puppet modules",
"license": "Apache-2.0",
"source": "https://github.com/AtlasIT-AM/eyp-eyplib",
"project_page": null,
Expand Down

0 comments on commit 87ee1dd

Please sign in to comment.