Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concat all subcommands into a single command file #12

Closed
riton opened this issue Jun 20, 2014 · 1 comment
Closed

Concat all subcommands into a single command file #12

riton opened this issue Jun 20, 2014 · 1 comment
Assignees
Milestone

Comments

@riton
Copy link
Member

riton commented Jun 20, 2014

For very large deployments, it could be annoying to have one file per command and subcommand.
Using puppetlabs-concat could avoid this.

For instance:

remctl::server::command { 'kadmin_create':
    command             => 'kadmin',
    subcommand          => 'create',
    executable          => '/root/command.pl',
    options             => {
        'logmask'   => '3'
    },
    acls                => [
        "file:${remctl::server::acldir}/kadmin-create",
        'princ:rferrand@IN2P3.FR',
    ]
}

remctl::server::command { 'kadmin_change_passwd':
    command             => 'kadmin',
    subcommand          => 'change_passwd',
    executable          => '/root/command.pl',
    options             => {
        'logmask'   => '3,4',
        'summary'   => '--summary'
    },
    acls                => ['ANYUSER']
}

should create a single kadmin configuration file with definition of change_passwd and create subcommand.

@riton riton added this to the v2.1.0 milestone Jun 20, 2014
@riton riton self-assigned this Jun 20, 2014
@riton riton closed this as completed Jun 20, 2014
@riton riton reopened this Jun 24, 2014
@riton riton closed this as completed Jun 24, 2014
@riton
Copy link
Member Author

riton commented Jun 24, 2014

Done in v2.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant