view release on metacpan or search on metacpan
cookbook/recipes/default.rb view on Meta::CPAN
# limitations under the License.
#
r = remote_directory "/tmp/perl_recipes" do
source "perl_recipes"
files_backup 0
files_mode "0644"
action :nothing # We don't want to do anything with this resource at run time
end
# We want this resource to run at compile time, not at execution time.
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
\bBuild.bat$
\bBuild.COM$
\bBUILD.COM$
\bbuild.com$
# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$
view all matches for this distribution
view release on metacpan or search on metacpan
demos/copy-card/README view on Meta::CPAN
This is a simple tool for making backups of memory cards.
Run with parameter --help for details.
view all matches for this distribution
view release on metacpan or search on metacpan
CopyConfig.pm view on Meta::CPAN
access-list 10 permit host 10.0.1.3
access-list 10 deny any
!
snmp-server tftp-server-list 10
snmp-server view backup ciscoMgmt.96.1.1.1.1 included
snmp-server community public view backup RW 10
end
=head1 METHODS
=over 8
view all matches for this distribution
view release on metacpan or search on metacpan
plot-route.pl view on Meta::CPAN
This graph shows only the active routes from $from to $to
</p>
<p>
It does not include '<i>feasible succesors</i>' or '<i>inactive</i>'
backup links (eg BRI interface on branch routers).
</p>
<img src="http://www/customer/routegraphs/$name.png" border="1" vspace="1"
hspace="1" alt="active routes from $from to $to" align="left">
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Cisco/UCS.pm view on Meta::CPAN
class => 'Cisco::UCS::Chassis',
attr => 'chassis'
);
}
sub full_state_backup {
my ( $self, %args ) = @_;
$args{backup_type} = 'full-state';
return ( $self->_backup( %args ) );
}
sub all_config_backup {
my ( $self, %args ) = @_;
$args{backup_type} = 'config-all';
return ( $self->_backup( %args ) );
}
sub system_config_backup {
my ( $self, %args ) = @_;
$args{backup_type} = 'config-system';
return ( $self->_backup( %args ) );
}
sub logical_config_backup {
my ( $self, %args ) = @_;
$args{backup_type} = 'config-logical';
return ( $self->_backup( %args ) );
}
sub _backup {
my ( $self, %args ) = @_;
unless( defined $args{backup_type} and
defined $args{backup_proto} and
defined $args{backup_host} and
defined $args{backup_target} and
defined $args{backup_passwd} and
defined $args{backup_username} )
{
$self->{error} = 'Bad argument list';
return
}
lib/Cisco/UCS.pm view on Meta::CPAN
defined $args{preserve_pooled_values}
? $args{preserve_pooled_values}
: 'yes'
);
unless ( $args{backup_type} =~ /(config-all|full-state|config-system|config-logical)/i ) {
$self->{error} = "Bad backup type ($args{backup_type})";
return
}
unless ( $args{backup_proto} =~ /^((t|s)?ftp)|(scp)$/i ) {
$self->{error} = "Bad backup proto' ($args{backup_proto})";
return
}
my $address = $self->get_cluster_status->{address};
lib/Cisco/UCS.pm view on Meta::CPAN
<configConfMos cookie="$self->{cookie}" inHierarchical="false">
<inConfigs>
<pair key="sys">
<topSystem address="$address" dn="sys" name="$self->{cluster}">
<mgmtBackup adminState="$args{admin_state}" descr="" preservePooledValues="$args{preserve_pooled_values}"
proto="$args{backup_proto}" pwd="$args{backup_passwd}" remoteFile="$args{backup_target}"
rn="backup-$args{backup_host}" type="$args{backup_type}"
user="$args{backup_username}" policyOwner="local">
</mgmtBackup>
</topSystem>
</pair>
</inConfigs>
</configConfMos>
lib/Cisco/UCS.pm view on Meta::CPAN
present within the cluster.
Note that this method is named get_chassiss (spelt with two sets of double-s's)
as there exists no English language collective plural for the word chassis.
=head3 full_state_backup
This method generates a new "full state" type backup for the target UCS
cluster. Internally, this method is implemented as a wrapper method around the
private backup method. Required parameters for this method:
=over 3
=item backup_proto
The protocol to use for transferring the backup from the target UCS cluster to
the backup host. Must be one of: ftp, tftp, scp or sftp.
=item backup_host
The host to which the backup will be transferred.
=item backup_target
The fully qualified name of the file to which the backup is to be saved on the
backup host. This should include the full directory path and the target
filename.
=item backup_username
The username to be used for creation of the backup file on the backup host.
This username should have write/modify file system access to the backup target
location on the backup host using the protocol specified in the backup-proto
attribute.
=item backup_passwd
The plaintext password of the user specified for the backup_username attribute.
=back
=head3 all_config_backup
This method generates a new "all configuration" backup for the target UCS
cluster. Internally, this method is implemented as a wrapper method around the
private backup method. For the required parameters for this method, please
refer to the documentation of the B<full_state_backup> method.
=head3 system_config_backup
This method generates a new "system configuration" backup for the target UCS
cluster. Internally, this method is implemented as a wrapper method around the
private backup method. For the required parameters for this method, please
refer to the documentation of the B<full_state_backup> method.
=head3 logical_config_backup
This method generates a new "logical configuration" backup for the target UCS
cluster. Internally, this method is implemented as a wrapper method around the
private backup method. For the required parameters for this method, please
refer to the documentation of the B<full_state_backup> method.
=head1 NOTES
=head2 Caching Methods
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
CPAN.SKIP
t/000_standard__*
Debian_CPANTS.txt
nytprof.out
# Temp, old, emacs, vim, backup files.
~$
\.old$
\.swp$
\.tar$
\.tar\.gz$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
CPAN.SKIP
t/000_standard__*
Debian_CPANTS.txt
nytprof.out
# Temp, old, emacs, vim, backup files.
~$
\.old$
\.swp$
\.tar$
\.tar\.gz$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
CPAN.SKIP
t/000_standard__*
Debian_CPANTS.txt
nytprof.out
# Temp, old, emacs, vim, backup files.
~$
\.old$
\.swp$
\.tar$
\.tar\.gz$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
CPAN.SKIP
t/000_standard__*
Debian_CPANTS.txt
nytprof.out
# Temp, old, emacs, vim, backup files.
~$
\.old$
\.swp$
\.tar$
\.tar\.gz$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
\bBuild.bat$
\bBuild.COM$
\bBUILD.COM$
\bbuild.com$
# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Autouse.pm view on Meta::CPAN
# Storage for dynamic loaders (regular and sugar)
@LOADERS = ();
@SUGAR = ();
# We play with UNIVERSAL:: functions, so save backup copies
$ORIGINAL_CAN = \&UNIVERSAL::can;
$ORIGINAL_ISA = \&UNIVERSAL::isa;
}
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
# Avoid temp and backup files.
~$
\.gz$
\.old$
\.bak$
\.swp$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
# Avoid temp and backup files.
~$
\.gz$
\.old$
\.bak$
\.swp$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
# Avoid temp and backup files.
~$
\.gz$
\.old$
\.bak$
\.swp$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
# Avoid temp and backup files.
~$
\.gz$
\.old$
\.bak$
\.swp$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
# Avoid temp and backup files.
~$
\.gz$
\.old$
\.bak$
\.swp$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
\bBuild$
\b_build
Build.PL
Build.bat
# Avoid temp and backup files.
~$
\.gz$
\.old$
\.bak$
\.swp$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
# Avoid temp and backup files.
~$
\.gz$
\.old$
\.bak$
\.swp$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
CPAN.SKIP
t/000_standard__*
Debian_CPANTS.txt
nytprof.out
# Temp, old, emacs, vim, backup files.
~$
\.old$
\.swp$
\.tar$
\.tar\.gz$
view all matches for this distribution
view release on metacpan or search on metacpan
av_tindex||5.017009|
av_top_index||5.017009|
av_undef|||
av_unshift|||
ax|||n
backup_one_LB|||
backup_one_SB|||
backup_one_WB|||
bad_type_gv|||
bad_type_pv|||
bind_match|||
block_end||5.004000|
block_gimme||5.004000|
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
CPAN.SKIP
t/000_standard__*
Debian_CPANTS.txt
nytprof.out
# Temp, old, emacs, vim, backup files.
~$
\.old$
\.swp$
\.tar$
\.tar\.gz$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build/
# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
CPAN.SKIP
t/000_standard__*
Debian_CPANTS.txt
nytprof.out
# Temp, old, emacs, vim, backup files.
~$
\.old$
\.swp$
\.tar$
\.tar\.gz$
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Scaffold/Log.pm view on Meta::CPAN
$format = sprintf "(%08d) %s", $$, $format if $self->pid;
$format = sprintf "%s %s", $self->logdate, $format if $self->timestamp;
my $msg = sprintf $format => @args;
# Open and close the file for each line that is logged. That doesn't cost
# much and makes it possible to move the file away for backup, rotation
# or whatver.
my $fh;
if ($self->delegate->test_mode) {
print $msg;
} elsif (defined($self->filename) && length($self->filename)) {
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
\bBuild.bat$
\bBuild.COM$
\bBUILD.COM$
\bbuild.com$
# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
\bBuild.bat$
\bBuild.COM$
\bBUILD.COM$
\bbuild.com$
# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Std/Storable.pm view on Meta::CPAN
my @return_attrs = $old_sub->(@_);
for my $attr (@attrs) {
next if $attr !~ m/\A ATTRS? \s* (?:[(] (.*) [)] )? \z/xms;
my $name;
#we have a backup if no name is given for the attribute.
$positional_arg_of{$package} ||= "__Positional_0001";
#but we would prefer to know the argument as the class does.
if (my $config = $1) {
$name = Class::Std::_extract_init_arg($config)
|| Class::Std::_extract_get($config)
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
# Avoid temp and backup files.
~$
\.tmp$
\.old$
\.bak$
\#$
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP view on Meta::CPAN
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build/
# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$
view all matches for this distribution