Sha256: a4cf9cfb25113b080c9c13dba7ea66a0f9b7afb2cb82279315d461fc95f088a2

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

module PoolParty
  module CloudDsl
        
    def mount_ebs_volume_at(id="", loc="/data")
      ebs_volume_id id
      ebs_volume_mount_point loc
      ebs_volume_device "/dev/#{id.sanitize}"
      
      has_mount(:name => loc, :device => ebs_volume_device, :requires => get_directory(loc))
      has_directory(:name => loc)
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
auser-poolparty-0.2.74 lib/poolparty/modules/cloud_dsl.rb
auser-poolparty-0.2.76 lib/poolparty/modules/cloud_dsl.rb
auser-poolparty-0.2.77 lib/poolparty/modules/cloud_dsl.rb
auser-poolparty-0.2.78 lib/poolparty/modules/cloud_dsl.rb