Skip to content

Commit 6886aaf

Browse files
authored
Merge pull request #178 from jpogran/GH-177-remove-version-file-detection
(GH-177) Remove version file detection
2 parents a4e2743 + 81a0991 commit 6886aaf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

client/src/connection.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,6 @@ export class ConnectionManager implements IConnectionManager {
265265
result.options.shell = true;
266266
break;
267267
}
268-
// Check if this really is a Puppet Agent installation
269-
if (!fs.existsSync(path.join(puppetAgentDir, "VERSION"))) {
270-
this.logger.debug(logPrefix + "Could not find a valid Puppet Agent installation at " + puppetAgentDir);
271-
return null;
272-
} else {
273-
this.logger.debug(logPrefix + "Found a valid Puppet Agent installation at " + puppetAgentDir);
274-
}
275268

276269
let puppetDir = path.join(puppetAgentDir,"puppet");
277270
let facterDir = path.join(puppetAgentDir,"facter");

0 commit comments

Comments
 (0)