# puppet-module-resource
===

[![Build Status](https://travis-ci.org/emahags/puppet-module-resource.png?branch=master)](https://travis-ci.org/emahags/puppet-module-resource)

Module to manage resources

===

# Compatibility
---------------
This module is built for use with Puppet v3 on the following OS families.

* EL 6

===

# Parameters
------------

file
----
Hash of files

- *Default*: undef

- *Hiera example*:
<pre>
file::file:
  'example file':
    path: '/usr/local/bin/do_stuff'
    owner: root
    group: root
    mode: 0755
</pre>

file_hiera_merge
----------------
Merge files in hiera

- *Default*: false



# puppet-module-resource
===

[![Build Status](https://travis-ci.org/emahags/puppet-module-resource.png?branch=master)](https://travis-ci.org/emahags/puppet-module-resource)

Module to manage resources

===

# Compatibility
---------------
This module is built for use with Puppet v3 on the following OS families.

* EL 6

===

# Parameters
------------

file
----
Hash of files

- *Default*: undef

- *Hiera example*:
<pre>
resource::file:
  'example file':
    path: '/usr/local/bin/do_stuff'
    owner: root
    group: root
    mode: 0755
</pre>

file_hiera_merge
----------------
Merge files in hiera

- *Default*: false

mount
-----
Hash of mounts

- *Default*: undef

- *Hiera example*:
<pre>
resource::mount:
  '/opt/files':
    ensure: mounted
    atboot: true
    device: 'fileserver:/exports/files'
    fstype: 'nfs'
    options: 'defaults'
</pre>

mount_hiera_merge
-----------------
Merge mounts in hiera

- *Default*: false

cron
----
Hash of cronjobs

- *Default*: undef

- *Hiera example*:
<pre>
resource::cron:
  'do_stuff':
    command: '/usr/local/bin/do_stuff'
    hour: '23'
    user: 'root'
</pre>

cron_hiera_merge
----------------
Merge cronjobs in hiera

- *Default*: false

exec
----
Hash of execs

- *Default*: undef

- *Hiera example*:
<pre>
resource::exec:
  'say hello':
    command: 'wall hello'
    path: '/usr/bin'
</pre>

exec_hiera_merge
----------------
Merge execs in hiera

- *Default*: false

Update readme with all available variables
Update readme with all available variables
