source: trunk/puppet/modules/puppet-dyndns/manifests/init.pp @ 765

Last change on this file since 765 was 731, checked in by sebas@…, 14 years ago

formateo + agrego el servicio en la definicion

File size: 475 bytes
RevLine 
[460]1class dyndns::client {
2
[731]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
[460]20}
Note: See TracBrowser for help on using the repository browser.