Salt: reload_modules is not documented for the pkg state

Created on 29 Nov 2015  路  9Comments  路  Source: saltstack/salt

It seems that reload_modules exists also for pkg.installed, but it is not documented. While it is documented for cmd.run.

Bug Documentation P1 State Module fixed-pending-your-verification severity-low

Most helpful comment

@mitar Ok, I have added that note to the the pkg.installed docs. Thanks for the clarification!

All 9 comments

cc @kostko

Thanks for the issue report.

I think this bug can be closed. reload_modules is documented for most versions here: https://docs.saltstack.com/en/2014.7/ref/states/

Yes, I think so. The reload documentation is located here and here on the 2015.8 branch.

@mitar I think the documentation you're referring to in your first comment is the note at the bottom of the cmd.run state function. Do I have that right? Are you asking that the same note be applied to something like the pkg.installed state? The reload_modules is a global requisite and can be applied to any state. From the second doc link:

reload_modules is a boolean option recognized by salt on all available states which forces salt to reload its modules once a given state finishes.

I think we now have quite a bit of documentation about this option, however, I don't want to close this without your input. Let me know what you think. Thanks!

Yes, I understand that this is a global option, but such a note would be very useful for pkg.installed as well. It is probably one of the main cases where one would like/need to use reload_modules.

Ok we can do that. I just wanted to make sure that was what you meant.

@mitar Ok, I have added that note to the the pkg.installed docs. Thanks for the clarification!

Thanks!!!

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

qiushics picture qiushics  路  3Comments

sagetherage picture sagetherage  路  3Comments

mooperd picture mooperd  路  3Comments

Arguros picture Arguros  路  3Comments

lhost picture lhost  路  3Comments