O'Reilly logo

Learning Puppet for Windows Server by Fuat Ulugay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

Creating folders

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

Creating folders

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required