summaryrefslogtreecommitdiffstats
path: root/tools/README
blob: 5505573c85d17ce10613d16cc2f59251a5dc6ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
This directory contains repository maintenance tools.

basebuilder.py <image directory>
    - builds v2 base.xml from bcfg1 repo

batchadd.py <filename>
    - Add records to Hostbase

bcfg2-completion.bash
    - Bash tab completion for bcfg2-admin

bcfg2-cron
    - Script to run bcfg2 with cron

bcfg2-import-config
    - Create tarball of changed files on a client for import into the
      specification

bcfg2_local.py
    - Perform a full Bcfg2 run against a local repository instead of
      against a remote server

bcfg2-profile-templates.py [<template>]
    - Benchmark template rendering times

bcfg2_svnlog.py
    - Send intelligent log messages about changes made to your Bcfg2
      repository from SVN postcommit

create-debian-pkglist-gp.py
    - Generate Pkgmgr XML files from etc/debian-pkglist.conf.  See
      http://trac.mcs.anl.gov/projects/bcfg2/wiki/Tools/DebianPkgmgrCreationScript

create-debian-pkglist.py
    - Generate Pkgmgr XML files for Debian packages

create-rpm-pkglist.py
    - Generate list of installed RPM packages

ctags.sh
    - Generate ctags (or etags) indexes for the Bcfg2 source

encap-util-count.sh
    - Produce a count of encap packages per directory

encap-util-expand.sh
    - Gets encaps out of a makeself .run file

encap-util-place.sh
    - Put encaps in the right directories

encap-util-xml.sh
    - Generate Pkgmgr XML files for encap packages

export.py
    - Export a tagged version of the Bcfg2 source

generate-manpages.bash
    - Generate man pages from the Sphinx source

git_commit.py
    - Trigger script to commit local changes back to a git repository

hostbasepush.py
    - Call the Hostbase.rebuildState XML-RPC method

hostbase.py {-l|-c} <hostname>
    - Display or create host information for Hostbase

hostinfo.py {-q <query>|--showfields}
    - Query the hostbase databse

pkgmgr_gen.py
    - Generate Pkgmgr XML files from a list of directories that
      contain RPMS

pkgmgr_update.py
    - Update Pkgmgr XML files from a list of directories that contain
      RPMS

posixusers_baseline.py
    - Create a Bundle with all base POSIXUser/POSIXGroup entries on a
      client.

rpmlisting.py
    - Generate Pkgmgr XML files for RPM packages

selinux_baseline.py
    - Create a Bundle with all base SELinux entries on a client.  This
      is useful because different versions of the SELinux libraries
      have different capabilities, and some clients may have very,
      very large baselines.  selinux_baseline.py can be used to ensure
      that there are no 'extra' SELinux entries on such a client.

upgrade
    - This directory contains scripts used to upgrade to the specified
      version.  E.g., upgrade/1.2 has scripts needed to upgrade to
      Bcfg2 1.2.x from bcfg2 1.1.x

yum-listpkgs-xml.py
    - Produces a list of all packages installed and available in a
      format suitable for use by Packages or Pkgmgr