Skip to content

Commit

Permalink
(role/hexrot) fix nexus packages for hexrot
Browse files Browse the repository at this point in the history
  • Loading branch information
cbarria committed Dec 2, 2024
1 parent 163fb55 commit 182c66f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion hieradata/role/hexrot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ files:
subscribe:
- "Package[runHexEui]"
- "Package[runRotEui]"
- "Package[runM2Cntlr]"

# / on hexrot.cp was formated with xfs fstype=0 (long, long, long ago) and is
# not compatible with overlayfs[2]
Expand Down
2 changes: 1 addition & 1 deletion site/profile/data/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ profile::ts::nexusctio::repos:
ensure: "present"
descr: "CTIO Nexus Repository"
enabled: false
baseurl: "http://cagvm3.ctio.noao.edu/nexus/repository/labview-rpm/rubin/"
baseurl: "https://repo-nexus.lsst.org/nexus/repository/ts_yum/releases"
gpgcheck: false
target: "/etc/yum.repos.d/nexus-ctio.repo"
"gpgrubin":
Expand Down
4 changes: 0 additions & 4 deletions site/profile/manifests/core/ni_packages.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
$hexrot_packages = [
'runHexEui',
'runRotEui',
'runM2Cntlr',
]
$packages = [
'git',
Expand All @@ -28,7 +27,4 @@
install_options => ['--enablerepo','nexus-ctio'];
}
ensure_packages($packages)
host { 'cagvm3.ctio.noao.edu':
ip => '139.229.3.76',
}
}
2 changes: 1 addition & 1 deletion spec/support/spec/nexusctio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
shared_examples 'nexusctio' do
it do
is_expected.to contain_yumrepo('nexus-ctio').with(
'baseurl' => 'http://cagvm3.ctio.noao.edu/nexus/repository/labview-rpm/rubin/',
'baseurl' => 'https://repo-nexus.lsst.org/nexus/repository/ts_yum/releases',
'gpgcheck' => false
)
end
Expand Down
3 changes: 0 additions & 3 deletions spec/support/spec/ni_packages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
all_packages = [
'runHexEui',
'runRotEui',
'runM2Cntlr',
'git',
'mlocate',
'wget',
Expand All @@ -24,6 +23,4 @@
all_packages.each do |pkg|
it { is_expected.to contain_package(pkg) }
end

it { is_expected.to contain_host('cagvm3.ctio.noao.edu').with(ip: '139.229.3.76') }
end

0 comments on commit 182c66f

Please sign in to comment.