Permalink
Switch branches/tags
Nothing to show
Commits on Apr 26, 2012
Commits on Apr 25, 2012
  1. Add spec file

    raphink committed Apr 25, 2012
Commits on Apr 24, 2012
  1. Add augeasquery agent

    raphink committed Apr 24, 2012
  2. Build for all releases

    raphink committed Apr 24, 2012
  3. Merge my changes from 1.2

    raphink committed Apr 24, 2012
Commits on Dec 14, 2011
  1. Merge branch 'upstream'

    mfournier committed Dec 14, 2011
  2. Merge pull request #30 from camptocamp/puppetca-status-option

    ripienaar committed Dec 14, 2011
    puppetca: added a 'status' option find out if a cert is signed, waiting signature, or absent.
  3. updated changelog.

    mfournier committed Dec 14, 2011
  4. updated changelog.

    mfournier committed Sep 6, 2011
  5. Added debian packaging stuff.

    mfournier committed Jun 28, 2011
  6. puppetca: added a 'status' option find out if a cert is signed, waiti…

    mfournier committed Dec 14, 2011
    …ng signature, or absent.
Commits on Nov 11, 2011
  1. Merge pull request #27 from MaxMartin/master

    lifton committed Nov 11, 2011
    DDL change
  2. Change puppetral DDL so title isn't optional

    Max Martin committed Nov 11, 2011
Commits on Nov 10, 2011
  1. Merge pull request #26 from nfagerlund/maint/update-descriptions

    ripienaar committed Nov 10, 2011
    Maint: Fix "name" field for long help output
  2. Maint: Fix "name" field for long help output

    nfagerlund committed Nov 10, 2011
    MCollective's long help output uses the "name" field as the main header for an
    agent's help page, which makes the short name (as used when invoking)
    impractical for use in that field. This commit changes the name fields of the
    package, service, puppetd, and puppetral agents/ddl files to short
    descriptions suitable for long help output.
  3. Merge pull request #25 from nfagerlund/maint/update-descriptions

    stahnma committed Nov 10, 2011
    Edit description strings of agents included in PE2
  4. Edit description strings of agents included in PE2

    nfagerlund committed Nov 10, 2011
    This commit edits the name and description fields of the puppetral, puppetd, service, and package agents/applications/ddls. Names, descriptions, and actions for these agents now match the following guidelines:
    
    * Standardize on the imperative mood
    * The name should be the common name of the agent
    * When possible, descriptions should summarize the most important actions
      (instead of using unclear super-actions like "manage" or "control")
        * Use "and" instead of "or" when summarizing actions
Commits on Nov 7, 2011
  1. Merge pull request #24 from nigelkersten/tb/10578_improve_triggered_p…

    stahnma committed Nov 7, 2011
    …uppet_run_text
    
    (#10578) Improve the text around signalling a daemonized puppet agent.
  2. (#10578) Improve the text around signalling a daemonized puppet agent.

    nigelkersten committed Nov 7, 2011
    Focus on the outcome from the user point of view, not the mechanics
    of how the operation is performed.
Commits on Nov 2, 2011
  1. Merge pull request #23 from mmrobins/master

    ripienaar committed Nov 2, 2011
    Fix another order dependent failure
Commits on Nov 1, 2011
  1. Fix another order dependent failure

    Matt Robinson committed Nov 1, 2011
    The service agent was also redeclaring Puppet::Type, so the package and
    puppetral agents' specs failed when run after.
  2. Merge pull request #22 from mmrobins/fix_specs

    ripienaar committed Nov 1, 2011
    Fix specs
  3. Fix order dependent test failures

    Matt Robinson committed Nov 1, 2011
    running the package spec before the puppetral spec got the following
    problem:
    
        Failure/Error: @agent = MCollective::Test::LocalAgentTest.new("puppetral", :agent_file => agent_file).plugin
        RuntimeError:
          Plugin connector_plugin already loaded
        # /home/vagrant/work/marionette-collective/lib/mcollective/pluginmanager.rb:37:in `<<'
        # /home/vagrant/work/mcollective-test/lib/mcollective/test/util.rb:60:in `create_connector_mock'
        # /home/vagrant/work/mcollective-test/lib/mcollective/test/local_agent_test.rb:15:in `initialize'
        # ./agent/puppetral/spec/puppetral_spec.rb:7:in `new'
        # ./agent/puppetral/spec/puppetral_spec.rb:7
    
    For some reason the PluginManager isn't clearing properly in the package specs
    with the spec_helper.  After manually clearing the PluginManager there was
    still the issue of the package test reopening the Puppet::Type, which then also
    caused problems for puppetral.
    
    Now all the specs pass with the rake task.
  4. Fix broken specs

    Matt Robinson committed Nov 1, 2011
    Recent grammar and style updates to error messages weren't accompanied
    by corresponding test changes.
    
    This commit also includes a bit of refactoring of poorly indented and
    hard to read test data in the puppetral agent spec.
  5. Convert specs to use rspec in the shebang

    Matt Robinson committed Nov 1, 2011
    The rake task to run all the specs was having issues with the fact that
    requiring the spec_helper with different paths does multiple requires
    and leads to issues with declaring the mock framework:
    
        >RUBYLIB=~/work/marionette-collective/lib:$RUBYLIB rake test
        (in /home/vagrant/work/mcollective-plugins)
        /usr/bin/ruby1.8 -S rspec --format s --colour --backtrace agent/package/spec/package_application_spec.rb agent/package/spec/package_agent_spec.rb agent/puppetral/spec/puppetral_spec.rb agent/puppetd/spec/puppetd_application_spec.rb agent/puppetd/spec/puppetd_agent_spec.rb agent/puppetca/spec/puppetca_agent_spec.rb agent/nrpe/spec/nrpe_agent_spec.rb agent/service/spec/service_application_spec.rb agent/service/spec/service_agent_spec.rb
        /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:470:in `assert_no_example_groups_defined': RSpec's mock_framework configuration option must be configured before any example groups are defined, but you have already defined a group. (RSpec::Core::Configuration::MustBeConfiguredBeforeExampleGroupsError)
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:168:in `mock_framework='
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:142:in `mock_with'
                from /home/vagrant/work/mcollective-plugins/agent/puppetral/spec/../../../spec/spec_helper.rb:12
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core.rb:71:in `configure'
                from /home/vagrant/work/mcollective-plugins/agent/puppetral/spec/../../../spec/spec_helper.rb:11
                from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
                from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
                from /home/vagrant/work/mcollective-plugins/agent/puppetral/spec/puppetral_spec.rb:3
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load'
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load_spec_files'
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `map'
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load_spec_files'
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:18:in `run'
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process'
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:69:in `run'
                from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `autorun'
                from /usr/bin/rspec:19
        rake aborted!
    
    One option is to wrap all the requires of spec_helper in expand path, but I
    prefer the more succinct syntax available when rspec is in the shebang.
Commits on Oct 31, 2011
  1. Merge pull request #21 from MaxMartin/master

    lifton committed Oct 31, 2011
    puppetral#create resource info
  2. Change puppetral#create to return more resource info

    Max Martin committed Oct 31, 2011
    Instead of returning the result of the Puppet::Resource.indirection.save
    under the :resource key, we now instead do a find. This has the effect
    of returning more information about the created resource, since the
    return value of indirection.save only contains info about the parameters
    that changed, and not about all properties of the resource.
    
    Reviewed-by: Joshua Lifton <lifton@puppetlabs.com>
Commits on Oct 30, 2011
  1. Merge pull request #20 from nfagerlund/maint/docs_edits_for_pe

    ripienaar committed Oct 30, 2011
    Maint/docs edits for pe
  2. Change package and service agents to Apache 2 license

    nfagerlund committed Oct 30, 2011
    This commit changes the service and package agents (and DDL files) to the Apache
    2.0 license, in order to match the current licensing of Puppet.
Commits on Oct 29, 2011
  1. Docs: Edits to comments and user-facing text in PE-included plugins

    nfagerlund committed Oct 29, 2011
    This commit edits the comments and user-facing prompts in the puppetral,
    puppetd, service, package, sshkey, meta, and actionpolicy plugins, in
    preparation for PE 2.0.
Commits on Oct 28, 2011
  1. Docs: Replace all remaining code.google.com URLs

    nfagerlund committed Oct 28, 2011
    This commit replaces old repo links with current GitHub links, and old wiki
    links with current Redmine wiki links.