}
return result;
}
public void loadPuppetVariables(TargetEntry target) {
TPVariable var = PPTPFactory.eINSTANCE.createTPVariable();
var.setName("environment");
var.setDocumentation("The node's current environment. Available when compiling a catalog for a node.");
var.setDeprecated(false);
target.getContents().add(var);
var = PPTPFactory.eINSTANCE.createTPVariable();
var.setName("clientcert");
var.setDocumentation("The node's certname setting. Available when compiling a catalog for a node.");
var.setDeprecated(false);
target.getContents().add(var);
var = PPTPFactory.eINSTANCE.createTPVariable();
var.setName("clientversion");
var.setDocumentation("The current version of the puppet agent. Available when compiling a catalog for a node.");
var.setDeprecated(false);
target.getContents().add(var);
var = PPTPFactory.eINSTANCE.createTPVariable();
var.setName("servername");
var.setDocumentation(Joiner.on("").join(
ImmutableList.of(
"The puppet master’s fully-qualified domain name. (Note that this information ",
"is gathered from the puppet master by Facter, rather than read from the config files; even if the ",
"master’s certname is set to something other than its fully-qualified domain name, this variable ",
"will still contain the server’s fqdn.)")));
var.setDeprecated(false);
target.getContents().add(var);
var = PPTPFactory.eINSTANCE.createTPVariable();
var.setName("serverip");
var.setDocumentation("The puppet master's IP address");
var.setDeprecated(false);
target.getContents().add(var);
var = PPTPFactory.eINSTANCE.createTPVariable();
var.setName("serverversion");
var.setDocumentation("The current version of puppet on the puppet master.");
var.setDeprecated(false);
target.getContents().add(var);
}