Changeset 189


Ignore:
Timestamp:
May 17, 2009, 5:45:11 PM (14 years ago)
Author:
sebas
Message:

mejor descripcion de la clase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/manifests/classes/smokeping.pp

    r176 r189  
    11# Example:
    2 #    smokeping::activateclient { <host>:
     2#    smokeping::monitorhost { <host>:
    33#       place => "local",
    44#       host  => "host"
    55#    }
    66
    7 define smokeping::activateclient ( $place, $host ) {
     7define smokeping::monitorhost ( $place, $host ) {
     8
     9## pas possible pour le moment parce que ce fichier se duplique...
     10#        file { "/etc/smokeping/config.d/Targets-$place":
     11#        ensure => "present",
     12#        content => "+ $place\nmenu = $place\ntitle = $host\n",
     13#        require => Package["smokeping"]
     14#        }
    815
    916        file { "/etc/smokeping/config.d/Targets-$place-$host":
     
    1421
    1522        line { $host :
    16         file => "/etc/smokeping/config.d/Targets",
     23        file => "/etc/smokeping/config",
    1724        line => "@include /etc/smokeping/config.d/Targets-$place-$host",
    1825        ensure => present,
Note: See TracChangeset for help on using the changeset viewer.