Changeset 731


Ignore:
Timestamp:
May 16, 2010, 12:26:10 PM (11 years ago)
Author:
sebas@…
Message:

formateo + agrego el servicio en la definicion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-dyndns/manifests/init.pp

    r480 r731  
    11class dyndns::client {
    2   package {"ddclient":
    3     ensure => installed,
    4   }
    52
    6   file {
    7     "/etc/ddclient.conf":
    8       owner   => root,
    9       group   => root,
    10       mode    => 600,
    11       require => Package["ddclient"],
    12       content => template("dyndns/ddclient.conf.erb");
    13     "/etc/default/ddclient":
    14       require => Package["ddclient"],
    15       content => template("dyndns/ddclient.erb");
    16   }
     3    package { "ddclient": ensure => installed }
     4
     5    file {
     6        "/etc/ddclient.conf":
     7         owner   => root,
     8         group   => root,
     9         mode    => 600,
     10         require => Package["ddclient"],
     11         notify  => Service["ddclient"],
     12         content => template("dyndns/ddclient.conf.erb");
     13    }
     14
     15    service { "ddclient":
     16        ensure => running,
     17        subscribe => [ Package["ddclient"], File["/etc/ddclient.conf"] ],
     18    }
     19
    1720}
Note: See TracChangeset for help on using the changeset viewer.