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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/3f350bef-6fe4-46b8-a6ea-17cbd512d719%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.