@Test public void testPuppetConversionWithAttribs() { Manifest ntp = new Manifest("ntp"); ntp.attribs.put("servers", "\"10.0.0.1\""); assertEquals("Puppet representation is incorrect.", NTP_PUPPET, ntp.toString()); }
public String toString() { StringBuilder resource = new StringBuilder(); for (String s : toStringList()) { if (resource.length() > 0) resource.append("\n"); resource.append(s); } return resource.toString(); }
Manifest { public String toString() { StringBuilder resource = new StringBuilder(); for (String s : toStringList()) { if (resource.length() > 0) resource.append("\n"); resource.append(s); } return resource.toString(); } }
Manifest { public String toString() { StringBuilder resource = new StringBuilder(); for (String s : toStringList()) { if (resource.length() > 0) resource.append("\n"); resource.append(s); } return resource.toString(); } Manifest(String module);  Manifest(String module, String className); }
Manifest { public String toString() { StringBuilder resource = new StringBuilder(); for (String s : toStringList()) { if (resource.length() > 0) resource.append("\n"); resource.append(s); } return resource.toString(); } Manifest(String module);  Manifest(String module, String className); String toString(); String getName(); String getHiera(); }
Manifest { public String toString() { StringBuilder resource = new StringBuilder(); for (String s : toStringList()) { if (resource.length() > 0) resource.append("\n"); resource.append(s); } return resource.toString(); } Manifest(String module);  Manifest(String module, String className); String toString(); String getName(); String getHiera(); final String module; final String className; final Map<String, String> attribs; }