snowcapper

command module
v0.0.0-...-dbf5b56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2018 License: MPL-2.0 Imports: 14 Imported by: 0

README

Snowcapper - Immutable config management for Alpine Linux

CircleCI go-report-card codecov

snowcapper

Snowcapper is a single binary for bootstrapping services onto an Alpine Linux image.

Example Config:

extends:
  - src: /tmp/examples/vim.snc
packages:
  - name: vault
    binaries:
      - name: vault
        mode: 0755
        src: https://releases.hashicorp.com/vault/0.10.0/vault_0.10.0_linux_amd64.zip
        src_hash: a6b4b6db132f3bbe6fbb77f76228ffa45bd55a5a1ab83ff043c2c665c3f5a744
        format: zip
    files:
      - path: /etc/vault/config.hcl
        mode: 0700
        content: |
          storage "file" {
            path    = "/mnt/vault/data"
          }

          listener "tcp" {
            address     = "0.0.0.0:8200"
            tls_disable = 1
          }
    services:
      - binary: vault
        args:
          - "server"
          - "-config /etc/vault/config.hcl"
    inits:
      - type: openrc
        content: vault

Usage:

make get
make binary
./snowcapper

To test in an Alpine environment:

make

This builds the binary and provisions an Alpine VM using snowcapper and Vagrant.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL