Skip to content

Instantly share code, notes, and snippets.

@clementcohen
clementcohen / gist:e5ef720963c9e1d316d344a86baeb373
Created September 8, 2022 19:15
packer build osc-bsu.pkr.hcl
2022/09/08 21:14:27 [INFO] Packer version: 1.8.3 [go1.17.11 linux amd64]
2022/09/08 21:14:27 Old default config directory found: /home/ccohen/.packer.d
2022/09/08 21:14:27 [TRACE] discovering plugins in /usr/bin
2022/09/08 21:14:27 Old default config directory found: /home/ccohen/.packer.d
2022/09/08 21:14:27 [TRACE] discovering plugins in /home/ccohen/.packer.d/plugins
2022/09/08 21:14:27 [DEBUG] Discovered plugin: outscale = /home/ccohen/.packer.d/plugins/github.com/outscale/outscale/packer-plugin-outscale_v1.0.2_x5.0_linux_amd64
2022/09/08 21:14:27 [INFO] found external [bsu bsusurrogate bsuvolume chroot] builders from outscale plugin
2022/09/08 21:14:27 [TRACE] discovering plugins in .
2022/09/08 21:14:27 [INFO] PACKER_CONFIG env var not set; checking the default config file path
2022/09/08 21:14:27 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/ccohen/.packerconfig
{% from "apache/map.jinja" import apache with context %}
apache:
pkg.installed:
- name: {{ apache.server }}
service.running:
- name: {{ apache.service }}
- enable: True
# The following states are inert by default and can be used by other states to
DEBIAN-WEB2.clementcohen.lan:
----------
ID: apache
Function: pkg.installed
Name: apache2
Result: True
Comment: The following packages were installed/updated: apache2.
Changes:
----------
apache2: