Changeset 63 for devel/dploy-dhcp


Ignore:
Timestamp:
06/05/08 16:23:10 (4 years ago)
Author:
bruno
Message:

Save current state of art :-) remains to do is the conf file for Apache with dploy-dhcp. focus on post install deloyment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/dploy-dhcp/bin/dploy-dhcp-post

    r62 r63  
    88use strict; 
    99use ProjectBuilder::Base; 
     10use ProjectBuilder::Conf; 
    1011 
    1112=pod 
     
    5455my ($login,$pass,$uid,$gid,$gecos,$dir,$shell) = getpwnam($user) or die "$user not in passwd file"; 
    5556 
    56 chown 0,$gid,"/etc/dhcpd.conf"; 
    57 chmod 0644,"/etc/dhcpd.conf"; 
     57pb_conf_add("PBCONF/dploy.conf"); 
     58my ($pathdhcp) = pb_conf_get("pathdhcp"); 
     59 
     60chown 0,$gid,$pathdhcp->{$ENV{'PBPROJ'}}; 
     61chmod 0644,$pathdhcp->{$ENV{'PBPROJ'}}; 
    5862 
    5963# Include dploy in sudoers 
Note: See TracChangeset for help on using the changeset viewer.