Book Image

Learning Puppet for Windows Server

By : Fuat Ulugay
Book Image

Learning Puppet for Windows Server

By: Fuat Ulugay

Overview of this book

Table of Contents (15 chapters)
Learning Puppet for Windows Server
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating folders


For creating folders, we again use the file definition. The details are as follows:

file { 'folder':
ensure => 'directory',
source_permissions => ignore,
  }

Now, let's create a helloworld folder in the helloworld class. Here are the details:

Here are the test run details. As you can see, the helloworld folder was created successfully: