Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #5377 - Add bundle to create empty folder #94

Merged
merged 1 commit into from Aug 11, 2014
Merged

Fixes #5377 - Add bundle to create empty folder #94

merged 1 commit into from Aug 11, 2014

Conversation

nperron
Copy link
Contributor

@nperron nperron commented Aug 8, 2014

Fixes #5377 - Add bundle to create empty folder

cf http://www.rudder-project.org/redmine/issues/5377

# @class_parameter target
# This bundle will define a class folder_create_${target}_{kept,repaired,error,ok,reached}

bundle agent file_create(target)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bundle name doesn't match the rest of the file

@jooooooon
Copy link
Member

I agree with the use case and necessity for this - even though it is really simple :)

However, a folder is more commonly called a directory on UNIX - let's use this terminology please, in the spirit of POLA.

Also, this is missing an acceptance test. Please add one.

@nperron
Copy link
Contributor Author

nperron commented Aug 8, 2014

PR updated

#
#####################################################################################

# @name Folder create
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed a name change here

@nperron
Copy link
Contributor Author

nperron commented Aug 11, 2014

PR Updated

nperron pushed a commit that referenced this pull request Aug 11, 2014
…reate_folder

Fixes #5377 - Add bundle to create empty folder
@nperron nperron merged commit 26d4fe6 into Normation:master Aug 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants