Skip to content

Commit

Permalink
Add ensure_resource to declare class python
Browse files Browse the repository at this point in the history
  • Loading branch information
syberalexis committed Apr 19, 2020
1 parent 9fbedd5 commit 9ab6959
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## Release 1.0.1

**Bug Fixes**

- Add ensure_resource to declare class python

## Release 1.0.0

First Major Release
Expand Down
4 changes: 1 addition & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@
Class['storj_exporter::install'] -> Class['storj_exporter::service']

if $manage_python {
class { 'python':
version => 'python3',
}
ensure_resource('class', 'python', { version => 'python3' })

Class['python'] -> Class['storj_exporter::service']
}
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maeq-storj_exporter",
"version": "1.0.0",
"version": "1.0.1",
"author": "maeq",
"summary": "This module install Prometheus Exporter to Storj",
"license": "Apache-2.0",
Expand Down

0 comments on commit 9ab6959

Please sign in to comment.