Skip to content

(#1) Adds a standard spool directory to stdlib #2

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

Closed
wants to merge 1 commit into from

Conversation

ody
Copy link
Member

@ody ody commented Jun 12, 2011

This adds a standard place to store file fragments for use by other
modules. Also cleans up documentation to match the style guide.

  This adds a standard place to store file fragments for use by other
  modules.  Uses a fact so that vardir is accesible on the agent side.
  Also cleans up documentation to match the style guide.
jeffmccune pushed a commit to jeffmccune/puppetlabs-stdlib that referenced this pull request Aug 4, 2011
jeffmccune pushed a commit to jeffmccune/puppetlabs-stdlib that referenced this pull request Aug 4, 2011
jeffmccune pushed a commit to jeffmccune/puppetlabs-stdlib that referenced this pull request Aug 4, 2011
jeffmccune pushed a commit to jeffmccune/puppetlabs-stdlib that referenced this pull request Aug 4, 2011
jeffmccune pushed a commit to jeffmccune/puppetlabs-stdlib that referenced this pull request Aug 4, 2011
jeffmccune pushed a commit to jeffmccune/puppetlabs-stdlib that referenced this pull request Aug 4, 2011
# Turns puppet's agent side vardir configuration setting into a fact so we can use it
# in our manifests.

Facter.add(:vardir) do
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd rather not merge this with a fact named $vardir. It could be confusing from a manifest if you're referring to the client vardir or the agent vardir.

Maybe rename this as $client_vardir ?

@jeffmccune
Copy link
Contributor

Closing this pull request for the time being. Cody, please open a new one or grab me if you'd like to talk about the facts and spool directory.

@jeffmccune jeffmccune closed this Aug 8, 2011
jeffmccune pushed a commit that referenced this pull request Aug 8, 2011
Closes pull request #12

Reviewed-by: Jeff McCune

Verified all spec tests pass using rspec **/*_spec.rb

* issue/master/8797_puppetlabs-functions_merge: (164 commits)
  * Moved kwalify to puppetlabs-kwalify project * Re-arranged tests in line with puppetlabs-stdlib
  Prep for stdlib merge * Renamed load_yaml & load_json to parseyaml & parsejson * Renamed is_valid_* functions and remove the 'valid_'
  Fix some ruby 1.9.2 issues.
  (#3) Provide documentation for remaining functions.
  (#3) Apply missing documentation to more functions.
  Remove rand.
  Some improvements to values_at tests.
  (#1) provide some more detailed tests for a number of functions.
  Removed date stub since this functinality is available in strftime anyway.
  (#2) fix is_string finally so it also makes sure numbers return false.
  (#2) unstub is_valid_domain_name
  Added doc strings for first five functions
  Removed join_with_prefix.
  (#2) unstub is_valid_mac_address.
  Allow sort for strings.
  Count functionality overlaps with size - so removing it.
  Removed crontab functions instead of unstubbing them.
  Removed load_variables. load_yaml is sufficient to solve this problem on its own.
  Remove is_valid_netmask instead of unstubbing. Doesn't seem like a sensible function on its own.
  (#2) unstub is_numeric function.
  ...
b4ldr referenced this pull request in b4ldr/puppetlabs-stdlib Feb 22, 2018
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.

2 participants