Skip to content

Instantly share code, notes, and snippets.

[mmccune@kona katello{master}]$ ./kk -u admin -p admin org create --name "Goiás"
Successfully created org [ Goiás ]
[mmccune@kona katello{master}]$ ./kk -u admin -p admin system list --org "Goiás"
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Systems List For Environment [ Library ] in Org [ Goiás ]
Name Uuid Ipv4 Address Service Level
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
[mmccune@kona katello{master}]$
# rpm -V pulp gofer python-gofer
S.5..UGT. c /etc/httpd/conf.d/pulp.conf
SM5...GT. c /etc/pulp/pulp.conf
S.5..UGT. c /etc/pulp/repo_auth.conf
.M....... /var/log/gofer
.M....... /var/lib/gofer/journal/watchdog
Id Tacos-Zoo-Animals1
Name Animals1
Repo URL https://sat-perf-04.idm.lab.bos.redhat.com/pulp/repos/Tacos/Library/custom/Zoo/Animals1/
Feed URL http://omaciel.fedorapeople.org/fakerepo01/
Feed Type remote
Content Type yum
Feed Certs CA:No Cert:No
Consumer Certs CA:No Cert:No
Architecture noarch
Sync Schedule None
# rpm -q candlepin-tomcat6
candlepin-tomcat6-0.7.8-1.el6cf.noarch
[root@sat-perf-04 ~]# rpm -ql candlepin-tomcat6 |grep jar
/var/lib/tomcat6/webapps/candlepin/WEB-INF/lib/antlr.jar
/var/lib/tomcat6/webapps/candlepin/WEB-INF/lib/aopalliance.jar
/var/lib/tomcat6/webapps/candlepin/WEB-INF/lib/apache-mime4j.jar
/var/lib/tomcat6/webapps/candlepin/WEB-INF/lib/bcprov-jdk16.jar
/var/lib/tomcat6/webapps/candlepin/WEB-INF/lib/c3p0.jar
/var/lib/tomcat6/webapps/candlepin/WEB-INF/lib/cglib.jar
/var/lib/tomcat6/webapps/candlepin/WEB-INF/lib/codehaus-jackson_jackson-core-lgpl.jar
# If no GPG key URL is specified, turn gpgcheck off:
gpg_url = content.getGpg()
if not gpg_url:
repo['gpgkey'] = ""
repo['gpgcheck'] = '0'
else:
repo['gpgkey'] = self.join(baseurl, gpg_url)
# Leave gpgcheck as the default of 1
[Tue Oct 09 13:21:11 2012] [error] Value : (dp0
[Tue Oct 09 13:21:11 2012] [error] S'dequeue'
[Tue Oct 09 13:21:11 2012] [error] p1
[Tue Oct 09 13:21:11 2012] [error] (lp2
[Tue Oct 09 13:21:11 2012] [error] (ipulp.server.event.handler.task
[Tue Oct 09 13:21:11 2012] [error] TaskDequeued
[Tue Oct 09 13:21:11 2012] [error] p3
[Tue Oct 09 13:21:11 2012] [error] (dp4
[Tue Oct 09 13:21:11 2012] [error] bacpulp.server.api.repo_sync
[Tue Oct 09 13:21:11 2012] [error] post_sync
$ git show aa6286b
commit aa6286b5e2cf1a05e19c4a832bd1ab84956f927c
Author: Lukas Zapletal <lzap+git@redhat.com>
Date: Tue Jul 31 09:19:06 2012 +0200
820624 - make pgsql to listen only on localhost
diff --git a/puppet/modules/postgres/templates/postgresql.conf.erb b/puppet/modules/postgres/templates/postgresql.conf.erb
index a59963f..8cd5739 100644
--- a/puppet/modules/postgres/templates/postgresql.conf.erb
$ rpm -e rubygem-redcarpet
$ rpm -q rubygem-redcarpet
package rubygem-redcarpet is not installed
$ kthin # My alias to start rails in dev mode
Could not find redcarpet-2.1.1 in any of the sources
Try running `bundle install`.
$ sudo bundle install
Fetching source index for http://repos.fedorapeople.org/repos/katello/gems/
Using rake (0.9.2)
DECODE FAILS:
pulp-1.1.13-1.el6cf.noarch
def _process_value(value):
if not isinstance(value, basestring):
return v
if isinstance(value, str):
value = value.decode('utf-8')
return value.encode('utf-8').strip()
$ ./kk -u admin -p admin product list
-------------------------------------------------------------------------------------------------
Product List For Organization ACME_Corporation, Environment 'Library'
Id Name Provider Id Provider Name Sync Plan Name Last Sync GPG key
-------------------------------------------------------------------------------------------------
1350327749996 testing1 2 provider1 None never
1350327746824 testing1 2 provider1 None never
[mmccune@kona katello{fork-855267}]$ ./kk -u admin -p admin product status --name testing1
-------------------------------------------------------------------------------------------------