Forge Home

upstart

Puppet Upstart module

16,087 downloads

16,087 latest version

3.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.2 (latest)
released Jul 24th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'deversus-upstart', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add deversus-upstart
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install deversus-upstart --version 0.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: upstart

Documentation

deversus/upstart — version 0.0.2 Jul 24th 2014

Puppet Module for Upstart

This module manages Upstart job configurations and the resulting services. It includes support for enabling Upstart's per-user jobs.

Basic Usage

class { 'upstart':
  user_jobs => true,
}

Or simply:

include upstart

Creating a job and enabline the service

upstart::job { 'test_service':
  description    => "This is an example upstart service",
  version        => "3626f2",
  respawn        => true,
  respawn_limit  => '5 10',
  user           => 'app-user',
  group          => 'app-user',
  chdir          => '/path/to/app',
  exec           => "start.sh",
}

Dependencies

Copyright and License

Copyright (C) 2012 Brad Ison

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.