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+unsubscribe@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.
On Thursday, March 14, 2013 1:20:39 PM UTC-5, 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 ! > >You have 2 options. You can put what you did above in a shell script, and thenuse a file to push the tarball and the shell script, then exec to run the script. The BETTER option is to use fom or whatever and build a package (rpm, deb, whatever) and then install that using a package resource from a local repo.> 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+unsubscribe@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.
What llowder said. But he meant fpm, not fom: https://github.com/jordansissel/fpm On Thursday, March 14, 2013 3:40:20 PM UTC-6, llowder wrote:> > > > On Thursday, March 14, 2013 1:20:39 PM UTC-5, 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 ! >> >> > You have 2 options. You can put what you did above in a shell script, and > thenuse a file to push the tarball and the shell script, then exec to run > the script. > > The BETTER option is to use fom or whatever and build a package (rpm, deb, > whatever) and then install that using a package resource from a local repo. > > >> 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+unsubscribe@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.
On Thursday, March 14, 2013 5:28:49 PM UTC-5, joe wrote:> > What llowder said. But he meant fpm, not fom: > > https://github.com/jordansissel/fpm > >Indeed, sorry about that. Too much blood in the caffeine stream as I typed.> On Thursday, March 14, 2013 3:40:20 PM UTC-6, llowder wrote: >> >> >> >> On Thursday, March 14, 2013 1:20:39 PM UTC-5, 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 ! >>> >>> >> You have 2 options. You can put what you did above in a shell script, and >> thenuse a file to push the tarball and the shell script, then exec to run >> the script. >> >> The BETTER option is to use fom or whatever and build a package (rpm, >> deb, whatever) and then install that using a package resource from a local >> repo. >> >> >>> 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+unsubscribe@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.
For example: file {"/usr/local/src/suphp-0.7.1.tar.gz": owner => "root", group => "root", mode => 0775, ensure => present, source => "puppet:///modules/lamp/suphp-0.7.1.tar.gz", notify => Exec["unpack suphp"] } exec { "unpack suphp": command => "tar xf /usr/local/src/suphp-0.7.1.tar.gz && chown -R root:root /usr/local/src/suphp-0.7.1*", cwd => "/usr/local/src", refreshonly => true, notify => Exec["install suphp"] } exec { "install suphp": cwd => "/usr/local/src/suphp-0.7.1", command => "/usr/local/src/suphp-0.7.1/configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/bin/apr-1-config && make && make install", logoutput => true, refreshonly => true, } On Fri, Mar 15, 2013 at 7:38 AM, llowder <llowderiv@gmail.com> wrote:> > > On Thursday, March 14, 2013 5:28:49 PM UTC-5, joe wrote: >> >> What llowder said. But he meant fpm, not fom: >> >> https://github.com/**jordansissel/fpm<https://github.com/jordansissel/fpm> >> >> > Indeed, sorry about that. Too much blood in the caffeine stream as I typed. > > >> On Thursday, March 14, 2013 3:40:20 PM UTC-6, llowder wrote: >>> >>> >>> >>> On Thursday, March 14, 2013 1:20:39 PM UTC-5, 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 ! >>>> >>>> >>> You have 2 options. You can put what you did above in a shell script, >>> and thenuse a file to push the tarball and the shell script, then exec to >>> run the script. >>> >>> The BETTER option is to use fom or whatever and build a package (rpm, >>> deb, whatever) and then install that using a package resource from a local >>> repo. >>> >>> >>>> 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+unsubscribe@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. > > >-- 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 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.
ridha gadhgadhi
2013-Mar-15 21:49 UTC
[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+unsubscribe@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.