| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When searching for a module template and if the default templatedir is
inexistant, puppet was raising an error without trying the modules templates
directories.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch allows to do this:
User <| groups == leads |>
@user { "foo":
ensure => "present",
groups => ["bar","baz","leads"]
}
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
which causes puppet to produce different exit codes depending
on whether there were changes or failures in the transaction.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Added a rescue block for Timeout::Error (which isn't a subclass of StandardError)
Removed a Dev Error conditional to facilitate testing
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changesets allow empty if or else branches:
if true {
} else {
}
It works by emitting on the parser stack an AST node that doesn't
do anything (a no-op). This allows the less intrusive code
as no part of the if evaluation code has been touched.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This doesn't implies that puppet can managed SSH type 1 keys, it only
ignores them.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Moved part of the old resource reference tests to rspec.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow this syntax:
Resource[title1,title2] { param => value }
as a compact form of
Resource[title1] { param => value }
Resource[title2] { param => value }
This patch also introduces for free the possibility to group
class references by type:
exec {
test:
require => File["file1","file2","File3"]
}
which is completely equivalent to:
exec {
test:
require => [ File["file1"],File["file2"],File["File3"] ]
}
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
making it easier to match messages in the 'tagmail' report.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also using Puppet::Util::Tagging to handle the tagging,
rather than custom methods.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Note that it still fails -- it's just a more reasonable failure.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
since #1614 removed that validation.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
settings.
This won't be perfect, because it still requires that the caller pass
in an environment, but for every case that an environment is passed in,
that environment will be substituted into settings when possible.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I left the aptitude and aptrpm tests as an exercise
for the reader.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
modify user type:
add ensure = role logic
add roles property
add manages_solaris_rbac feature
refactored 'list' property to reuse logic for groups in roles
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
with a uid not need to be a single class us use modify
I don't like logic about subclasses in a parent class, but not in a position to
address.
|
| | | |
| | | |
| | | |
| | | | |
read /etc/user_attr and makes a hash based on the file contents
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
transaction.
The real problem was that the 'gid' and 'uid' methods didn't handle
the case where 'get_posix_field' didn't return a value, and
the subsequent 'get_posix_field' calls couldn't handle that.
This commit moves the tests for Posix to spec, and fixes the
specific bug.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Drastically simplified the class, removing a lot of obsolete
code and adding tests for nearly the whole class.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
CHANGELOG
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
'currentpropvalues' as a means of setting all values to absent.
There should be no behaviour change from this change.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
calls 'retrieve' on each property if the resource exists.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
simultaneously.
This required selectively using property#sync if a 'should' value
is present, so that the user's gid property can do the conversion
if necessary.
Signed-off-by: Luke Kanies <luke@madstop.com>
|