Skip to content

Commit a0b2e0b

Browse files
authored
Merge pull request #503 from albatrossflavour/feature/change_default_install_type
(GH-502) change the default install type to PDK
2 parents 008a284 + 842e420 commit a0b2e0b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@
402402
},
403403
"puppet.installType": {
404404
"type": "string",
405-
"default": "agent",
405+
"default": "pdk",
406406
"description": "The type of Puppet installation. Either the Puppet Development Kit (pdk) or the Puppet Agent (agent)",
407407
"enum": [
408408
"pdk",

src/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function DefaultWorkspaceSettings(): ISettings {
163163
enable: true
164164
},
165165
installDirectory: undefined,
166-
installType: PuppetInstallType.PUPPET,
166+
installType: PuppetInstallType.PDK,
167167
lint: {
168168
enable: true,
169169
},

src/test/configuration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ suite("Configuration Tests", () => {
2121
break;
2222
}
2323

24-
test("resolves puppetBaseDir as puppet with default installtype", () => {
24+
test("resolves pdkPuppetBaseDir as puppet with default installtype", () => {
2525
const settings: ISettings = DefaultWorkspaceSettings();
2626
var config = CreateAggregrateConfiguration(settings);
27-
assert.equal(config.ruby.puppetBaseDir, puppetBaseDir);
27+
assert.equal(config.ruby.puppetBaseDir, pdkPuppetBaseDir);
2828
});
2929

3030
test("resolves puppetBaseDir as puppet with installtype eq puppet", () => {

0 commit comments

Comments
 (0)