Ask Your Question

stdlib operatingsystem_support, does it relate to agent, server or both?

asked 2018-08-27 13:14:39 -0600

XeRO gravatar image

Hi, I couldn't find much information about what the operatingsystem_support of stdlib exactly means.

The stdlib functions are distributed to the agents on agent run. Does that just happen, because they are in the lib/ directory of the module? Or are they actually used on the agents?

Neither the module description nor the limitations section on github answer that question and I couldn't find any other source of information about that.

If it's just used on the puppetserver, then the operatingsystem_support doesn't really bother me. If I need to make sure, the agent OS is supported as well, that could be a hassle, as old versions like Debian 6 are not supported by newer stdlib versions. In that case, any suggestions or best practices?

Thank you Lars

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-29 00:08:12 -0600

joshc gravatar image

The operatingsystem_support entry in metadata.json mainly refers to the agents which will download the facts, types and providers from the stdlib module on the puppetserver. Also note the constraint is a recommendation, but nothing in puppet agent, puppet module install, or puppetserver will prevent you from installing the module on an unsupported server, or downloading those files to unsupported agents. For Debian 6, you may find that "it just works". If not, you may need to install an older version of stdlib that is still compatible, e.g. puppet module install puppetlabs-stdlib --version x.y.z

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2018-08-27 13:14:39 -0600

Seen: 96 times

Last updated: Aug 29