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

fixes #20353 - Runs apipie cache after ostree #201

Merged
merged 1 commit into from
Aug 10, 2017

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Aug 7, 2017

We need to run /usr/sbin/foreman-rake apipie:cache:index after installing ostree. So added that option in the installer and closing Katello/katello-packaging#483

creates => '/usr/share/foreman/tmp/ostree_apipie_index_done',
require => Package[$katello::rubygem_katello_ostree],
}
}
Copy link
Member

@ehelms ehelms Aug 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like overkill. Could you not in https://github.com/Katello/puppet-katello/blob/master/manifests/install.pp#L10 add a notify to Exec['foreman-rake-apiepie:cache:index'] ?

@parthaa
Copy link
Contributor Author

parthaa commented Aug 8, 2017

@ehelms @ekohl I 'll looking to addressing your notify comment. But I had one question. Were you guys ok with my idea of adding a 'touch' file to not re-execute this call on every run of the installer? I have a feeling refreshonly => true, is enough. What do you guys think?

@ehelms
Copy link
Member

ehelms commented Aug 8, 2017

LGTM - @ekohl do you forsee any gotcha with this?

@ehelms ehelms merged commit ee11b88 into theforeman:master Aug 10, 2017
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.

4 participants