Closed Bug 1021646 Opened 12 years ago Closed 12 years ago

Create script to install and setup pre-requirements for puppetizing a host

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

It would be great if the puppetize.sh script could pre-install all the requirements, so that the machine can get puppetized in one go. The problem I currently have is in qa.scl3.mozilla.com. It requires proxy settings to download facter, and maybe other tools necessary. I have to do this outside of puppetize.sh, because the script fails immediately with facter not found. All this involves a lot of copy and paste. So why not let the script do all that?
I'm not sure what you mean - the code that installs puppetize.sh also installs its requirements, including facter, puppet, and a few other things beyond the base system. Puppetize.sh also doesn't download facter - that happens before puppetize.sh runs. puppetize.sh should not require a proxy, as it's on the same VLAN as the resources it needs to reach. In fact, it specifically disables proxies: while true; do https_proxy= python <<EOF import urllib2, getpass ... So I need a bit more detail about what you're seeing.
Assignee: relops → hskupin
Oh, wait. so which script I will have to run then to get a system added to puppet infra? Looks like I'm wrong.
For a newly installed system, you don't have to run anything - puppet is installed and run automatically. For an existing system that you're not reinstalling, you'll need to do the bit ordinarily done by the kickstart process. Those are driven by http://hg.mozilla.org/build/puppet/file/5158abe705cf/setup/centos6-kickstart.cfg.erb#l55 http://hg.mozilla.org/build/puppet/file/5158abe705cf/setup/ubuntu-kickstart.cfg.erb#l75 and the included files are in http://hg.mozilla.org/build/puppet/file/5158abe705cf/setup/common
Blocks: 1013981
It doesn't look to be worth of our time. Just reinstalling the OS with kickstart enabled is way easier. Also you are right, it's the wrong script I'm referencing here. Lets close as WONTFIX.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Summary: puppetize.sh should install pre-requirements for puppetizing a host → Create script to install and setup pre-requirements for puppetizing a host
You need to log in before you can comment on or make changes to this bug.