-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(PUP-4530) FreeBSD specific service provider fix #3913
Commits on Jan 30, 2015
-
(PUP-3930) Optimize failed_dependencies?
I profiled `puppet agent --test` on one of my servers using stackprof [1] on Ruby 2.1. Something like 30% or more of the time was spent in `Puppet::Graph::SimpleGraph#upstream_from_vertex`, called from `Puppet::Transaction#failed_dependencies?` It turns out that, while evaluating the resource graph, when considering a resource, we look at *the complete set of transitive dependencies* to evaluate whether any of them have failed. This is hugely expensive, and moreover, is wasted work in the success case where no resources fail. Instead of all that work, this patch pushes the work to the *failed* nodes; When a node fails, we transitively walk the dependents of that node, and mark them as having failed dependencies, and then check that flag directly when considering whether to skip a node later. On my test system, this patch drops `puppet agent --test` runtime from about 40s to about 23s. [1] https://github.com/tmm1/stackprof
Configuration menu - View commit details
-
Copy full SHA for 84be695 - Browse repository at this point
Copy the full SHA 84be695View commit details
Commits on Mar 12, 2015
-
(PUP-3930) Track dependency_failed incrementally.
This fixes behavior with dynamically-generated resources, which would previously not exist during the mark_failed walk, and thus not get flagged as having failed dependencies. Add a test case exhibiting the desired behavior, which failed on the previous commit.
Configuration menu - View commit details
-
Copy full SHA for fa219b2 - Browse repository at this point
Copy the full SHA fa219b2View commit details
Commits on Apr 1, 2015
-
(PUP-4363) Move splay handling to utility module
This is to allow it to be shared between the agent and other applications.
Erik Dalén committedApr 1, 2015 Configuration menu - View commit details
-
Copy full SHA for 00550ad - Browse repository at this point
Copy the full SHA 00550adView commit details -
(PUP-4363) Add splay support to puppet apply
Erik Dalén committedApr 1, 2015 Configuration menu - View commit details
-
Copy full SHA for 6c894d4 - Browse repository at this point
Copy the full SHA 6c894d4View commit details
Commits on Apr 8, 2015
-
(PUP-3930) Track the list of failed dependencies
Restore reporting of *which* dependencies have failed when we skip a resource due to failed dependencies.
Configuration menu - View commit details
-
Copy full SHA for 32e2bf2 - Browse repository at this point
Copy the full SHA 32e2bf2View commit details
Commits on Apr 23, 2015
-
(PUP-1253) Add systemd service masking support
This updates the systemd service type to add support for masking. If a service is masked, it is deemed to also be disabled. If a service is masked and changed to enabled, it will first be unmasked since the standard 'systemctl enable' command does not properly unmask the command first. The check against the delcared feature is in place so that users do not have update their code due to differences between systemd and non-systemd systems.
Configuration menu - View commit details
-
Copy full SHA for 1e2a716 - Browse repository at this point
Copy the full SHA 1e2a716View commit details
Commits on Apr 25, 2015
-
Merge pull request #3684 from onyxpoint/PUP-1253
(PUP-1253) Add systemd service masking support
Kylo Ginsberg committedApr 25, 2015 Configuration menu - View commit details
-
Copy full SHA for 836fdc4 - Browse repository at this point
Copy the full SHA 836fdc4View commit details
Commits on Apr 26, 2015
-
(PUP-4030) Support no_proxy env variable
This change allows puppet to respect the no_proxy ENV var when set on the system. Previously, Puppet would respect the http(s)_proxy ENV var when connecting HTTP services (e.g. puppetforge) but ignore the no_proxy setting. Documentation is a bit inconsistent with regards to specifying domain level exception. WGET docs for example, state that the no_proxy list should be of suffixes and thus an entry with a preceeding '.' (e.g. .example.com) creates an exception for any host under that domain. Curl man pages and other intenet resources, suggest the use of a '*' as a wildcard. This change supports both notations.
Chris Portman committedApr 26, 2015 Configuration menu - View commit details
-
Copy full SHA for 90560ed - Browse repository at this point
Copy the full SHA 90560edView commit details
Commits on Apr 27, 2015
-
Configuration menu - View commit details
-
Copy full SHA for ae31f9a - Browse repository at this point
Copy the full SHA ae31f9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6960815 - Browse repository at this point
Copy the full SHA 6960815View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac1de00 - Browse repository at this point
Copy the full SHA ac1de00View commit details -
Configuration menu - View commit details
-
Copy full SHA for d69dec0 - Browse repository at this point
Copy the full SHA d69dec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e034275 - Browse repository at this point
Copy the full SHA e034275View commit details -
(PUP-4413) Add acceptance test that 3x forbidden env names work in 4x
This change adds an acceptance test to ensure that the 3x forbidden environment names now work, and continue to work in 4x. There are 4 previously forbidden names, which means this test has to run puppet 5 times, unfortunately.
Eric Thompson committedApr 27, 2015 Configuration menu - View commit details
-
Copy full SHA for 606ecda - Browse repository at this point
Copy the full SHA 606ecdaView commit details
Commits on Apr 28, 2015
-
Merge pull request #3871 from er0ck/acceptance/master/PUP-4413-Add_ac…
…ceptance_test_that_3_x_forbidden_env_names_work_in_4_x (PUP-4413) Add acceptance test that 3x forbidden env names work in 4x
Configuration menu - View commit details
-
Copy full SHA for 6a3dfe0 - Browse repository at this point
Copy the full SHA 6a3dfe0View commit details -
Merge pull request #3875 from puppetlabs/stable
Merge Stable to Master
Configuration menu - View commit details
-
Copy full SHA for 867e24c - Browse repository at this point
Copy the full SHA 867e24cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8964241 - Browse repository at this point
Copy the full SHA 8964241View commit details
Commits on Apr 29, 2015
-
(PUP-3341) use the proper manifest with puppet apply and ENC
The apply application works by overriding the :current_environment with the file that was specified on the command line. This had no effect when the node object (from the ENC) specified an environment of its own. Remedy this by looking up the node before the environment, favoring its environment over the configured value and overriding the :manifest of the chosen one.
Configuration menu - View commit details
-
Copy full SHA for 39bdac0 - Browse repository at this point
Copy the full SHA 39bdac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6410910 - Browse repository at this point
Copy the full SHA 6410910View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4a83ed - Browse repository at this point
Copy the full SHA a4a83edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c267e1 - Browse repository at this point
Copy the full SHA 9c267e1View commit details -
(PUP-3341) add tests for the changed behavior
It was decided that (for the time being) puppet apply should behave like agent/master when an environment is configured (or specified via command line argument) and prefer the environment that was returned by the ENC. A warning to that effect should be displayed to the user. (The warning is not added through this branch - we had this already.)
Configuration menu - View commit details
-
Copy full SHA for e4dfc0a - Browse repository at this point
Copy the full SHA e4dfc0aView commit details
Commits on May 4, 2015
-
Configuration menu - View commit details
-
Copy full SHA for d1c2a50 - Browse repository at this point
Copy the full SHA d1c2a50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f850e5 - Browse repository at this point
Copy the full SHA 8f850e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 199c8e8 - Browse repository at this point
Copy the full SHA 199c8e8View commit details -
Merge pull request #3890 from roman-mueller/newtype_deprecation_warning
(PUP-4517) Add type name to Puppet.newtype deprecation warning
Configuration menu - View commit details
-
Copy full SHA for 04320b0 - Browse repository at this point
Copy the full SHA 04320b0View commit details -
(PUP-4532) Add launchd plist for use with OSX AIO
This commit adds a launchd plist for use with OSX AIO packaging.
Heath Seals committedMay 4, 2015 Configuration menu - View commit details
-
Copy full SHA for b8e51e3 - Browse repository at this point
Copy the full SHA b8e51e3View commit details -
Merge pull request #3891 from heathseals/pup-4523
(PUP-4532) Add launchd plist for use with OSX AIO
Configuration menu - View commit details
-
Copy full SHA for aa796fa - Browse repository at this point
Copy the full SHA aa796faView commit details -
(maint) Use composable rspec matcher
Previously, the test was joining the log messages with newlines, and then testing if the error message matched. Rspec 3 matchers are composable, so we can assert more directly that the error message matches one of the log entries.
Configuration menu - View commit details
-
Copy full SHA for 0d39504 - Browse repository at this point
Copy the full SHA 0d39504View commit details -
(PUP-4524) Stub command execution in base service provider spec.
Rather than rely on executing ruby to manipulate a file to "emulate" a service start/status/stop command, stub command execution itself to ensure the base service provider is executing the commands as expected.
Peter Huene committedMay 4, 2015 Configuration menu - View commit details
-
Copy full SHA for 04dc479 - Browse repository at this point
Copy the full SHA 04dc479View commit details -
(maint) Left justify ENC script
Previously, the enc script contained leading whitespace due to the way ruby handles heredoc. Shift script contents so there isn't leading whitespace.
Configuration menu - View commit details
-
Copy full SHA for 976735f - Browse repository at this point
Copy the full SHA 976735fView commit details -
* pr/3321: (maint) Left justify ENC script (maint) Use composable rspec matcher (PUP-3341) add tests for the changed behavior (PUP-3341) prepare apply spec for non-modulepath related tests of environments (maint) prepare apply integration spec for environments (PUP-3341) update apply spec test to make ENC specify env (PUP-3341) use the proper manifest with puppet apply and ENC
Configuration menu - View commit details
-
Copy full SHA for 1d184e1 - Browse repository at this point
Copy the full SHA 1d184e1View commit details
Commits on May 5, 2015
-
(maint) Do not allow options or fstype to be an empty string
Currently, we allow the user to pass in an empty string for options like fstype and options. If the user does this, Puppet will create an invalid entry in the fstab file. We don't want this to happen, since mount will barf if we allow the invalid entry to be written
Configuration menu - View commit details
-
Copy full SHA for d2be956 - Browse repository at this point
Copy the full SHA d2be956View commit details -
(PUP-1931) Improvements when mount options not specified
Currently, when a user specified a resource to be mounted, puppet allows the user to not pass in any information for either fstype or options. This was fine if there was an existing entry for that resource defined in fstab, but if this was for a new entry then it would create an invalid entry. Then when mount was called against the fstab file, mount would barf everywhere. This commit updates how we deal with updating the fstab file: * Options omitted - Creating a new entry: * linux; `:options => 'defaults'` * non-linux; raise Puppet::Error - Updating an existing entry: * Existing entry options set to 'something,valid'; `:options => 'something,valid'` * Existing entry options not set - linux; `:options => 'defaults'` - non-linux; raise Puppet::Error * fstype omitted - Creating a new entry; raise Puppet::Error - Updating an existing entry: * Existing entry fstype set to 'ext3'; `fstype => 'ext3'` * Existing entry fstype not set; raise Puppet::Error
Configuration menu - View commit details
-
Copy full SHA for fa43425 - Browse repository at this point
Copy the full SHA fa43425View commit details -
Merge pull request #3719 from raphink/dev/augeas_rename
(PUP-4210) Add rename to augeas
Configuration menu - View commit details
-
Copy full SHA for 63e38e2 - Browse repository at this point
Copy the full SHA 63e38e2View commit details -
Merge pull request #3652 from ChrisPortman/no_proxy_support
(PUP-4030) Support no_proxy env variable
Configuration menu - View commit details
-
Copy full SHA for 26a825d - Browse repository at this point
Copy the full SHA 26a825dView commit details -
Merge remote-tracking branch 'upstream/pr/3892'
* upstream/pr/3892: (PUP-4524) Stub command execution in base service provider spec.
Configuration menu - View commit details
-
Copy full SHA for 877a9a9 - Browse repository at this point
Copy the full SHA 877a9a9View commit details -
(PUP-4347) Add test for the File resource ignore attribute
Kurt Wall committedMay 5, 2015 Configuration menu - View commit details
-
Copy full SHA for 2cd716b - Browse repository at this point
Copy the full SHA 2cd716bView commit details -
(PUP-4030) Add missing require for Puppet::Util::HttpProxy.
A require for `puppet/util/http_proxy` was missing for `puppet/network/http/factory` after code that uses Puppet::Util::HttpProxy was added. This originally passed specs because the spec required the file before using the HTTP factory.
Peter Huene committedMay 5, 2015 Configuration menu - View commit details
-
Copy full SHA for 9bce2a1 - Browse repository at this point
Copy the full SHA 9bce2a1View commit details
Commits on May 6, 2015
-
Merge pull request #3896 from peterhuene/maint
(PUP-4030) Add missing require for Puppet::Util::HttpProxy.
Michael Smith committedMay 6, 2015 Configuration menu - View commit details
-
Copy full SHA for c5c80d5 - Browse repository at this point
Copy the full SHA c5c80d5View commit details -
(PUP-3930) Add more assertions to a failed-node test.
We already test that when a resource fails, we don't apply resources that (recursively) depend on it. Add some more tests that verify that we're propagating internal state correctly as we do so.
Configuration menu - View commit details
-
Copy full SHA for 62bd744 - Browse repository at this point
Copy the full SHA 62bd744View commit details -
Merge pull request #3888 from kurtwall/PUP-4347
(PUP-4347) Add test for the File resource ignore attribute
Configuration menu - View commit details
-
Copy full SHA for 5840515 - Browse repository at this point
Copy the full SHA 5840515View commit details -
Merge pull request #3789 from melissa/ticket/master/pup-1931
(PUP-1931) Fix mount provider failure w/o options
Michael Smith committedMay 6, 2015 Configuration menu - View commit details
-
Copy full SHA for 4a1b0b9 - Browse repository at this point
Copy the full SHA 4a1b0b9View commit details -
Merge pull request #3591 from nelhage/optimize-failed-dependencies
(PUP-3930) Optimize `failed_dependencies?`
Configuration menu - View commit details
-
Copy full SHA for 84a0bff - Browse repository at this point
Copy the full SHA 84a0bffView commit details -
(maint) CFacter is no longer in puppet-agent master
In FACT-956, the ruby facter component was removed from puppet-agent#master, and cfacter was renamed to facter. As a result, there are no longer files named cfacter. This commit updates the acceptance test to no longer check for cfacter.
Configuration menu - View commit details
-
Copy full SHA for f38f035 - Browse repository at this point
Copy the full SHA f38f035View commit details -
Merge pull request #3898 from joshcooper/maint/master/cfacter-is-no-l…
…onger (maint) CFacter is no longer in puppet-agent master
Configuration menu - View commit details
-
Copy full SHA for f7f65af - Browse repository at this point
Copy the full SHA f7f65afView commit details
Commits on May 7, 2015
-
(PUP-4473) Extend ENC tests to Windows
The ENC integration tests using the exec terminus were originally only implemented with shell scripts. Extend the testing to create Windows batch scripts and run on Windows. Also create a new spec_helper script_containing to generate a script on the appropriate platform. Since script languages also differ, usage requires that you provide both Windows and shell versions of the script.
Michael Smith committedMay 7, 2015 Configuration menu - View commit details
-
Copy full SHA for f6f9c6d - Browse repository at this point
Copy the full SHA f6f9c6dView commit details -
(docs) fixing documentation for Puppet::Util::Execution
Document what happens with stderr output if combine is false and correct the default value for squelch
Erik Dalén committedMay 7, 2015 Configuration menu - View commit details
-
Copy full SHA for d59ddda - Browse repository at this point
Copy the full SHA d59dddaView commit details -
Merge pull request #3897 from dalen/util_execute_maint
(docs) fixing documentation for Puppet::Util::Execution
Configuration menu - View commit details
-
Copy full SHA for 162c20c - Browse repository at this point
Copy the full SHA 162c20cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74ffa1a - Browse repository at this point
Copy the full SHA 74ffa1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e013c59 - Browse repository at this point
Copy the full SHA e013c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e495a1 - Browse repository at this point
Copy the full SHA 8e495a1View commit details
Commits on May 8, 2015
-
Merge remote-tracking branch 'upstream/pr/3899'
* upstream/pr/3899: (PUP-4473) Extend ENC tests to Windows
Configuration menu - View commit details
-
Copy full SHA for 36c485f - Browse repository at this point
Copy the full SHA 36c485fView commit details
Commits on May 9, 2015
-
Kylo Ginsberg committed
May 9, 2015 Configuration menu - View commit details
-
Copy full SHA for e6ba084 - Browse repository at this point
Copy the full SHA e6ba084View commit details
Commits on May 11, 2015
-
Configuration menu - View commit details
-
Copy full SHA for f2ec73c - Browse repository at this point
Copy the full SHA f2ec73cView commit details
Commits on May 12, 2015
-
(PUP-4342) test calling all parser functions
This change adds a test for all parser functions. This test calls all the parser functions that ship with puppet. It ensures sane output in most cases. The remainder of the coverage for functions lies in the spec tests.
Eric Thompson committedMay 12, 2015 Configuration menu - View commit details
-
Copy full SHA for 053d510 - Browse repository at this point
Copy the full SHA 053d510View commit details -
Configuration menu - View commit details
-
Copy full SHA for f28f875 - Browse repository at this point
Copy the full SHA f28f875View commit details -
(PUP-4530) FreeBSD specific service provider fix
Take just the leading string of non-whitespace characters from the first line of the rcvar output as the service name
Configuration menu - View commit details
-
Copy full SHA for 8887f6f - Browse repository at this point
Copy the full SHA 8887f6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f159bb - Browse repository at this point
Copy the full SHA 0f159bbView commit details -
Merge pull request #3780 from dalen/apply_splay
(PUP-4363) Support splay in apply as well
Configuration menu - View commit details
-
Copy full SHA for a37d92a - Browse repository at this point
Copy the full SHA a37d92aView commit details -
Merge pull request #3917 from er0ck/acceptance/master/PUP-4342-test_c…
…alling_all_parser_functions (PUP-4342) test calling all parser functions; failing spec tests are unrelated to this commit.
Kurt Wall committedMay 12, 2015 Configuration menu - View commit details
-
Copy full SHA for 6a3e2ed - Browse repository at this point
Copy the full SHA 6a3e2edView commit details -
this change removes an acceptance test which only exercises an apply manifest using the File resource which is even better tested elsewhere
Eric Thompson committedMay 12, 2015 Configuration menu - View commit details
-
Copy full SHA for 56b78bd - Browse repository at this point
Copy the full SHA 56b78bdView commit details -
(maint) Fix bad merge from 3.x branch.
Commit e1c8724 resolved a conflict in defaults.rb that re-introduced the stringify_facts, trusted_node_data, and immutable_node_data settings that were removed in 4.0. This commit removes them again.
Peter Huene committedMay 12, 2015 Configuration menu - View commit details
-
Copy full SHA for 33fcd86 - Browse repository at this point
Copy the full SHA 33fcd86View commit details -
Merge pull request #3923 from er0ck/acceptance/stable/maint-remove_sp…
…urious_test (maint) remove spurious test
John Duarte committedMay 12, 2015 Configuration menu - View commit details
-
Copy full SHA for 3ee2dac - Browse repository at this point
Copy the full SHA 3ee2dacView commit details -
(PUP-4601) Add ruby version requirement to .gemspec.
This will prevent gem upgrade on environments with ruby 1.8.7
Configuration menu - View commit details
-
Copy full SHA for 98213cc - Browse repository at this point
Copy the full SHA 98213ccView commit details
Commits on May 13, 2015
-
Merge pull request #3924 from peterhuene/badmerge
(maint) Fix bad merge from 3.x branch.
Kylo Ginsberg committedMay 13, 2015 Configuration menu - View commit details
-
Copy full SHA for e1ed065 - Browse repository at this point
Copy the full SHA e1ed065View commit details -
Merge pull request #3925 from peterhuene/pr/3870
(PUP-4601) Add ruby version requirement to .gemspec.
Kylo Ginsberg committedMay 13, 2015 Configuration menu - View commit details
-
Copy full SHA for d81a4ed - Browse repository at this point
Copy the full SHA d81a4edView commit details -
Merge remote-tracking branch 'upstream/stable'
* upstream/stable: (PUP-4436) Generate error message in eventlog differently
Configuration menu - View commit details
-
Copy full SHA for e5ced99 - Browse repository at this point
Copy the full SHA e5ced99View commit details -
(PUP-4530) Fix FreeBSD service provider to parse service names correctly
Take just the leading string of non-whitespace characters from the first line of the rcvar output as the service name
Configuration menu - View commit details
-
Copy full SHA for d390578 - Browse repository at this point
Copy the full SHA d390578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b9b43b - Browse repository at this point
Copy the full SHA 3b9b43bView commit details