Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New type yum::post_transaction_action #216

Merged
merged 1 commit into from Jul 5, 2021

Conversation

traylenator
Copy link

@traylenator traylenator commented Jun 28, 2021

Pull Request (PR) description

A new type is added to install the post-transaction_action plugin
for YUM or DNF.

yum::post_transaction_action{'touch_file':
  key     => 'openssh-*',
  command => 'touch /tmp/openssh-package-updated',
}

will touch a file every time an openssh package is installed
removed or upgraded.

https://dnf-plugins-core.readthedocs.io/en/latest/post-transaction-actions.html

@traylenator traylenator added the enhancement New feature or request label Jun 28, 2021
@traylenator traylenator marked this pull request as draft June 28, 2021 17:32
@traylenator traylenator marked this pull request as ready for review June 28, 2021 18:42
@traylenator
Copy link
Author

So useful - never knew this existed.

@traylenator traylenator marked this pull request as draft June 29, 2021 11:49
@traylenator traylenator marked this pull request as ready for review June 29, 2021 11:49
A new type is added to install the post-transaction_action plugin
for YUM or DNF.

```puppet
yum::post_transaction_action{'touch_file':
  key     => 'openssh-*',
  command => 'touch /tmp/openssh-package-updated',
}
```

will touch a file every time an openssh package is installed
removed or upgraded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants