Commit graph

7 commits

Author SHA1 Message Date
tonnerre
a69f89cbd0 Upgrade sysutils/puppet to version 0.24.8.
This is not the jump to 0.25 people expected, but there are some things to
clear before doing that, so go to the last 0.24 version for now.

Changes since 0.24.7:

 - Fixed #2077 - ralsh user broken on OSX
 - Fixed #2004 - ssh_authorized_key fails if no target is defined
 - Fixed #1629 - incorrect permissions on ssh_authorized_keys created files
 - Fixed #2000 - No default specified for checksum
 - Fixed #2026 - Red Hat ignoring stop method
 - Added ext/dbfix.sql script - fixes common errors in stored configuration
   databases
 - Fixed #1963 - Failing to read /proc/mounts for selinux kills file
   downloads
 - Fixed #2025 - gentoo service provider handle only default init level
 - Fixed #1910 - updated logcheck
 - Fixed #1871 - Sensitive information leaked in log reports
 - Fixed #1956 - Cleaned up variable names to be more sane, clarified
   error messages and fixed incorrect use of 'value' variable rather than
   'member'.
 - Fixed #1831 - Added sprintf function
 - Fixed #1830 - Added regsubst function
 - Updated up2date and service confines to add support for Oracle EL and VM
 - Fixing #1948 and #1953 - augeas ins bug: wrong number of arguments (1 for 3)
 - Fixing #944 - changing error message from warning to info - connection
   recycled
 - Fixed #961 - puppetd creating too many/not closing TCP connections
 - Fixed #1959 - Added column protection for environment schema migration
 - Fixing #1869 - autoloaded files should never leak exceptions
 - Fixing #1543 - Nagios parse errors no longer kill Puppet
 - Fixed #1420 - nagios_serviceescalation not allowing host_name more than
   one type
 - Fixed #1884 - Exported resources are marked as unexported when collected
   on the exporting host
 - Fixed #1922 - Functions squash all arguments into a single hash
 - Fixed #1538 - Yumrepo sets permissions wrongly on files in
   /etc/yum.repos.d
 - Fixed #1936 - Added /* */ support to the vim file
 - Fixed #1541 -  nagios objects write files to clientbucket on every change
 - Fixed #1542 - cannot purge nagios objects
 - Fixing #1912 - gid still works with no 'should' value fixing ralsh issues
 - Fixing the Rakefile to use 'git format-patch'
 - Added README.rst file
 - Enhancements to Stored Configuration performance
 - Added Reductive Labs build library to tasks directory
 - Fixed #1852 - Correct behaviour when no SELinux bindings
 - Updated Red Hat spec file 0.24.7
 - Fixed #1920 - Shadow password corruption
2009-11-11 12:21:52 +00:00
tonnerre
dcd1c03ae6 Seems two S got dropped from the puppet makefile. 2009-08-30 22:03:53 +00:00
tonnerre
6993ef80ca Install manifest and SMF methods for puppetd and puppetmasterd when on
Solaris. Bump PKGREVISION.

XXX: This should be formalized for all services.
2009-08-30 21:57:07 +00:00
tonnerre
25c58f8b04 Update Puppet to version 0.24.7. Changes since 0.24.5:
- Fixing puppetlast to make it work with 0.24.5 / 0.25.  Made puppetlast
   work on 0.24.5 by using the YAML indirector.
 - Fixed bug #1448: Puppet CA incorrectly writes out all certs to
   inventory .txt on each certificate signing.
 - Improve performance of group lookups.
 - Allow specification of --bindir --sbindir --sitelibdir --mandir --destdir
   in installation (TODOFIXME: Make it available to pkgsrc).
 - Ensure that we consistently use either string #{} interpolation or
   String.% interpolation, not both, to avoid issues where a #{}
   interpolated value contains a % character.
 - Expose all puppet variables as instance member variables of the
   template wrapper.
 - Updated console colours.
 - A working script to create an OS X pkg out of the Puppet repository.
 - Removed confine warning.
 - Add proxy configuration capability to yum repo.
 - Replaced use of Facter for report titling with certname.
 - Added stored configuration clearing script to /ext.
 - Add the -P/--ping option to puppetrun.
 - Storeconfiguration fixed for Rails 2.1.
 - Fixed poor stored configuration performance.
 - Added HP-UX package provider.
 - Moved individual functions out of functions.rb into
   lib/puppet/parser/functions directory.  New functions should be created
   in this directory.
 - Case insensitive match for error.
 - Removed storeconfig duplicate indexes.
 - Fixed leak in template.
 - Added spec Rake task.
 - Added simple rake task for running unit tests.
 - Added daemontools and runit providers for service type.
 - Changed permissions for man directory.
 - Fix exception for undefined hostname.
 - puppetmaster.freshness xmlrpc call returns incorrect type.
 - Adds HP-UX support for user type.
 - Updated Red Hat spec file.
 - Fixed debug messages in package type.
 - Changed password property of the user type.
 - Fixed debug messages in package type.
 - Adjusted hpuxuseradd user provider to confine to HP-UX and fixed HP-UX
   user provider path regression.
 - Puppet and Facter cannot both install the plist module into two
   different locations.
 - Puppet::Util::binary returns incorrect results.
 - createpackage.sh.
 - Fixed issues with file descriptors leaking into subprocesses.
 - ldap user and password are now used with the default connection.
 - File purging now fails if remote sources do not exist.
 - Errors in the Puppet RPM spec file.
 - puppetrun now working.
 - Added support for multiple template directories.
 - Added support for appended variables.
 - Fixed puppetca --clean --all.
 - Internally, Property#retrieve is no longer called when no 'should'
   value is available for a resource.
 - Defined, exported resources in the current compile now get expanded
   correctly.
 - Multiple metaparams all get added to resources.
 - Added ubuntu to defaultfor for Debian service provider.
 - Added ubuntu to defaultfor for apt provider.
 - added confines for the gentoo, freebsd and smf (solaris) service
   providers.
 - Added a number of confines to package providers.
 - ssh_authorized_keys provider does not crash anymore on SSH type 1 keys.
 - Raise "Filebucketed" messages to Notice priority.
 - You should now be able to create and find a user/group in one
   transaction.
 - Users and their groups should again add in one transaction.
 - Modified the behaviour of resource-level 'retrieve' -- it only calls
   'retrieve' on each property if the resource exists.
 - Modified the group and zone resource types to no longer call
   'currentpropvalues' as a means of setting all values to absent. There
   should be no behaviour change from this change.
 - Deploying file resources with ++ generates error.
 - Added support for running Puppet inside a Rack application (mod_rails)
   with Passenger and Apache.
 - Saving File#checksum to state.yaml broken.
 - Allow complex 'if' and variable expressions.
 - Add 'sles' to Puppet confines when 'suse' is used.
 - Specifying "fully qualified" package names in Gentoo.
 - Added RBAC roles to solaris user provider.
 - Updated puppet binary documentation.
 - The client environment will be substituted when looking up settings.
 - Changed node search to use certname rather than Facter hostname.
 - Environments no longer have to be listed out.
 - Multiline strings now correctly increment the line count.
 - Log messages are now tagged with the log level, making it easier to
   match messages in the 'tagmail' report.
 - Removed 'Adding aliases' info message.
 - pluginsync no longer fails poorly when no plugins exist.
 - Allow multiple overrides in one statement.
 - Added support for --detailed-exits to bin/puppet.
 - yum provider problems with RHEL 3.
 - Puppetd no longer stops with error after puppetmasterd is unavailable.
 - Collection attribute matching doesn't parse arrays.
 - With an inexistant (global) templatedir, modules can't access their
   templates.
 - Uninitialized constant Puppet::Type::User::ProviderUseradd.
 - puppetdoc -r providers now working again.
 - Updated OSX package cleanup.
 - Service puppet status does not work as non-root on redhat system.
 - Provider::Confine::Variable tests are broken.
 - Regression relating to facter fact naming from 0.24.5.
 - Enhance redhat puppetmaster init.d script to easy start puppetmaster as
   a mongrel cluster.
 - Configuration Reference still references 'section'.
 - Adding support to the user type for: profiles, auths, project,
   key/value pairs (extension to Solaris RBAC support added in 0.24.6).
 - Added multiline comment support.
 - Added support for @doc type and manifest documentation support - see:
   http://reductivelabs.com/trac/puppet/wiki/PuppetManifestDocumentation.
 - Added augeas type.
 - Removed conf/debian directory - Debian packaging information now
   maintained downstream.
 - Updated Red Hat spec file for 0.24.6.
 - Classes and nodes should set $name variable.
 - Type reference: tidy should specify manditory parameters.
 - All logs should now show up in the reports.
 - Added specific recurse values for tidy.
 - k5login fails to set mode when file is created.
 - Documentation should specify natural language regexs, not Regexp
   objects.
 - Spurious output in test run.
 - Added uninstall functionality to yum provider.
 - Added preseed to apt uninstall and purge.
 - Unsafe crontab handling in Solaris.
 - Include spec directory in packages.
 - Replaced SELInux calls to binaries with Ruby SELinux bindings.
 - Sync SELinux file attributes after file contents created/modified.
 - Add filesystem type check to test for per-file SELinux context support.
 - Fixes to confine system.
 - Moved RRD feature from util/metric.rb to feature/base.rb.
 - puppetca now can clean unsigned certs.
 - Added versionable feature to the RPM provider.
 - Add an optional argument to Puppet::Util.execute to determine whether
   stderr and stdout are combined in the output.
 - Mac OS X DirectoryService nameservice provider support for plist output
   and password hash file.
 - Fileserver test fails due to incorrect mocking.
 - Minor fix to emacs mode.
 - Trivial fix for gentoo service provider.
 - Solaris 10 zone provider doesn't properly handle unknown zone
   attributes in newer releases.
 - nagios_serviceescalation not allowing host_name more than one type.
 - nagios_servicedependency needs a unique host_name?
 - Removing all mention of EPM, RPM, or Sun packages.
 - Refactoring of SELinux functions to use native Ruby SELinux interface.
 - Removing the included testing gems; you must now install them yourself.
 - Refactoring the thread-safety in Puppet::Util.
 - Added Rake :ci namespace and CI tasks.
 - Slight denormalisation to store a host's environment as a first class.
 - Add inline_template function.
 - Splay now hopefully behaves "better" for small values.
 - MCX Type feature.
 - Add ZFS support.
 - Add support for branded zones.
 - Fixing the AST constant warnings, using a variable instead of a
   constant.
 - Allow rspec rake to run only some tests.
 - Using a mutex around the sending of the tagmails.
 - Add macauthorization type.
 - Deprecate the NetInfo nameservice provider. Use directoryservice
   instead.
 - All of the properties and now :ensure check replace?
 - Rteturning sync when it is already initialized.
 - Tidy now correctly ignores missing files and directories.
 - Use 'zfs get -H -o value' instead of parsing output for value.
 - Zfs should auto require the ancestor file systems.
 - nagios_serviceescalation not allowing host_name more than one type.
 - nagios_servicedependency needs a unique host_name?
 - Added VDev and MultiVDev properties to the ZPool type.

NetBSD related changes:
 - Fix default NetBSD init script path to /etc/rc.d.
 - Use FreeBSD init service provider for NetBSD.
 - When enabling services on NetBSD, use servicename=YES rather than
   servicename_enable=YES.
 - Use OpenBSD package provider for NetBSD.

Pkgsrc related changes:
 - Added unit tests to package.
 - Fixed confdir paths in default config file generation scripts and some
   other stuff.
 - Set MASTER_SITE.
 - Create puppet.conf rather than puppetmasterd.conf.
2009-02-08 23:01:56 +00:00
jlam
24452c40fe Update puppet to version 0.24.4. Changes from verison 0.22.4 include:
+ Install as a Ruby gem.

- Better caching of external lookups.

- Many bug fixes.

- External node commands can specify an environment and Puppet will now
  use it.

- Always duplicating resource defaults in the parser, so that stacked
  metaparameter values do not result in all resources that receive a
  given default also getting those stacked values.

- Puppet's parser no longer changes the order in which statements are
  evaluated, which means that case statements can now set variables that
  are used by other variables.

- Clients should now fail to install files whose checksums do not match the
  checksum from the server.

- Autoloading now searches the plugins directory in each module, in
  addition to the lib directory.

- Virtual defined types are no longer evaluated.

  NOTE: This introduces a behaviour change, in that you previously could
  realize a resource within a virtual defined resource, and now you must
  realize the entire defined resource, rather than just the contained
  resource.

- Added builtin support for Nagios types using Naginator to parse and
  generate the files.

- Modifying the behaviour of the certdnsnames setting.  It now defaults
  to an empty string, and will only be used if it is set to something
  else.

- External node support now requires that you set the 'node_terminus'
  setting to 'exec'.

- You now must specify an environment and you are required to specify
  the valid environments for your site.

- The --use-nodes and --no-nodes options are now obsolete.  Puppet
  automatically detects when nodes are defined, and if they are defined it
  will require that a node be found, else it will not look for a node nor
  will it fail if it fails to find one.

- Added support for managing interfaces.

- Puppet clients now have http proxy support.

- Adding module autoloading.

- Significantly reworked external node support, in a way that's NOT
  backward-compatible:

    Only ONE node source can be used -- you can use LDAP, code, or
    an external node program, but not more than one.

    LDAP node support has two changes:  First, the "ldapattrs" attribute is
    now used for setting the attributes to retrieve from the server (in
    addition to required attriutes), and second, all retrieved attributes
    are set as variables in the top scope.  This means you can set attributes
    on your LDAP nodes and they will automatically appear as variables
    in your configurations.

    External node support has been completely rewritten.  These programs must
    now generate a YAML dump of a hash, with "classes" and "parameters" keys.
    The classes should be an array, and the parameters should be a hash.  The
    external node program has no support for parent nodes -- the script must
    handle that on its own.

- Replaced the obsolete RRD ruby library with the maintained RubyRRDtool
  library

- Significantly reworking configuration parsing.  Executables all now
  look for 'puppet.conf', although they will parse the old-style
  configuration files if they are present, although they throw a
  deprecation warning.  Also, file parameters (owner, mode, group) are now
  set on the same line as the parameter, in brackets.
2008-04-04 15:20:48 +00:00
tonnerre
931fc5dbf8 Various style improvements as suggested by Joerg:
- Don't use variables that contain EXAMPLESDIR
 - Eliminate PLIST_SUBST
 - Use SUBST instead of post-patch target
 - Use INSTALLATION_DIRS instead of INSTALL_DATA_DIR
 - Use proper English capitalization in patch files
2008-03-13 20:05:09 +00:00
tonnerre
5d7984a759 Add Puppet version 0.22.4
Approved-by: jlam, gdt
2008-03-13 14:17:05 +00:00