| 
65
66
67
68
69
70
71
72
73
74
75 | # File 'lib/vendor/puppet/transportable.rb', line 65
def to_manifest
  "%s { '%s':\n%s\n}" % [self.type.to_s, self.name,
    @params.collect { |p, v|
      if v.is_a? Array
        "    #{p} => [\'#{v.join("','")}\']"
      else
        "    #{p} => \'#{v}\'"
      end
    }.join(",\n")
    ]
end |