Hi All,
 
I have created a puppet manifest for creating hadoop folder for each user  
and changing the ownership for each user.Am giving the user with title 
parameter from nodes.pp
 
I was trying to execute two commands using exec parameter, but its 
executing the first command, second command it is not executing .  Dont 
know if am following the correct syntax . please help .
 
Attached below complete manifest module .
 
define hadoop::dir {
exec { "/usr/bin/hadoop fs -mkdir /user/$title && /usr/bin/hadoop fs -chown 
$title:title /user/$title ":
    creates => "/usr/bin/hadoop fs -ls /user/$title",
}
regards
John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ac37ae30-a203-4996-8bf8-c331fb9640b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to