Closed Bug 870661 Opened 11 years ago Closed 11 years ago

puppet320: need to include puppet-dependancies repo in bootstrap process

Categories

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

x86_64
Windows 7
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Callek, Assigned: dustin)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch [puppet320] v1 (obsolete) — Splinter Review
So I was setting up SeaMonkey's puppetmaster fully now, with 320 to start with.

When I got to the step: https://wiki.mozilla.org/ReleaseEngineering/PuppetAgain/HowTo/Set_up_a_standalone_puppetmaster#Set_up_repos_and_install_some_packages

(log below)
=================================
[root@sea-puppet puppetca]# yum install -y puppet mercurial openssl
Loaded plugins: fastestmirror, security
centos-os                                                                                 | 2.7 kB     00:00 ...

centos-os/primary_db                                                                      | 4.4 MB     00:00 ...

centos-updates                                                                            | 3.5 kB     00:00 ...

centos-updates/primary_db                                                                 | 2.2 MB     00:00 ...

epel                                                                                      | 4.0 kB     00:00 ...

epel/primary_db                                                                           | 4.2 MB     00:00 ...

puppet                                                                                    | 2.9 kB     00:00 ...

puppet/primary_db                                                                         |  81 kB     00:00 ...

releng                                                                                    | 2.9 kB     00:00 ...

releng/primary_db                                                                         |  44 kB     00:00 ...

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mercurial.x86_64 0:1.4-3.el6 will be installed
---> Package openssl.x86_64 0:1.0.0-20.el6 will be updated
---> Package openssl.x86_64 0:1.0.0-20.el6_2.2 will be an update
---> Package puppet.noarch 0:3.2.0-0.1rc1.el6 will be installed
--> Processing Dependency: ruby(abi) >= 1.8 for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Processing Dependency: ruby >= 1.8.7 for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Processing Dependency: hiera >= 1.0.0 for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Processing Dependency: facter >= 1.6.11 for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Processing Dependency: ruby-shadow for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Processing Dependency: ruby-rgen for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Processing Dependency: ruby-augeas for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Processing Dependency: ruby(selinux) for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Processing Dependency: /usr/bin/ruby for package: puppet-3.2.0-0.1rc1.el6.noarch
--> Running transaction check
---> Package facter.x86_64 1:1.6.17-1.el6 will be installed
---> Package hiera.noarch 0:1.2.1-0.1rc1.el6 will be installed
--> Processing Dependency: rubygem-json for package: hiera-1.2.1-0.1rc1.el6.noarch
---> Package libselinux-ruby.x86_64 0:2.0.94-5.2.el6 will be installed
---> Package puppet.noarch 0:3.2.0-0.1rc1.el6 will be installed
--> Processing Dependency: ruby-rgen for package: puppet-3.2.0-0.1rc1.el6.noarch
---> Package ruby.x86_64 0:1.8.7.352-4.el6_2 will be installed
---> Package ruby-augeas.x86_64 0:0.4.1-1.el6 will be installed
--> Processing Dependency: augeas-libs >= 0.8.0 for package: ruby-augeas-0.4.1-1.el6.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.8.0)(64bit) for package: ruby-augeas-0.4.1-1.el6.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.12.0)(64bit) for package: ruby-augeas-0.4.1-1.el6.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.11.0)(64bit) for package: ruby-augeas-0.4.1-1.el6.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.10.0)(64bit) for package: ruby-augeas-0.4.1-1.el6.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.1.0)(64bit) for package: ruby-augeas-0.4.1-1.el6.x86_64
--> Processing Dependency: libaugeas.so.0()(64bit) for package: ruby-augeas-0.4.1-1.el6.x86_64
---> Package ruby-libs.x86_64 0:1.8.7.352-4.el6_2 will be installed
--> Processing Dependency: libreadline.so.5()(64bit) for package: ruby-libs-1.8.7.352-4.el6_2.x86_64
---> Package ruby-shadow.x86_64 0:1.4.1-13.el6 will be installed
--> Running transaction check
---> Package augeas-libs.x86_64 0:0.9.0-1.el6 will be installed
---> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed
---> Package puppet.noarch 0:3.2.0-0.1rc1.el6 will be installed
--> Processing Dependency: ruby-rgen for package: puppet-3.2.0-0.1rc1.el6.noarch
---> Package rubygem-json.x86_64 0:1.4.6-1.el6 will be installed
--> Processing Dependency: rubygems for package: rubygem-json-1.4.6-1.el6.x86_64
--> Running transaction check
---> Package puppet.noarch 0:3.2.0-0.1rc1.el6 will be installed
--> Processing Dependency: ruby-rgen for package: puppet-3.2.0-0.1rc1.el6.noarch
---> Package rubygems.noarch 0:1.3.7-1.el6 will be installed
--> Processing Dependency: ruby-rdoc for package: rubygems-1.3.7-1.el6.noarch
--> Running transaction check
---> Package puppet.noarch 0:3.2.0-0.1rc1.el6 will be installed
--> Processing Dependency: ruby-rgen for package: puppet-3.2.0-0.1rc1.el6.noarch
---> Package ruby-rdoc.x86_64 0:1.8.7.352-4.el6_2 will be installed
--> Processing Dependency: ruby-irb = 1.8.7.352-4.el6_2 for package: ruby-rdoc-1.8.7.352-4.el6_2.x86_64
--> Running transaction check
---> Package puppet.noarch 0:3.2.0-0.1rc1.el6 will be installed
--> Processing Dependency: ruby-rgen for package: puppet-3.2.0-0.1rc1.el6.noarch
---> Package ruby-irb.x86_64 0:1.8.7.352-4.el6_2 will be installed
--> Finished Dependency Resolution
Error: Package: puppet-3.2.0-0.1rc1.el6.noarch (puppet)
           Requires: ruby-rgen
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
===========================

a quick find found:

/data/repos/yum/mirrors/puppetlabs/el/6/dependencies/i386/ruby-rgen-0.6.2-1.el6.noarch.rpm
/data/repos/yum/mirrors/puppetlabs/el/6/dependencies/x86_64/ruby-rgen-0.6.2-1.el6.noarch.rpm

And noticed that we didn't setup the dependencies in our bootstrapping repos file; This patch does that
Attachment #747765 - Flags: review?(dustin)
Comment on attachment 747765 [details] [diff] [review]
[puppet320] v1

Review of attachment 747765 [details] [diff] [review]:
-----------------------------------------------------------------

::: setup/yum-bootstrap.repo
@@ +29,5 @@
>  gpgcheck=0
> +
> +[puppet-depends]
> +name=puppet dependencies
> +baseurl=file:///data/repos/yum/mirrors/puppetlabs/el/6/dependancies/$basearch

s/dependancies/dependencies/ fwiw. I can update the patch if you need to see it first.
Comment on attachment 747765 [details] [diff] [review]
[puppet320] v1

Is that file actually used?  It was originally only intended for use with the standalone puppetmaster setup, which is now gone.
Ah, I see you were looking at outdated instructions.  Let's delete that file.
Comment on attachment 747765 [details] [diff] [review]
[puppet320] v1

please just delete setup/yum-bootstrap.repo
Attachment #747765 - Flags: review?(dustin) → review-
Component: Server Operations: RelEng → RelOps: Puppet
Product: mozilla.org → Infrastructure & Operations
QA Contact: arich → dustin
Attached patch bug870661.patchSplinter Review
Assignee: bugspam.Callek → dustin
Attachment #747765 - Attachment is obsolete: true
Attachment #824649 - Flags: review?(bugspam.Callek)
Callek, ping
Attachment #824649 - Flags: review?(bugspam.Callek) → review+
Landed in default, with no need to merge to prod.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: