Skip to content

Commit de4a434

Browse files
committed
prepare for publishing
1 parent e8a6e20 commit de4a434

File tree

8 files changed

+14
-469
lines changed

8 files changed

+14
-469
lines changed

LICENSE

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2020 King's College London
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ There are some exceptions:
4141

4242
## Limitations
4343

44-
This has been tested using InfluxDB 1.78 which was current as of October 2019.
44+
This has been tested using InfluxDB 1.78 which was current as of October 2019. Not all configuration options have been templated.
4545

4646
## Development
4747

48-
Pull requests are accepted on [GitHub](https://github.com/xandm/puppet-influxdb).
49-
50-
48+
Pull requests are accepted on [GitHub](https://github.com/kcl-nmssys/puppet-influxdb).

manifests/config.pp

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
}
3434

3535
if $facts['os']['family'] == 'Debian' {
36+
# TODO: convert to ruby
3637
exec {
3738
'Add influxdb to ssl-cert group':
3839
user => 'root',

manifests/database.pp

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
$influx_cmd = 'influx'
1414
}
1515

16+
# TODO: convert to ruby
1617
exec {
1718
"Create InfluxDB database ${database}":
1819
user => 'root',

manifests/grant.pp

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
$influx_cmd = 'influx'
2323
}
2424

25+
# TODO: convert to ruby
2526
if $ensure == 'present' {
2627
exec {
2728
"Grant InfluxDB user ${username} access to ${database}":

manifests/init.pp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Main class for influxdb
22
#
3-
# @param manage_repo
4-
# Whether to manage yum/apt repo
3+
# Most settings here relate to the config file, influxdb.conf.erb
54

65
class influxdb (
76
Boolean $manage_repo,

manifests/user.pp

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
$admin_privs = ''
2828
}
2929

30+
# TODO: convert to ruby
3031
exec {
3132
"Create InfluxDB user ${username}":
3233
user => 'root',

templates/influxdb.conf.erb

-463
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)