Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Add support for Chef Solo/RightScale, fill out metadata, more directive support in template #4

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

Conversation

flaccid
Copy link

@flaccid flaccid commented Aug 27, 2012

The client recipe has been improved to support chef-solo where collectd servers can be specified via a node attribute.

Metadata has been completed (recipes and attribute definitions) as well as adding metadata.json back as this is required for usage on RightScale.

The Hostname and FQDNLookup directives have been added to the template for user specifiable configuration to be more flexible on arbitrary node requirements.

@zach-rightscale
Copy link

Nice work Chris!

@@ -22,6 +22,9 @@
default[:collectd][:types_db] = ["/usr/share/collectd/types.db"]
default[:collectd][:interval] = 10
default[:collectd][:read_threads] = 5
default[:collectd][:fqdn_lookup] = "true"
Copy link
Owner

Choose a reason for hiding this comment

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

Is there a particular reason to use a string instead of a real Ruby boolean? Usually nice to use native types when possible.

@simonoff
Copy link

Any update?

@@ -5,3 +5,86 @@
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
supports "ubuntu"

depends "apache2"
Copy link

Choose a reason for hiding this comment

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

It only depends on apache2 if collectd_web is used. We don't use it for example

Copy link
Author

Choose a reason for hiding this comment

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

@kpumuk Chef doesn't support optional dependencies (in metadata) so technically its a dependency. What the best practice is, I'm not sure but personally I think its better to do this as recipes don't have a mechanism to even check nicely on the cookbook needed (which would also create a lot of extra redundant code in every cookbook that has optional deps).

@flaccid
Copy link
Author

flaccid commented Oct 21, 2013

@coderanger I have finally updated this pr! Please let me know if it needs more work before it can be merged. Thanks for your year-long patience :)

@coderanger
Copy link
Owner

Just as a heads up I'm about to get really busy for a week or two, and this no longer cleanly merges, so it may take a while to get it sorted.

@flaccid
Copy link
Author

flaccid commented Oct 22, 2013

No problem coderanger. I'll go on standby and look at for any action items I should do. Worse case, I don't mind re-doing the whole thing with a fresh fork, but it would be cool to avoid that if possible.

@jhmartin
Copy link
Contributor

Perhaps you could rebase on top of master so this becomes a clean merge?

@flaccid
Copy link
Author

flaccid commented Apr 21, 2015

@coderanger hmm what should we do now? Please let me know :)

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.

6 participants