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: