Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion manifests/profile/hathitrust/solr6.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
String $heap = '16G',
String $timezone = 'America/Detroit',
String $solr_bin = '/opt/solr/bin/solr',
String $nfs_options = 'auto,hard',
) {
include nebula::profile::hathitrust::networking
include nebula::profile::hathitrust::hosts
Expand All @@ -36,7 +37,7 @@
'/htsolr/serve':;
}
nebula::nfs_mount { '/htapps':
options => 'auto,hard',
options => $nfs_options,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
options => $nfs_options,
options => 'auto,hard',

Revert this. No need for custom opts here.

remote_target => 'truenas:/mnt/tank/htapps',
private_network => true
}
Expand Down
3 changes: 2 additions & 1 deletion manifests/profile/hathitrust/solr6/catalog.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
String $release_flag_prefix = lookup('nebula::profile::hathitrust::solr6::release_flag_prefix', default_value => ''),
String $mirror_site_ip = lookup('nebula::profile::hathitrust::solr6::mirror_site_ip'),
String $mail_recipient = lookup('nebula::profile::hathitrust::solr6::mail_recipient'),
String $nfs_options = 'auto,hard',
) {
class { 'nebula::profile::hathitrust::solr6':
port => $port,
Expand All @@ -20,7 +21,7 @@

# solr nfs mounts
nebula::nfs_mount { '/htsolr/catalog':
options => 'auto,hard',
options => $nfs_options,
private_network => true,
before => Service['solr'],
remote_target => 'truenas:/mnt/tank/htsolr/catalog',
Expand Down
3 changes: 2 additions & 1 deletion manifests/profile/hathitrust/solr6/lss.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
String $release_flag_prefix = lookup('nebula::profile::hathitrust::solr6::release_flag_prefix', default_value => ''),
String $mirror_site_ip = lookup('nebula::profile::hathitrust::solr6::mirror_site_ip'),
String $mail_recipient = lookup('nebula::profile::hathitrust::solr6::mail_recipient'),
String $nfs_options = 'auto,hard',
) {
class { 'nebula::profile::hathitrust::solr6':
port => $port,
Expand All @@ -22,7 +23,7 @@

# solr nfs mounts
nebula::nfs_mount { '/htsolr/lss':
options => 'auto,hard',
options => $nfs_options,
private_network => true,
before => Service['solr'],
remote_target => 'truenas:/mnt/tank/htsolr/lss';
Expand Down