Skip to content

Commit

Permalink
feature(maintenance): update pod
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Aug 17, 2018
1 parent 38cb0ad commit b67b8b4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
19 changes: 18 additions & 1 deletion lib/FusionInventory/Agent/Task/Deploy/Maintenance.pm
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,23 @@ This module provides the Maintenance run function to cleanup Deploy environment.
=head1 FUNCTIONS
=head2 doMaintenance ( $class, %params )
=head2 new(%params)
The constructor. The following parameters are allowed, as keys of the %params
hash:
=over
=item I<logger>
the logger object to use (default: a new stderr logger)
=item I<config>
=item I<target>
=back
=head2 doMaintenance()
Cleanup the deploy datastore associated with the target.
4 changes: 2 additions & 2 deletions lib/FusionInventory/Agent/Task/Maintenance.pm
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ and safe.
=head1 FUNCTIONS
=head2 isEnabled ( $self )
=head2 isEnabled()
Lookup for a Maintenance module for each target enabled tasks.
Returns true if the task should be finally enabled.
=head2 run ( $self )
=head2 run()
Run the Maintenance task by calling each doMaintenance() API from each
task Maintenance found modules.

0 comments on commit b67b8b4

Please sign in to comment.