projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop ftp.ports.debian.org from klecker
[mirror/dsa-puppet.git]
/
modules
/
staticsync
/
manifests
/
srvdir.pp
diff --git
a/modules/staticsync/manifests/srvdir.pp
b/modules/staticsync/manifests/srvdir.pp
index
7fef383
..
23eb614
100644
(file)
--- a/
modules/staticsync/manifests/srvdir.pp
+++ b/
modules/staticsync/manifests/srvdir.pp
@@
-1,13
+1,14
@@
# create the directory on static hosts and disable backups
# create the directory on static hosts and disable backups
-class roles::static::srvdir {
- file { '/srv/static.debian.org':
+class staticsync::srvdir (
+) {
+ file { $staticsync::basedir:
ensure => directory,
mode => '0755',
ensure => directory,
mode => '0755',
- owner =>
'staticsync'
,
- group =>
'staticsync'
,
+ owner =>
$staticsync::user
,
+ group =>
$staticsync::user
,
}
}
- file {
'/srv/static.debian.org/.nobackup'
:
+ file {
"${staticsync::basedir}/.nobackup"
:
content => '',
}
}
content => '',
}
}