Skip to content

cloudnautique/puppet-appengine-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Description This Puppet module will download and install the Python Google App Engine SDK. It currently defaults to version 1.7.4 and can be configured for future releases.

I hope it is useful to others. I have been using it to quickly spin up Ubuntu LXC containers. I welcome feedback and any contributions for RPM based distros.

This could be helpful for some getting started with the Udacity Web Development course.

Dependencies

The module depends on the 'wget' module provided by Maestrodev. http://github.com/maestrodev/puppet-wget

#Usage To use this module download the dependency, and this module.

define your node:


  node * {
    include appengine_python
  }

I use the following command when applying configurations. I apply locally and do not setup a centralized server.

puppet apply --modulepath= ./.pp

#Parameters variables that can be customized:

  • appengine_version: version of the SDK.
    • Default is currently 1.7.4.
  • sdk_base_url: URL to download the SDK from.
  • sdk_file: The name of the file to download.
  • install_dir_prefix: the base directory that the SDK will be installed in.
    • Defaults to '/opt/google/appgengine'

To install version 1.7.5 use the following node def:

 node * {
    class { 'appengine_python':
        appengine_version => '1.7.5'
    }
 }
 

Apply the config.

License

Copyright 2013 Cloudnautique

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Puppet module to install the Python Google App Engine SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages