Skip to content

Commit

Permalink
Fix tp service test within docker containers (#97)
Browse files Browse the repository at this point in the history
* Fix tp service test within docker containers

* Updated spec tinydata
  • Loading branch information
alvagante authored Nov 13, 2022
1 parent 3ea1dfb commit fc534f4
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 3.5.3

- Fix tp service test within docker containers

## 3.5.2

- Fixed idempotency in keys management when tp::apt_safe_trusted_key is true
Expand Down
3 changes: 3 additions & 0 deletions data/virtual/docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
tp::check_service_command: 'service'
tp::check_service_command_post: 'status'
1 change: 1 addition & 0 deletions hiera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ defaults:
hierarchy:
- name: "In module hierarchy"
paths:
- "virtual/%{facts.virtual}.yaml"
- "%{facts.os.name}%{facts.os.release.major}.yaml"
- "%{facts.os.name}.yaml"
- "%{facts.os.family}%{facts.os.release.major}.yaml"
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": "example42-tp",
"version": "3.5.2",
"version": "3.5.3",
"author": "example42",
"summary": "Tiny Puppet",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions spec/tpdata/centos-7-x86_64/openssh
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ nodaemon_args: "-D"
validate_cmd: "sshd -t -f %"
repo_package_provider: rpm
init_system: systemd
version_command: "ssh -V"
1 change: 1 addition & 0 deletions spec/tpdata/centos-7-x86_64/rsyslog
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ process_user: root
process_group: root
repo_package_provider: rpm
init_system: systemd
version_command: "rsyslogd -v"
1 change: 1 addition & 0 deletions spec/tpdata/ubuntu-16.04-x86_64/openssh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ init_file_path: "/var/default/ssh"
validate_cmd: "sshd -t -f %"
repo_package_provider: dpkg
init_system: systemd
version_command: "ssh -V"
2 changes: 2 additions & 0 deletions spec/tpdata/ubuntu-16.04-x86_64/rsyslog
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ process_user: root
process_group: root
repo_package_provider: dpkg
init_system: systemd
version_command: "rsyslogd -v"

0 comments on commit fc534f4

Please sign in to comment.