fixes #5677 - handle booleans from settings.yml as bools
Fixes #5739 - Only look at reservations when deleting a DHCP record
Fixes #5648 - Match the DHCP specification of last-lease-wins
Fixes #5712: Limit DHCP subnets for ISC if necessary
fixes #5561 pass arguments correctly in run puppet over ssh
fixes #5522 - future parser can be set in puppet.conf [main]
fixes #5239 - update for Puppet 3.5 future parser changes
fixes #5054 - Minor bug fixes to FreeIPA Smart Proxy
fixes #5123 - corrected string typos
fixes #5123 - IP only from the same subnet and range
fixes #5019 - puppet cert sudo command now configurable and optional
fixes #1809 - freeipa integration to smartproxy
fixes #4686 - don't rely on Puppet[:config] to store config file location
fixes #4661 - store hostname with virsh DHCP reservations
fixes #4658 - parse puppet.conf with augeas instead of puppet internals
refs #3874 - add which to wget call
refs #3699 - combine paths when running Foreman under a prefix
refs #3699 - fix typo in chef_proxy's authentication, overriding wrong variable
fixes #3991 - dnscmd provider for smart-proxy (Windows)
fixes #3943 - add simple virsh providers for libvirt DNS/DHCP
fixes #2878 - Import Classes when using parser = future, on Puppet 3.2+
fixes #3941 - Support for Junos ZTP
fixes #3874 - extend paths for FreeBSD support
fixes #3067 - add sparc solaris dhcp options for ISC
fixes #3936 added a method of running a custom tool, to trigger puppet.
fixes #3732 - Saltstack puppet provider, using 'salt host puppet.run'
fixes #3699 - chefproxy feature, proxies facts and reports to Foreman
fixes #3150 - adds ability to specify the user to invoke sudo as when calling mco/puppet kick
fixes #3173 - tell puppetca to use the configured ssl dir
fixes #2870 - Always empty PXEClient on native_ms
fixes #3048 - Add execution debug statement to the logs
fixes #3047 - added puppetrun over ssh support
fixes #3009 - add Proxy::Log to Proxy::DNS::Nsupdate class so 'logger.debug' works
fixes #2738 - handle multiple dynamic modulepaths
Fixes #2714 - corrected IO#popen parameter on ruby 1.8.7
fixes #2662 - Proxy::Util.escape_for_shell is being used in PuppetRun.run and MCollective.run methods
Fixes #2659 - Use gsub in a non-destructive manner
Fixes #2654 - Rewrite master as production when only one environment is found
fixes #2520 - defines default settings for dns and puppet
fixes #2614 - log messages regarding puppetrun via mcollective
Fixes #2119 - Properly support colon-separated modulepath
fixes #2523 - add missing require
fixes #2116 - mcollective support for the proxy to initialize puppetrun
fixes #1685 - GSS-TSIG support for DNS updates
Override the initialize method for the shell provider, as no connection setup is needed
fixes #2388 - The path to puppetca is /opt/puppet/sbin for PE.
fixes #2387 - Add shell provider to the BMC API
fixes #2067 - disable puppet's handling of 'import' to fix manifests containing it
fixes #2191 - undef in puppet class params is optional
Fixed bad indentation in the puppet clasS
fixes #2261 - fixes for CI testing under Ruby 1.9
Support minitest in Jenkins rake tasks, add rdoc and minitest deps due toold 1.9.2 versions. Fix PLATFORM under 1.9, fix 1.9.3 specific test.
Fixed CVE-2013-0210 and added test for new escape method
fixes #1674: Ignore commented lines when reading all certificates in autosign and make sure the autosign file contains a EOL on the last line
refs #1567 - fixed a copy paste error
fixes #2085 - load Puppet 3 app defaults for master mode too
Allows $confdir and other run mode specific settings to be initialised fromthe defaults present in Puppet::Util::RunMode. When requesting detail onclasses, the Puppet parser indirectly requests app level settings so both...
fixes #2114 Add warning if no environments found
fixes #2099 - fix handling of multiple module paths
Replace every occurrence of $confdir, not only the first one
fixes #2099 - interpolate $confdir if $environment not used
fixes #2077 - proxy should not return nil for parameters with a function call
in cases where puppet has class declaration such as:
class xyz($param = myfunction('p'))
the proxy would return a that param value is nil.this patch changes that, so it return it as a string, allowing users to know...
fixes #2031 - Remove dependency on net-ping
fixes #2016 Use a tmpfile+lockfile to avoid race conditions in IP suggestion
fixes #1983 - use /etc/puppet/puppet.conf by default
When initialising Puppet 3 settings directly, a config dir or file is required,so default to /etc/puppet/puppet.conf (as the puppetca code also does).
Fixes #1984 - explicitly call array.join when writing autosign.conf
fixes #1967 - missing require for Puppet constant
fixes #1915 - load environments from Puppet 3
Two changes to support loading environment settings from Puppet 3:
Fixes #1941 - Load only the puppet binary when puppet 3 or higher is used
More detailed log message for puppetca ssldir Add ssldir and puppetdir to config examples Fixes #1104
Fixes #1761 - default to /etc/puppet if we can't find a value for
Fixes #1914: Raise if we cannot read the puppet conf file, report the path otherwise
added comment for code clarity
make sure that class parameters are prefixed correctly and not as strings
fixes #1836 - puppet cert in 2.7.19 has a different exit code
fixes #1835 - proxy now can import classes from puppet 2.7.19
feature #1829 - add bmc ipmi support to smart proxy
Export arguments of parameterized classes
Use puppet/parser for a first class analysis of the class definitions.Using regexes would have been a nightmare.
Exports a "params" sub-object whose keys are the parameter names andvalues are a best-effort convertion from AST leaves to native ruby...
fixes #1733 - Environment issue if the env is not specifically defined
fixes #1759 - puppet 2.7.18 changed puppetca output
which result in adding quotes to the certnames.
this patch should cover both cases (older and newer puppet)
Changes for Ruby 1.8/9 compatibilty, and Debian packaging guidelines
fixes #1567 - Foreman-proxy ignores dhcpd.conf include directive
Adding functionality that can detect and parse included files in dhcpd.conf.Supports same syntax as dhcpd.conf(5) manual page specifies on the includestatement:
include "filename";...
Don't modify the hash we are iterating on when listing environments fixes #1654
Filter folders matching correct environments name
"Environment names should only contain alphanumeric characters andunderscores, and are case-sensitive" http://docs.puppetlabs.com/guides/environment.html#naming-environments
Was not returning true on command success, caused puppet_api.rb to print false messages.
fixes # 1587 Puppet's modulepath not interpreted correctly by proxy
fixes #1552 - expand $confdir if used in puppet.conf modulepath
fixes #1547 - Stack Trace with log level Error
Signed-off-by: Florian Koch <florian.koch1981@googlemail.com>
Add to_json method to lease and reservation module
The /dhcp/:network returned strings instead of dicts forreservation and leases. This patch adds to_json methodsfor reservation and lease to return dicts instead of strings.
refs #1387 make sure that we won't fail if the modulepath detection is wrong
fixes #1387 - support puppet dynamic environments detection
refs #1499 - minor restructuring
fixes #1499 - show puppet environments and classes over the API
fixes #1442 - ip suggestion should take into account nic mac address
fixes #1438 - the proxy should not consider dhcp leases as conflicts
fixes #884 - IP proposed during Host creation does not belong to IP range defined in the subnet
fixes #1383 - aready existing dns entries should not raise a collision exception
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
fixes #1366 - identifies omshell key conflict output
You'll get a key conflict from omshell when trying to add a hardwareaddress that already exists in a host { } statement in dhcpd.conf.This can be quite difficult to figure out, this should fix it.
create...
fixes #1349 - some certificates are shown twice
fixes #1177 - Ensure that Solaris DHCP vendor options creation on Windows DHCP works correctly.
fixes #1154 - ms dhcp smart proxy error 400
This commit is not ideal in term of performance, as it forces us to read eachreservation options, a probably better approch is to read the output from thedump command instead.
clean up code passing, and removed duplicate code between dhcp server implementations
fixes #1116 - When requesting the same dhcp reservation, if its not conflicting return 200