fixes #777 - this enable auditing of when a host is changing its puppet class assignmetns
one limitation of this patch is that at the moment, each class changegets its own audit record.
fixes #322 Ability to add custom variables and multiple values resovledin a dynamic Hierarchally order
This commits introduces the ability to define variables per puppetclass.
additionally, each class can have multiple values, depends on the hostwhich is requesting that variable....
splitted setting default data from the migrationthis allows to add new data and modify its defaultsimproved settings UI a bit morerefs #100
fixes #100 - Setting is now a ActiveRecord object
This allows users to manage foreman settings via the UI.
the UI is a bit ugly, but works :)
fixes #35 - Allow hostgroup nesting for puppet classes and parameters
fixes #987 - migration fails when using postgres after #820
Fixes #820 - Intel Solaris support
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
errors bookmark was wrong. fixes #886
ensures migration can actually run... refs #836
added search bookmarks, fixes #836
app/controllers/bookmarks_controller.rb | 74 ++++++++ app/helpers/application_helper.rb | 2 +-...
fixes #52 - remove unused fields from puppetclasses table
fixes #259 - Ability to search Hosts by Parameters
fixes #774 - Migration may fail if upgrading from a 0.1-5 and older foreman
fixes #495 - only value field needs to be text, reverting
fixes #495 - ensure we handle the correct index if there is more than one
fixes #495 - Facts truncation when using storeconfig and sharing a MySQL DB with puppet
Fixes #609 - Orchestrate puppetca operations
This also includes adding support for a puppet smart-proxy target typeand providing migration supportUpdated to provide backward compatability for host and hostgroup objectsNow terminates the build and incorporates other fixes...
Fixed #465 - Use correct condition in migration AddOwnerToHosts.
fixes #733 - All hosts are unmanaged after #641
Fixes #642 - Redo managed host implementation
Fixes #664 - smart-proxy features
Now provides feedback on the smart-proxy connection and query
Fixes #632 - Adds the ability to generate a PXE menu containigprovisioning template and hostgroup combinations on smart proxies
Fixes #631 - Adds the ability to set default values for hostgroups, whichare automatically applied when creating a new host (and selecting thathost group), and allows for templates to be rendered with those defaulthostgroup values
fixes #427 - Ability to provision xen/kvm guests
this patch adds support to libvirt based hypervisors
Fixes #263 - Refactored Foreman to use correct singular and pluralization of medium/media
Fixes #65, Fixes #339 and Fixes #539
Fixes #468 - adding a default template for a grubby script which create a default script for redhat distros that will re-install it when executed
Fixes #378 - Adds support for multiple configuration templates
Configuration templates (Kickstart, preseed, syslinux, gpxe etc) can nowbe saved in the database directly.
Each template is associated with valid operating systems (unless if its asnippet which can rendered via all other templates) and a possible...
fixes #461 - Newly installed foreman installation creates the admin account without Admin permissions
fixed wrong usage of find_in_batches --> oops
Fixes #440 - Admin acount is created without admin permissions
Fixes #436 - Migration should not fail if domain name is not set
Optimize the way reports are being converted
Currently, the DB migration tasks load the entire reports table intomemory, this could be very diffuclt to do for a Foreman instance withmany records.
Fixes #366 - Redmine authorization port
This is a major feature which provides RBAC authorization within Foremana mental note to myself - never ever work on large commits
Fixes #421 - change literal 1 to true in database migration AddEnabledToHosts.
Fixes #405 and Fixes #349 - Adds support to 2.6.x reports
NOTE: Its recommended to Backup your DB prior to using this patch.
Added a basic notice facility to foreman
Notice.create :message => "text", :level => level, :global => booleanif global is true then any user can cancel that message for all userselse each user must cancel the message individually
level can be "warning" or "message"...
Fixes #145 - Added AuthSourceInternal
Added a password setting facility to the user class for AuthSourceInternalSwitched to SHA1Changed :ldap to :loginApplied numerous fixes from Ohad LevyFixed malformed user pageSwitched attr_accessible to attr_protected...
Fixes #260 - Switch to using STI for OS families
Fixes #261 - parameters now use a single reference_id
This implementation uses STI but the table looks the same for allvariants. This is a little strange but it seems to work.
Also removed obsolete controllers and testsAdded more tests
fixes #297 - Prevent operatingsystem.minor from storing NULLs
fixes #290 - migration will fail if facter domain returns on value
fixes #280 - sample data should include newer operating systems
migration might fail if medium does not have an opeartingsystem - refs #236
Fixes #266 - Migrate the (NFS-) paths of existing Installation Media to URI format.
fixes #236 - Installation media are now usable with more than one operating system.
Fixes #265 - improved preseed template and more complicated partitioning scheme for Debian-based distributions.
fixes typo in migration, refs #170
Fixes #170 - implement usergroups
Added migrationAdded testsAdded MVC filesAdded the routes as wellAdded the program logic and additional viewsAdded RESTful actions for update and createAdded validations to ensure that usergroup.name and user.login do not collide...
Fixes #13 - Manage Debian family release-name
Fixes #177 - Family concept
It will_paginate and handle searchesAdded family support to OperatingsystemMore work will be needed to add family support to host manipulation.
fixes #189 - Fact filter should be case sensitive
fixes #141 - add support to extlookup kind of queries through foremanusage:wget -q -O - "http://foreman/lookup?key=ntpserver&order[]=my.domain&order[]=common" if you want it in YAML, just add:wget -q -O - "http://foreman/lookup?key=ntpserver&order[]=my.domain&order[]=common&format=yml"
fixes #156 - reports will fail if its longer than 64kb
uncommenting debug code
fixes #80, fixes #106 and fixes #128
fixes #56, changed the migration order
added missing index page and added db indexs - ref #30
Fixes #30 - a very basic version for now - feature requests ARE WELCOMED
clean up remain original audit files
Merge branch 'audits'
added act_as_audited plugin, seems to be a better implementation than our onws
Basic infrastructure to Support Audit Logs - ref #43
moving to DB based sessions, AR requires sometimes sessions bigger than 4k - until we'll move to memcache
Squashed commit of the following:
commit c4382aeea5d72402bcbf3049d3c08f74792ca379Author: Ohad Levy <ohadlevy@gmail.com>Date: Thu Oct 15 22:03:26 2009 +0800
disable ldap by default
commit 685baf5f2c78128feebcbeed6910b131a072a81bAuthor: Ohad Levy <ohadlevy@gmail.com>...
Fixes #14; this adds database index to make host, parameters and reports table perform better
fixes #10
#fixes #11
added domain and common specific parameters.this adds a similar functionality to extlookup.the order in which parameters are processed is:common => domain => hostgroup => hostwhere the latest occurrence of a parameter takes priority.
Added Groups to puppet classes, now its possible to associate a host with a group of classesit also allowed to setup parameters per group and override them in the host level
I've done it late at night, so who knows :)
fixed issues with Ubuntu Preseed, currently tested only on Jaunty, added a default Ubuntu/Debian partition layout
started to simplify kickstart templates, moved a lot of generic stuff to helpers so we dont have to repeat ourselfs in each os
Fix for broken index creation on MySQL servers.It is now possible to create GNI Database on a MySQL server when it wasnot originally initiated by store configs.
added external nodes parameters support
Add support for multiple puppet classes per host / operating system / environment etcthis should enable a proper dropdowns when creating the gui part that shows possible puppet class / operating system / env combinations
fix external nodes to actully work with multiple puppet classes...
added partition table model, this allows to have standard partition tables for new hosts, or a customized ones per host if required
added basic reporting model and methods
realigned models to use :though and habtm when it made sense, setup basic AS controllers to support that
trigger the puppet migration only if its a new db, if its storeconfig already, no need to change anything
linked between arch and os, as each os might have multiple archs
fix the relationship between a host and a media (must be though an OS), added some helpers to auto parse the install path (e.g. NFS or URL) etc
updated migrations to use puppet Rails function of creating the db schema, adjusted what ever it took to get the first Fedora 11 client installed with our kickstart
working kickstart integertaion, WIP
changed migration as this allows puppet storeconfig to use the same database
added subnet model
Added domain model.removed ensure_not_used from all models and add it to Activerecord:Base class as an initalizer
added os model and fix active record relationship to media and host, hopefully supporting the kickstart integeration for path etc
added fact models, aligned db schema with puppet schema, removed unneeded columns
added media model
added arch module
initial host module