Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No matching Packages to list #58

Open
mcandre opened this issue Feb 12, 2016 · 0 comments
Open

Error: No matching Packages to list #58

mcandre opened this issue Feb 12, 2016 · 0 comments

Comments

@mcandre
Copy link

mcandre commented Feb 12, 2016

When I try to use puppet-redis in docker (base devopsil/puppet), I get strange error.

Trace:

$ make
docker ps -a | grep -v IMAGE | awk '{ print $1 }' | xargs docker rm -f
b6778c29580b
docker build -t mcandre/docker-redis:latest .
Sending build context to Docker daemon 34.49 MB
Step 0 : FROM devopsil/puppet
 ---> 40e40fcab8f6
Step 1 : MAINTAINER Andrew Pennebaker <[email protected]>
 ---> Using cache
 ---> dd3d73313578
Step 2 : COPY site.pp /etc/puppet/manifests/site.pp
 ---> ec13bbe93838
Removing intermediate container f97b7533fbe0
Step 3 : RUN yum install -y tar &&     puppet module install fsalum-redis &&     puppet apply /etc/puppet/manifests/site.pp --verbose --detailed-exitcodes || [ $? -eq 2 ]
 ---> Running in e4c4236d6508
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
 * base: centos.netnitco.net
 * centosplus: mirror.tzulo.com
 * extras: mirror.sanctuaryhost.com
 * updates: centos.chi.host-engine.com
Resolving Dependencies
--> Running transaction check
---> Package tar.x86_64 2:1.23-13.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch             Version                    Repository      Size
================================================================================
Installing:
 tar           x86_64           2:1.23-13.el6              base           809 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 809 k
Installed size: 2.5 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 2:tar-1.23-13.el6.x86_64                                     1/1 
  Verifying  : 2:tar-1.23-13.el6.x86_64                                     1/1 

Installed:
  tar.x86_64 2:1.23-13.el6                                                      

Complete!
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/etc/puppet/modules
└─┬ fsalum-redis (v1.0.3)
  └── thias-sysctl (v1.0.6)
Info: Loading facts
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Notice: Compiled catalog for 12ef887a9000.shoutlet.vpc in environment production in 0.56 seconds
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
   (at /usr/lib/ruby/site_ruby/1.8/puppet/type/package.rb:430:in `default')
Info: Applying configuration version '1455294160'
Notice: /Stage[main]/Redis/File[/etc/logrotate.d/redis]/ensure: defined content as '{md5}7b5aef50c388783e67cb48f50ec270f4'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list redis' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Redis/Package[redis]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list redis' returned 1: Error: No matching Packages to list
Notice: /Stage[main]/Redis/Exec[/var/lib/redis/]: Dependency Package[redis] has failures: true
Warning: /Stage[main]/Redis/Exec[/var/lib/redis/]: Skipping because of failed dependencies
Notice: /Stage[main]/Redis/File[/etc/redis.conf]: Dependency Package[redis] has failures: true
Warning: /Stage[main]/Redis/File[/etc/redis.conf]: Skipping because of failed dependencies
Notice: /Stage[main]/Redis/File[/var/lib/redis/]: Dependency Package[redis] has failures: true
Warning: /Stage[main]/Redis/File[/var/lib/redis/]: Skipping because of failed dependencies
Notice: /Stage[main]/Redis/Service[redis]: Dependency Package[redis] has failures: true
Warning: /Stage[main]/Redis/Service[redis]: Skipping because of failed dependencies
Info: Creating state file /var/lib/puppet/state/state.yaml
Notice: Finished catalog run in 0.40 seconds
The command '/bin/sh -c yum install -y tar &&     puppet module install fsalum-redis &&     puppet apply /etc/puppet/manifests/site.pp --verbose --detailed-exitcodes || [ $? -eq 2 ]' returned a non-zero code: 1

Source:

https://github.com/mcandre/docker-redis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant