Skip to content

mpemer/puppet.ec2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

iteego/puppet.ec2

License

iteego/puppet.ec2: puppet recipes for using amazon ec2

 Copyright 2012 Iteego, Inc.
 Author: Marcus Pemer <[email protected]>

 iteego/puppet.ec2 is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 iteego/puppet.s3fs is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with iteego/puppet.ec2.  If not, see <http://www.gnu.org/licenses/>.

EC2 puppet module

The ec2 puppet module allows you to interact with the Amazon EC2 system.

You would include the module under your puppet modules directory as a git submodule, like so:

cd <your puppet repo>/modules
git submodule add [email protected]:iteego/puppet.ec2.git ec2
git submodule update

Don't forget to commit your submodule ref in your parent repository

Example Usage

After this is done, you can use the submodule like so:

include ec2

.
.
.
# Run this once:
ec2::s3fs_installation { 's3fs_installation': }

# Run one of these for each mount point you want
# note that the buckets have to exist
# the module does not automatically create them...
#
ec2::s3fs_mount { 'some-unique-name-of-your-choice':
  bucket            => '<YOUR BUCKET NAME>',
  access_key        => '<YOUR ACCESS KEY>',
  secret_access_key => '<YOUR SECRET ACCESS KEY>',
}

Future Improvements

There are several areas where this module could be improved. Examples would include:

  • Support for other Operating systems than the Debian-based Linux distributions

You are welcome to contribute to this project by forking it and submitting pull requests to the project maintainers (organization: iteego, current maintaners: mpemer and mbjarland)

About

Puppet module with Amazon EC2 helper functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages