Re: [Puppet Users] Install software by running script

2020-04-15 Thread Martin Alfke
Hi Albert, > On 15. Apr 2020, at 15:51, Albert Shih wrote: > > Le 11/04/2020 à 12:15:12+0200, Martin Alfke a écrit > > Hi everyone. > >> > Thanks for the answer. > >>> I would like to have your point of view on how you install some software. >>> >>> Long time (in IT meaning) most of the sof

Re: [Puppet Users] Install software by running script

2020-04-15 Thread Albert Shih
Le 14/04/2020 à 06:04:30+, Dirk Heinrichs a écrit > Am Samstag, den 11.04.2020, 12:15 +0200 schrieb Martin Alfke: > > > > > Either this, or: Write a package provider, like the ones already available for > Ruby gems or Python modules, which turns this into > > package { 'foo': > ... > provider =

Re: [Puppet Users] Install software by running script

2020-04-15 Thread Albert Shih
Le 11/04/2020 à 12:15:12+0200, Martin Alfke a écrit Hi everyone. > Thanks for the answer. > > I would like to have your point of view on how you install some software. > > > > Long time (in IT meaning) most of the software installation meaning run > > some rpm, apt, and put a config file. > > Th

Re: [Puppet Users] Install software by running script

2020-04-14 Thread David Schmitt
To answer the original question: when a software vendor delivers software that does not conform to your distributions native packaging format, invest some time in the excellent FPM tool that can build native packages for your local environment. Injecting the

Re: [Puppet Users] Install software by running script

2020-04-14 Thread Andy Hall
exactly just push the devs of the package resource type to add a new provider. I mean nodejs is kinds popular now so I see no reason not to add it... On Tuesday, April 14, 2020 at 7:04:46 AM UTC+1, Dirk Heinrichs wrote: > > Am Samstag, den 11.04.2020, 12:15 +0200 schrieb Martin Alfke: > > Of cou

Re: [Puppet Users] Install software by running script

2020-04-13 Thread Dirk Heinrichs
Am Samstag, den 11.04.2020, 12:15 +0200 schrieb Martin Alfke: Of course for just pip/bundle/etc. I can do something like exec { 'install': command => 'pip/bundle/npm install', creates => 'some file created by the pip/bundle/npm } but still it's painful because if the pip/bundle/npm

Re: [Puppet Users] Install software by running script

2020-04-11 Thread Martin Alfke
Hi Albert, > On 11. Apr 2020, at 11:27, Albert Shih wrote: > > Hi, > > I would like to have your point of view on how you install some software. > > Long time (in IT meaning) most of the software installation meaning run > some rpm, apt, and put a config file. That process is still considered