Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file { 'blah.sh' :
- content => @('EOF')
- #!/bin/bash
- echo hello
- |EOF ,
- ensure => present ,
- }
- file { 'blah.sh' :
- content => @('EOF') ,
- #!/bin/bash
- echo hello
- |EOF
- ensure => present ,
- }
- ----
- Answer, found through trial and error:
- * The delimiter must be DOUBLE-quoted
- * The comma goes at the end of the line which starts the heredoc
- file { 'blah.sh' :
- content => @("EOF") ,
- #!/bin/bash
- echo hello
- |EOF
- ensure => present ,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement