File tree 7 files changed +112
-19
lines changed
7 files changed +112
-19
lines changed Original file line number Diff line number Diff line change
1
+ # devcontainer
2
+
3
+
4
+ For format details, see https://aka.ms/devcontainer.json .
5
+
6
+ For config options, see the README at:
7
+ https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/puppet
8
+
9
+ ``` json
10
+ {
11
+ "name" : " Puppet Development Kit (Community)" ,
12
+ "dockerFile" : " Dockerfile" ,
13
+
14
+ // Set *default* container specific settings.json values on container create.
15
+ "settings" : {
16
+ "terminal.integrated.shell.linux" : " /bin/bash"
17
+ },
18
+
19
+ // Add the IDs of extensions you want installed when the container is created.
20
+ "extensions" : [
21
+ " puppet.puppet-vscode" ,
22
+ " rebornix.Ruby"
23
+ ]
24
+
25
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
26
+ "forwardPorts" : [],
27
+
28
+ // Use 'postCreateCommand' to run commands after the container is created.
29
+ "postCreateCommand" : " pdk --version" ,
30
+ }
31
+ ```
32
+
33
+
34
+
Original file line number Diff line number Diff line change 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
1
{
4
2
"name" : " Puppet Development Kit (Community)" ,
5
3
"dockerFile" : " Dockerfile" ,
6
4
7
- // Set *default* container specific settings.json values on container create.
8
5
"settings" : {
9
- "terminal.integrated.shell.linux" : " /bin/bash"
6
+ "terminal.integrated.profiles.linux" : {
7
+ "bash" : {
8
+ "path" : " bash" ,
9
+ }
10
+ }
10
11
},
11
12
12
- // Add the IDs of extensions you want installed when the container is created.
13
13
"extensions" : [
14
14
" puppet.puppet-vscode" ,
15
15
" rebornix.Ruby"
16
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
17
}
Original file line number Diff line number Diff line change @@ -74,8 +74,6 @@ Style/SymbolArray:
74
74
EnforcedStyle : brackets
75
75
RSpec/NamedSubject :
76
76
Enabled : false
77
- Style/CollectionMethods :
78
- Enabled : false
79
77
Style/LineEndConcatenation :
80
78
Enabled : false
81
79
Lint/AssignmentInCondition :
@@ -94,6 +92,8 @@ Style/GuardClause:
94
92
Enabled : false
95
93
RSpec/EmptyExampleGroup :
96
94
Enabled : false
95
+ Style/CollectionMethods :
96
+ Enabled : false
97
97
RSpec/MessageSpies :
98
98
EnforcedStyle : receive
99
99
Style/WordArray :
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ spec/default_facts.yml:
39
39
Enabled : False
40
40
" Style/ClassAndModuleChildren " :
41
41
Enabled : False
42
- " Style/CollectionMethods " :
43
- Enabled : False
44
42
" Style/LineEndConcatenation " :
45
43
Enabled : False
46
44
" Lint/AssignmentInCondition " :
@@ -59,7 +57,8 @@ spec/default_facts.yml:
59
57
Enabled : False
60
58
" RSpec/EmptyExampleGroup " :
61
59
Enabled : False
62
-
60
+ " Style/CollectionMethods " :
61
+ Enabled : False
63
62
Gemfile :
64
63
optional :
65
64
" :development " :
Original file line number Diff line number Diff line change
1
+ ---
2
+ common:
3
+
4
+ ".gitlab-ci.yml":
5
+ delete: true
6
+ appveyor.yml:
7
+ delete: true
8
+ .gitpod.Dockerfile:
9
+ unmanaged: true
10
+ .gitpod.yml:
11
+ unmanaged: true
12
+ .github/workflows/nightly.yml:
13
+ unmanaged: true
14
+ .github/workflows/pr_test.yml:
15
+ unmanaged: true
16
+ .github/workflows/auto_release.yml:
17
+ unmanaged: true
18
+ .github/workflows/spec.yml:
19
+ checks: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
20
+ unmanaged: true
21
+ .github/workflows/release.yml:
22
+ unmanaged: true
23
+ .travis.yml:
24
+ delete: true
25
+ spec/spec_helper.rb:
26
+ mock_with: ":rspec"
27
+ coverage_report: true
28
+ Rakefile:
29
+ changelog_user: "puppetlabs"
30
+
31
+ spec/default_facts.yml:
32
+ extra_facts:
33
+ pe_server_version: '2019.8.6'
34
+ puppet_metrics_collector:
35
+ have_systemd: true
36
+ .rubocop.yml:
37
+ default_configs:
38
+ "RSpec/NamedSubject":
39
+ Enabled: False
40
+ "Style/ClassAndModuleChildren":
41
+ Enabled: False
42
+ "Style/LineEndConcatenation":
43
+ Enabled: False
44
+ "Lint/AssignmentInCondition":
45
+ Enabled: False
46
+ "Lint/RescueException":
47
+ Enabled: False
48
+ "Lint/UnderscorePrefixedVariableName":
49
+ Enabled: False
50
+ "Lint/UselessAssignment":
51
+ Enabled: False
52
+ "Style/Documentation":
53
+ Enabled: False
54
+ "Style/GlobalVars":
55
+ Enabled: False
56
+ "Style/GuardClause":
57
+ Enabled: False
58
+ "RSpec/EmptyExampleGroup":
59
+ Enabled: False
60
+ "Style/CollectionMethods":
61
+ Enabled: False
62
+ Gemfile:
63
+ optional:
64
+ ":development":
65
+ - gem: github_changelog_generator
Original file line number Diff line number Diff line change 43
43
44
44
PuppetLint . configuration . send ( 'disable_relative' )
45
45
46
+
46
47
if Bundler . rubygems . find_name ( 'github_changelog_generator' ) . any?
47
48
GitHubChangelogGenerator ::RakeTask . new :changelog do |config |
48
49
raise "Set CHANGELOG_GITHUB_TOKEN environment variable eg 'export CHANGELOG_GITHUB_TOKEN=valid_token_here'" if Rake . application . top_level_tasks . include? "changelog" and ENV [ 'CHANGELOG_GITHUB_TOKEN' ] . nil?
Original file line number Diff line number Diff line change 56
56
"version_requirement" : " >= 6.16.0 < 8.0.0"
57
57
}
58
58
],
59
- "pdk-version" : " 2.1.1 " ,
60
- "template-url" : " https://github.com/puppetlabs/pdk-templates#2.1.1 " ,
61
- "template-ref" : " tags/2.1.1 -0-g03daa92 "
59
+ "pdk-version" : " 2.4.0 " ,
60
+ "template-url" : " https://github.com/puppetlabs/pdk-templates#2.4.0 " ,
61
+ "template-ref" : " tags/2.4.0 -0-gfa6b6d2 "
62
62
}
You can’t perform that action at this time.
0 commit comments