| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also choosing a fully qualified fake name when creating
content instances from raw content.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
picked.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I created this when I first designed the fileserving
Indirection hooks, and it's unnecessary.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I'm in the process of creating a new service for handling
all of the http calls, including generation of the RESTian
URL. This service obviously needs to know whether the url should
be plural or singular, and the request knows the method in use,
so it can easily answer the question.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
request key.
Also adding the Content work necessary to demonstrate that this is actually
required.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Previously, they retained some concept of the URI used to
find them, and this uri was the primary key
for the FileServing instances. This key was unfortunately
completely useless, as evidenced by the fact that it was never
used except to test that it worked.
I've modified the FileServing instances (through modifying
the Base class) to use their local path as their key, and they
no longer care about the URI at all.
This commit is mostly about fixing the code that interacts with
the instances to use this new API.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Git did something really strange, in that it apparently didn't
add the new base.rb files even though I used 'git mv'.
Also fixing some other failing tests I hadn't previously tracked
down because of the magical tuple of autotest's suckiness and
my laziness.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This way the new hackish RAW format will only ever be used if it's
specifically chosen.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also fixing a set of tests I broke last night. I'm looking
at replacing autotest with rspactor, because my FSEvents hack
to autotest means it's harder for me to rerun autotest.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
As the comment in the file says, we don't really have enough
data to know what a good design would look like, and I think
this format will be a bit of a one-off, so I'm just throwing
up some barriers to keep people from doing silly things with it.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also fixing some integration tests that were failing
because of the change to the terminus selection code
for file serving.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
a value.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Only adding option information when options are present.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fits in with the fact that the indirection requests split URIs
and set the request key to an unqualified path rather than
a fully-qualified path.
The whole system is unqualified end-to-end, now, except when you're
specifically asking for a full, local file name.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It now uses the fact that the indirection request does
URI parsing, rather than doing the parsing on its own.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These just get converted to full file paths, since
we know they will never pass over the wire.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and the indirection request.
Previously, the REST terminus did all of the configuration,
but it required rewriting the request key if it was a URI
because you can't have a uri in a uri (i.e., you can't use
http://host/puppet://host/dist/file).
Now the request parses the URI and sets host/port/key/protocol
appropriately, and the REST terminus has its own overrides
and defaults so that subclasses like certificate classes
can provide specific values.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
lib/puppet/metatype/container.rb
lib/puppet/metatype/instances.rb
lib/puppet/metatype/metaparams.rb
lib/puppet/metatype/relationships.rb
lib/puppet/metatype/schedules.rb
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's duplicated in Property, but was only ever called if
the instance was Property -- in other words, the base class
new about its subclass, but the subclass overrode that method
any way.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
when no 'should' value is available for a resource.
|
| | | |
| | | |
| | | |
| | | | |
Issue 1491
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
feature 1508
Not sure these tests ever passed on any platform. Added some mocking to support
the two tests.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The append variable operator can be used to append something to
a variable defined in a parent scope, containing either a string
or an array.
The main use is to append array elements in classes to a variable
globally defined in a node.
Example:
$ssh_users = ['brice', 'admin1']
class backup {
$ssh_users += ['backup_operator']
...
}
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
templatedir as a path
Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thom May <thom@clearairturbulence.org>
Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
when available.
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
two different locations
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
provider path regression
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|