Commit e69bd5aa authored by Dietmar Maurer's avatar Dietmar Maurer

pheceph: add -version argument to install

parent a5a03749
...@@ -80,13 +80,18 @@ __PACKAGE__->register_method ({ ...@@ -80,13 +80,18 @@ __PACKAGE__->register_method ({
parameters => { parameters => {
additionalProperties => 0, additionalProperties => 0,
properties => { properties => {
version => {
type => 'string',
enum => ['dumpling', 'emperor', 'firefly'],
optional => 1,
}
}, },
}, },
returns => { type => 'null' }, returns => { type => 'null' },
code => sub { code => sub {
my ($param) = @_; my ($param) = @_;
my $cephver = 'emperor'; my $cephver = $param->{version} || 'dumpling';
local $ENV{DEBIAN_FRONTEND} = 'noninteractive'; local $ENV{DEBIAN_FRONTEND} = 'noninteractive';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment