unable to run unset with exec resource

asked 2015-05-20 06:16:20 -0500

Chutki gravatar image


I wanna unset varibale TEST=envtest (manually I exported), below is my manifests

exec {'test':
     environment => 'TEST=envtest',
    command => '/usr/bin/unset TEST'

but getting error change from notrun to 0 failed: Could not find command 'usr/bin/unset'. I know "unset is builtin"so what path I should pass for "unset".

any one tried this before.

edit retag flag offensive close merge delete