Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovianello committed Oct 10, 2023
1 parent 33aff2c commit 9a282cf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

## Release 1.0.1

- Fixed tests

## Release 1.0.0

- Changed baseurl

## Release 0.1.0

**Features**
Expand Down
4 changes: 1 addition & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
# @example
# include testca
class testca {

file { 'test-ca.repo':
ensure => file,
path => '/etc/yum.repos.d/test-ca.repo',
source => 'puppet:///modules/testca/test-ca.repo',
mode => '0644',
}

package {
-> package {
'igi-test-ca':
ensure => latest,
require => File['test-ca.repo'],;
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": "cnafsd-testca",
"version": "1.0.0",
"version": "1.0.1",
"author": "cnafsd",
"summary": "Install IGI test CA",
"license": "Apache-2.0",
Expand Down
8 changes: 4 additions & 4 deletions spec/classes/testca_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@

it { is_expected.to compile }

it "check repo file" do
it 'check repo file' do
repo_file='/etc/yum.repos.d/test-ca.repo'
is_expected.to contain_file('test-ca.repo').with(
:ensure => 'file',
:path => repo_file,
)
end
it "check igi-test-ca" do
it 'check igi-test-ca' do
is_expected.to contain_package('igi-test-ca')
end
it "check igi-test-ca-2" do
it 'check igi-test-ca-2' do
is_expected.to contain_package('igi-test-ca-2')
end
it "check igi-test-ca-256" do
it 'check igi-test-ca-256' do
is_expected.to contain_package('igi-test-ca-256')
end
end
Expand Down

0 comments on commit 9a282cf

Please sign in to comment.