diff options
author | Michael Hashizume <michael.hashizume@puppet.com> | 2023-02-10 10:23:55 -0800 |
---|---|---|
committer | Michael Hashizume <michael.hashizume@puppet.com> | 2023-02-10 10:28:19 -0800 |
commit | 742031c40b074b29a57d40a92c77da0387c422b2 (patch) | |
tree | cd31eb5c542cce8fb540ab54cf0f711d7790eb4b /.devcontainer/README.md | |
parent | 6759abf9f5c578c93ad9cabc8b2b4161e213d8f1 (diff) | |
download | puppet-hosts_core-742031c40b074b29a57d40a92c77da0387c422b2.tar.gz puppet-hosts_core-742031c40b074b29a57d40a92c77da0387c422b2.tar.bz2 |
(MODULES-11371) Updates PDK template
This commit runs `pdk update` using the most recent template at the
time (2.7.1) and updates metadata.json to allow Puppet versions
< 9.0.0 in preparation for the release of Puppet 8.
Diffstat (limited to '.devcontainer/README.md')
-rw-r--r-- | .devcontainer/README.md | 38 |
1 files changed, 38 insertions, 0 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", +} +``` + + + |