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's something very easy to do with puppet.

Currently lot of software need something, IMHO, more easy for the user, but
much more hard to put inside a puppet. For example, installing some nodejs
software means to

  install nodejs
  run npm

If I try do to the same it's pretty hard to find all packages install by the
last command and put them to a puppet module. And event If I does, I need to 
change
the puppet module on each update (and currently for some software that's
mean every week).

nodejs is just a example, you can take bundle in ruby, pip in python etc.

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 failed the exec would
not be execute again, unless you put every file create by the 10000
dependencies need for every software.

The worst case for me is those software installed by some

  wget 'URL' | sh

(Ok I know it's not secure...) but well...

I event find out a script I am unable to run through exec resource (I
didn't find out why).

So my question : How you manage those kind of installation (beside manually
or using a docker image).

Regards.

--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Sat 11 Apr 2020 11:15:45 AM CEST

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20200411092718.GB2172%40io.chezmoi.fr.

Reply via email to