You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+76-63Lines changed: 76 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,100 +3,113 @@ CHANGELOG
3
3
Chef-Bareos Cookbook
4
4
--------------------
5
5
6
-
3.0.2
6
+
3.0.3
7
7
-----
8
-
- Ian Smith
8
+
#### Ian Smith
9
+
* Decided to change who owned all of the graphite_plugin bits
10
+
1. Bareos plugin still seems to have some debugging code that will not only PRINT your password to the command line if done by hand, but will also EMAIL your main director password to whatever account owns, say, a cronjob (i.e. root). Seems like a security flaw? I submitted bugfix bareos/bareos-contrib/#14 to address this issue, waiting for merge. If you need an immediate fixed source, use my GitBytes/bareos-contrib fork. Sorry about that..
11
+
1. Pretty much wherever root was, I changed to bareos in the plugin recipe.
12
+
* Cleanup README and CHANGELOG raw syntax for GitHub and Supermarket rendering
13
+
* Add new chefspec/rspec unit tests, cleanup existing tests
14
+
1. Removed unused `.rspec` config file
15
+
1. Removed `repo_spec` test, never quite worked right
16
+
1. Added `:documentation` and `color` output to chefspec/rspec testing
17
+
1. Added `graphite_plugin_spec` test
18
+
1. Condensed and cleaned up `default_spec` test, tests both the `repo` and `client` recipes on top of the implied `default` recipe
19
+
1. Added ability to easily run tests against a variety of preset supported platforms via `spec/unit/support/supported_platforms` definition file (see `default_spec` test for example usage)
20
+
* Add new/optimize serverspec integration tests
21
+
1. Condense tests for overall functionality of Bareos
22
+
1. New graphite plugin testing: plugin, config, cronjob
23
+
* Bump patch version to `3.0.3` (tag v3.0.3)
9
24
10
-
- Complete re-work of cookbook, which includes the rework bits from version 2.0
11
-
- Adding various features including:
12
-
* Templates populated from hash tables
13
-
* Up to date README
14
-
* Graphite plugin deployment recipe
15
-
* Migrate to postgresql cookbook version 4+
16
-
* Better testing (rspec), testing against current ruby, need some more rspec tests but no time
17
-
* Various other updates and enhancements, see README for details
18
-
* Supermarket Release...finally
19
-
-***NOTE*** This release adds functionality that is not backwards compatible. Version lock until you have time to test the migration to version 3.0+
25
+
3.0.2
26
+
-----
27
+
#### Ian Smith
28
+
* Complete re-work of cookbook, which includes the rework bits from version 2.0
29
+
* Adding various features including:
30
+
* Templates populated from hash tables
31
+
* Up to date README
32
+
* Graphite plugin deployment recipe
33
+
* Migrate to postgresql cookbook version 4+
34
+
* Better testing (rspec), testing against current ruby, need some more rspec tests but no time
35
+
* Various other updates and enhancements, see README for details
36
+
* Supermarket Release...finally
37
+
****NOTE*** This release adds functionality that is not backwards compatible. Version lock until you have time to test the migration to version 3.0+
20
38
21
39
2.2.13
22
40
------
23
-
- Ian Smith
24
-
25
-
- Near complete refactoring of how the cookbook works
41
+
#### Ian Smith
42
+
* Near complete refactoring of how the cookbook works
26
43
* Adding various ways to add configs based on hashes. Examples in attributes/default.rb
27
-
- Updating README for usage details
28
-
- If you are not prepared to use this cookbook version, please lock cookbook version to < 2.0.0
29
-
- TODO: Refactor main bareos-dir/sd/fd configs to be fully based on hashes like other configs
44
+
* Updating README for usage details
45
+
* If you are not prepared to use this cookbook version, please lock cookbook version to < 2.0.0
46
+
* TODO: Refactor main bareos-dir/sd/fd configs to be fully based on hashes like other configs
30
47
* Remaining attributes support primary bareos-dir/sd/fd configs mostly, used elsewhere but not much
31
48
32
49
1.0.4
33
50
-----
34
-
- Ian Smith
35
-
36
-
- Updating and validating Kitchen testing with new methods
37
-
- Adding ability to use custom Storage Daemon Configs via wrapper recipe
38
-
- Fixed a race condition that was likely to come up both in testing and production
51
+
#### Ian Smith
52
+
* Updating and validating Kitchen testing with new methods
53
+
* Adding ability to use custom Storage Daemon Configs via wrapper recipe
54
+
* Fixed a race condition that was likely to come up both in testing and production
39
55
* Was missing client config on fresh install so restart of dir would fail
40
-
- Limiting cookbook support for debian to ~>7.0 until we can test on 8+
41
-
- Refined storage recipe to correctly create client configs based on BOTH role search and solo instances, may need a bit more tuning but should work in most cases
42
-
- Creating basic Full, Inc, and Diff pools even if not used, just as a place holder (default)
43
-
- Minor fixes
44
-
- Larger version bump for version clarity
45
-
- Updated Docs
46
-
- Adding support for Fedora and RHEL 6/7
47
-
- Reworked the available repos to some better logic
56
+
* Limiting cookbook support for debian to ~>7.0 until we can test on 8+
57
+
* Refined storage recipe to correctly create client configs based on BOTH role search and solo instances, may need a bit more tuning but should work in most cases
58
+
* Creating basic Full, Inc, and Diff pools even if not used, just as a place holder (default)
59
+
* Minor fixes
60
+
* Larger version bump for version clarity
61
+
* Updated Docs
62
+
* Adding support for Fedora and RHEL 6/7
63
+
* Reworked the available repos to some better logic
48
64
49
65
0.1.4
50
66
-----
51
-
- Ian Smith
52
-
53
-
- Updating README
54
-
- Revamping server.rb recipe to better utilize the bareos-dir.d directory
67
+
#### Ian Smith
68
+
* Updating README
69
+
* Revamping server.rb recipe to better utilize the bareos-dir.d directory
55
70
* Moving ALL host config files to the bareos-dir.d/hosts/ directory
56
-
* Revamping director config and moving host bits to seperate host.conf.erb template
71
+
* Revamping director config and moving host bits to separate host.conf.erb template
57
72
* Adding feature for host based custom pools based on true/false attribute
58
73
* Adding ability to fill in a block for virtual-full backup logic (not complete yet)
59
-
- Revamping storage.rb and storage template to what I am thinking was meant to happen originally
60
-
- Adding new kitchen suite and tests to verify host pools work
61
-
- Bugfixes
62
-
- Updating Kitchen Tests and ChefSpec Configs to match for verifying
74
+
* Revamping storage.rb and storage template to what I am thinking was meant to happen originally
75
+
* Adding new kitchen suite and tests to verify host pools work
76
+
* Bugfixes
77
+
* Updating Kitchen Tests and ChefSpec Configs to match for verifying
63
78
* Addressing race condition in ChefSpec tests where debian was taking
64
79
longer than expected to start the director
65
80
66
81
0.1.3
67
82
-----
68
-
- Ian Smith
69
-
70
-
- Updating README
71
-
- Updating CHANGELOG
72
-
- Updating metadata file
83
+
#### Ian Smith
84
+
* Updating README
85
+
* Updating CHANGELOG
86
+
* Updating metadata file
73
87
74
88
0.1.2
75
89
-----
76
-
- Leonard TAVAE
77
-
78
-
- The License has changed (Apache 2.0)
79
-
- The cookbook now passed foodcritic, rubocop and tailor with success
80
-
- Some minor bugs fix
81
-
82
-
- Ian Smith
83
-
84
-
- Updating Cookbook to use ChefDK >0.6.0
85
-
- Updating Docs
86
-
- Updating Postgresql Logic/Commands
87
-
- Updating a couple of template bits for the director
90
+
#### Leonard TAVAE
91
+
* The License has changed (Apache 2.0)
92
+
* The cookbook now passed foodcritic, rubocop and tailor with success
93
+
* Some minor bugs fix
94
+
95
+
#### Ian Smith
96
+
* Updating Cookbook to use ChefDK >0.6.0
97
+
* Updating Docs
98
+
* Updating Postgresql Logic/Commands
99
+
* Updating a couple of template bits for the director
88
100
* Adding new attributes, working on more for future implementation
89
-
- Updating Kitchen suites/platforms/provisioner
101
+
* Updating Kitchen suites/platforms/provisioner
90
102
* Adding some test roles for tests
91
-
- Updating chefspec/rspec/serverspec testing
92
-
- Updating TravisCI testing parameters so they are more standard
103
+
* Updating chefspec/rspec/serverspec testing
104
+
* Updating TravisCI testing parameters so they are more standard
Copy file name to clipboardExpand all lines: README.md
+30-21Lines changed: 30 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,14 +118,13 @@ A new plugin that will send statistics to a graphite server which can then be us
118
118
119
119
| Attribute | Default Value | Description
120
120
|------------------|---------------|------------
121
-
| ['bareos']['plugins']['graphite']['packages'] | varies on platform | Default packages needed to get the plugin to work
122
121
| ['bareos']['plugins']['graphite']['plugin_path'] | '/usr/sbin' | Default location for the plugin that runs in a defined cron job
123
122
| ['bareos']['plugins']['graphite']['config_path'] | '/etc/bareos' | Default directory for the plugin config
124
123
| ['bareos']['plugins']['graphite']['search_query'] | 'roles:bareos_director' | Default search string to populate the director name
125
124
| ['bareos']['plugins']['graphite']['server'] | 'graphite' | Placeholder string for the graphite server DNS name
126
125
| ['bareos']['plugins']['graphite']['graphite_port'] | '2003' | Default graphite communication port
127
126
| ['bareos']['plugins']['graphite']['graphite_data_prefix'] | 'bareos.' | Default prefix for graphite data
128
-
| ['bareos']['plugins']['graphite']['graphite_plugin_src_url'] | 'https://raw.githubusercontent.com/bareos/bareos-contrib/master/misc/performance/graphite/bareos-graphite-poller.py' | Default URL to the plugin
127
+
| ['bareos']['plugins']['graphite']['graphite_plugin_src_url'] | See attributes file | Default URL to the plugin
129
128
130
129
## Recipes
131
130
@@ -146,21 +145,22 @@ Installs whichever database is desired per attributes (PostgreSQL/MySQL), instal
146
145
Installs necessary Bareos server packages and sets up base configs necessary for server to start. Also creates the config directory (bareos-dir.d) so you can drop whatever outside config files into place and have them get automatically included in your setup.
147
146
148
147
### storage
149
-
Installs necessary Bareos storage packages and sets up a default file storage for you to start backing stuff up to right away (configured for ~250GB of volumes by default).
148
+
Installs necessary Bareos storage packages and sets up a default file storage for you to start backing stuff up to right away (configured for ~250GB spread over 25 10GB volumes).
150
149
151
150
### autochanger
152
151
This bit will setup an autochanger based on a pretty straight forward has table. Tested with IBM TS3500 Tape Library with 10 Frames and 16 Tape drives.
153
152
154
153
### workstation
155
-
Installs bconsole essentially. I plan to create another recipe for bat (Bareos Administration Tool) and the Bareos Web UI but I haven't gotten around to it yet.
154
+
Installs the bconsole utility. There are future plans to create a recipe to install bat (Bareos Administration Tool) and the Bareos Web UI.
156
155
157
156
### graphite_plugin
158
-
This was an exciting recent addition to the Bareos contrib GitHub repo. This addition in its current form will be dependent on a pending merge request getting accepted but if it isn't merged it can be easily worked around. Should work out of the gate here pretty soon given you adjust the graphite server string in the attributes for a graphite server location.
157
+
Installs a Bareos graphite plugin, configuration file, necessary python packages, and a cronjob to gather statistics periodically and forward them to an available graphite server.
159
158
160
159
## Searchable Roles (Used by default)
161
160
162
161
### bareos\_client
163
162
This example shows how the ```bareos_client``` role can both install the Bareos client side software and when searched against via the server recipe, will add itself to the bareos-dir (Bareos director) configuration and setup a default set of jobs for a client.
163
+
164
164
```
165
165
{
166
166
"name": "bareos_client",
@@ -181,6 +181,7 @@ This example shows how the ```bareos_client``` role can both install the Bareos
181
181
182
182
### bareos\_storage
183
183
This example shows a ```bareos_storage``` role which will create a Bareos storage-daemon host. It will install the necessary packages and lay down configuration files you can populate with any number of key value hash tables. You should be able to install this independent of the director(s), please file a ticket if this doesn't work as expected.
184
+
184
185
```
185
186
{
186
187
"name": "bareos_storage",
@@ -207,6 +208,7 @@ This will also allow clients to populate their filedaemon config via defined sea
207
208
You'll need to run ```chef-client``` on the director after a client gets configured so the director can add and generate the appropriate client related configs.
208
209
209
210
You can populate the ```['bareos']['clients']['unmanaged']``` hash table space with any number of client related configuration lines if you have hosts you either don't plan to search for or want to do custom configurations for.
211
+
210
212
```
211
213
{
212
214
"name": "bareos_director",
@@ -230,9 +232,10 @@ You can populate the ```['bareos']['clients']['unmanaged']``` hash table space w
230
232
231
233
## Example customizable key value hash template configurations
232
234
These are the preset default hashes to get a baseline configuration on a new bareos server. You can manipulate these as you see fit via recipe logic or searches or whatever you want. These will at least get you going.
0 commit comments