File tree Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ The following parameters are available in the `ccs_sal` class:
35
35
* [ ` kafka_sasl_username ` ] ( #-ccs_sal--kafka_sasl_username )
36
36
* [ ` kafka_sasl_password ` ] ( #-ccs_sal--kafka_sasl_password )
37
37
* [ ` kafka_templates_directory ` ] ( #-ccs_sal--kafka_templates_directory )
38
+ * [ ` lfa ` ] ( #-ccs_sal--lfa )
38
39
* [ ` prefix_service ` ] ( #-ccs_sal--prefix_service )
39
40
* [ ` rpm_repo ` ] ( #-ccs_sal--rpm_repo )
40
41
* [ ` rpm_requirements ` ] ( #-ccs_sal--rpm_requirements )
@@ -155,6 +156,15 @@ String giving location of templates directory
155
156
156
157
Default value: ` '/home/tonyj/avro-templates' `
157
158
159
+ ##### <a name =" -ccs_sal--lfa " ></a >` lfa `
160
+
161
+ Data type: ` Hash `
162
+
163
+ Hash of properties (id, secret, endpoint, bucket) for large file
164
+ annex (lfa) configuration.
165
+
166
+ Default value: ` {} `
167
+
158
168
##### <a name =" -ccs_sal--prefix_service " ></a >` prefix_service `
159
169
160
170
Data type: ` Boolean `
Original file line number Diff line number Diff line change 103
103
mode => ' 0644' ,
104
104
}
105
105
}
106
+
107
+ $lfa = $ccs_sal::lfa
108
+
109
+ unless empty($lfa ) {
110
+ file { "${dir}/lfa.properties" :
111
+ ensure => file ,
112
+ owner => ' ccs' ,
113
+ group => ' ccsadm' ,
114
+ mode => ' 0660' ,
115
+ content => epp(" ${ptitle} /lfa.epp" , $lfa ),
116
+ }
117
+ }
106
118
}
Original file line number Diff line number Diff line change 31
31
# String giving SASL password
32
32
# @param kafka_templates_directory
33
33
# String giving location of templates directory
34
+ # @param lfa
35
+ # Hash of properties (id, secret, endpoint, bucket) for large file
36
+ # annex (lfa) configuration.
34
37
# @param prefix_service
35
38
# Boolean; if false do not prefix systemctl services with the instrument.
36
39
# Also applies to the .app files in /etc/ccs.
63
66
String $kafka_sasl_password = ' password' ,
64
67
String $kafka_sasl_username = ' username' ,
65
68
String $kafka_templates_directory = ' /home/tonyj/avro-templates' , # FIXME
69
+ Hash $lfa = {},
66
70
Boolean $prefix_service = true ,
67
71
# # Old: http://www.slac.stanford.edu/~gmorris/lsst/pkgarchive
68
72
String $rpm_repo = ' https://repo-nexus.lsst.org/nexus/repository/ts_yum/releases' ,
Original file line number Diff line number Diff line change
1
+ <%- | Variant[Sensitive[String],String] $id,
2
+ Variant[Sensitive[String],String] $secret,
3
+ String $endpoint,
4
+ String $bucket,
5
+ | -%>
6
+ # This file is managed by Puppet; changes may be overwritten.
7
+ id: <%= $id %>
8
+ secret: <%= $secret %>
9
+ endpoint: <%= $endpoint %>
10
+ bucket: <%= $bucket %>
You can’t perform that action at this time.
0 commit comments