Hi,
I'm a complete newbie on puppet software.
I'm trying to intall software toa cenOS machine using puppet but without 
success.
I also tried to add a full source (c:/users/...) path but without success.

exec {"test_install":
    cwd     => "/opt/soft/test.bin",
    command =>  "chmod +x test.bin",
    path      => 
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
    require =>  [File["/opt/planner/test.bin"]],
    
}    
exec {"test_install2":
    cwd     => "/opt/soft",
    command =>  " sudo ./test.bin",
    require =>  [File["/opt/soft/test.bin"], Exec["test_install"]],
    path      => 
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
}

file {"/opt/soft/test.bin":
    ensure => present,
    source=>"puppet:///modules/test.bin";
}

Thanks for the help

-- 
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/172ee1f6-71b7-401f-8b8e-83f1cef3d59e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to