~ubuntu-branches/ubuntu/trusty/puppet/trusty

« back to all changes in this revision

Viewing changes to lib/puppet.rb

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2011-10-22 14:08:22 UTC
  • mfrom: (1.1.25) (3.1.32 sid)
  • Revision ID: package-import@ubuntu.com-20111022140822-odxde5lohc45yhuz
Tags: 2.7.6-1
* New upstream release (CVE-2011-3872)
* Remove cherry-picked "groupadd_aix_warning" patch
* Install all new manpages

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
# it's also a place to find top-level commands like 'debug'
25
25
 
26
26
module Puppet
27
 
  PUPPETVERSION = '2.7.1'
 
27
  PUPPETVERSION = '2.7.6'
28
28
 
29
29
  def Puppet.version
30
30
    PUPPETVERSION
59
59
 
60
60
  # configuration parameter access and stuff
61
61
  def self.[](param)
62
 
    case param
63
 
    when :debug
 
62
    if param == :debug
64
63
      return Puppet::Util::Log.level == :debug
65
64
    else
66
65
      return @@settings[param]