summaryrefslogtreecommitdiff
path: root/README
blob: 79182566ab39dd91dd734004d03983b41aaaf409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
= Augeas Puppet module =

== Usage ==

  include augeas

== Description ==

This module does 3 things:

 o ensure correct packages are installed for augeas.

 o backports augeas type from puppet rev cf648279 which fixes issue #1826
   One must have "pluginsync=true" in puppet.conf for this to work.
 
 o creates /usr/share/augeas/lenses/contrib in which other modules can put
   custom lenses (see puppet-mysql/puppet-haproxy for working examples).

The idea is to override this class to include your specific needs. Example:

class augeas::my-redhat inherits augeas::redhat {

  Package["augeas"] {
    require => Yumrepo["epel-fedora-testing"],
    tag => "install-augeas",
    ensure => "0.4.1-1.el5";
  }
}

class augeas::my-debian inherits augeas::debian {

  Package["libaugeas0"] {
    ensure => "latest";
  }
  Package["libaugeas-ruby1.8"] {
    ensure => "0.2.0-2";
  }
}