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
commit3c3f80b258f23079fd7f6d6b1a5529e996e422b3 (patch)
tree59ab590661e2b20476a0eb3e94d2fdcca14efddd /generators
parent0e452375fef74777a9d56c90261ff79be54d191b (diff)
downloadbcfg2-3c3f80b258f23079fd7f6d6b1a5529e996e422b3.tar.gz
bcfg2-3c3f80b258f23079fd7f6d6b1a5529e996e422b3.tar.bz2
bcfg2-3c3f80b258f23079fd7f6d6b1a5529e996e422b3.zip
update to use Generator.__provides__
(Logical change 1.18) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@71 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'generators')
-rw-r--r--generators/sshbase.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/generators/sshbase.py b/generators/sshbase.py
index 1ba2a6e1c..b7d07ac8d 100644
--- a/generators/sshbase.py
+++ b/generators/sshbase.py
@@ -12,11 +12,11 @@ class sshbase(Generator):
__name__ = 'sshbase'
__version__ = '$Id$'
__author__ = 'bcfg-dev@mcs.anl.gov'
- __build__ = { '/etc/ssh/ssh_known_hosts':'build_skn',
- '/etc/ssh/ssh_host_dsa_key':'build_hk',
- '/etc/ssh/ssh_host_rsa_key':'build_hk',
- '/etc/ssh/ssh_host_dsa_key.pub':'build_hk',
- '/etc/ssh/ssh_host_rsa_key.pub':'build_hk'}
+ __provides__ = {'ConfigFile':{'/etc/ssh/ssh_known_hosts':'build_skn',
+ '/etc/ssh/ssh_host_dsa_key':'build_hk',
+ '/etc/ssh/ssh_host_rsa_key':'build_hk',
+ '/etc/ssh/ssh_host_dsa_key.pub':'build_hk',
+ '/etc/ssh/ssh_host_rsa_key.pub':'build_hk'}}
def __setup__(self):
self.repository = DirectoryBacked(self.data)