Creating a Puppet Module Folder Structure with New-PuppetModule
Recently I’ve been writing a lot of Puppet modules. Usually this starts for me by creating a folder structure which typically looks something along the lines of this:
dir | tree Creating this each time via Explorer soon became pretty tedious, so I put together the following function New-PuppetModule. This is along the lines of the puppet command to generate a module structue:
puppet module generate name By default New-PuppetModule will create the top level module folder, a manifests folder and a blank init.