-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(node/hexrot) add conda install ts_m2gui
- Loading branch information
Showing
4 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# @summary | ||
# Sets up repos and symlinks for hexrot | ||
|
||
class profile::ts::hexrot { | ||
vcsrepo { '/opt/ts_config_mttcs': | ||
ensure => present, | ||
provider => git, | ||
source => 'https://github.com/lsst-ts/ts_config_mttcs.git', | ||
revision => 'develop', | ||
keep_local_changes => false, | ||
} | ||
file { '/etc/profile.d/hexrot_path.sh': | ||
ensure => file, | ||
mode => '0644', | ||
# lint:ignore:strict_indent | ||
content => @(ENV), | ||
export QT_API="PySide2" | ||
export PYTEST_QT_API="PySide2" | ||
export TS_CONFIG_MTTCS_DIR="/opt/ts_config_mttcs" | ||
| ENV | ||
# lint:endignore | ||
require => Vcsrepo['/opt/ts_config_mttcs'], | ||
} | ||
file { '/rubin/mtm2/python': | ||
ensure => directory, | ||
owner => 73006, | ||
group => 73006, | ||
} | ||
file { '/rubin/mtm2/python/run_m2gui': | ||
ensure => link, | ||
owner => 73006, | ||
group => 73006, | ||
target => '/opt/anaconda/envs/py311/bin/run_m2gui', | ||
} | ||
file { ['/rubin/rotator', '/rubin/hexapod', '/rubin/mtm2']: | ||
ensure => directory, | ||
owner => 73006, | ||
group => 73006, | ||
recurse => true, | ||
} | ||
file { ['/rubin/rotator/log', '/rubin/hexapod/log', '/rubin/mtm2/log']: | ||
ensure => directory, | ||
mode => '0775', | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters