4 votes

How to use current cookbook template dir to copy all templates recursively in a loop with chef

Thanks to @zts & @Zaur. I thought I'd post my complete answer which ended up combining both. The biggest thing to note is that your cookbook name must be in quotes. That wasn't obvious to me and ...
BoomShadow's user avatar
4 votes

Foreman: How to test/render provisioning templates

Above the template editor is a small Preview button - select that, and from the dropdown menu on the right select the host that you wish to render the template for. A managed host with the same ...
Dominic Cleal's user avatar
4 votes

How to create templates in vmware esx 6.7

The documentation you are linking to is for VMware vSphere, not VMware ESXi. The ESXi server does not have the concept of templates, licensed or not. You have to use vSphere vCenter to create and use ...
Gerald Schneider's user avatar
3 votes
Accepted

How to constrain ADCS Certificate template to user or computer type

In fact, they are already constrained by subject types: User Computer Certification Authority subject type is primarily used to define some subject-specific settings. For example, if subject type is ...
Crypt32's user avatar
  • 7,132
3 votes

How to create templates in vmware esx 6.7

As Uday said to create templates you need to install VCenter. ESXI itself just support base features. ESXI6.7 create virtual machine dialog box is as follow : ESXI 6.7 create machime dialogbox As ...
hamid's user avatar
  • 43
2 votes

How to Update ADMX Files - Different Server OS Versions in Domain

There's a key thing to understand about Administrative Templates (ADMX): Updating Administrative Templates will NOT change anything in the GPOs you deployed: ADMX are read by the Group Policy ...
Swisstone's user avatar
  • 6,890
2 votes

Cloud Formation Templates

Yes, CloudFormer is the CloudFormation template generator that can get information about your existing AWS infrastructure and transform it to CloudFormation template. http://docs.aws.amazon.com/...
Sergey Kovalev's user avatar
2 votes
Accepted

How do i create multiple persistent VMs in esxi from a non persistent base VM?

The function you're looking for is called 'Linked Clones' and is automatically used by VMware's Horizon/View VDI solution, is available as an option using their Cloud Director product and will be ...
Chopper3's user avatar
  • 102k
1 vote

Windows Certificate Service Authority templates to issues

Okay, I found the problem and solution here: https://securitymusings.com/article/1733/cant-create-a-new-certificate-template-to-issue In case the link will not work in future: Open the ADSIEdit.msc ...
pallago's user avatar
  • 165
1 vote
Accepted

Copy entire template folder from puppet module

You can only copy files wholesale using the source parameter, which copies files as-is. The only way you can copy multiple templates is to use multiple file resources. A way of shortening the amount ...
Craig Watson's user avatar
  • 9,680
1 vote

Foreman: How to test/render provisioning templates

To check the syntax is correct erb -P -x -T '-' template.erb | ruby -c To see what is written from a template is more complicated but you can look to complete this ruby script require 'erb' ...
silviud's user avatar
  • 2,707
1 vote

How to use current cookbook template dir to copy all templates recursively in a loop with chef

In Chef > 12.19 there is a breaking change (RFC 67) to the manifest which combines all files in a cookbook under :all_files See https://chef.github.io/chef-rfc/rfc067-cookbook-segment-deprecation....
oldchili's user avatar
1 vote

puppet and array loop

Shane Madden's answer is great but for I think there is a '@' missing: instead of <% servers.each do |server| -%> one should use <% @servers.each do |server| -%> can someone with higher ...
Matt V's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible