1.0RC2
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)
1.0RC1
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
support for IPv6 PTR
fixes #1565 - report error when cannot create pid
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
version bump to 0.3.1
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
version bump
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 #1149 - add backtrace to log failures
fixes #1116 - When requesting the same dhcp reservation, if its not conflicting return 200
Fixes #1100 - Conflict returns 400 error code
Fixes #1094 - ISC loadRecordOptions call
Fixes #1055 - SETTINGS.dhcp_subnets
Signed-off-by: Paul kelly <paul.ian.kelly@googlemail.com>
Fixes #1033 - DHCP Vendor options
Fixes #1037 - dns_key should be optional
Fixes #1036 - @om close error
Fixes #1035 - Missing require resolv
Fixes #1034 - Use name and not hostname option
Fixes #1023 - Add collision exception type for DNS and DHCP
Fix: 1006 -- puppetrun is depreciated in puppet 2.6
Signed-off-by: Corey Osman <corey@logicminds.biz>
Fixes #959 - Added Native MS DHCP options capture
Bugfix #1004 - puppetca is depreciated in puppet 2.6
Fixes #846 - supports Solaris TFTP pxe configuration files
Fixes #845 - puppetca delete operations should report NotFound
Foreman does not consider this an error and checks for it
fixes #879 - Cryptic error message when nsupdate is not found
fixes #880 - incorrect parsing of key settings causes wrong argument type
partial fix - refs #853
refs #853 - fixes typo
fixes #878 - Include wget limits for timeout and retries.
Signed-off-by: Marcello de Sousa <foreman-dev@area151.com>
fixes #783 -API should contain a version
fixes #853 - If used with the proxy, the dhcpd server is open for connections from any server
refs #873 - do not merge pending certificate request info with revoked certificates
fixes #873 - puppetca api should include revoked certificates and timestamps
refs #869 - fixed typos
fixes #869 - Enable API to sign pending certificate requests
Fixes Bug #800, Adds support for tftp_servername
Setting this value overrides the value in the subnetdeclaration for the name of the tftp server
Signed-off-by: Mark Bainter <mark.bainter@match.com>
fixes #801 - Flatten path before iterating
Signed-off-by: Frank Sweetser <fs@wpi.edu>
fixes #795 - Failed to fetch boot files on older ruby versions
Fixes #781 - Cleanups and remove ebarresing code
Fixes #781 - DHCP create attempted when mac already used
includes fixes for both ISC and MS implementations.Signed-off-by: Paul kelly <paul.ian.kelly@googlemail.com>
Fixes 779 - windows 64 bit detection wrong
Fixed #780 - Broken error messaging in MS DHCP
fixes #755 - parenthesize warning
fixes #754 - undefined method '+' for #<Proxy::DNS::Error
fixes #752 - Lookup the constant for the log level
As written, the Logger::WARN is just a string, causing a crash whencomparing FIXNUM to String types. Switched to using get_const.Note that this requires changing the settings.yml file to use just theconstant name, :log_level: WARN instead of Logger::WARN...
fixes #753 - puppetca.rb: Fixing typo in comparison operator
fixes #610 - tftp file fetching logging
Fixes #665 - Set option 'bind' or 'host' depending on Sinatra version.
Fixes #707 - ICMP ping only for root
Fixes #710-omshell-errors-on-stderr
Also adds more relevant error messsages and duplicate removals
Fixes #652 - Minor error reporting issues
Fixes #711 - DNS update errors are not returned to foreman
fixes #713: DHCP delete returns "Sinatra doesn't know this ditty"
Fixes #651 - Minor issues with the puppetca interface
Fixes #64 - microsoft DHCP support
Added MS fixes on a Windows hostStubbed the tests so as to not require an active subnetChanged chomp to chomp! plus others identified by Ohad
fixes #627 - Smart Proxy should be able to create a default tftp menu
Fixes #663 - Provides a feature query facility
Fixes #627 - added the ability to save a default pxe boot file
Fixes #655 - add :json to log_halt
fixes #620 - PID file creation under /var/log/foreman-proxy
fixes #625 - provide dhcp subnet details via json
fixes #624 - allow the proxy to list/show puppet certificates
This also fixes the correct http response on failure and some internal refactoring to how the puppet certification handling is processed
fixes #662 - smart proxy can't be stopped
Fixes #619 - dsn_key is optional
Fixes #618 - Provide a dns_server setting
fixes #615 - puppetca should comply with rest best practices
added /puppetca/autosign --> returns a list of autosign enabled certsadded /puppetca/autosign{POST,DELETE} accordingly
fixes #614 - proxy should support Daemon mode
fixes #613 - Allow to use SSL to communicate with the proxy
fixes #610 - tftp file fetching should be logged into the smart-proxy log
cleanup sinatra code.helpers are now shared accross all urls.
fixes #571 - Use Net::Ping library rather than system call
Clean up of unused code, typos and debug messages
fixes #574 - Exception trace when omshell does not perform
Ensuring that we read the erb files... not the deleted haml files :)
remove redundent attribute
cleanup logic, refs #557
fixes #557 - Adds abandoned lease state to ISC dhcp
dhcp next servers need to be stored in hex, refs #554