简体   繁体   English

如何使用Puppet for Windows .lnk编写模块

[英]How to write a module with Puppet for windows .lnk

I am using puppet to manage windows hosts and would like to know how I can edit the target field in a .lnk shortcut file to point to a new target, or to actually start with another manager binded. 我正在使用puppet管理Windows主机,并且想知道如何编辑.lnk快捷方式文件中的target字段以指向新目标,或者实际上是从绑定了另一个管理器开始的。

I know where the shortcut files are I am just not sure how I can edit the target fields in the .lnk shortcuts properties using a module. 我知道快捷方式文件在哪里,但我不确定如何使用模块来编辑.lnk快捷方式属性中的目标字段。 If anyone can help it would be much appreciated. 如果有人可以帮助,将不胜感激。

Thanks 谢谢

The following document touches on managing .lnk shortcuts in windows: 以下文档涉及在Windows中管理.lnk快捷方式:

http://docs.puppetlabs.com/pe/2.5/quick_writing.html http://docs.puppetlabs.com/pe/2.5/quick_writing.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM