Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

minor improvements - vfabric version, file permissions, service user #1

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

Conversation

MattMacGillivray
Copy link

  • 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

MattMacGillivray and others added 13 commits July 22, 2014 11:39
- 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant