diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-17 11:30:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-17 11:30:31 -0300 |
commit | c2c3616b6dd380c4f204721cc6842e16bfc50aab (patch) | |
tree | ae8300bdef3c6500fe63a1035ca2f62fb266d37e /files/sync-media | |
parent | f0dcad90d18c60de4374d4f621ebc741d98171a1 (diff) | |
download | puppet-backup-c2c3616b6dd380c4f204721cc6842e16bfc50aab.tar.gz puppet-backup-c2c3616b6dd380c4f204721cc6842e16bfc50aab.tar.bz2 |
Use /var/cache/$hostname/media
Diffstat (limited to 'files/sync-media')
-rw-r--r-- | files/sync-media | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-media b/files/sync-media index c14510d..904adc0 100644 --- a/files/sync-media +++ b/files/sync-media @@ -5,9 +5,9 @@ REMOTE="$1" VOLUME="/media/$REMOTE" -CACHE="/var/cache/media" DOMAIN="`facter domain`" HOST="`facter hostname`" +CACHE="/var/cache/$HOST/media" MEDIA="media.$DOMAIN" INCOMING="$CACHE/incoming" WHOAMI="`whoami`" |