Commit 588060ef authored by zen's avatar zen
Browse files

New module from PDK template

parents
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
FROM puppet/pdk:latest

# [Optional] Uncomment this section to install additional packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
#     && apt-get -y install --no-install-recommends <your-package-list-here>
+38 −0
Original line number Diff line number Diff line
# 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",
}
```


+17 −0
Original line number Diff line number Diff line
{
	"name": "Puppet Development Kit (Community)",
	"dockerFile": "Dockerfile",

	"settings": {
		"terminal.integrated.profiles.linux": {
			"bash": {
				"path": "bash",
			}
		}
	},

	"extensions": [
		"puppet.puppet-vscode",
		"rebornix.Ruby"
	]
}

.fixtures.yml

0 → 100644
+6 −0
Original line number Diff line number Diff line
# This file can be used to install module dependencies for unit testing
# See https://github.com/puppetlabs/puppetlabs_spec_helper#using-fixtures for details
---
fixtures:
  forge_modules:
#     stdlib: "puppetlabs/stdlib"

.gitattributes

0 → 100644
+5 −0
Original line number Diff line number Diff line
*.rb eol=lf
*.erb eol=lf
*.pp eol=lf
*.sh eol=lf
*.epp eol=lf