[Puppet Users] binary transfers using REST?

2011-04-22 Thread RCosma
Hello Puppet users, Does anyone know if there is some hook into the REST HTTPS API to get/ send binary data in a YAML-compatible format? According to the spec, that would mean packing the file as a base64 string: http://yaml.org/type/binary.html Right now, it packs the file as a wasteful Unicode

[Puppet Users] uploading files via REST?

2011-05-31 Thread RCosma
Hello, I am a bit confused by the REST syntax - how can I PUT an arbitrary file in the bucket? Downloading works fine (Perl+LWP), see below, but for PUT I only see this line in the docs (http://docs.puppetlabs.com/guides/rest_api.html): PUT /{environment}/file_bucket_file/md5/{checksum} Should I