Feature #5801
Add repository modules to PE for managing apt/yum repos.
| Status: | Accepted | Start date: | 01/07/2011 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - | |||
| Keywords: | Affected URL: | |||
| Branch: | Affected PE version: | |||
Description
This is an offshoot of #5790. But it would be really neat to have the installer create a puppet yum repo since its going to install an http server.
- Create a Yum repo with all the necessary rpm files in it
- Create a yum repo file to be distributed to all agents
- Host the yum repo on the newly installed Http server
- Let the user install via Yum instead.
This would make it easier to update and install the agents on 100+ systems. This is of course assuming you have your ssh keys installed everywhere. For instance I could just do the following to install on all my systems:
#!/bin/bash
# This script will run a forloop on the given hosts with the given command
# Install the puppet yum repo, then install puppet via yum and the puppet repo
CMD="rpm -ivh http://puppet/puppet-repo.rpm;yum -y install pe-puppet"
# ghosts returns all systems running rhel4 defined in /etc/ghosts
HOSTS=`ghosts rhel4`
for host in $HOSTS; do
echo $host
ssh root@${host} "${CMD}"
done
History
#1
Updated by James Turnbull over 2 years ago
- Status changed from Unreviewed to Needs Decision
#2
Updated by Nigel Kersten over 2 years ago
- Subject changed from Create and host yum repo for agent rpm files on puppetmaster to Add repository modules to PE for managing apt/yum repos.
- Status changed from Needs Decision to Accepted
- Priority changed from Normal to High
- Target version set to 105
We’re going to be shipping puppet modules to manage yum/apt repositories post GA, and these will include functionality to upgrade clients.
#3
Updated by James Turnbull almost 2 years ago
- Target version deleted (
105)