Changeset 1525 for trunk/LATMOS-Accounts/lib/LATMOS/Accounts
- Timestamp:
- 12/22/15 18:02:30 (9 years ago)
- Location:
- trunk/LATMOS-Accounts/lib/LATMOS/Accounts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Netzone.pm
r1461 r1525 50 50 get => sub { 51 51 $_[0]->object->_get_c_field('output') || 52 $_[0]->object->id52 ($_[0]->object->id . (($_[0]->object->get_attributes('type') || '') eq 'puppet' ? '.pp' : '')) 53 53 }, 54 54 }, -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Buildnet.pm
r1249 r1525 817 817 $output .= "# End of data from database\n"; 818 818 my $file = $self->_output_file($ozone); 819 $file =~ s/(\.pp)?$/\.pp/; # adding .pp extension if not existing820 819 if (open(my $handle, '>', $file)) { 821 820 print $handle $output;
Note: See TracChangeset
for help on using the changeset viewer.