Skip to content

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

Open
marshyski wants to merge 2 commits into
branan:masterfrom
marshyski:master
Open

Added owner, group and mode to init.pp#8
marshyski wants to merge 2 commits into
branan:masterfrom
marshyski:master

Conversation

@marshyski
Copy link
Copy Markdown

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

Comment thread manifests/init.pp Outdated
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Author

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

@xentek
Copy link
Copy Markdown

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