Puppet rpm mirror server - centos

I am trying to create a local mirror repository using Puppet and MREPO Puppet module (https://github.com/puppetlabs/puppetlabs-mrepo), however, the package MREPO cannot be found on CentOS 6.
Does anyone knows any other Puppet module which will help me create a RPM Mirroring server?

mrepo is available in EPEL for CentOS 6.
Though tools like Spacewalk, Katello and Pulp (as msuchy indicated) are all potential alternatives as well.
As is just running createrepo yourself.

Does it need to be Puppet module? If not, then I suggest you to use: http://www.pulpproject.org/

Related

Trouble with installing Monitorix (Centos 7)

I am trying to install Monitorix; but I can't seem to overcome certain issues with the required modules.
I have every prerequisite except for three of the perl modules (MIME-Lite, HTTP-Server-Simple, and Config-General). Even though I have installed them using CPAN, I can't seem to use rpm or yum to finish the installation process (I have the monitorix-3.9.0-1.noarch.rpm file downloaded).
Is there something I'm missing, or some way that is much easier to go about this? I started with a bare-bones Centos 7 system, in accordance to the nature of the course I have to do this for. Anything would be helpful, at this point.
Installing with CPAN is not the equivalent of installing them with yum; the installs are not in the RPM Database. Uninstall them and try again with yum, e.g. yum install perl-MIME-Lite.

Centos - how do I install a specific version of Erlang?

I'm running Centos 6.7 on my server and am trying to install Erlang/Rabbitmq following these instructions:
Erlang Installation
RabbitMQ Installation
The trouble is that at time of writing these install Erlang 19.0 with RabbitMQ 3.6.3, which leads to a pretty major bug as far as my client who occasionally looks at the management interface to monitor queues is concerned.
The guidance in the error ticket is not to use erlang 19 until RabbitMQ 3.6.4 is released. But how can I install a specific version of Erlang?
These steps worked for me:
Go to the download page here: https://packages.erlang-solutions.com/erlang/
Select your appropriate package -- you can copy/peek the link then download it using wget.
Install it using rpm.
Example:
# Download erlang 19
$ wget http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_general/esl-erlang_19.0~centos~7_amd64.rpm
# Install
rpm -Uvh esl-erlang_19.0~centos~7_amd64.rpm
You can always build install from source.
Go to the Erlang.org Downloads page, pick your version from the right side.
From there you can follow the instructions. Although they are for Ubuntu, the commands are the same except for the dependencies part where you can use the command below to install what you need:
sudo yum install g++ openssl-devel unixodbc-devel autoconf ncurses-devel
Another option would be to use kerl, which is similar to rvm in some sense and very (very!) easy to use. It will let you install different Erlang versions and switch between them any time you want.
I prefer this approach instead of looking up packages myself (with possible incompatibilities in the dependencies required) or downloading and compiling everything myself every time I want to try a new Erlang version.

Is there a difference between joshcooper-powershell and puppetlabs-powershell?

I tried to install puppetlabs-powershell v1.0.1 on my puppet master, but it complained that joshcooper-powershell v0.0.6 is already installed.
Are they the same? Compatible?
Which version is newer?
I have the opportunity to force the install using 'puppet module install --force'. Good or bad idea?
For reference, this is the command I used:
sudo puppet module install puppetlabs-powershell --version 1.0.1
TL;DR use puppetlabs-powershell in favor of joshcooper-powershell.
The git repository for both modules is puppetlabs/puppetlabs-powershell.
Note that Josh is (now) a PuppetLabs employee and likely moved his module to the official supported ones. His module has not seen a release since 2013, so it's safe to assume that it's been superseded by PuppetLabs' module.

modify the echo service of Suse enterprise Linux

I need to make a small change of the echo service in Suse enterprise server 10 sp1. I has some questions:
Where can I download the source code?
Is there a brief guide to build it?
thanks.
If I recall correctly, the echo service is implemented in the xinetd tool directly. Look for an xinetd*src.rpm on your install media and either use cpan2rpm to unpack the RPM or rpm -i to unpack the rpm into your configured RPMBUILD directory. There are some details on using source rpm packages here: http://linuxmafia.com/pub/linux/suse-linux-internals/chapter34.html

using libcluttermm-1.0 problem

i have installed clutter-1.0 from gnome site using terminal.
But when i run the application, error is notified as libcluttermm-1.0 not found. Has this
library not available as of now. if not what is the alternative that i can use.
What did you install exactly? libcluttermm (C++ interface to Clutter) is provided by the cluttermm package. On my Fedora system, I ran:
# yum install cluttermm
# locate libcluttermm
/usr/lib/libcluttermm-1.0.so.0
/usr/lib/libcluttermm-1.0.so.0.0.0
Of course, if you are doing development against it install cluttermm-devel instead.
Use libclutter instead, as libcluttermm is not in Ubuntu repositories.