exec {
        'oracle-extract-part':
            command => "/usr/bin/printf
\"n\np\n2\n2091\n+16384M\nw\n\" | /sbin/fdisk /dev/xvdj",
            unless  => "/bin/cat /proc/partitions | /bin/grep
${orcl_ephm_device}2";
}

if you don't need to interpolate a variable, you can simply use single quotes, so you don't need to escape anything.

grrr ~pete

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to