Brice Figureau
2d37f09aa0
Fix #1402 - Allow multiline comments
...
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-10-29 10:30:38 +01:00
Brice Figureau
9f30306d2c
Fix #857 - Multiple class of the same name don't append code
...
The following manifest wasn't working:
class one {
notice('class one')
}
class one {
notice('second class one')
}
include one
It all boiled down to class code not being arrays.
Encapsulating code in ASTArray when needed is enough to append code,
because of the property of ASTArray to evaluate all their members in
turn.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-10-29 10:28:32 +01:00
James Turnbull
649a9e009a
Fixed augeas examples in type
2008-10-29 15:53:39 +11:00
James Turnbull
a83b3ffb3f
Merge branch 'augeas' into 0.24.x
2008-10-29 15:46:16 +11:00
James Turnbull
56f3be66a4
Fixed #1710 - Spurious output in test run
2008-10-29 14:36:20 +11:00
Luke Kanies
4806c51d30
Fixing #1669 - The dump parameter can now be changed on mounts.
...
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-29 14:02:43 +11:00
Brice Figureau
c7ccc4ba7c
Fix #1682 - ASTArray should flatten product of evaluation of its children
...
If the ASTArray contains children that evaluate to arrays themselves,
they aren't flattened.
2008-10-29 09:53:14 +11:00
Luke Kanies
c906afd9e3
Fixing #1667 - regex automatic value documentation is now readable.
...
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-29 09:26:47 +11:00
Bryan Kearney
751dc7b09f
Merge branch 'augeas' of git@github.com:bkearney/puppet into augeas
...
Conflicts:
lib/puppet/type/augeas.rb
2008-10-28 09:50:42 -04:00
Bryan Kearney
9fd1756a8a
Split Augeas up into a provider and a type.
2008-10-28 09:46:21 -04:00
James Turnbull
e542f8c6fb
Fixed #1692 - k5login fails to set mode when file is created
2008-10-28 15:57:03 +11:00
Luke Kanies
57e791b9e7
Fixing #1660 - Adding specifically supported values for tidy recursion.
...
Basically just copied the code for the recurse parameter from 'file'.
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-28 15:49:58 +11:00
Luke Kanies
42cac73a7c
Fixing #1698 - all logs again show up in the report.
2008-10-28 15:42:35 +11:00
James Turnbull
6ab4f1b0e2
Fixed #1661 - Type reference: tidy should specify manditory parameters
2008-10-28 14:49:02 +11:00
Luke Kanies
2459106673
Removing all mention of EPM, RPM, or Sun packages.
...
You should upgrade your build library from http://github.com/lak/reductive-build/tree/master
too.
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-28 13:42:35 +11:00
James Turnbull
05a5e14e2c
Merge branch 'l' into 0.24.x
...
Conflicts:
conf/redhat/puppet.spec
2008-10-28 13:40:26 +11:00
Brice Figureau
9ecbd6306d
Fixed #1104 - Classes and nodes should set $name variables
...
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-10-28 11:50:10 +11:00
Bryan Kearney
bc8cdb1820
Beginning provider split, need help on the voodoo
2008-10-27 13:04:25 -04:00
James Turnbull
6539f55b16
Updated Red Hat spec file for 0.24.6 and removed conf/debian directory.
...
To build a new debian package use:
apt-get source puppet; cd puppet-<curver>; uupdate ../puppet-<newver>.tgz
2008-10-24 08:47:12 +11:00
James Turnbull
cacafeb422
Added augeas type and feature
2008-10-24 08:15:55 +11:00
Luke Kanies
b2c1149b5f
Updated to version 0.24.6
2008-10-23 01:19:26 +02:00
Luke Kanies
5ba54d216c
Updated to version 0.24.6
2008-10-23 01:19:26 +02:00
Luke Kanies
23d42aca22
Merge branch '0.24.x' of git://github.com/jamtur01/puppet into 0.24.x
2008-10-23 01:19:07 +02:00
Sean E. Millichamp
22024bce8f
Improve the inline documentation for SELinux types and parameters
2008-10-23 10:14:45 +11:00
Sean E. Millichamp
f21623735d
Fixes #1663 - added Symbol check and additional test
2008-10-23 10:13:34 +11:00
Sean E. Millichamp
81c3b721f7
Fix SELinux test to succeed when Puppet debug mode is enabled
2008-10-22 14:34:33 -04:00
Sean E. Millichamp
f7516a75d9
Fix regression caused by switch to Puppet's execute() functions
2008-10-22 14:24:06 -04:00
Andrew Shafer
c09d0cc128
Solaris RBAC Attributes
...
Adding support to user type for:
profiles
auths
project
key/value pairs
Refactored useradd.addcmd so I could override how properties get added in the subclass
Added keyvalue property to manage generic keyvalues
2008-10-22 16:34:50 +11:00
Luke Kanies
b7d72360f6
Merge branch '0.24.x' of git://github.com/jamtur01/puppet into 0.24.x
2008-10-21 19:28:21 +02:00
Brice Figureau
6d05cbc1e1
Fix #936 - Allow trailing comma in array definition
...
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-10-21 21:15:53 +11:00
Brice Figureau
ec2b4619d3
Fix #1115 - part2 - fix tests and add all_tags
...
Up until this patch, TemplateWrapper.tags was returning all the tags
defined in the catalog. I think this is wrong and tags shoul only
return the defined tags in the current scope.
Hence, I defined a all_tags method that returns the list of tags defined
in the whole catalog.
2008-10-21 21:14:23 +11:00
James Turnbull
356d8cab14
Fixed #1662 - Configuration Reference still references 'section'
2008-10-21 10:44:20 +11:00
James Turnbull
b53509b453
Fixed #1460 - enhance redhat puppetmaster init.d script to easy start puppetmaster as a mongrel cluster
2008-10-21 10:37:56 +11:00
James Turnbull
8a4e2e9378
Fixed #1663 - Regression relating to facter fact naming from 0.24.5
2008-10-21 09:50:54 +11:00
Brice Figureau
e6f99f92ec
Fix #636 - Allow extraneous comma in function argument list
...
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-10-21 09:32:28 +11:00
Luke Kanies
fe789798cc
Merge branch '0.24.x' of git://github.com/jamtur01/puppet into 0.24.x
2008-10-18 00:17:24 +02:00
Luke Kanies
a74ec60d33
Fixing tests I broke when trying to fix the Providers reference.
...
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-17 08:22:59 +11:00
Sean E. Millichamp
d4df36126f
Use fully qualified paths when calling binaries, adjust chcon call to use Puppet's execute() function.
2008-10-17 08:18:01 +11:00
Sean E. Millichamp
dedf0cdce9
Setting SELinux contexts with chcon should not dereference symbolic links
2008-10-17 08:17:46 +11:00
James Turnbull
7f5ded1852
Fixed #1646 - service puppet status does not work as non-root on redhat system
2008-10-14 11:22:40 +11:00
Brice Figureau
00d5fe403d
Fix #1115 - Allow checking tags/classes from ERb templates
...
Add to predefined variables to the ERB template space. "classes"
and "tags" which provide arrays of all the defined classes and tags
for a node.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-10-14 10:10:27 +11:00
James Turnbull
f5fb2d383e
Fixed #1649 - OS X package creation script should be more selective about cleaning out prior versions
2008-10-14 08:47:21 +11:00
Luke Kanies
b0fd2e057a
Fixing #1647 - puppetdoc's 'providers' report works again.
...
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-14 08:44:30 +11:00
Paul Nasrat
157c0ddff0
Fix 1642 (always warning) and improve unit tests to cover when to warn and not
2008-10-11 08:12:22 +01:00
duritong
65eafb7c01
lazy load latest package definitions with yumhelper 2.2
...
merge commit to 0.24x, original commit:
I could observe that yumhelper.py can run quite some time
and use quite a lot of memory (up to 100MB!) if you're
using many repositories. As the yumhelper is only needed
if you use latest as a ensure-keyword it makes no sense
for people like me letting puppet fetch these details
always, if you're never going to use latest. => lazy loading.
After discussion on the list, this is the new version for
lazy loading yum latest package versions. It is implemented
mainly in the way that Luke proposed. However it stores
the latest informations in the variable latest_info so
the latest method didn't get too hackish and could nearly be
left like it was before.
2008-10-10 16:15:59 +02:00
James Turnbull
eff6ce0b5e
Revert "Added last part of #1633 patch - update to util/metrics.rb"
...
This reverts commit c5d1a4f6ff
.
2008-10-10 14:26:27 +11:00
James Turnbull
c5d1a4f6ff
Added last part of #1633 patch - update to util/metrics.rb
2008-10-10 10:53:18 +11:00
Luke Kanies
9ef6209b3e
Merge branch '0.24.x' of git://github.com/jamtur01/puppet into 0.24.x
2008-10-09 15:51:05 +02:00
Luke Kanies
0fff7d76e8
Fixing some tests that were broken in 2fba85af
...
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-08 23:44:41 -05:00
Luke Kanies
2afbd0d877
Fixing a test that was failing as a result of the fix to #1491
...
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-08 22:33:05 -05:00