summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application
Commit message (Collapse)AuthorAgeFilesLines
...
* | (#1204) Reformat help text for puppet masternfagerlund2011-02-171-28/+43
| | | | | | | | Markdown changes for compatibility with ronn.
* | (#1204) Reformat help text for puppet kick and inspectnfagerlund2011-02-172-51/+64
| | | | | | | | Markdown changes for compatibility with ronn.
* | (#1204) Reformat help text for puppet filebucketnfagerlund2011-02-171-29/+43
| | | | | | | | Markdown changes for compatibility with ronn.
* | (#1204) Fix garbled help for puppet filebucketnfagerlund2011-02-171-21/+12
| | | | | | | | The actual text was somewhat disarrayed. No ronn fixes in this patch.
* | (#1204) Edit content of puppet describe helpnfagerlund2011-02-171-6/+1
| | | | | | | | | | It's a simple tool, it doesn't need both synopsis and description. Especially when they're identical.
* | (#1204) Reformat help text for puppet cert and describenfagerlund2011-02-172-73/+90
| | | | | | | | Markdown changes for compatibility with Ronn.
* | (#1204) Edit content and formatting of puppet apply helpnfagerlund2011-02-171-33/+49
| | | | | | | | | | The puppet apply help was somewhat lacking, so I edited the content while making its formatting ronn-compatible.
* | (#1204) Reformat help text for puppet doc and puppet agent.nfagerlund2011-02-172-149/+163
| | | | | | | | | | Markdown changes for compatibility with Ronn, in the interest of better manpages.
* | Merge branch 'maint/2.6.next/help' into nextJesse Wolfe2011-02-0311-0/+1052
|\ \
| * | Maint: move puppet resource --helpJesse Wolfe2011-02-031-0/+104
| | |
| * | Maint: move puppet kick --helpJesse Wolfe2011-02-031-0/+131
| | |
| * | Maint: move puppet queue --helpJesse Wolfe2011-02-031-0/+59
| | |
| * | Maint: move puppet doc --helpJesse Wolfe2011-02-031-0/+84
| | |
| * | Maint: move puppet cert --helpJesse Wolfe2011-02-031-0/+111
| | |
| * | Maint: move puppet apply --helpJesse Wolfe2011-02-031-0/+76
| | |
| * | Maint: move puppet describe --helpJesse Wolfe2011-02-031-0/+53
| | |
| * | Maint: move puppet filebucket --helpJesse Wolfe2011-02-031-0/+98
| | |
| * | Maint: move puppet master --helpJesse Wolfe2011-02-031-0/+77
| | |
| * | Maint: move puppet agent --helpJesse Wolfe2011-02-031-0/+206
| | |
| * | Maint: remove puts and exit from inspect --helpJesse Wolfe2011-02-031-1/+1
| |/
| * (#6018) Nick F's --help text for puppet inspect.Jesse Wolfe2011-02-031-0/+53
| |
* | Merge branch '2.6.x' into nextMatt Robinson2011-02-021-4/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.6.x: (46 commits) Augmentation of tests for prior commit Fix to fix for #5755 -- backref serialization issues in zaml Fixed #5564 - Added some more fqdn_rand documentation Fixed #4968 - Updated list of options turned on by --test in documentation (#5061) - allow special hostclass/define variables to be evaluated as defaults. (#6107) Fix an error when auditing a file with empty content Remove already initialized constant warning from file_spec.rb tests (#5566) Treat source only File checksums as syntax errors when used with content Rename variable used in File type validation to be more clear Remove invalid "timestamp" and "time", and add missing "ctime" File checksum types. Remove order dependency when specifying source and checksum on File type Bug #5755 -- ZAML generates extra newline in some hash backreferences. bug #5681 -- code fix to handle AIX mount output Bug #5681 -- parse AIX mount command output. Spec for #5681 to allow parsing of AIX mount output in mount provider Fixed #6091 - Changed POSIX path matching to allow multiple leading slashes Bug #6091 -- test leading double-slash in filenames are allowed. Fixed #6071 - Fixed typo and improved exec path error message Fixed #6061 - Allowed -1 as password min/max age Bug #6061 -- verify that negative {min,max}_password_age are accepted. ... Manually Resolved Conflicts: lib/puppet/util/zaml.rb spec/unit/util/zaml_spec.rb
| * Merge remote branch 'james/tickets/2.6.x/5916' into 2.6.nextJesse Wolfe2011-02-011-4/+1
| |\
| | * Fixes #5916 - Cleanup of unused doc methods and documentationJames Turnbull2011-01-171-4/+1
| | |
* | | Merge branch '2.6.x' into nextMatt Robinson2011-01-191-7/+44
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.6.x: (21 commits) (#5900) Include ResourceStatus#failed in serialized reports (#5882) Added error-handling for bucketing files in puppet inspect (#5882) Added error-handling to puppet inspect when auditing (#5171) Made "puppet inspect" upload audited files to a file bucket Prep for #5171: Added a missing require to inspect application. Locked Puppet license to GPLv2 (#5838) Support paths as part of file bucket requests. (#5838) Improve the quality of file bucket specs. (#5838) Make file bucket dipper efficient when saving a file that already exists (#5838) Implemented the "head" method for FileBucketFile::File terminus. (#5838) Reworked file dipper spec to perform less stubbing. (#5838) Added support for HEAD requests to the indirector. (#5838) Refactored error handling logic into find_in_cache. (#5838) Refactored Puppet::Network::Rights#fail_on_deny maint: Remove unused Rakefile in spec directory (#5171) Made filebucket able to perform diffs (#5710) Removed unnecessary calls to insync? Prep for fixing #5710: Refactor stub provider in resource harness spec Maint: test partial resource failure maint: Inspect reports should have audited = true on events ... Manually Resolved Conflicts: lib/puppet/file_bucket/dipper.rb lib/puppet/indirector.rb lib/puppet/network/rest_authconfig.rb spec/unit/file_bucket/dipper_spec.rb spec/unit/file_bucket/file_spec.rb spec/unit/indirector_spec.rb
| * | (#5882) Added error-handling for bucketing files in puppet inspectNick Lewis2011-01-131-1/+5
| | | | | | | | | | | | Paired-With: Paul Berry
| * | (#5882) Added error-handling to puppet inspect when auditingNick Lewis2011-01-131-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | If auditing a resource fails, the report will contain failure events for every audited property of the resource. The report itself will also be marked as "failed". Paired-With: Paul Berry
| * | (#5171) Made "puppet inspect" upload audited files to a file bucketPaul Berry2011-01-131-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | This only occurs if the new setting :archive_files is set. Another new setting, :archive_file_server, can be used to specify the server that files should be uploaded to. Paired-with: Nick Lewis <nick@puppetlabs.com>
| * | Prep for #5171: Added a missing require to inspect application.Paul Berry2011-01-131-0/+1
| | | | | | | | | | | | Paired-with: Nick Lewis <nick@puppetlabs.com>
| * | maint: Inspect reports should have audited = true on eventsMatt Robinson2011-01-061-1/+7
| |/ | | | | | | Paired-with: Jesse Wolfe
* | Merge branch '2.6.x' into nextNick Lewis2011-01-061-6/+12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Rakefile lib/puppet/resource/type_collection.rb lib/puppet/simple_graph.rb lib/puppet/transaction.rb lib/puppet/transaction/report.rb lib/puppet/util/metric.rb spec/integration/indirector/report/rest_spec.rb spec/spec_specs/runnable_spec.rb spec/unit/configurer_spec.rb spec/unit/indirector_spec.rb spec/unit/transaction/change_spec.rb
| * Merge branch 'ticket/2.6.next/5698' into 2.6.nextJesse Wolfe2011-01-031-2/+6
| |\
| | * Fix #5698 puppet inspect shouldn't report of attributes of deleted filesJesse Wolfe2011-01-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | If a resource is absent, then reporting that its properties are all ":absent" is not particularly correct. This patch makes the `inspect` application's reports behave more like `apply` reports, and skip properties other than :ensure for absent resources. Reviewed-By: Nick Lewis <nick@puppetlabs.com>
| * | (#5715) Refactor in preparation for adding a status attribute to reports.Paul Berry2010-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed Puppet::Transaction::Report#calculate_metrics to finalize_report, in preparation for adding more functionality to this method. Removed Puppet::Transaction#send_report and Puppet::Transaction#generate_report. The former was never used, and the latter was unnecessary.
| * | (#5715) Added total time to inspect reports and made inspect metrics more ↵Paul Berry2010-12-301-5/+5
| |/ | | | | | | | | | | | | consistent. Inspect reports now contain all the metrics that apply reports do, and use the same code path for creating them.
| * (#5493) Add report_format, puppet_version, and configuration_version to ReportsNick Lewis2010-12-161-0/+2
| | | | | | | | | | | | | | | | | | Current report formats are: 0: 0.25 reports and earlier 1: 0.26.1 - 0.26.4 reports 2: 0.26.5 and beyond Paired-With: Jesse Wolfe
| * (#5375) Rework puppet apply to use configurer.runPaul Berry2010-12-161-18/+2
| | | | | | | | | | | | | | Puppet apply used to contain code that duplicated the functionality of configurer.run. Refactored to share code. Paired-with: Jesse Wolfe <jesse@puppetlabs.com>
* | Merge branch '2.6.x' into nextNick Lewis2010-12-161-0/+80
|\| | | | | | | | | | | | | | | | | Manually Resolved Conflicts: lib/puppet/resource/type_collection.rb spec/unit/configurer_spec.rb spec/unit/indirector/catalog/active_record_spec.rb spec/unit/resource/type_collection_spec.rb spec/unit/transaction/resource_harness_spec.rb
| * (#4943) Add puppet inspect applicationNick Lewis2010-12-021-0/+80
| | | | | | | | | | | | | | | | | | "puppet inspect" will load the locally stored YAML catalog and record the current state of the audited properties in the catalog. It uses settings specified in the [agent] configuration section, and will send its inspect report to the specified server. Paired-With: Jesse Wolfe
* | Maint: Modified uses of indirector.save to call the indirection directly.Paul Berry2010-11-303-4/+4
| | | | | | | | | | | | | | | | | | | | | | This change replaces calls to <model object>.save with calls to <model class>.indirection.save(<model object>). This makes the use of the indirector explicit rather than implicit so that it will be easier to search for all indirector call sites using grep. This is an intermediate refactor on the way towards allowing indirector calls to be explicitly routed to multiple termini. This patch affects production code.
* | Maint: Refactor code to use <class>.indirection.<method>Paul Berry2010-11-296-16/+15
| | | | | | | | | | | | Replaced uses of the find, search, destroy, and expire methods on model classes with direct calls to the indirection objects. Also removed the old methods that delegated to the indirection object.
* | (#5375) Rework puppet apply to use configurer.runPaul Berry2010-11-231-19/+2
| | | | | | | | | | | | | | Puppet apply used to contain code that duplicated the functionality of configurer.run. Refactored to share code. Paired-with: Jesse Wolfe <jesse@puppetlabs.com>
* | Merge remote branch 'masterzen/feature/master/4339' into nextPaul Berry2010-11-222-0/+6
|\ \ | | | | | | | | | | | | Manually resolved conflicts: spec/unit/configurer_spec.rb
| * | Fix #4339 - Locally save the last report to $lastrunreportBrice Figureau2010-11-132-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Using the cache terminus system, when --report is on, we are now caching the last report as a yaml file in the $lastrunreport file (which by default is $statedir/last_run_report.yaml). Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * | Fix #4339 - Allow puppet apply to save last run summaryBrice Figureau2010-11-131-0/+1
| |/ | | | | | | | | | | | | Puppet apply inconditionally saves its last run summary like puppet agent. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* / (#5370) Made metrics and --summarize work with Puppet applyPaul Berry2010-11-221-1/+1
|/ | | | | | | | | | | | | | | Puppet apply and Puppet agent use different code paths to run the transaction. In the code path for Puppet apply, we weren't passing the report to catalog.apply, and as a result catalog.apply was creating its own report to store metrics in; this report was then discarded. As a result, reports generated using "puppet apply" had no metrics, and the "--summarize" option didn't work at all. Fixed by modifying the "puppet apply" code path to pass the report to catalog.apply. In the future it would be nice to refactor the two code paths to be the same. Paired-with: Jesse Wolfe <jesse@puppetlabs.com>
* Fix for #4637 --use of namevar missed in refactorMarkus Roberts2010-09-091-1/+1
| | | | | A use of namevar apparently slipped through the net or got (re)introduced in a merge/conflict resolution.
* Fixed queue require for #4555James Turnbull2010-09-031-1/+1
|
* Fix for #4501 -- reports not generated in standaloneMarkus Roberts2010-08-241-5/+10
| | | | | | | The refactors for 2.6.x stopped "puppet apply" from saving reports; this fix adds report saving back to puppet apply but leaves a number of related issues (code path consolidation, report contents, etc.) unresolved for future patches in the 2.6.x series or more significant refactoring in 2.7.x.
* [#4555] puppet queue tries to call code it hasn't requiredJesse Wolfe2010-08-211-0/+1
| | | | | | | | | puppet queue was trying to call .subscribe on Puppet::Resource::Catalog::Queue, but that object had not been loaded into the ruby interpreter. This bug was partially masked by ruby's confusing constant resolution, which was incorrectly returning the Puppet::Application::Queue class instead of throwing a NameError