5 ms·
Personally, I don't think puppet sucks
by cultureulterior 13y ago
Personally, I don't think puppet sucks
- susi22 13y agoThe problem is most dev-ops and sysadmins don't know ruby and that's a HUGE disadvantage. In the end configuration management will often by done by sysadmins.
- pilif 13y agoI'm only managing 24 machines with puppet, so nothing fancy, but I managed to do all of the stuff I needed without writing a single line of Ruby code. That was handy for me too as while I'm somewhat familiar with Ruby, I'm no expert at all. I can read Ruby no problem and I can write ruby that's not-quite-idiomatic and I'm terribly slow at it.
- susi22 13y agoI forgot to mention that just installing ruby is a HUGE PITA on anything but the most common OSes. It took me 3h last week to get it on a CentOS installed. And I don't even want to try to get it running on our Solaris hosts... Point is: Python is the number one scripting language (after bash) for sysadmins just like Perl used to be.
- yxhuvud 13y agoyum install ruby took you 3h? It may take slightly longer if you want 1.9, but it still exists in fedora so it should not take 3h to solve.
- awj 13y agoAs a developer that primarily works on ruby, I can see it if he wanted 1.9.3. Most of the references you'll find on that tell you to use @environment_wrapper_of_the_month, and those are deep rabbit holes for people who know nothing about the language.
- susi22 13y agoYes I needed 1.9.3 for this silly software. And I had a little special setup so rvm failed to compile. I'm also very overwhelmed by rvm,gem,bundler etc... Python has pip,easy_install(old) and virualenv. Which are just easier to understand for me. Ruby is too much magic and is trying to do everything automatically (IMO).
- sciurus 13y agoRed Hat recently released Ruby 1.9.3 packages as part of "software collections"; I assume CentOS is rebuilding these and making them available the same as they do for other Red Hat Enterprise Linux packages. https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/1/html/Software_Collections_Guide/ https://access.redhat.com/site/documentation/en-US/Red_Hat_D...
- tr4656 13y agoHave you tried rbenv? Its easier to setup than rvm and doesn't take too long.
- lmickh 13y agorbenv is a great way to get whatever version of ruby you want up and going fast. Install a couple dependencies, clone the git repo, and run the install.sh. I went from never using it to running on CentOS 6 in a half hour.
- pwelch 13y agoI support Ruby apps so Ruby is on every server anyways. With that said you can use Omnibus Chef Installer now which includes a copy of Ruby just for Chef. Good for servers where you don't need Ruby or small servers that would take awhile to compile a newer Ruby.
- AaronBBrown 13y agoTry https://rvm.io https://rvm.io if you're having difficulty getting Ruby somewhere.
- danudey 13y ago> It took me 3h last week to get it on a CentOS installed This matches my experience with a significant amount of software on CentOS. Since CentOS is just a rebuild of RHEL, and RHEL is extremely conservative when it comes to new software, CentOS tends to be out of date at release and get progressively worse.
- lotsofcows 13y ago"out of date"? I think you mean, "stable". That being said, we use third party repos for big projects like mysql and php on the assumption that a project that size is going to be thoroughly tested.
- bensummers 13y agoIt's not that hard to get Ruby running on Solaris. Email me if you need help.
- Argorak 13y agoPuppet doesn't require you to do any Ruby. Also, Salt is written in python, for which the same argument holds as well for almost all environments.
- Goladus 13y agoOne doesn't need much ruby to get going with puppet. You need to learn the declarative puppet DSL, which is arguably an even bigger barrier. Automatic list expansion, for example, is a nice feature. But you can't have independent or nested variables, as with an imperative loop. So you wind up having to break each list into its own definition and then combine them all. The sysadmins I worked with were definitely not keen on having to think that way on a regular basis just to get some things done. That said, I also disagree that puppet "sucks." It's good at what it claims to be good at so long as you can deal with its quirks.
- sabat 13y agomost dev-ops and sysadmins don't know ruby I beg to differ—if you call yourself a devops person and you don't know Ruby, you're somewhat rare. Yes, yes, python, blah blah. But most of us do Ruby, partly because that's what the most popular, widely used tools are written in (Chef, Puppet), and partly because it's an elegent and easy-to-understand language. If you say you're devops and you don't do anything besides Bash: you're not devops.
- pwelch 13y agoAgreed. I work with Chef and it is my tool of choice but don't think that Puppet sucks. The important thing is someone uses some form of Configuration Management. If people find Salt easier than Chef/Puppet/CFEngine/Ansible then great. At least they have something to build/scale their infrastructure.