~ubuntu-branches/ubuntu/raring/libconfig-model-backend-augeas-perl/raring

« back to all changes in this revision

Viewing changes to lib/Config/Model/Backend/Augeas.pm

  • Committer: Bazaar Package Importer
  • Author(s): Dominique Dumont, Nathan Handler, gregor herrmann, Dominique Dumont
  • Date: 2011-01-21 17:03:17 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110121170317-wb0ohsfg9vru0zsg
Tags: 0.108-1
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.

[ gregor herrmann ]
* debian/control: Changed: (build-)depend on perl instead of perl-
  modules.

[ Dominique Dumont ]
* New upstream release
  - updated tests to work with Config::Model 1.207 (Closes: #605795)
* control: updated Standards to 3.9.1
* Switch to source format 3.0 (quilt).
* debian/control:
  - removed unnessary versioned dependency (dogfooding mode with
    config-edit -appli dpkg-control -apply-fixes -save)
  - add unversioned perl to Build-Depends
  - update description
* debian/copyright: updated copyright years
* debian/patches/fix_spelling: new patch

[ gregor herrmann ]
* Mimimize debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Author: ddumont $
2
 
# $Date: 2009-05-29 14:40:50 +0200 (ven 29 mai 2009) $
3
 
# $Revision: 965 $
4
 
 
5
 
#    Copyright (c) 2008-2009 Dominique Dumont.
 
1
#    Copyright (c) 2008-2010 Dominique Dumont.
6
2
#
7
3
#    This file is part of Config-Model-Backend-Augeas.
8
4
#
33
29
eval { require Config::Augeas ;} ;
34
30
$has_augeas = 0 if $@ ;
35
31
 
36
 
our $VERSION = '0.107';
 
32
our $VERSION = '0.108';
37
33
 
38
34
=head1 NAME
39
35
 
41
37
 
42
38
=head1 SYNOPSIS
43
39
 
44
 
  # use with Augeas
45
 
  $model->create_config_class 
46
 
  (
 
40
  # model specification with augeas backend
 
41
  {
47
42
   config_class_name => 'OpenSsh::Sshd',
48
43
 
49
44
   # try Augeas and fall-back with custom method
60
55
 
61
56
 
62
57
   element => ...
63
 
  ) ;
 
58
  }
64
59
 
65
60
=head1 DESCRIPTION
66
61
 
206
201
 
207
202
Sometimes, the structure of a file loaded by Augeas starts directly
208
203
with a list of items. For instance C</etc/hosts> structure starts with
209
 
a list of lines that specify hosts and IP adresses. The C<set_in>
 
204
a list of lines that specify hosts and IP addresses. The C<set_in>
210
205
parameter specifies an element name in Config::Model root class that
211
206
will hold the configuration data retrieved by Augeas.
212
207
 
783
778
 
784
779
=head1 COPYRIGHT
785
780
 
786
 
Copyright (C) 2008-2009 by Dominique Dumont
 
781
Copyright (C) 2008-2010 by Dominique Dumont
787
782
 
788
783
=head1 LICENSE
789
784