Skip to content

Commit 3a74645

Browse files
Merge pull request #58 from MartyEwings/main
Update to latest stable PDK template
2 parents cf76f0e + bd71fa9 commit 3a74645

File tree

9 files changed

+453
-43
lines changed

9 files changed

+453
-43
lines changed

.devcontainer/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM puppet/pdk:latest
2+
3+
# [Optional] Uncomment this section to install additional packages.
4+
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
5+
# && apt-get -y install --no-install-recommends <your-package-list-here>
6+

.devcontainer/devcontainer.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/puppet
3+
{
4+
"name": "Puppet Development Kit (Community)",
5+
"dockerFile": "Dockerfile",
6+
7+
// Set *default* container specific settings.json values on container create.
8+
"settings": {
9+
"terminal.integrated.shell.linux": "/bin/bash"
10+
},
11+
12+
// Add the IDs of extensions you want installed when the container is created.
13+
"extensions": [
14+
"puppet.puppet-vscode",
15+
"rebornix.Ruby"
16+
]
17+
18+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
19+
// "forwardPorts": [],
20+
21+
// Use 'postCreateCommand' to run commands after the container is created.
22+
// "postCreateCommand": "pdk --version",
23+
}

.fixtures.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
fixtures:
33
repositories:
44
cron_core: "git://github.com/puppetlabs/puppetlabs-cron_core"
5+
provision: https://github.com/puppetlabs/provision.git

.pdkignore

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
/.gitignore
3333
/.gitlab-ci.yml
3434
/.pdkignore
35+
/.puppet-lint.rc
3536
/Rakefile
3637
/rakelib/
3738
/.rspec
@@ -40,3 +41,5 @@
4041
/.yardopts
4142
/spec/
4243
/.vscode/
44+
/.sync.yml
45+
/.devcontainer/

0 commit comments

Comments
 (0)