Skip to content

Contain classes#32

Open
gibbsoft wants to merge 2 commits intoevenup:masterfrom
gibbsoft:contain_classes
Open

Contain classes#32
gibbsoft wants to merge 2 commits intoevenup:masterfrom
gibbsoft:contain_classes

Conversation

@gibbsoft
Copy link

I found that when used with other modules ordering was difficult, mostly due to:

  File {
    require => Package['artifactory'],
  }

This PR removes the above blanket precedence statement and replaces it with
explicit ordering and containment. Furthermore, it adds a create_data_path=true
parameter to the main class allowing for override to omit creating the data path
directory should it already be being managed by puppet elsewhere in the catalog -
the default ensuring that existing behaviour is preserved.

Nigel Gibbs added 2 commits February 13, 2018 09:43
- found that when used with other modules ordering was difficult, mostly due to:

```
  File {
    require => Package['artifactory'],
  }
```
  This commit removes the blanket precedence statement and replaces it with
  explicit ordering and containment.
To support mounting an additional volume for hosting artifactory data, it is
useful to be able to turn off creation of the artifactory data directory.
The default value for `create_data_path` is `true`, therefore under normal
conditions existing behaviour is maintained.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant