aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-04-10 09:31:25 -0700
committerMichael Hashizume <michael.hashizume@puppet.com>2023-04-10 09:32:06 -0700
commite4337c0d607c14d8f99217ea6e3fbbd547570b4a (patch)
tree191eb6654e5e2eb860c1070b1e9858c573744485 /.devcontainer
parent3253fe513e46789e5f7405e5eaa2bae654fc9958 (diff)
downloadpuppet-mailalias_core-e4337c0d607c14d8f99217ea6e3fbbd547570b4a.tar.gz
puppet-mailalias_core-e4337c0d607c14d8f99217ea6e3fbbd547570b4a.tar.bz2
(maint) Updates PDK template
This commit runs `pdk update` using the most recent template at the time (2.7.4) and updates metadata.json to allow Puppet versions < 9.0.0 in preparation for the release of Puppet 8.
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/README.md38
-rw-r--r--.devcontainer/devcontainer.json16
2 files changed, 43 insertions, 11 deletions
diff --git a/.devcontainer/README.md b/.devcontainer/README.md
new file mode 100644
index 0000000..a719361
--- /dev/null
+++ b/.devcontainer/README.md
@@ -0,0 +1,38 @@
+# devcontainer
+
+
+For format details, see https://aka.ms/devcontainer.json.
+
+For config options, see the README at:
+https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/puppet
+
+``` json
+{
+ "name": "Puppet Development Kit (Community)",
+ "dockerFile": "Dockerfile",
+
+ // Set *default* container specific settings.json values on container create.
+ "settings": {
+ "terminal.integrated.profiles.linux": {
+ "bash": {
+ "path": "bash",
+ }
+ }
+ },
+
+ // Add the IDs of extensions you want installed when the container is created.
+ "extensions": [
+ "puppet.puppet-vscode",
+ "rebornix.Ruby"
+ ],
+
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
+ "forwardPorts": [],
+
+ // Use 'postCreateCommand' to run commands after the container is created.
+ "postCreateCommand": "pdk --version",
+}
+```
+
+
+
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index f1a55dc..cdd65d2 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,23 +1,17 @@
-// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
-// https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/puppet
{
"name": "Puppet Development Kit (Community)",
"dockerFile": "Dockerfile",
- // Set *default* container specific settings.json values on container create.
"settings": {
- "terminal.integrated.shell.linux": "/bin/bash"
+ "terminal.integrated.profiles.linux": {
+ "bash": {
+ "path": "bash"
+ }
+ }
},
- // Add the IDs of extensions you want installed when the container is created.
"extensions": [
"puppet.puppet-vscode",
"rebornix.Ruby"
]
-
- // Use 'forwardPorts' to make a list of ports inside the container available locally.
- // "forwardPorts": [],
-
- // Use 'postCreateCommand' to run commands after the container is created.
- // "postCreateCommand": "pdk --version",
}