Project

shelter

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Shelter tries to be a framework to manage internal infrastructure
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 12.0
>= 5.1
>= 0.48

Runtime

= 0.20.0
 Project Readme

Manage your infrastructure in one place Edit

Getting Started

  1. Create a directory for your project:
$ mkdir myinfra && cd myinfra
  1. Create your Shelterfile.rb and define your environment:
Shelter::CLI::App.config do |c|
  # All of them are optional
  c.ansible_directory = 'ansible'
  c.stack_directory = 'stack'
  c.plugin_directory = 'plugin'
  c.inventory_directory = 'inventory'
  c.resource_directory = 'resources'
  c.secure_root = ENV.fetch('CHEPPERS_SECURE')
end
  1. Create the directory structure
$ mkdir -p ansible stack plugin inventory resources/templates
  1. Create your first Ansible playbook: ansible/configuration.yaml
---
- name: Ping all hosts
  hosts: all
  tasks:
    - ping:

Secrets

TODO: make its own page

# List all existing secret files
bundle exec shelter vault list

# Example how to read aws creds from secure
bundle exec shelter vault view /staging/aws_creds

# Example how to create a new secret file/scope (for format, you can view an existing one)
bundle exec create vault view /staging/something

# Example how to edit a secret file
bundle exec create vault update /staging/nginx_creds

Documentation

Code Status

Gem Version Build Status

License

Shelter is released under the MIT License.