[Puppet Users] Re: Problem installing packages dependencies for tarball softwatre
There is any help to solve the problem of dependencies in puppet? Regards, --Ridha On Wednesday, March 20, 2013 12:35:25 PM UTC-4, ridha gadhgadhi wrote: > > Hi, > > I have created a puppuet module to install a software from its source code > as follow: > > exec { > > 'build_opensaf': > > cwd => "/opt/opensaf-4.2.2", > > command => '/opt/opensaf-4.2.2/configure --disable-tipc', > > timeout => 0, > > logoutput => 'on_failure', > > require => Exec["opensaf_extract_installer"], > > } > > exec { > > 'compile_opensaf': > > cwd => "/opt/opensaf-4.2.2", > > command => 'make', > > timeout => 0, > > logoutput => 'on_failure', > > require => Exec["build_opensaf"], > > } > > exec { > > 'install_opensaf': > > cwd => "/opt/opensaf-4.2.2", > > command => 'make install', > > timeout => 0, > > logoutput => 'on_failure', > > require => Exec["compile_opensaf"], > > } > > > The above code works fine when the prerequisites packages are installed. > But, in the reverse case, I have met a problem of the dependancies packages. > The prerequisites packages are: > >- libxml2-dev >- automake >- m4 >- autoconf (2.61 or later) >- libtool >- pkg-config >- gcc/g++ >- GNU make >- python-dev(el) > > Is there someone who can help me to find a solution for installing the > above packages in Ubunutu 12.4 taking into account the two cases: with and > without internet connection. That means if I have internet connection, I > use "apt-get install" else I use "dpkg -i" command. > > Thanks in advance, > > --Ridha > > -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Problem installing packages dependencies for tarball softwatre
Hi, I have created a puppuet module to install a software from its source code as follow: exec { 'build_opensaf': cwd => "/opt/opensaf-4.2.2", command => '/opt/opensaf-4.2.2/configure --disable-tipc', timeout => 0, logoutput => 'on_failure', require => Exec["opensaf_extract_installer"], } exec { 'compile_opensaf': cwd => "/opt/opensaf-4.2.2", command => 'make', timeout => 0, logoutput => 'on_failure', require => Exec["build_opensaf"], } exec { 'install_opensaf': cwd => "/opt/opensaf-4.2.2", command => 'make install', timeout => 0, logoutput => 'on_failure', require => Exec["compile_opensaf"], } The above code works fine when the prerequisites packages are installed. But, in the reverse case, I have met a problem of the dependancies packages. The prerequisites packages are: - libxml2-dev - automake - m4 - autoconf (2.61 or later) - libtool - pkg-config - gcc/g++ - GNU make - python-dev(el) Is there someone who can help me to find a solution for installing the above packages in Ubunutu 12.4 taking into account the two cases: with and without internet connection. That means if I have internet connection, I use "apt-get install" else I use "dpkg -i" command. Thanks in advance, --Ridha -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: Installing a tarball using Puppet
Thank you very much to everyone. It is very useful. Sincerely, - Ridha On Thursday, March 14, 2013 2:20:39 PM UTC-4, ridha gadhgadhi wrote: > > Hi all, > > I want to install opensaf from a tar file. Below, the content of my script > shell: > > --- > tar -xvf opensaf > cd opensaf > ./configure --disable-tipc > make > make install > > > > Any help will be much appreciated ! > > Regards, > > --Ridha > -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Installing a tarball using Puppet
Hi all, I want to install opensaf from a tar file. Below, the content of my script shell: --- tar -xvf opensaf cd opensaf ./configure --disable-tipc make make install Any help will be much appreciated ! Regards, --Ridha -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.