ngtjah / s3fs-fuse

Chef cookbook for building and installing s3fs-fuse on ubuntu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

S3FS-FUSE

Provides S3FS-FUSE with optional mount monitoring via bluepill.

Usage

override_attributes(
  's3fs-fuse' => {
    :s3_key => 'key',
    :s3_secret => 'secret',
    :mounts => [
      {:bucket => 'my-bucket', :path => '/mount/path', :tmp_store => '/tmp/cache'}
    ],
    :bluepill => true,
    :maxmemory => 50
  }
)

Multiple buckets can be mounted (which is why the `:mounts` attribute is an Array
of Hashes). Bluepill monitoring is optional and the maxmemory allows bluepill
to kill off and remount any s3 mounts that misbehave.

Note: Bluepill should be considered for any s3fs built bucket that has large number
of entries within directories. Running an `ls` on these directories will cause the
mount's memory to balloon. Bluepill will happily watch for this (ballooning memory)
and remount the bucket.

About

Chef cookbook for building and installing s3fs-fuse on ubuntu


Languages

Language:Ruby 92.1%Language:HTML 7.9%