github.com/amanya/packer@v0.12.1-0.20161117214323-902ac5ab2eb6/test/fixtures/provisioner-file/dir_with_trailing.json (about)

     1  {
     2      "builders": [{
     3          "type": "amazon-ebs",
     4          "ami_name": "packer-test {{timestamp}}",
     5          "instance_type": "m1.small",
     6          "region": "us-east-1",
     7          "ssh_username": "ubuntu",
     8          "source_ami": "ami-0568456c",
     9          "tags": {
    10              "packer-test": "true"
    11          }
    12      }],
    13  
    14      "provisioners": [{
    15          "type": "file",
    16          "source": "dir/",
    17          "destination": "/tmp"
    18      }, {
    19          "type": "shell",
    20          "inline": ["cat /tmp/file.txt"]
    21      }]
    22  }