~awstools-dev/ubuntu/maverick/ec2-ami-tools/maverick

« back to all changes in this revision

Viewing changes to lib/ec2/platform/base/constants.rb

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-10-14 08:35:25 UTC
  • Revision ID: james.westby@ubuntu.com-20081014083525-c0n69wr7r7aqfb8w
Tags: 1.3-26357-0ubuntu2
* New upstream version.
* Update the debian copyright file.
* Added quilt patch system to make it easier to maintain. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2008 Amazon.com, Inc. or its affiliates.  All Rights
 
2
# Reserved.  Licensed under the Amazon Software License (the
 
3
# "License").  You may not use this file except in compliance with the
 
4
# License. A copy of the License is located at
 
5
# http://aws.amazon.com/asl or in the "license" file accompanying this
 
6
# file.  This file is distributed on an "AS IS" BASIS, WITHOUT
 
7
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
 
8
# the License for the specific language governing permissions and
 
9
# limitations under the License.
 
10
 
 
11
#--------------------------------------------------------------------------
 
12
# Definition of constant values used by the AMI tools
 
13
#------------------------------------------------------------------------
 
14
module EC2
 
15
  module Platform
 
16
    module Base
 
17
      module Constants
 
18
        module Bundling
 
19
          EC2_HOME = ENV["EC2_AMITOOL_HOME"] || ENV["EC2_HOME"]
 
20
          EC2_X509_CERT = File.join( EC2_HOME.to_s, '/etc/ec2/amitools/cert-ec2.pem' )
 
21
          DESTINATION = '/tmp'
 
22
        end
 
23
        module Utility
 
24
          OPENSSL = 'openssl'
 
25
          RSYNC = 'rsync'
 
26
          TAR = 'tar'
 
27
          TEE = 'tee'
 
28
          GZIP = 'gzip'
 
29
        end
 
30
      end
 
31
    end
 
32
  end
 
33
end