From 3c3f80b258f23079fd7f6d6b1a5529e996e422b3 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 1 Mar 2004 22:19:11 +0000 Subject: 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 --- generators/sshbase.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'generators') 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) -- cgit v1.2.3-1-g7c22