[root@centos53 tmp]# rpm -ivh ctier-client-3.4.9-1.noarch.rpm
Preparing... ########################################### [100%]
Locking password for user ctier.
passwd: Success
1:ctier-client ########################################### [100%]
[root@centos53 ctier]# diff ctierrc.orig ctierrc
8c8
< # export CTL_BASE=/path/to/ctl/base
---
> export CTL_BASE=/opt/ctier/ctl
[root@centos53 ~]# su - ctier
awk: cmd. line:1: fatal: cannot open file `/opt/ctier/ctl/etc/framework.properties' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/opt/ctier/ctl/etc/framework.properties' for reading (No such file or directory)
[ctier@centos53 ~]$ export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
[ctier@centos53 ~]$ ctl-setup -n centos53 -N centos53 -s macosx
Using server hostname: macosx
.
.
.
post-setup:
[echo] Commander extension post-setup completed.
Setup build successful.
[ctier@centos53 depots]$ ctl-depot -p Development -a create
Project depot structure created: /opt/ctier/ctl/depots/Development
Invoking external setup script: /opt/ctier/pkgs/ctl-1.4.9/bin/commander-depotsetup.xml
Beginning client setup ...
Running CTL depot setup: /opt/ctier/pkgs/ctl-1.4.9/lib/ant/controllers/ctl/depotsetupCmd.xml ...
Trying to override old definition of task document-property
CTL depot setup procedure completed.
Beginning node registration ...
Registering centos53[Node] with ctl.base: /opt/ctier/ctl, ctl.home: /opt/ctier/pkgs/ctl-1.4.9 ...
Registered node "centos53" with Workbench @ http://macosx:8080/itnav
Completed client setup. Node centos53 registered in project: "Development".
[user2@centos53 ~]$ id
uid=505(user2) gid=505(user2) groups=102(ctier),505(user2) context=user_u:system_r:unconfined_t
[user2@centos53 ~]$ cat .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
if [ -f /opt/ctier/ctierrc ]; then
. /opt/ctier/ctierrc
else
echo /opt/ctier/ctierrc not found 1>&2
fi
[user2@centos53 ~]$ ctl-depot -p Development -a install
"Install" command running for object: elements[ProjectBuilder]
[user3@centos53 ~]$ id
uid=506(user3) gid=506(user3) groups=102(ctier),506(user3) context=user_u:system_r:unconfined_t
[user3@centos53 ~]$ cat .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
export CTL_BASE=/home/user3/ctier/ctl
if [ -f /opt/ctier/ctierrc ]; then
. /opt/ctier/ctierrc
else
echo /opt/ctier/ctierrc not found 1>&2
fi
[anthony@centos53 ~]$ su - user3
Password:
awk: cmd. line:1: fatal: cannot open file `/home/user3/ctier/ctl/etc/framework.properties' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/home/user3/ctier/ctl/etc/framework.properties' for reading (No such file or directory)
[user3@centos53 ~]$ export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
[user3@centos53 ~]$ ctl-setup -n user3.centos53 -N centos53 -s macosx
Using server hostname: macosx
ERROR: failed generating setup preferenes: /home/user3/ctier/ctl does not exist and cannot be created
[user3@centos53 ~]$ mkdir -p /home/user3/ctier/ctl
[user3@centos53 ~]$ ctl-setup -n user3.centos53 -N centos53 -s macosx
Using server hostname: macosx
upgradeModuleLibdirs:
inquire-properties-regenerate:
.
.
.
post-setup:
[echo] Commander extension post-setup completed.
Setup build successful.
[user3@centos53 ~]$ ctl-depot -p Development -a create
Project depot structure created: /home/user3/ctier/ctl/depots/Development
Invoking external setup script: /opt/ctier/pkgs/ctl-1.4.9/bin/commander-depotsetup.xml
Beginning client setup ...
Running CTL depot setup: /opt/ctier/pkgs/ctl-1.4.9/lib/ant/controllers/ctl/depotsetupCmd.xml ...
Trying to override old definition of task document-property
CTL depot setup procedure completed.
Beginning node registration ...
Registering user3.centos53[Node] with ctl.base: /home/user3/ctier/ctl, ctl.home: /opt/ctier/pkgs/ctl-1.4.9 ...
Registered node "user3.centos53" with Workbench @ http://macosx:8080/itnav
Completed client setup. Node user3.centos53 registered in project: "Development".
[user3@centos53 ~]$ ctl-depot -p Development -a install
"Install" command running for object: elements[ProjectBuilder]
Anthonys-MacBook-Pro:Downloads anthony$ ls -l ctier-client-3.4.9-1.noarch.rpm
-rw-r--r--@ 1 anthony anthony 47078112 Nov 10 10:06 ctier-client-3.4.9-1.noarch.rpm
[root@centos53 ~]# su - ctier
awk: cmd. line:1: fatal: cannot open file `/etc/framework.properties' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/etc/framework.properties' for reading (No such file or directory)
[ctier@centos53 ~]$ diff etc/ctierrc etc/ctierrc.orig
8,10c8
< if [ -z "$CTL_BASE" ] ; then
< export CTL_BASE=/opt/ctier/ctl
< fi
---
> # export CTL_BASE=/path/to/ctl/base
[ctier@centos53 ~]$ export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
[ctier@centos53 ~]$ ctl-setup -n centos53 -N centos53 -s macosx
Using server hostname: macosx
.
.
.
Setup build successful.
And I agree ... "the bash_completion should just exit quietly if those files are not found"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "ControlTier" group.
To post to this group, send email to contr...@googlegroups.com
To unsubscribe from this group, send email to controltier...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/controltier?hl=en
http://wiki.controltier.org
-~----------~----~----~----~------~----~------~--~---
Anthony Shortland[ Professional Services | DTO Solutions, Inc. | mobile: 650.215.3117 aim: anthony....@me.com yahoo: anthony.shortland irc.freenode.net: #controltier skype: anthony.shortland ]ControlTier Software Inc. is now DTO Solutions Inc. The ControlTier open source project remains: http://www.controltier.org