Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (82 - 84 of 894)

Ticket Owner Reporter Resolution Summary
#1130 desai J. Davis <[email protected]…> fixed Apt sources no longer contain "components"
Description

After upgrading from 1.2.1 to 1.2.3 the following template code ceased to function:

{% for s in metadata.Packages.sources %}\
deb ${s.url}${s.version} {% for comp in s.components %}$comp {% end %}
{% end %}\

The "components" list attribute now appears to be a "component" string.

Not sure if the docs just need updating: http://docs.bcfg2.org/server/plugins/generators/packages.html#generating-client-apt-yum-configurations or if there is also a code change required.

Also not sure if the use of the "groups" attribute in the example is accurate. I don't see it in my environment.

#779 desai strauss fixed Asking Snapshots for bad entries without specifying a hostname results in a backtrace
Description
[[email protected] ~]# bcfg2-admin snapshots reports -b
Traceback (most recent call last):
  File "/usr/sbin/bcfg2-admin", line 78, in ?
    main()
  File "/usr/sbin/bcfg2-admin", line 70, in main
    mode(args[1:])
  File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Admin/Snapshots.py", line 102, in __call__
    client = args[f5e4281313ff9004be488e420f90d5fe413bb5c1] (SVN r2)
IndexError: list index out of range
#1145 desai https://www.google.com/accounts/o8/id?id=AItOawm7-QeHxXGyyMwjN6_wFPC-gGTvrxu0YaE fixed AttributeError: 'module' object has no attribute 'Metadata'
Description

bcfg2-admin init Store Bcfg2 configuration in etc/bcfg2.conf: Location of Bcfg2 repository var/lib/bcfg2: Input password used for communication verification (without echoing; leave blank for a random): What is the server's hostname [bcfg2]: Input the server location https://bcfg2:6789: Input base Operating System for clients: 1: Red Hat/Fedora?/RHEL/RHAS/Centos 2: SUSE/SLES 3: Mandrake 4: Debian 5: Ubuntu 6: Gentoo 7: FreeBSD 8: Arch : 6 Path where Bcfg2 server private key will be created etc/ssl/bcfg2.key: Path where Bcfg2 server cert will be created etc/ssl/bcfg2.crt: The following questions affect SSL certificate generation. If no data is provided, the default values are used. Country name (2 letter code) for certificate: ru State or Province Name (full name) for certificate: mo Locality Name (eg, city) for certificate: mo

Warning: /etc/bcfg2.conf already exists. Overwrite? [y/N]: y Generating a 2048 bit RSA private key ......+++ ......................................+++ writing new private key to '/etc/ssl/bcfg2.key'


Signature ok subject=/C=ru/ST=mo/L=mo/CN=bcfg2 Getting Private key Traceback (most recent call last):

File "/usr/sbin/bcfg2-admin-2.7", line 95, in <module>

main()

File "/usr/sbin/bcfg2-admin-2.7", line 85, in main

mode(setupargs?[1:])

File "/usr/lib64/python2.7/site-packages/Bcfg2/Server/Admin/Init.py", line 193, in call

self.init_repo()

File "/usr/lib64/python2.7/site-packages/Bcfg2/Server/Admin/Init.py", line 341, in init_repo

self._init_plugins()

File "/usr/lib64/python2.7/site-packages/Bcfg2/Server/Admin/Init.py", line 302, in _init_plugins

Bcfg2.Server.Plugins.Metadata.Metadata.init_repo(

AttributeError?: 'module' object has no attribute 'Metadata'

Note: See TracQuery for help on using queries.