------=_Part_4471966_1306959306.1344939939797
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
----- Original Message -----
From: "Ewoud Kohl van Wijngaarden"
<ewoud+ovirt(a)kohlvanwijngaarden.nl>
To: "Eyal Edri" <eedri(a)redhat.com>
Cc: infra(a)ovirt.org
Sent: Tuesday, August 14, 2012 1:11:20 PM
Subject: Re: Puppet proposal
On Tue, Aug 14, 2012 at 03:35:22AM -0400, Eyal Edri wrote:
> Ewoud Kohl van Wijngaarden wrote:
> > As promised and hopefully in time for tomorrows meeting I present
> > to
> > you
> > some basic puppet classes and modules to help us manage our
> > infra. I
> > created a github repo[1] with some very basic classes.
> >
> > Some things I'm unsure about:
> > - I'm not sure if a dash ('-') is allowed in the class name. It
> > works
> > but github highlights it weird.
> > - I think publishing the public key is no problem (they're public
> > after
> > all), but if something like the debian SSH fiasco[2] would
> > happen
> > again we might be at risk.
> > - It's very basic, just ensure users exist and sudo is set up. We
> > can
> > do
> > much more, but what do we want?
>
> for starts we need to able to install a jenkins slave with all it's
> deps, this means:
>
> 1. installing all packages for making rpms
> (autoconf,make,gcc,python-*,etc...)
I'll add these, but please expand python-*
python-devel-2.7.3-7.2.fc17.x86_64
python-pep8-1.0.1-1.fc17.noarch
libxml2-python-2.7.8-7.fc17.x86_64
python-nose-1.1.2-2.fc17.noarch
python-dateutil-1.5-3.fc17.noarch
python-paramiko-1.7.7.1-2.fc17.noarch
python-cheetah-2.4.4-2.fc17.x86_64
sanlock-python-2.4-2.fc17.x86_64
libvirt-python-0.9.13-3.fc17.x86_64
python-cherrypy-3.2.2-1.fc17.noarch
best thing will be to have a new vm and try to run make rpm on it (for vdsm &
ovirt-engine) and we'll see what's missing.
or just to check the spec files ..
> 2. installing the jenkins-slave deamon (for running jnlp)
I'll look into this.
i have a deamon i've written already - attached.
> 3. jenkins user + home dir..
check
> 4. openjdk-1.7.0-java-devel
check
> 5. selinux settings.. .
Right now vdsm unit tests have sudo permission to call setenforce.
Not
what we want in the long term, but I was told the unit tests need
this.
> and basically every thing we stumble upon when installing a new
> slave.
>
> other things might be installing system services on all vms like:
> - log collector
> - backup
> - cleanup
> - monitoring
I think we'll add these as they come along.
------=_Part_4471966_1306959306.1344939939797
Content-Type: application/x-shellscript; name=jenkins-slave
Content-Disposition: attachment; filename=jenkins-slave
Content-Transfer-Encoding: base64
IyEvYmluL2Jhc2gKIwojIGplbmtpbnMtc2xhdmUJCiMJVGhpcyBzaGVsbCBzY3JpcHQgcnVucyBq
ZW5raW5zIHNsYXZlIHZpYSBKTkxQLgojCiMgRGVmYXVsdC1TdGFydDoJMyA1CiMgRGVmYXVsdC1T
dG9wOiAgICAgICAgIDAgMSAyIDYKIyBEZXNjcmlwdGlvbjogc2xhdmUgSk5MUCBkYWVtb24gZm9y
IGplbmtpbnMuIAoKIyBTb3VyY2UgZnVuY3Rpb24gbGlicmFyeS4KLiAvZXRjL2luaXQuZC9mdW5j
dGlvbnMKCnByb2c9amVua2lucy1zbGF2ZQpzbGF2ZW5hbWU9YGhvc3RuYW1lICB8Y3V0IC1kIi4i
IC1mMWAKamVua2luc19tYXN0ZXJfdXJsPWh0dHA6Ly9qZW5raW5zLm92aXJ0Lm9yZwoKSkVOS0lO
U19VU0VSPSJqZW5raW5zIgpKRU5LSU5TX1NMQVZFX1BJRF9GSUxFPSIvdmFyL3J1bi9qZW5raW5z
LXNsYXZlLnBpZCIKSkFWQV9DTUQ9Ii91c3IvYmluL2phdmEgLWphciAvdmFyL2xpYi9qZW5raW5z
L3NsYXZlLmphciAtam5scFVybCAkamVua2luc19tYXN0ZXJfdXJsL2NvbXB1dGVyLyRzbGF2ZW5h
bWUvc2xhdmUtYWdlbnQuam5scCIKI2NtZD0iL3Vzci9iaW4vamF2YSAtamFyIC92YXIvbGliL2pl
bmtpbnMvc2xhdmUuamFyIC1qbmxwVXJsICRqZW5raW5zX21hc3Rlcl91cmwvY29tcHV0ZXIvJHNs
YXZlbmFtZS9zbGF2ZS1hZ2VudC5qbmxwIgoKb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