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 ({
parameters => {
additionalProperties => 0,
properties => {
version => {
type => 'string',
enum => ['dumpling', 'emperor', 'firefly'],
optional => 1,
}
},
},
returns => { type => 'null' },
code => sub {
my ($param) = @_;
my $cephver = 'emperor';
my $cephver = $param->{version} || 'dumpling';
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