Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查变量是否是 Puppet DSL 中的数字?
谢谢
使用标准库中的 is_numeric 函数:https ://github.com/puppetlabs/puppetlabs-stdlib