Skip to content

Instantly share code, notes, and snippets.

@jfryman
Last active August 29, 2015 14:11
Show Gist options
  • Save jfryman/4cfc501ca4153a2cae64 to your computer and use it in GitHub Desktop.
Save jfryman/4cfc501ca4153a2cae64 to your computer and use it in GitHub Desktop.
---
runner_type: run-remote
enabled: true
entry_point: ''
name: create_deb_from_empty
description: Create a deb package from empty with fpm
parameters:
n:
type: string
description: 'Package Name (e.g.: libpq)'
required: true
version:
type: string
description: 'Package Versioni (e.g.: 0.1.1)'
required: true
revision:
type: string
description: 'Package Revision (e.g: 2)'
default: '1'
required: true
description:
type: string
description: 'Package Description (e.g.: Provides PostgreSQL Client libs)'
maintainer:
type: string
description: 'The maintainer of this package. (default: "<root@product-flashflirt.stage.office.airg.lan>")'
c:
type: string
description: (chroot) Change directory to here before searching for files
prefix:
type: string
description: A path to prefix files with when building the target package. This
may be necessary for all input packages. For example, the 'gem' type will prefix
with your gem directory automatically.
cmd:
immutable: true
default: fpm -s empty -t deb
.
+-----------------+---------------------------------------------------------+
| Property | Value |
+-----------------+---------------------------------------------------------+
| id | 5487850cdc837b77da79b417 |
| context | { |
| | "user": "stanley" |
| | } |
| parameters | { |
| | "version": "1.0", |
| | "hosts": "infra.local", |
| | "name": "test", |
| | "revision": "1" |
| | } |
| status | failed |
| start_timestamp | 2014-12-09T23:26:04.407000Z |
| result | { |
| | "infra.local": { |
| | "failed": true, |
| | "stderr": "", |
| | "return_code": 1, |
| | "succeeded": false, |
| | "stdout": |
| | "{:timestamp=>\"2014-12-09T15:26:04.843763-0800\", |
| | :message=>\"No name given for this package (set name |
| | with, for example, '-n packagename')\", |
| | :level=>:fatal}" |
| | } |
| | } |
| action | fpm.create_deb_from_empty |
| callback | |
+-----------------+---------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment