| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1698 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
|
| |
manifest was not a valid group.
The code now generates some errors, but current behavior doesn't raise fatal exceptions
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1695 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
changed
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1693 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1675 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
|
|
| |
changed to the proper values. This uses a fork and a FIFO to achieve it's checking.
! nonrootuser and nonrootgroup now only return users/groups that are less than 255, due to the "Darwin debacle"
! many, many, many fixes for suidmanager. This is rather embarassing.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1674 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1673 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1667 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
|
|
|
| |
'Process' library for uid/gid/euid/egid operations, including (not surprisingly) Puppet::Util#asuser and a method to run commands and capture output. This is due to many inconsistencies (through bugfixes) between ruby versions in the 1.8.x branch. This is included in the core puppet library and can be used by all puppet types and providers.
! Modified Puppet::Util#uid to check (and warn) if passed a nil value.
! Changes to use Puppet::SUIDManager instead of Process and relevant Puppet::Util calls.
! Removed Puppet::Util#asuser.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1666 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
| |
an event, which can result in further triggers.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1660 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
adding a bit more testing.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1659 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
not reload already-loaded files. Also updating the checksum docs a bit.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1657 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
than everywhere else
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1654 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1653 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
responds to "list", but it does not pass right now so it is disabled.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1652 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
for documentation purposes. And, of course, loading all types in puppetdoc. Also updating zone.rb to fix markdown's stupidity in trying to interpret the ERB template, and adding some timeouts to puppettest.rb
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1651 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1644 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
|
| |
I now always set the owner and group to Process.uid and Process.gid,
respectively.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1643 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
|
| |
The problem here was that I was not escaping URIs throughout the chain, which
I am now doing.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1642 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
correctly passing strings in all cases, which caused some very strange problems internally.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1640 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and #277 (tagmail report missing To: header).
#292 was weird because the messages just didn't have the tags at all.
The problem was that states didn't have tags, yet states were the source
of nearly all messages. So, I added tags to the states, and included
the state name in the tag list. Also, types were not including the type
name in the tag list, so I added that. And, of course, a few unit tests
to check it all.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1638 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
installed tree instead of the development tree due to a botched "libs" setting.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1636 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
output when possible, as mentioned on the list
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1635 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
dirs correctly
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1633 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
now deprecated, and I'll send an email to the dev list and update the
docs to reflect that.
This still isn't the final solution, because the module structure is a
bit weird, but at least it's a starting point, and everything from here
on out is small changes, as opposed to large architectural changes.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1632 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
their file names match their module names
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1631 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1629 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1628 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
File.stat returns a huge number. I thought i had already fixed this, but apparently not. I added a test, and it is definitely fixed now.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1626 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
value instead of the "should" value
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1625 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
reparsing
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1621 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
proper name of a client (name in the SSL cert or name uploaded with facter) Default to name from the cert
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1620 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
returning false when no defaults are specified
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1614 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
should be printed, rather than just using "debug". I added the param a little while ago and was using it internally in Puppet::DevError, but I just now went through the whole configuration and switched to using it.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1613 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
#271.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1610 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
but everything now works as expected when variables are either undefined or set to empty strings.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1609 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
each tab.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1607 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
imports work now, and fixing a snippet not to interfere with a local fact
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1606 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
worth the priority I suddenly placed on them).
First, it adds search paths as I originally requested in #114. There is
now a 'lib' setting, which can be used to tell Puppet where to find
manifests. Any file you tell Puppet to parse will have its directory
automatically added to the lib path. Also, Puppet will check the
PUPPETLIB environment variable for further directories to search.
Second, it converts the 'import' mechanism into a normal function, which
means that you can now use variables and what-have-you in it. Of
course, this function uses the lib mechanism. This is something that's
always bothered me about the language, and having it fixed means you can
do simple things like have custom code in the top scope for each
operating system and then do "import os/$operatingsystem" to evaluate
that code. Without this, you would either need a huge case statement or
the code would need to be in a class, which often isn't sufficient.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1605 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
to use it.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1601 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
value instead of the @should value, because it was using [] instead of the should method. I fixed the FakeModel to behave a bit more like real types, so that it keeps track of the is/should values, and also to keep track of which attributes are valid, since I immediately ran into another problem stemming from the use of the fakemodel.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1599 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
tests can more easily tell when an object is invalid.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1597 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
different, where I should only have been aliasing isomorphic types, which does not include exec
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1595 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
reenable it
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1590 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
refactoring to make things clearer
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1587 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
done in the manifests. Also fixing a comment in type.rb
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1586 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
mechanisms work internally.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1582 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
to generate certs that are valid for < 1 day
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1581 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1579 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
command (e.g., you call "commands :rpm => 'rpm'", and it defines an "rpm" method. I then pushed this throughout the package providers, which are the heaviest users of commands.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1571 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
|
|
| |
a method for package version sorting, and a couple of smaller bug fixes. This fixes #237.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1570 980ebf18-57e1-0310-9a29-db15c13687c0
|