Changeset 519


Ignore:
Timestamp:
Feb 3, 2010, 11:59:19 PM (12 years ago)
Author:
sebas
Message:

agrego el servicio avahi para detectar los servidores de archivos appletalk

File:
1 edited

Legend:

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

    r518 r519  
    1818          notify  => Service[netatalk],
    1919          require => Package["netatalk"];
    20         "/etc/netatalk/afpd.conf":
    21           owner   => root,
    22           group   => root,
    23           mode    => 644,
    24           source  => "puppet:///fileserver/netatalk/afpd.conf",
    25           notify  => Service[netatalk],
    26           require => Package["netatalk"];
    2720        "/etc/netatalk/AppleVolumes.default":
    2821          owner   => root,
     
    4033    }
    4134
     35   package { [ "avahi-daemon" ]: ensure => installed }
     36
     37   file {                                                                             
     38        "/etc/avahi/services/afpd.service":
     39          owner   => root,
     40          group   => root,
     41          mode    => 644,
     42          source  => "puppet:///fileserver/avahi/afpd.service",
     43          notify  => Service[avahi-daemon],
     44          require => Package["avahi-daemon"];
     45    }
     46
     47    service { "avahi-daemon":
     48        enable    => true,
     49        ensure    => running,
     50        subscribe => [ Package["avahi-daemon"] ],
     51    }       
    4252}
Note: See TracChangeset for help on using the changeset viewer.