summaryrefslogtreecommitdiffstats
path: root/generators
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-03-01 22:19:11 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-03-01 22:19:11 +0000
commit1e3dd22feface5ffb9534c4215ad8471b55850d8 (patch)
tree623242f9207048960deb4bc9a7b71254c0e583cc /generators
parentaf1890be55f5ebc22610f76f1259a8f34e049c9d (diff)
downloadbcfg2-1e3dd22feface5ffb9534c4215ad8471b55850d8.tar.gz
bcfg2-1e3dd22feface5ffb9534c4215ad8471b55850d8.tar.bz2
bcfg2-1e3dd22feface5ffb9534c4215ad8471b55850d8.zip
update to new API
(Logical change 1.18) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@65 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'generators')
-rw-r--r--generators/account.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/generators/account.py b/generators/account.py
index 0773ae3d8..760725a0b 100644
--- a/generators/account.py
+++ b/generators/account.py
@@ -8,10 +8,10 @@ class account(Generator):
__name__ = 'account'
__version__ = '$Id$'
__author__ = 'bcfg-dev@mcs.anl.gov'
- __build__ = {'/etc/passwd':"GenFromYP",
- '/etc/group':"GenFromYP",
- '/etc/security/limits.conf':"GenLimits",
- '/root/.ssh/authorized_keys':"GenRootKeys"}
+ __provides__ = {'ConfigFile':{'/etc/passwd':"GenFromYP",
+ '/etc/group':"GenFromYP",
+ '/etc/security/limits.conf':"GenLimits",
+ '/root/.ssh/authorized_keys':"GenRootKeys"}}
__doc__ = '''This module generates account config files, based on an internal data repo:
static.(passwd|group|limits.conf) -> static entries