Skip to content

Commit

Permalink
Rename scitag variable in scitag_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Bassi committed Oct 17, 2024
1 parent dede27c commit e47ada0
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion data/webdav-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ storm::webdav::voms_trust_store_dir: '/etc/grid-security/vomsdir'
storm::webdav::voms_trust_store_refresh_interval_sec: 43200
storm::webdav::voms_cache_enabled: true
storm::webdav::voms_cache_entry_lifetime_sec: 300
storm::webdav::scitag: false
storm::webdav::scitag_enabled: false
2 changes: 1 addition & 1 deletion manifests/webdav.pp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@

String $tape_wellknown_source,

Boolean $scitag,
Boolean $scitag_enabled,

) {
contain storm::webdav::install
Expand Down
2 changes: 1 addition & 1 deletion manifests/webdav/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
notice('Empty storage area list. No storage area has been defined and initialized.')
}

if $storm::webdav::scitag {
if $storm::webdav::scitag_enabled {
file { '/etc/flowd/flowd.cfg' :
ensure => file,
owner => 'root',
Expand Down
2 changes: 1 addition & 1 deletion manifests/webdav/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package { 'storm-webdav':
ensure => '>=1.4.2',
}
if $storm::webdav::scitag {
if $storm::webdav::scitag_enabled {
$el = $facts['os']['distro']['release']['major']
yumrepo { 'scitags-repo':
ensure => present,
Expand Down
2 changes: 1 addition & 1 deletion manifests/webdav/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ensure => running,
enable => true,
}
if $storm::webdav::scitag {
if $storm::webdav::scitag_enabled {
service { 'flowd':
ensure => running,
enable => true,
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/storm/storm_webdav_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let(:pre_condition) do
<<-EOF
class { 'storm::webdav':
scitag => false,
scitag_enabled => false,
}
EOF
end
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/storm/storm_webdav_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'include storm::webdav::install'
<<-EOF
class { 'storm::webdav':
scitag => false,
scitag_enabled => false,
}
EOF
end
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/storm/storm_webdav_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
'voms_cache_enabled' => false,
'voms_cache_entry_lifetime_sec' => 301,

'scitag' => false,
'scitag_enabled' => false,
}
end

Expand Down Expand Up @@ -308,7 +308,7 @@
context 'Check deployment with SciTag support' do
let(:params) do
{
'scitag' => true,
'scitag_enabled' => true,
}
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ Environment="STORM_WEBDAV_VOMS_CACHE_ENTRY_LIFETIME_SEC=<%=scope.lookupvar('stor

# Enable SciTags support
# Default: false
Environment="STORM_WEBDAV_SCITAG_ENABLED=<%=scope.lookupvar('storm::webdav::scitag')%>"
Environment="STORM_WEBDAV_SCITAG_ENABLED=<%=scope.lookupvar('storm::webdav::scitag_enabled')%>"

0 comments on commit e47ada0

Please sign in to comment.