Em sábado, 11 de outubro de 2014 00h08min39s UTC+1, Felix.Frank escreveu:
>
> On 10/10/2014 07:24 PM, Adriano Ferreira wrote: 
> > file {"/opt/soft/test.bin": 
> >     ensure => present, 
> >     source=>"puppet:///modules/test.bin"; 
> > } 
>
> This URL lacks the module name. Assuming that the module is named test, 
> and the file is in modules/test/files/test.bin, this is its URL: 
>  

puppet:///modules/test/test.bin 
>
> If this is not your issue, please note that your mail lacks sufficient 
> information. Please consider putting the agent output onto a paste 
> service so that we can see it. 
>
<https://lh3.googleusercontent.com/-7sw_L2c0ePA/VDkJThWjrQI/AAAAAAAAApY/E9IdsglnUU0/s1600/Sem%2BT%C3%ADtulo.png>


I have chabged the location file ãnd now I get the error on the picture.


    
exec {"ilog_install":
    cwd     => "/opt/planner",
    command =>  "chmod +x cplex_studio126.linux-x86-64.
bin \
                    && sudo ./cplex_studio126.linux-x86-64.bin", 
    path      => 
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
    require =>  [File["/opt/planner/cplex_studio126"]],
    
}    
#exec {"ilog_install2":
#    cwd     => "/opt/planner",
#    command =>  " sudo ./cplex_studio126.linux-x86-64.bin",
#    require =>  [File["/opt/planner/cplex_studio126"], 
Exec["ilog_install"]],
#    path      => 
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
#}

file {"/opt/planner/cplex_studio126":
    ensure => present,
    source=> "${folder_repo}/cplex_studio126.linux-x86-64.bin"; 
}

Thanks for the help.
Regards,
Adriano

 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b283d6df-7deb-45f8-a953-18b3bc14d380%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to