Skip to content

Commit

Permalink
bump default daqsdk version to R5-V10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jul 31, 2024
1 parent 59f79f0 commit b199312
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Data type: `String`

DAQ SDK relase version string

Default value: `'R5-V3.2'`
Default value: `'R5-V10.3'`

##### <a name="-daq--daqsdk--purge"></a>`purge`

Expand Down
2 changes: 1 addition & 1 deletion manifests/daqsdk.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#
class daq::daqsdk (
Stdlib::HTTPUrl $repo_url = 'https://repo-nexus.lsst.org/nexus/repository/daq/daq-sdk',
String $version = 'R5-V3.2',
String $version = 'R5-V10.3',
Boolean $purge = false,
) {
require daq
Expand Down
16 changes: 8 additions & 8 deletions spec/acceptance/daqsdk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
%w[
/opt/lsst/daq-sdk
/opt/lsst/daq-sdk/dl
/opt/lsst/daq-sdk/R5-V3.2
/opt/lsst/daq-sdk/R5-V3.2/alinux
/opt/lsst/daq-sdk/R5-V3.2/examples
/opt/lsst/daq-sdk/R5-V3.2/include
/opt/lsst/daq-sdk/R5-V3.2/rtems
/opt/lsst/daq-sdk/R5-V3.2/x86
/opt/lsst/daq-sdk/R5-V10.3
/opt/lsst/daq-sdk/R5-V10.3/alinux
/opt/lsst/daq-sdk/R5-V10.3/examples
/opt/lsst/daq-sdk/R5-V10.3/include
/opt/lsst/daq-sdk/R5-V10.3/rtems
/opt/lsst/daq-sdk/R5-V10.3/x86
].each do |dir|
describe file(dir) do
it { is_expected.to be_directory }
Expand All @@ -31,12 +31,12 @@

describe file('/opt/lsst/daq-sdk/current') do
it { is_expected.to be_symlink }
it { is_expected.to be_linked_to 'R5-V3.2' }
it { is_expected.to be_linked_to 'R5-V10.3' }
it { is_expected.to be_owned_by 'root' }
it { is_expected.to be_grouped_into 'root' }
end

describe file('/opt/lsst/daq-sdk/dl/R5-V3.2.tgz') do
describe file('/opt/lsst/daq-sdk/dl/R5-V10.3.tgz') do
it { is_expected.to be_file }
it { is_expected.to be_owned_by 'root' }
it { is_expected.to be_grouped_into 'root' }
Expand Down
10 changes: 5 additions & 5 deletions spec/classes/daqsdk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
end

it do
is_expected.to contain_archive('/opt/lsst/daq-sdk/dl/R5-V3.2.tgz').with(
source: 'https://repo-nexus.lsst.org/nexus/repository/daq/daq-sdk/R5-V3.2.tgz'
is_expected.to contain_archive('/opt/lsst/daq-sdk/dl/R5-V10.3.tgz').with(
source: 'https://repo-nexus.lsst.org/nexus/repository/daq/daq-sdk/R5-V10.3.tgz'
)
end

it do
is_expected.to contain_file('/opt/lsst/daq-sdk/dl/R5-V3.2.tgz').with(
is_expected.to contain_file('/opt/lsst/daq-sdk/dl/R5-V10.3.tgz').with(
ensure: 'file',
mode: '0644',
owner: 'root',
Expand All @@ -49,7 +49,7 @@
end

it do
is_expected.to contain_file('/opt/lsst/daq-sdk/R5-V3.2').with(
is_expected.to contain_file('/opt/lsst/daq-sdk/R5-V10.3').with(
owner: 'root',
group: 'root',
recurse: true
Expand All @@ -61,7 +61,7 @@
ensure: 'link',
owner: 'root',
group: 'root',
target: 'R5-V3.2'
target: 'R5-V10.3'
)
end
end
Expand Down

0 comments on commit b199312

Please sign in to comment.