Use upstream puppet modules where possible

Bug #933843 reported by Andrew Hutchings
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
In Progress
Medium
Unassigned

Bug Description

Puppetlabs has modules for vcsrepo, nginx, stdlib and mysql. We should use them. Additionally, we should use them via submodule support.
Additionally, we should arrange our own modules into submodules so that other people can use them - and so that stackforge and openstack can each have a simple repo which just contains site.pp, and then a bunch of submodules corresponding to the modules we need.

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :
Monty Taylor (mordred)
Changed in openstack-ci:
assignee: Andrew Hutchings (linuxjedi) → Clark Boylan (cboylan)
milestone: none → folsom
status: New → Triaged
importance: Undecided → High
summary: - Investigate puppet vcsrepo
+ Use upstream puppet modules where possible
description: updated
Monty Taylor (mordred)
Changed in openstack-ci:
importance: High → Medium
Monty Taylor (mordred)
Changed in openstack-ci:
status: Triaged → In Progress
assignee: Clark Boylan (cboylan) → Monty Taylor (mordred)
Revision history for this message
Paul Belanger (pabelanger) wrote :

I don't have an issue helping with this one.

Monty Taylor (mordred)
Changed in openstack-ci:
assignee: Monty Taylor (mordred) → Paul Belanger (pabelanger)
Monty Taylor (mordred)
Changed in openstack-ci:
milestone: folsom → grizzly
Revision history for this message
Anita Kuno (anteaya) wrote :

It appears from config/install_modules.sh that there is already a vcsrepo module in use:
https://github.com/openstack-infra/config/blob/master/install_modules.sh#L20
as well as a mysql module:
https://github.com/openstack-infra/config/blob/master/install_modules.sh#L24

This appears to be the file to add the nginx and stdlib modules.

James E. Blair (corvus)
tags: added: low-hanging-fruit puppet
Changed in openstack-ci:
milestone: grizzly → havana
Changed in openstack-ci:
assignee: Paul Belanger (pabelanger) → nobody
Anita Kuno (anteaya)
Changed in openstack-ci:
assignee: nobody → Anita Kuno (anteaya)
Clark Boylan (cboylan)
Changed in openstack-ci:
milestone: havana → icehouse
Anita Kuno (anteaya)
Changed in openstack-ci:
assignee: Anita Kuno (anteaya) → nobody
Revision history for this message
Spencer Krum (nibalizer) wrote :

The VCS repo module is hardish to move to, since we use a modified version of it that changes behaviour. It is possible that all the behavior we use is possible now in the latest puppetlabs-vcsrepo module. This should be investigated.

Do we use nginx anywhere? I've always seen apache everywhere.

The stdlib module should be as easy as upgrade it in install_modules.sh.

I have a review in flight that upgrades the apt module. This also means we can use the apt modules' unattended_upgrades functionality instead of our own rolled stuff. https://review.openstack.org/#/c/102739/

Mysql... I'm not sure. Will investigate.

Jeremy Stanley (fungi)
Changed in openstack-ci:
milestone: icehouse → kilo
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.