Last change
on this file since 456 was
402,
checked in by sebas, 15 years ago
|
para tener netatalk en una receta puppet
|
File size:
1.1 KB
|
Line | |
---|
1 | class fileserver { |
---|
2 | |
---|
3 | } |
---|
4 | |
---|
5 | class fileserver::apple { |
---|
6 | |
---|
7 | # http://blog.delacelle.com/post/2009/01/19/tuto-comment-creer-votre-serveur-timecapsule-sous-debian-ou-ubuntu/ |
---|
8 | package { [ "netatalk" ]: ensure => installed } |
---|
9 | |
---|
10 | file { "/etc/default/netatalk": |
---|
11 | owner => root, |
---|
12 | group => root, |
---|
13 | mode => 644, |
---|
14 | source => "puppet:///files/daemons/netatalk/netatalk", |
---|
15 | notify => Service[netatalk], |
---|
16 | require => Package["netatalk"]; |
---|
17 | } |
---|
18 | file { "/etc/netatalk/afpd.conf": |
---|
19 | owner => root, |
---|
20 | group => root, |
---|
21 | mode => 644, |
---|
22 | source => "puppet:///files/daemons/netatalk/afpd.conf", |
---|
23 | notify => Service[netatalk], |
---|
24 | require => Package["netatalk"]; |
---|
25 | } |
---|
26 | file { "/etc/netatalk/AppleVolumes.default": |
---|
27 | owner => root, |
---|
28 | group => root, |
---|
29 | mode => 644, |
---|
30 | source => "puppet:///files/daemons/netatalk/AppleVolumes.default", |
---|
31 | notify => Service[netatalk], |
---|
32 | require => Package["netatalk"]; |
---|
33 | } |
---|
34 | |
---|
35 | service { "netatalk": |
---|
36 | enable => true, |
---|
37 | ensure => running, |
---|
38 | subscribe => [ Package["netatalk"] ], |
---|
39 | } |
---|
40 | |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.