Last change
on this file since 751 was
731,
checked in by sebas@…, 14 years ago
|
formateo + agrego el servicio en la definicion
|
File size:
475 bytes
|
Rev | Line | |
---|
[460] | 1 | class 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.