All Projects → mayn → Packerlicious

mayn / Packerlicious

Licence: other
use python to make hashicorp packer templates

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Packerlicious

python-packer
A Packer interface for Python
Stars: ✭ 22 (-75.56%)
Mutual labels:  packer, hashicorp
learn-terraform-provisioning
Companion code repository for learning to provision Terraform instances with Packer & cloud-init
Stars: ✭ 56 (-37.78%)
Mutual labels:  packer, hashicorp
Ansible Role Packer rhel
Ansible Role - Packer RHEL/CentOS Configuration for Vagrant VirtualBox
Stars: ✭ 45 (-50%)
Mutual labels:  hashicorp, packer
icp-ce-on-linux-containers
Multi node IBM Cloud Private Community Edition 3.2.x w/ Kubernetes 1.13.5 in a Box. Terraform, Packer and BASH based Infrastructure as Code script sets up a multi node LXD cluster, installs ICP-CE and clis on a metal or VM Ubuntu 18.04 host.
Stars: ✭ 52 (-42.22%)
Mutual labels:  packer, hashicorp
ansible-role-packer-debian
Ansible Role - Packer Debian/Ubuntu Configuration for Vagrant VirtualBox
Stars: ✭ 32 (-64.44%)
Mutual labels:  packer, hashicorp
packer.py
use python to run hashicorp packer cli commands
Stars: ✭ 21 (-76.67%)
Mutual labels:  packer, hashicorp
local-hashicorp-stack
Local Hashicorp Stack for DevOps Development without Hypervisor or Cloud
Stars: ✭ 23 (-74.44%)
Mutual labels:  packer, hashicorp
vim-hcl
Syntax highlighting for HashiCorp Configuration Language (HCL)
Stars: ✭ 83 (-7.78%)
Mutual labels:  packer, hashicorp
Hcloud Okd4
Deploy OKD4 (OpenShift) on Hetzner Cloud
Stars: ✭ 29 (-67.78%)
Mutual labels:  hashicorp, packer
Osx Vm Templates
macOS templates for Packer and VeeWee.
Stars: ✭ 1,050 (+1066.67%)
Mutual labels:  packer
Leto
A key value storage example powered by hashicorp raft and BadgerDB
Stars: ✭ 73 (-18.89%)
Mutual labels:  hashicorp
Vaulted
nodejs based wrapper for HashiCorp's Vault HTTP API
Stars: ✭ 47 (-47.78%)
Mutual labels:  hashicorp
Ansible Windows Docker Springboot
Example project showing how to provision, deploy, run & orchestrate Spring Boot apps with Docker Windows Containers on Docker Windows native using Packer, Powershell, Vagrant & Ansible
Stars: ✭ 58 (-35.56%)
Mutual labels:  packer
Terraform Aws Couchbase
Reusable infrastructure modules for running Couchbase on AWS
Stars: ✭ 73 (-18.89%)
Mutual labels:  packer
Chrome Pak Customizer
a simple command-line tool to pack and unpack pak files in chrome or chromium-based browser
Stars: ✭ 79 (-12.22%)
Mutual labels:  packer
Raft Demo
通过hashicorp-raft库手把手调试raft协议
Stars: ✭ 72 (-20%)
Mutual labels:  hashicorp
Atlantis On Gke
A set of @HashiCorp Terraform configurations for running Atlantis on @GoogleCloud GKE
Stars: ✭ 44 (-51.11%)
Mutual labels:  hashicorp
Nomadfiles
A collection of Nomad job files for deploying applications to a cluster
Stars: ✭ 89 (-1.11%)
Mutual labels:  hashicorp
Packer Centos 6
This build has been moved - see README.md
Stars: ✭ 78 (-13.33%)
Mutual labels:  packer
Appacker
Tool for making single .exe application packages
Stars: ✭ 70 (-22.22%)
Mutual labels:  packer

============== packerlicious

.. image:: https://img.shields.io/pypi/v/packerlicious.svg :target: https://pypi.python.org/pypi/packerlicious

.. image:: https://travis-ci.org/mayn/packerlicious.svg?branch=master :target: https://travis-ci.org/mayn/packerlicious

.. image:: https://ci.appveyor.com/api/projects/status/9av1rr1li2ah25gs/branch/master?svg=true :target: https://ci.appveyor.com/project/mayn/packerlicious

.. image:: https://coveralls.io/repos/github/mayn/packerlicious/badge.svg?branch=master :target: https://coveralls.io/github/mayn/packerlicious

About

packerlicious - a python library to create packer_ templates.

This project leverages the logic engine of troposphere_.

Installation

packerlicious can be installed via pip:

.. code:: sh

$ pip install packerlicious

Examples

Below is the packerlicious equivalent of packer's example template_

.. code:: python

>>> from packerlicious import builder, provisioner, Template
>>> template = Template()
>>> template.add_builder(
        builder.AmazonEbs(
            access_key="...",
            secret_key="...",
            region = "us-east-1",
            source_ami="ami-fce3c696",
            instance_type="t2.micro",
            ssh_username="ubuntu",
            ami_name="packer {{timestamp}}"
        )
    )
<packerlicious.builder.AmazonEbs object at 0x104e87ad0>
>>> template.add_provisioner(
        provisioner.Shell(
            script="setup_things.sh"
        )
    )
<packerlicious.provisioner.Shell object at 0x1048c08d0>
>>> print(template.to_json())
{
  "builders": [
    {
      "access_key": "...",
      "ami_name": "packer {{timestamp}}",
      "instance_type": "t2.micro",
      "region": "us-east-1",
      "secret_key": "...",
      "source_ami": "ami-fce3c696",
      "ssh_username": "ubuntu",
      "type": "amazon-ebs"
    }
  ],
  "provisioners": [
    {
      "script": "setup_things.sh",
      "type": "shell"
    }
  ]
}

Currently supported Packer resources

Builders:

  • alicloud-ecs
  • amazon-chroot
  • amazon-ebs
  • amazon-ebssurrogate
  • amazon-ebsvolume
  • amazon-instance
  • azure-arm
  • cloudstack
  • digitalocean
  • docker
  • file
  • googlecompute
  • hcloud
  • hetznercloud
  • hyperone
  • hyperv-iso
  • hyperv-vmcx
  • linode
  • lxc
  • lxd
  • ncloud
  • null
  • oneandone
  • openstack
  • oracle-classic
  • parallels-iso
  • parallels-pvm
  • profitbricks
  • proxmox
  • qemu
  • scaleway
  • tencentcloud-cvm
  • triton
  • vagrant
  • virtualbox-iso
  • virtualbox-ovf
  • vmware-iso
  • vmware-vmx
  • yandex

Post Processors:

  • alicloud-import
  • amazon-import
  • artifice
  • atlas
  • checksum
  • compress
  • digitalocean-import
  • docker-import
  • docker-push
  • docker-save
  • docker-tag
  • googlecompute-import
  • googlecompute-export
  • manifest
  • shell-local
  • vagrant
  • vagrant-cloud
  • vsphere
  • vsphere-template

Provisioners:

  • ansible-local
  • ansible
  • breakpoint
  • chef-client
  • chef-solo
  • converge
  • file
  • inspec
  • powershell
  • puppet-masterless
  • puppet-server
  • salt-masterless
  • shell
  • shell-local
  • windows-shell
  • windows-restart

Community Plugins:

Builders:

  • jetbrains-infra/packer-builder-vsphere (vsphere-iso, vsphere-clone)
  • solo-io/packer-builder-arm-image

Provisioners:

  • jrbeilke/packer-provisioner-inspec

Licensing

packerlicious is licensed under the Apache license 2.0. See LICENSE for the full license text.

packerlicious contains source code from troposphere_ which is licensed under the BSD 2-Clause license_

.. _packer: https://www.packer.io/ .. _troposphere: https://github.com/cloudtools/troposphere .. _LICENSE: https://github.com/mayn/packerlicious/blob/master/LICENSE .. _Apache license 2.0: https://opensource.org/licenses/Apache-2.0 .. _BSD 2-Clause license: http://opensource.org/licenses/BSD-2-Clause .. _semantic versioning: http://semver.org/ .. _packer's example template: https://www.packer.io/docs/templates/index.html#example-template

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].