step-ca-installed

Description

Install 'step-ca' package.

Variables

Name Type Default Description

version

string 0.13.0

The version of step-ca.

Code

doc:
  short_help: Install 'step-ca' package.

args:
  version:
    doc:
      short_help: The version of step-ca.
    type: string
    default: 0.13.0

frecklets:
- deb-file-installed:
    deb_file: 'https://github.com/smallstep/cli/releases/download/v{{:: version ::}}/step-cli_{{::
      version ::}}_amd64.deb'
- deb-file-installed:
    deb_file: 'https://github.com/smallstep/certificates/releases/download/v{{:: version
      ::}}/step-certificates_{{:: version ::}}_amd64.deb'
frecklecute --community step-ca-installed --help

Usage: frecklecute step-ca-installed [OPTIONS]

  Install 'step-ca' package.

Options:
  --version VERSION  The version of step-ca.
  --help             Show this message and exit.
# -*- coding: utf-8 -*-


#
# module path: pycklets.step_ca_installed.StepCaInstalled
#


from dataclasses import dataclass
from pyckles import AutoPycklet
from typing import *    # noqa

@dataclass
class StepCaInstalled(AutoPycklet):
    """Install 'step-ca' package.

       Args:
         version: The version of step-ca.

    """

    FRECKLET_ID = "step-ca-installed"

    version: str = None


    def __post_init__(self):
        super(StepCaInstalled, self).__init__(var_names=["version"])


frecklet_class = StepCaInstalled
# -*- coding: utf-8 -*-


#
# module path: pycklets.step_ca_installed.StepCaInstalled
#


from pyckles import AutoPycklet

class StepCaInstalled(AutoPycklet):
    """Install 'step-ca' package.

       Args:
         version: The version of step-ca.

    """

    FRECKLET_ID = "step-ca-installed"

    def __init__(self, version="0.13.0"):

        super(StepCaInstalled, self).__init__(var_names=["version"])
        self._version = version

    @property
    def version(self):
        return self._version

    @version.setter
    def version(self, version):
        self._version = version



frecklet_class = StepCaInstalled