summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding another host to the test lists, adding some test data, and modifying ↵luke2006-01-141-5/+27
| | | | | | how hosts parse git-svn-id: https://reductivelabs.com/svn/puppet/trunk@828 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit better logging and checking to file accessluke2006-01-142-12/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@826 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving ast classes into separate filesluke2006-01-1318-1442/+1496
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@825 980ebf18-57e1-0310-9a29-db15c13687c0
* Added "finish" method, using it in Type.finalize, and moved autorequire and ↵luke2006-01-132-7/+39
| | | | | | setdefaults to it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@824 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing host and port aliases to also create Puppet aliases. This involved ↵luke2006-01-133-26/+51
| | | | | | futzing around with the attr* methods in Type.rb, to make sure states are always checked first. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@823 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing up the parsedtypes, fixing Type.eachtype to ignore structure typesluke2006-01-137-61/+83
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@822 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding /etc/services supportluke2006-01-132-2/+215
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@821 980ebf18-57e1-0310-9a29-db15c13687c0
* finalizing cron and host management, hopefullyluke2006-01-137-673/+36
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@820 980ebf18-57e1-0310-9a29-db15c13687c0
* Abstracting host support so it should easily support other typesluke2006-01-131-0/+190
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@819 980ebf18-57e1-0310-9a29-db15c13687c0
* Abstracting host support so it should easily support other typesluke2006-01-135-330/+263
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@818 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding initial host support. I can promise that this will soon (hopefully ↵luke2006-01-122-4/+311
| | | | | | almost immediately) be abstracted to make it easy to add new file types. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@817 980ebf18-57e1-0310-9a29-db15c13687c0
* Converting transport format to YAML instead of Marshal, and caching the file ↵luke2006-01-1210-60/+230
| | | | | | in a YAML format, also. This required a significant rework of both Transportable classes. Lastly, I am also now caching the list of classes in a class file in /etc/puppet. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@816 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixed a couple of warnings, fixed a critical bug having to do with case ↵luke2006-01-126-17/+16
| | | | | | statements (where there is only one listed option), and did a couple of other cleanups. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@814 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "content" state to files, and string interpolation handles escaped ↵luke2006-01-123-1/+54
| | | | | | whitespace characters. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@813 980ebf18-57e1-0310-9a29-db15c13687c0
* Services now work at least somewhat on solaris 10, and service testing is ↵luke2006-01-122-13/+43
| | | | | | pretty different. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@809 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing dependencies to not depend on file order. Added ↵luke2006-01-123-19/+129
| | | | | | Puppet::Type.{finalize,mkdepends,builddepends} git-svn-id: https://reductivelabs.com/svn/puppet/trunk@808 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing documentation generation, and fixing aliasing so that objects can ↵luke2006-01-121-4/+16
| | | | | | safely be aliased to themselves git-svn-id: https://reductivelabs.com/svn/puppet/trunk@807 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "alias" metaparam; you can now create as many aliases as you want for ↵luke2006-01-121-6/+23
| | | | | | any of your objects. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@806 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding autorequire to files, and added the cwd to the list of files to be ↵luke2006-01-123-2/+30
| | | | | | required for exec. Also, exec catches inline files and autorequires them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@805 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding generic autorequire mechanism, and thus removing it from execluke2006-01-112-14/+40
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@804 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a requires? method to types, fixed the bug where exec fail when ↵luke2006-01-112-18/+52
| | | | | | Puppet is downloading the script to execute, and modified "exec" to autorequire any managed scripts git-svn-id: https://reductivelabs.com/svn/puppet/trunk@803 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding Sun support and fixing the last remaining bugs related to the daemon ↵luke2006-01-118-389/+464
| | | | | | changes i just made git-svn-id: https://reductivelabs.com/svn/puppet/trunk@799 980ebf18-57e1-0310-9a29-db15c13687c0
* Supporting puppetmasterd running as a non-root user, and doing some basic ↵luke2006-01-109-55/+55
| | | | | | message cleanup git-svn-id: https://reductivelabs.com/svn/puppet/trunk@798 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing init path defaultluke2006-01-101-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@796 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating Puppet to work with the new Facterluke2006-01-094-24/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@794 980ebf18-57e1-0310-9a29-db15c13687c0
* All tests pass now, although the lack of service support on os x means that ↵luke2006-01-095-13/+35
| | | | | | i have now disabled services on it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@789 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging changes from the head of the rework1 branch, r 784luke2006-01-0846-3478/+3751
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@787 980ebf18-57e1-0310-9a29-db15c13687c0
* Undoing the merge that happened in 785luke2006-01-0746-3738/+3365
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@786 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging in refactoring from version 774 into version 784luke2006-01-0746-3365/+3738
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@785 980ebf18-57e1-0310-9a29-db15c13687c0
* Disabling most documentation generation except for the API docs, and ↵luke2006-01-041-40/+41
| | | | | | wrapping the StatusServer in the xmlrpc check git-svn-id: https://reductivelabs.com/svn/puppet/trunk@766 980ebf18-57e1-0310-9a29-db15c13687c0
* some updates to the typegen stuff, even though i may still not use itluke2006-01-033-280/+164
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@763 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing two reported bugs in cron jobs. Cron jobs correctly change when ↵luke2006-01-031-141/+202
| | | | | | fields other than the command are updated, and they do not continually refresh when the command has trailing spaces git-svn-id: https://reductivelabs.com/svn/puppet/trunk@762 980ebf18-57e1-0310-9a29-db15c13687c0
* adding some commentsluke2006-01-033-1/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@761 980ebf18-57e1-0310-9a29-db15c13687c0
* removing "host" as a keyword; it was an alias for "node"luke2006-01-031-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@760 980ebf18-57e1-0310-9a29-db15c13687c0
* converting storage from Marshal to YAMLluke2006-01-032-37/+45
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@759 980ebf18-57e1-0310-9a29-db15c13687c0
* adding Util.lock, and switching storage to using itluke2006-01-022-20/+35
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@758 980ebf18-57e1-0310-9a29-db15c13687c0
* removing ruby shebang at the top of all of the filesluke2005-11-2311-39/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@755 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing incredibly annoying bug where os x returns stupidly large uid when ↵luke2005-11-222-18/+33
| | | | | | uid is below 0 git-svn-id: https://reductivelabs.com/svn/puppet/trunk@749 980ebf18-57e1-0310-9a29-db15c13687c0
* adding cfengine module, which required passing the cfengine classes all the ↵luke2005-11-173-2/+19
| | | | | | way through the stack to the scope git-svn-id: https://reductivelabs.com/svn/puppet/trunk@746 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing filesources so that the first found file is copied, and adding a test ↵luke2005-11-161-2/+8
| | | | | | case git-svn-id: https://reductivelabs.com/svn/puppet/trunk@745 980ebf18-57e1-0310-9a29-db15c13687c0
* Mostly fixing exec so it either captures stderr or runs as a user; ↵luke2005-11-162-25/+30
| | | | | | Process.euid was not working correctly git-svn-id: https://reductivelabs.com/svn/puppet/trunk@743 980ebf18-57e1-0310-9a29-db15c13687c0
* Lots of refactoring, and added the capture_stderr methodluke2005-11-1610-63/+150
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@742 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "isomorphic?" method to classes, and testing for isomorphism before ↵luke2005-11-025-22/+46
| | | | | | throwing a conflict git-svn-id: https://reductivelabs.com/svn/puppet/trunk@741 980ebf18-57e1-0310-9a29-db15c13687c0
* Further progress towards the next release. Lots of small bugs fixed, the ↵luke2005-11-0115-146/+238
| | | | | | paths look much better now, and Transportable is much cleaner. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@740 980ebf18-57e1-0310-9a29-db15c13687c0
* Making paths work a little more intelligentlyluke2005-11-014-17/+34
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@739 980ebf18-57e1-0310-9a29-db15c13687c0
* adding config file stuff, but not using it yet. I have decided to release ↵luke2005-10-312-0/+50
| | | | | | the next version without them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@738 980ebf18-57e1-0310-9a29-db15c13687c0
* Cleaning up tests resulting from the changes to the parserluke2005-10-303-9/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@737 980ebf18-57e1-0310-9a29-db15c13687c0
* The language now verifies some resemblance to closurehood. I now only need ↵luke2005-10-303-48/+147
| | | | | | to fix the library to expect this behaviour. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@736 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixed merging of state values, but I have not yet solved merging of ↵luke2005-10-293-66/+90
| | | | | | parameter or metaparam values, since they are quite different. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@735 980ebf18-57e1-0310-9a29-db15c13687c0
* Protecting from bug in Syslog, and fixing some more log messagesluke2005-10-297-66/+79
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@734 980ebf18-57e1-0310-9a29-db15c13687c0