# 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',
- owner => 'staticsync',
- group => 'staticsync',
+ owner => $staticsync::user,
+ group => $staticsync::user,
}
- file { '/srv/static.debian.org/.nobackup':
+ file { "${staticsync::basedir}/.nobackup":
content => '',
}
}