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

Added owner, group and mode to init.pp #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marshyski
Copy link

s3file { '/opt/minecraft/minecraft_server.jar':
owner => minecraft,
group => minecraft,
mode => '0755',
source => 'MinecraftDownload/launcher/minecraft_server.jar',
ensure => 'latest',
}

}
} else {
$real_source = "https://${s3_domain}/${source}"

file { $name:
Copy link
Owner

Choose a reason for hiding this comment

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

Indentation is wrong here

Copy link
Owner

Choose a reason for hiding this comment

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

Also, could you add whatever ordering is necessary to ensure this is done correctly? I expect we want to lay down an empty file with the right perms, then let curl dump the data into that. If that's the case, let's add that ordering in here. I don't want to assume we're running on a new enough puppet for manifest ordering to work.

@marshyski
Copy link
Author

Actually I think my addition should go before the if statements, oops.

@xentek
Copy link

xentek commented Jul 2, 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
Development

Successfully merging this pull request may close these issues.

3 participants