This repository was archived by the owner on Nov 27, 2024. It is now read-only.
minor improvements - vfabric version, file permissions, service user#1
Open
MattMacGillivray wants to merge 13 commits intogettyimages:masterfrom
Open
minor improvements - vfabric version, file permissions, service user#1MattMacGillivray wants to merge 13 commits intogettyimages:masterfrom
MattMacGillivray wants to merge 13 commits intogettyimages:masterfrom
Conversation
MattMacGillivray
commented
Jul 22, 2014
- vfabric version can now be specified, defaults to 5.3
- ownership of files under /opt/hyperic now set explicitly via $agent_user and $agent_owner
- service started as $agent_user
- some dependencies set to ensure order
- allow init.d script to run as a different user as specified during install
…the same puppet variable, @setup_port. Split out into @setup_camport and @setup_agentport. renamed associated variables to match.
bug - template using wrong variable, changed setup_camserver -> setup_campip
Newer versions of Hyperic have a new package name (vcenter-hyperic-agent instead of vfabric-hyperic-agent) so this change allows a user to choose the package to be installed
repo_url fixed (was broken in previous commit)
Fixed dependency on package in Exec["set_permissions"]
Changed 'delete_initial_properties_file' condition so it's executed when agent.properties is not managed by puppet, looking for 'puppet' word inside it. When hyperic package is removed in RHEL, 'agent.scu' file isn't removed, so previous code doesn't regenerate agent.properties with the correct values.
Added $hyperic_package_name parameter and changed 'delete_initial_properties_file' condition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.